-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit_commands.txt
More file actions
31 lines (21 loc) · 794 Bytes
/
Copy pathgit_commands.txt
File metadata and controls
31 lines (21 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
git tag <tagname> -a
git tag Baseline_1.1.3 -a
git push origin --tags
git tag
https://stackoverflow.com/questions/18216991/create-a-tag-in-a-github-repository
https://www.atlassian.com/git/tutorials/inspecting-a-repository/git-tag
https://docs.github.com/en/github/committing-changes-to-your-project/creating-and-editing-commits/changing-a-commit-message
If the commit only exists in your local repository and has not been pushed to GitHub,
you can amend the commit message with the git commit --amend command.
https://devconnected.com/how-to-delete-local-and-remote-tags-on-git/
$ git tag -d 1.0.12
Deleted tag 'v1.0' (was 808b598)
git push --delete origin 1.0.12
$ git tag -l
1.0.12
Baseline_1.0.12
Baseline_1.0.13
Baseline_1.1.1
git commit -m 'add gradle files'
git pull
git push