github - files in .git/info/exclude not work -
i've set 2 files in .git/info/exclude
can still see them git st
they config files, , don't want commit more. set them there because --assume-unchanged
, --skip-worktree
can not checkout branch.
i can still see them git st
that means still versioned: need remove them index first:
git rm --cached -- yourconfigfile git add together . git commit -m "record deletion of yourconfigfile"
then git status
ignore files.
git github
No comments:
Post a Comment