git merge --no-commit --no-ff $BRANCH
After migrating from svn to git I missed a way to merge without committing. Here it its.
Written by Danilo Tuler
Related protips
1 Response
If you wanna bring the code without commit, use --squash. The difference happens when you commit, --no-commit will proceed with a merge. (sorry if you already knew that)
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#