Created
June 14, 2012 16:06
-
-
Save johnkary/2931206 to your computer and use it in GitHub Desktop.
Showing only files for a single commit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global alias.hellobrian '!git --no-pager show --pretty="format:" --name-only' | |
Usage: git hellobrian c22e54d0ee0819f9d548b9249bed8998aa0107fb | |
Comments: The "!git" part isn't needed for all aliases, only in this case because your command changes environment variables, so it will expand "git" on execution. Usually you start an alias with "log --some-option --second-option" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment