[Level 1] git ignore

If you want git not to commit some temporary files or log files...etc., you could create .gitignore file to ignore them. If you don't have any idea about which file should be ignore, you could also download ignore templates that prepared by github.
mkdir ~/git-home
cd ~/git-home
git init
git clone https://github.com/github/gitignore
cd ~/my_py_project
cp ~/git-home/gitignore/Python.gitignore ./.gitignore

Wish this helps.

regards,
Stanley Huang

Comments

Popular posts from this blog

[Level 2] Shell Interactive With Zenity Episode 5 -- list

[Level 2] iif in Python