Advertisement
Guest User

Untitled

a guest
Feb 18th, 2015
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. How to squash for dummies.
  2.  
  3.  
  4. 1. Make sure you're really all done this time.
  5. 2. Right click your tgstation master folder and make sure you're on the correct branch.
  6. 3. Choose git bash from the drop down menu. And type git log.
  7. 4. Type in git rebase (you need like 9 characters from the commit shown in the log right before your first one. Type that here) -i
  8. 5. Press 's' to be able to type on this screen. Leave the first commit alone it should say pick next to it. Type in squash for all the other ones. Just erase pick and write in squash there. It'll turn green so you know you did it right. Hit esc then :wq
  9. 6. You'll see a screen pop up with a bunch of blue and white text its your commits messages. Delete all the messages in white except the very first one. And type whatever you'd like at the top as a new message. Esc again and wq.
  10. 7. Last step: type git push origin yourbranchname -f
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement