Get last git tag from a remote repo without cloning

TL;DR With git ls-remote you can get a list of references from a remote repository. To see what the latest version is, look at the last line of output from: git -c ‘versionsort.suffix=-‘ ls-remote –tags –sort=”v:refname” <repository> To only output the latest tag (for instance in a shell script) of a repository that uses Semantic … Read more

“git describe” ignores a tag

git describe uses only annotated tags by default. Specify the –tags option to make it use lightweight tags as well. Make sure you’ve checked out the correct commit (git rev-parse HEAD). Annotated tags are created with git tag -a. If you do git show <tagname> and you see the commit only, it’s a lightweight tag; … Read more

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