Github

Cheatsheets

  1. git folder
git init

source_code
folder

  1. git log & checkout
git log
git log -3
git checkout c0a1dd1fd1a22e272532312930965a3054988d2a
git checkout c0a1dd1fd1a22e272532312930965a3054988d2a data2.txt
# back to last edited
git checkout <branch_name>