Created
October 31, 2012 02:57
-
-
Save bronzehedwick/3984550 to your computer and use it in GitHub Desktop.
Edit gitignore alias
This file contains 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
# Simple shortcut to edit your gitignore | |
# from anywhere inside your git repository | |
# Note that this will only work for gitignores | |
# in the top level directory | |
# To use, copy and paste the code | |
# into your bashrc or zshrc | |
alias egi="vim $(git rev-parse --show-toplevel)/.gitignore" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment