Closed jns111 closed 9 years ago
👍 , it helped me
@jaw6 thanks it helps me :+1:
@jaw6 perfect solution :100: . Thanks :+1:
It helped me. thanks
Perfect. Thanks.
i get this error
This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/pre-push.
every helpful, thank you!
If someone getting below error like me
fatal: cannot do a partial commit during a merge.
use -i
or --include
flag with the commit
command
git commit -i -m "Your commit message"
What do you do in the ----resolve conflicts----- part? Also, will this work with a "conflicting file" as well?
On "git checkout
perfect solution. Thanks.
You are in the middle of a merge -- cannot amend. help me please@@
Thanks
thank sir that really works for me. i never thought i would be fine. this is my day.
@thanks. Worked like pure magic. Bookmarking it as a great resource when trying to resolve conflicts on git for future reference....
I got this after trying to merge with master: Automatic merge failed; fix conflicts and then commit the result.
thanks @jaw6!
the conflict occurred because after ur change, someone else updated that file so Github could not determine which lines to keep and which to remove with ur change when we merged master, we pointed the local HEAD to the master code and with that Github was able to fix the merge conflict automatically.
Thank you, this is very helpful
nice
what if this error shows at a fork of a repo ?
Thank you, quite helpful
Got the error. Thanks a ton ✌🏻
You'll need to update your branch with new commits from master, resolve those conflicts and push the updated/resolved branch to GitHub. Something like this:
git checkout master git pull git checkout <branch> git merge master [ ... resolve any conflicts ... ] git add [files that were conflicted] git commit git push
Thank you so much !!!
I'm having trouble understand what to do here. I have received a PR which github there contains a conflict. I'd like to resolve the conflict. The message https://github.com/githubteacher/github-for-developers-sept-2015/issues/648#issuecomment-144488223 suggests that I checkout some branch and resolve conflict. BUT WHICH BRANCH? I do not see any branch which contains the conflicting commits.
What do I need to do get get a file containing the <<<<< ====== >>>>> conflict markers so I can fix them manually?
Hi there,
but how I get the conflicts shown? I do the steps under "Use command line to resolve conflicts before continuing. " but nothing happens in the repro.
https://github.com/Avedena/StyleGAN-Human/pull/1
git checkout -b stylegan-human-main main
git pull https://github.com/stylegan-human/StyleGAN-Human.git main
git checkout main
git merge --no-ff stylegan-human-main
git push origin main
Thanks
You'll need to update your branch with new commits from master, resolve those conflicts and push the updated/resolved branch to GitHub. Something like this: