Amending a GitHub Pull Request
How many times have you done a pull request on GitHub only to need to make additional changes to it later? It's all part of open-source coding.
If you've made additional changes to the code you can sync those changes to the PR from the command line:
git commit --amend
Then:
git push -f origin <topic-branch-name>
Fast and clean and your PR is looking mean.
Written by Matt Smith
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Command line
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#