Github¶
Cheatsheets¶
- git folder
- git log & checkout
git checkout c0a1dd1fd1a22e272532312930965a3054988d2a
git checkout c0a1dd1fd1a22e272532312930965a3054988d2a data2.txt
# back to last edited
git checkout <branch_name>
git log
git log --all --decorate --oneline --graph
alias graph="git log --all --decorate --oneline --graph"
graph
- merge
Fast forward
hapus branch
delete tanpa merge
Three-way Merge
lalu ada pesan commit (membuka editor baru), lalu save & quit
- push branch
- config