# creates gitignore file
$ touch .gitignore
# Automatically create .gitignore file for a project. Copy in your .gitignore file
https://www.toptal.com/developers/gitignore
#Linux
$ touch .gitignore
#Windows
cd c:<your path>
notepad .gitignore
#Accept the prompt to create the file, edit the contents accordingly, save and close.
point your browser to
gitignore.io
and select all the tools and technologies you are using.
You will automatically have a generated .gitignore file.
echo "function gi() { curl -L -s https://www.gitignore.io/api/$@ ;}" >> ~/.bash_profile && source ~/.bash_profile
# Open git bash in the directory you wanna create .gitignore
# run command:
$ touch .gitignore
# there you go