How can I move a tag on a git branch to a different commit?

Use the -f option to git tag: You probably want to use -f in conjunction with -a to force-create an annotated tag instead of a non-annotated one. Example Delete the tag on any remote before you pushgit push origin :refs/tags/<tagname> Replace the tag to reference the most recent commitgit tag -fa <tagname> Push the tag to the remote origingit push origin master … Read more

Download a specific tag with Git

will give you the whole repository. After the clone, you can list the tags with $ git tag -l and then checkout a specific tag: Even better, checkout and create a branch (otherwise you will be on a branch named after the revision number of tag):

Create a tag in a GitHub repository

You can create tags for GitHub by either using: the Git command line, or GitHub’s web interface. Creating tags from the command line To create a tag on your current branch, run this: If you want to include a description with your tag, add -a to create an annotated tag: This will create a local tag with the current state … Read more

How to delete a remote tag?

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

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