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
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#