Thu Apr 1 20:24:48 UTC 2021
Saved working directory and index state WIP on master: df5bb8a Merge pull request #238 from UAM-DEV/staging
From github.com:UAM-DEV/eight
* branch master -> FETCH_HEAD
error: The following untracked working tree files would be overwritten by merge:
public/avatars
Please move or remove them before you merge.
Aborting
Updating df5bb8a..19415d2
You’ve got files on your server which aren’t in your repo.
I would copy those files in public:/avatars somewhere safe and then you should be able to do a
git reset HEAD —hard to bring your server up to the latest version in your branch.
You’ll then want you to manage the missing files in your avatars directory.
Personally I would back up that directory, remove the folder from your repo and then add the public/avatars directory to your .gitignore to exclude it from your repo.
Then you’ll want to restore that directory from your backup.