Unwanted Automatic Git Merge -
the file windowsformscontrollibrary/properties/licenses.licx
in local repository , error in remote repository.
i put *.licx in
.gitignore
file.
when use command git pull
, message:
error: local changes following files overwritten merge: windowsformscontrollibrary/properties/licenses.licx please, commit changes or stash them before can merge.
aborting
i commit , this:
$ git rm --cached windowsformscontrollibrary/properties/licenses.licx $ git --skip-worktree windowsformscontrollibrary/properties/licenses.licx $ git --assume-unchanged windowsformscontrollibrary/properties/licenses.licx $ git reset --hard head
but message same when use git pull
.
how can use git pull
without having merge licenses.licx
files?
have updated .gitignore
locally ? if must check contents of global gitignore file influence local gitignore.
Comments
Post a Comment