Requirements
To follow this setup, it is required to have following …
•
No Requirements
Configure [.gitignore]
A gitignore file specifies intentionally untracked files that Git should ignore.
1.
2.
Create .gitignore file
# can comment using #
# ignore certain file
file.c
# ignore certain file from the root directory
/file.c
# ignore all files ends with .c extension
*.c
# re-include the file by using !
!not_ignore_this.c
# ignore files/folder and its contents with certain name
logs
# ignore the certain folder and its contents
logs/
# ignore certain contents in certain folder
logs/debug.log
logs/*.c
# ignore certain file from anywhere in the certain folder
logs/**/debug.log
YAML
복사
