What is difference between fork and branch? How to create tag?
Answer Posted / 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 View All Answers