Answer the question
In order to leave comments, you need to log in
How to fix commits?
made a minor commit on github, and then on a local project, without downloading the updated project from github. I'm trying to upload, but want to update the branch. I upload using pull, but all changes are deleted. How to add an old commit from github, but move to a new one from a local project? (Not really in this question, sorry for the wording)
Answer the question
In order to leave comments, you need to log in
did this:
git pull origin master
git mergetool
git push origin HEAD:refs/heads/bf66cec
git add .
git commit -m "commit name"
git pull
// если есть конфликты, они разруливаются и коммитятся вот тут
git push
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question