DEV Community

Discussion on: Git: Cheat Sheet (advanced)

Collapse
 
dracan profile image
Dan Clarke

Great post! Might be worth mentioning that for your git diff master..my-branch command - if you're already on my-branch, then you can omit the my-branch - eg. just git diff master..

Collapse
 
maxpou profile image
Maxence Poutord

thanks for the tip ;)