Delete A Git Tag In AWS CodeCommit
Có thể bạn quan tâm
To delete a Git tag in a CodeCommit repository, use Git from a local repo connected to the CodeCommit repository. .
Use Git to delete a Git tag
Follow these steps to use Git from a local repo to delete a Git tag in a CodeCommit repository.
These steps are written with the assumption that you have already connected the local repo to the CodeCommit repository. For instructions, see Connect to a repository.
-
To delete the Git tag from the local repo, run the git tag -d tag-name command where tag-name is the name of the Git tag you want to delete.
Tip
To get a list of Git tag names, run git tag.
For example, to delete a Git tag in the local repo named beta:
git tag -d beta -
To delete the Git tag from the CodeCommit repository, run the git push remote-name --delete tag-name command where remote-name is the nickname the local repo uses for the CodeCommit repository and tag-name is the name of the Git tag you want to delete from the CodeCommit repository.
Tip
To get a list of CodeCommit repository names and their URLs, run the git remote -v command.
For example, to delete a Git tag named beta in the CodeCommit repository named origin:
git push origin --delete beta
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - NoThanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.
Từ khóa » Xoa Git
-
Git - Xóa Remote Repository - Freetuts
-
Thao Tác Cơ Bản | Hướng Dẫn Về Git Cho Người Mới Bắt đầu - Backlog
-
Làm Sao Tạo Và Xoá Một Repository Trên GitHub? - Openplanning
-
Cách Xóa Một Nhánh Trong Git Cục Bộ Và Từ Xa - THPT Sóc Trăng
-
Làm Thế Nào để Loại Bỏ Một Thư Mục Từ Kho Git? - HelpEx
-
Cách Xóa Nguồn Gốc Từ Xa Khỏi Repo Git? - HelpEx
-
Vatesfr/xen-orchestra - GitHub
-
Git Reset | Atlassian Git Tutorial
-
Git-remote Documentation - Git
-
Delete A Git Branch Locally And Remotely - Baeldung
-
Git Branches: List, Create, Switch To, Merge, Push, & Delete
-
How To Delete A Git Repository - The Server Side
-
Delete Sensitive Data From Git - Blog - Luminousmen
-
Git Branch | Atlassian Git Tutorial