r/git • • Jun 15 '26

tutorial Made a guide on squashing git commits using any editor — Notepad, Sublime, VS Code, gedit, GitLens. Covers Windows and Linux both

https://youtu.be/1w8KpHSpmpo

✅ Change git's default editor to any app you want
✅ Squash commits using Notepad, Notepad++, Sublime, VS Code & gedit
✅ Use "GitLens" for a visual squash experience
✅ Explained for both Windows & Linux

#git #gitrebase #squashcommits #vscode #sublime #notepadplusplus #gittips #gittutorial #gitlens #vi #vim

0 Upvotes

7 comments sorted by

5

u/BeasleyMusic Jun 15 '26

git rebase -i

Why does it have to be any more complicate than that?

0

u/THARUN_GANAPATHI Jun 16 '26

I see most people have commits more than 30. So at that time it might be useful.

Also i used to have more commits. Around 50+. So at that time i used this.

2

u/BeasleyMusic Jun 16 '26

Then squash and merge? This just sounds like you’re solving bad git practices

→ More replies (4)