Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git merge squash

git checkout master			# Switches to your master branch.
git merge --squash bugfix	# All grouped commits from bugfix to current branch
git commit					# Creates a single commit from the merged changes
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #merge #squash
ADD COMMENT
Topic
Name
1+8 =