$ vim .bashrc/.zshrc
alias ignore='echo -e "node_modules/ \n*.mp4 \n*.mp3 \n*.mov \n*.pdf \nconfig.js" >> .gitignore'
$ git init & ignore
Created
October 27, 2017 10:57
-
-
Save koji/763313333ffd1b3f20bfac5ea7fd3937 to your computer and use it in GitHub Desktop.
Alias for creating .ignore file when hit git init
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment