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...

what is git fork? What is difference between fork and branch? How to create tag?

Answer Posted / Niraj Kumar Sharma

In Git, both rebase and merge are used to integrate changes from one branch into another. However, they behave differently:n1. Rebase: It moves the entire history of the source branch onto a new base commit (usually the latest common ancestor with the destination branch). This results in a cleaner, linear history without extra merges. To use rebase, run `git rebase <source_branch>`.n2. Merge: It creates a new commit that combines the changes of the source and destination branches. The resulting commit graph includes a merge commit, which shows how both branches were combined.n- To merge a branch into your current branch, use `git merge <source_branch>`.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is git instaweb used?

2