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 a repository and how will you create it?

1 Answers  


How can you create a repository in Git?

1 Answers  


What is git fork?

1 Answers  


What is the use of ‘git log’?

1 Answers  


What is the syntax for “Rebasing” in Git?

1 Answers  


What is ‘bare repository’ in GIT?

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  


Mention some of the best graphical GIT client for LINUX?

1 Answers  


Explain what is commit message?

1 Answers  


What is ‘git add’ is used for?

1 Answers  


What is another option for merging in git?

1 Answers  


Categories