What names are valid git tags?

You can check if the name is valid with git check-ref-format This page contains the constraints on a valid name. Quoted from the page (possibly outdated in the future): They can include slash / for hierarchical (directory) grouping, but no slash-separated component can begin with a dot . or end with the sequence .lock. They … Read more

Git Tag list, display commit sha1 hashes

To get git tags with the SHA1 hash of the Tag object, you can run: git show-ref –tags The output will then look something like: 0e76920bea4381cfc676825f3143fdd5fcf8c21f refs/tags/1.0.0 5ce9639ead3a54bd1cc062963804e5bcfcfe1e83 refs/tags/1.1.0 591eceaf92f99f69ea402c4ca639605e60963ee6 refs/tags/1.2.0 40414f41d0fb89f7a0d2f17736a906943c05acc9 refs/tags/1.3.0 Each line is the SHA1 hash of the tag, followed by the tag name prefixed with refs/tags/. If you want the SHA1 … Read more

How can I delete a remote tag?

You can push an ’empty’ reference to the remote tag name: git push origin :tagname Or, more expressively, use the –delete option (or -d if your git version is older than 1.8.0): git push –delete origin tagname Note that git has tag namespace and branch namespace so you may use the same name for a … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)