Tag: git

How to create .gitignore file

The .gitignore file is not added to a repository by default. Use terminal touch .gitignore or your favorite text editor to create the .gitignore file then issue a git add .gitignore followed by git commit -m "message" .gitignore. The following commands will take care of it.

touch .gitignore
nano .gitignore
git add .gitignore
git commit -m "message" .gitignore

Code from

.gitignore file generator or generated code