Search code examples
gitgit-gui

Git GUI - How to remove folder when pushing


I would like to push a project but one folder in my Git repository with Git GUI. How to automatically remove the folder each time I commit and push my project without remove it manually?


Solution

  • You can ignore files or directories by creating a file called .gitignore. See the Git Book for more details on using this. This will affect git-gui automatically as well as all other git tools.