Tagged: git

git-logo 0

git-see the changes in a commit

To see the diff got com­mit­ted in par­tic­u­lar com­mit mes­sage use one of the fol­low­ing com­mands git show COMMIT OR git diff COMMIT^ COMMIT Fur­ther read­ing : git diff git show

git-logo 0

Squash multiple commits into one

Pre­ma­ture com­mits hap­pen all the time. And often you want to squash all those pre­ma­ture com­mit into one mean­ing­ful com­mit  to keep your com­mit his­tory clean, eas­ily read­able and more mean­ing­ful. It’s quite easy to…