Answer the question
In order to leave comments, you need to log in
How to update a project from github?
Yesterday, after completing work on the project, I uploaded it to github like this:
git add -A
git commit -a -m"последнее обновление"
git push example
example
here is the address of my repository. git pull
, in response I get already up to date
. What have I done wrong?
Answer the question
In order to leave comments, you need to log in
If you have not made a commit yet, then simply revert the changes to the files.
git checkout *
If you have already saved the changes, then roll back to the desired commit.
git hist //выводим историю и узнаем хэш нужного коммита
git checkout <COMMIT_HASH> //загружаем нужный коммит
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question