Answers for "how to resolve conflict in git"

4

how to handle merge conflicts

git stash        -- > take my project to temp memory
git pull         -- > pull the project from GitHub to working directory
						(my computer)
git stash pop    -- > take my project to my working directory,     
					fix the conflict and merge the project.
git add .
git commit –m “comment”
git push
Posted by: Guest on December-04-2020
1

git Automatic merge failed; fix conflicts and then commit the result

$ git status

$ git add .

$ git commit -a "Comment"
Posted by: Guest on July-13-2020
-1

how to show code conflicts in git

$ git statusOn branch masterYou have unmerged paths.(fix conflicts and run "git commit")(use "git merge --abort" to abort the merge)Unmerged paths:(use "git add <file>..." to mark resolution)both modified:   merge.txt
Posted by: Guest on September-06-2020

Code answers related to "how to resolve conflict in git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language