P
P
pythonx2016-10-10 13:51:39
git
pythonx, 2016-10-10 13:51:39

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

1 answer(s)
A
Alexey Shumkin, 2016-10-10
@ashumkin

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 question

Ask a Question

731 491 924 answers to any question