Create your own branch..
commit your changes
git commit -m "..."
push changes to your backup
git push backup branch-name
modify your code
commit with amend
git commit --amend
push your changes to remote again with force
git push backup branch-name -f
once finish your feature... and code review...
merge back to master with 1 commit
git merge master
No comments:
Post a Comment