第一个规则:
Ingore folder and files which are generated by building or compile, folder named bin should be ingored.
Create a file named .gitignore in your projects directory. Ignore directories by entering the directory name into the file (with a slash appended):
dir_to_ignore/