Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git squash commit

git rebase -i HEAD~5
# As the commit on line 1 is HEAD, in most cases you would leave this as 
# pick. You cannot use squash or fixup as there is no other commit to 
# squash the commit into.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #squash #commit
ADD COMMENT
Topic
Name
9+6 =