Reputation: 4327
it seems there are already "simlilar" answers, but my situation is
.gitignore
git rm --cached a.txt
so should I ask all my teammates to run git rm --cached a.txt
in their local branch?
(a.txt is the classic "package-lock.json", due to diff versions among local machines and servers)
Upvotes: 0
Views: 37
Reputation: 3396
I think they are adding a.txt
back. If you also add .gitignore
and push, then they probably won't add it again.
Note: package-lock.json
is intended to be included in source control. See: here
Upvotes: 1