Back

Explore Courses Blog Tutorials Interview Questions
+11 votes
2 views
in DevOps and Agile by (19.4k points)
edited by

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

1 Answer

+11 votes
by (27.5k points)
edited 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
 

 

Browse Categories

...