+13 votes
1 view
in Devops and Agile by (16.9k points)
edited by

How can I ignore directories or folders in Git using msysgit on Windows?

1 Answer

+13 votes
by (22.3k points)
edited ago by

All you need to do is create a file named .gitignore in your project's directory. Then you can ignore directories by entering the directory name into the file (with a slash appended):

dir_to_ignore/

For more infomation read this official doc from git-scm

For more commands like this please go through the following tutorial that will help you understand the git
 

 
...