How to create tag?
Answer / Abhinav Bailey
To create a tag in Git, use the command `git tag <tag_name>` where `<tag_name>` is the desired name for your tag. To create an annotated tag and associate it with a specific commit, you can use the command `git tag -a <tag_name> -m '<message>'`.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is ‘git add’ is used for?
How to resolve a conflict in git?
Explain the difference between reverting and resetting.
What is a repository in GIT?
what is git fork? What is difference between fork and branch? How to create tag?
Mention the various git repository hosting functions.
What is a repository and how will you create it?
What is GIT stash?
What work is restored when the deleted branch is recovered?
Why git and not svn?
What does a commit object contain?
What is the function of git clone?