Answers for "should you gitignore .git"

1

git global gitignore

touch ~/.gitignore
git config --global core.excludesfile ~/.gitignore
Posted by: Guest on May-28-2021
0

.gitignore

// Example of .gitignore file
.env
config.json
node_modules
// A .gitignore file is supposed to ignore any files when commiting to github with git
Posted by: Guest on August-02-2021

Code answers related to "should you gitignore .git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language