Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can conflict in git resolved?



How can conflict in git resolved?..

Answer / Indu Singh

Resolving conflicts in Git can be done manually or automatically. For manual resolution, Git indicates the conflicting files with a message and marks the conflicting areas using '<<<<<<<', '=======', and '>>>>>>>'. You need to manually edit the file by merging the changes from both branches. For automatic resolution, use the command 'git merge --no-commit' followed by 'git automerge' or 'git diff --merge'. This will automatically attempt to merge the files.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Git Interview Questions

What is git bisect?

1 Answers  


What is the function of ‘git reset’?

1 Answers  


How to rebase master in git?

1 Answers  


What is the function of git clone?

1 Answers  


Explain the difference between rebase and merge?

1 Answers  


Name some git commands and also explain their functions?

1 Answers  


What is a repository and how will you create it?

1 Answers  


How can you use git bisect to determine the source of a (regression) bug?

1 Answers  


What is the difference between git pull and git fetch?

1 Answers  


Explain git stash, pop?

1 Answers  


What is git fork? How to create tag?

1 Answers  


What is the function of ‘git diff ’ in git?

1 Answers  


Categories