Skip to content

Instantly share code, notes, and snippets.

@begin29
begin29 / rebase.sh
Created December 2, 2015 19:18
How to fix pull request?
# I am working on new feature
$ git checkout -b some-new-feature
#Changed files, commit and push to source
git add . && git commit -m 'some cool changes' && git push origin some-new-feature
#After comments within pull request I need to fix some code
#After fix it and commit I can see 2 commits within git history
$ git add . && git commit -m 'some fix to cool changes' && git push origin some-new-feature
$ git log