Skip to content
mengfung.com
writing

What files did you change in your branch that is different from master?

 ·  1 min read

Another one of my favorite commands I use often. I usually do this before I run rubocop or when I push to github before I do a pull request.

git diff master --name-only

In my .zshrc I have an alias:

alias gdfiles="git diff master --name-only"