git - Is the "assume-unchanged" information committed? -
git - Is the "assume-unchanged" information committed? -
there file want share in current state, don't want farther changes committed. did "assume-unchanged" file. now, git ignores changes file in repository. other users of repository - have "assume-unchanged" file in own repository?
is there way automatically create "assume-unchanged" directive valid other users too, done "gitignore" information?
no, git update-index --assume-unchanged
updates index of local repo.
not index of other remote repo, , not pushed. the same git update-index --skip-worktree
one approach can pushed around using content filter driver, in order generate actual file versioned template. see instance "automatically ignore selected code changes when pushing git-hub repository"
(image "customizing git attributes" git book)
git gitignore
Comments
Post a Comment