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 difference between fork and branch? How to create tag?



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

Answer / Lalit Chahal

In Git, a fork represents a copy of a remote repository under a new owner, while a branch is a separate development line in a single repository. To create a tag, use the following command: `git tag <tag_name>`n- To create an annotated tag with a message, use `git tag -a <tag_name> -m '<commit_message>'`. You can list all tags using `git tag`.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Git Interview Questions

How git instaweb is used?

1 Answers  


What is rebasing syntax in git?

1 Answers  


What is the difference between fork, branch, and clone?

1 Answers  


Name a few git commands and explain their usage.

1 Answers  


How to create tag?

1 Answers  


What does commit object contain?

1 Answers  


What is the function of ‘git rm’?

1 Answers  


What is git reflog?

1 Answers  


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

1 Answers  


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

1 Answers  


What is the use of ‘git log’?

1 Answers  


How can conflict in git resolved?

1 Answers  


Categories