Reputation: 761
When I arc patch
I will get
You have untracked files in this working copy Ignore these untracked files and continue (Y/n)
I dont want to delete the untracked files or put them into .gitignore. I just want to silently say yes. Is there a way to achieve it, e.g., command arg?
Upvotes: 1
Views: 265
Reputation: 37287
Another option is to add it to .git/info/exclude
, which works like a repo-local version of .gitignore
. Any entry added to .git/info/exclude
will behave identical to those in .gitignore
file in the repository, but .git/info/exclude
will not affect your working tree and changes to it don't need to be committed.
Upvotes: 1