-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] What to do for this git pull error? #5487
Comments
if you don't care about your changes if you care |
I don't care about the changes, didn't know how they got there in the first place. after I ran the reset (I am using master branch, is that a problem?) ws_server.py | 2 +- |
If you are on master do this:
If you are on dev, replace master with dev in the above. Then do the usual update from requirements.txt and update the submodule. |
Thank you very much @RedViper9 |
You can also just remove the edited file and it will be downloaded with a new pull |
Also, which option should I use? (s), (i), (w), or (b)? Many thanks in advance. Requirement already up-to-date: networkx==1.11 in .....\python27\lib\site-packages (from -r requirements.txt (line 2)) |
well, if the update does not work, we always have an option of reinstalling the whole thing. |
I must accidentally changed a file. Now how can I discard the change and get from the repository?
remote: Counting objects: 23, done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 23 (delta 10), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (23/23), done.
From https://github.com/PokemonGoF/PokemonGo-Bot
5ae0afc..14d1939 dev -> origin/dev
Updating 11123a8..a8ee312
error: Your local changes to the following files would be overwritten by merge:
pokemongo_bot/metrics.py
Please commit your changes or stash them before you can merge.
Aborting
Requirement already up-to-date: numpy==1.11.0 in d:\p\python27\lib\site-packages (from -r requirements.txt (line 1))
The text was updated successfully, but these errors were encountered: