diff options
Diffstat (limited to 'git.org')
-rw-r--r-- | git.org | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -177,7 +177,23 @@ Can be used to reset the index, or certain files in the index, to a given commit, which is HEAD by default. -* How dVCS democratizes version control +* Problems git solves + +** Mixed two patches together + + # git reset $filename + # git add --patch + # git commit + +** In combination with git rebase, entire histories can be manipulated + + # git rebase -i $ref + # git reset HEAD^ + # git add --patch + # git commit -c ORIG_HEAD + # git add -u + # git commit + # git rebase --continue * My seekrit agenda |