- Rollback last commit:
git reset --hard HEAD^thengit push -f
- Get local tags:
git tag - Get remote tags:
git ls-remote --tags origin - Create local tag:
git tag <tag> - Create remote tag:
git push origin <tag> - Delete local tag:
git tag -d <tag> - Delete remote tag:
git push --delete origin <tag>
git add .git commit -m "Release module1-1.0.0"git tag module1-1.0.0orgit tag -a v1.73.0 -m "Latest release (or some message)"get pushorgit push origin mastergit push origin module1-1.0.0