Category Archives: git

Squashing GIT Commits

When you are working with version control. You may have multiple commits that you would like to combine into a single commit. Or perhaps you want to change their order, etc...First you need to determine how far back you want to go. Open a command prompt or terminal window, navigate to your Git Repository.next, type>git log -10 The above command will show the last 10 commits. If that does not go far enough back, in increase the number 10Once you have identified the commits you wish to squash Read more [...]