User Tools

Site Tools


programming:git

This is an old revision of the document!


Commit to pull request of foreign user

git checkout -b asmorodskyi-unittest master
git pull https://github.com/asmorodskyi/qatrfm-lib.git unittest
git push git@github.com:asmorodskyi/qatrfm-lib.git asmorodskyi-unittest:unittest

Exclude file from last commit

git reset --soft HEAD~1

Then unstage unwanted files

git reset HEAD path/to/unwanted_file

Now commit again, you can even re-use the same commit message:

git commit -c ORIG_HEAD  
programming/git.1573123971.txt.gz · Last modified: by clemix

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki