Reputation: 109
actually I am asking if git pull delete local commited changes when the same files in remote repository has been removed by the latest other user's commit ?
Upvotes: 1
Views: 923
Reputation: 94932
Yes, git pull
will remove files that have been deleted in another repository. So backup the files before pulling.
Save them for longer period if you think you need them. Because git checkout
will also remove the files if you switch to a branch where these files were removed.
Upvotes: 1