Skip to main content

All Questions

Tagged with
0 votes
1 answer
77 views

Undo git commit message in 2 different branches (develop and feature) after git push

do not want to break anything in the master branch. I forked a develop branch through below commands git checkout develop git pull upstream develop # pull the updates locally based on the git push ...
Ahamed Kamal's user avatar
0 votes
1 answer
40 views

How do I find all commits with a certain message and squash them into the previous commit?

When I've been coding I often use git commit -am <message> to save my work, and occasionally I'll use git commit --amend if I made a mistake in the previous commit. Recently I thought I was ...
personjerry's user avatar
  • 1,085
24 votes
3 answers
10k views

Git - Difference between amend and squash commands

What is the difference between amend and squash commands? I tried both and found that both are doing the same for proper management.
Raju Guduri's user avatar
  • 1,277