Git: selective push to remote
If you want to push all the commits in your local branch, but exclude the last 3:
git push origin cool-feature~3:cool-feature
Written by Luca Guidi
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors

filipekiss
702.8K

khasinski
595.9K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#