@shyann
- First, you need to ensure that your local repository is up to date with the remote repository by running the following command:
- Next, you can use the following command to list all the tags in the remote repository:
This command will list all the tags present in the remote repository along with their commit hashes.
- Compare this list of tags with the list of tags in your local repository by running the following command:
This command will list all the tags in your local repository.
- You can compare the two lists to see if there are any new tags in the remote repository that are not present in your local repository. If there are new tags, you can fetch and pull them using the following commands:
1
2
|
git fetch --tags
git pull --tags
|
This will fetch and pull the new tags from the remote repository to your local repository.