Mots clés : gitversion-controlgit-checkoutgit
99
git checkout c5f567 -- file1/to/restore file2/to/restore
git checkout c5f567~1 -- file1/to/restore file2/to/restore
88
git diff <commit hash> <filename>
git reset <commit hash> <filename>
git checkout <commit hash> git checkout -b <new branch name>
git checkout <my branch> git rebase master git checkout master git merge <my branch>
70
git checkout -- foo
git checkout HEAD^ foo
69
git checkout HEAD file/to/restore