git
Snippets
$ git config --global user.email "[email protected]"$ git commit -m "Something terribly misguided"
$ git reset HEAD~
<< edit files as necessary >>
$ git add ...
$ git commit -c ORIG_HEADgit mv old/submod new/submodgit branch temp # base new branch on detached head
git checkout master
git merge temp
git branch -d tempgit commit --allow-empty -m "Empty commit to trigger post_receive hooks"Links
Last updated