Answer the question
In order to leave comments, you need to log in
Exclude for file for local repository but not exclude from project?
Good afternoon.
How do I exclude a folder on only one local copy of the turnip?
I added the line [core] excludesfile = ~/.gitexcludes to .git/config
Added the required folder to
.gitexcludes Crashed it from the cache git rm -r --cached ./folder_name Deleted
the folder itself from disk
At the same time, git status still shows that the folder has been deleted.
What am I doing wrong?
Answer the question
In order to leave comments, you need to log in
man gitignore
A gitignore file specifies intentionally untracked files that Git should ignore. Files already tracked by Git are not affected
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question