检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Delete repositories Function Deletes a specified repository based on the 32-bit UUID of the repository.
Delete repositories Function Deletes a specified repository based on the 32-bit UUID of the repository.
Delete repository members Function Delete repository members URI DELETE /v1/repositories/{repository_uuid}/members/{member_id} Table 1 Path Parameters Parameter Mandatory Type Description member_id Yes String Warehouse Member ID repository_uuid Yes String Repository UUID, which is
Delete repository members Function Delete repository members URI DELETE /v1/repositories/{repository_uuid}/members/{member_id} Table 1 Path Parameters Parameter Mandatory Type Description member_id Yes String Warehouse Member ID repository_uuid Yes String Repository UUID, which is
You can create, edit, and delete a comment template, and customize template information such as Severity, Assign to, Review category, Module, and Description. When a repository member reviews a comment, you can select a review comment template.
Table 1 List of functions that cannot be executed Tab Page Function Code If the repository is locked, the following functions cannot be performed on the Code tab page: Create, edit, delete, rename, and upload a file Create and delete a directory Create and delete a submodule Cherry-Pick
Fork B B B B C D C Delete B D D D D D C Setting B D D D D D C Code Commit B A A A C D C Download B A A A C D C Member Add B D D D D D C Edit B D D D D D C Delete B D D D D D C Branch Create B B B B C D C Delete B B B B C D C Tag Create B B B B C D C Delete B C C C C D C MR Create
URI DELETE /v1/repositories/{group_name}/{repository_name}/hooks/{hook_id} Table 1 Path Parameters Parameter Mandatory Type Description group_name Yes String Group Name (Example: git@repo.alpha.devcloud.inhuawei.com:Demo00228/testword.git Group Name: Demo00228) hook_id Yes Integer
URI DELETE /v1/repositories/{group_name}/{repository_name}/hooks/{hook_id} Table 1 Path Parameters Parameter Mandatory Type Description group_name Yes String Group Name (Example: git@repo.alpha.devcloud.inhuawei.com:Demo00228/testword.git Group Name: Demo00228) hook_id Yes Integer
× Code Create, edit, delete, rename, and upload a file Create and delete a directory Create and delete a submodule Cherry-Pick and revert a file × × Code Add, delete, edit, reply, and resolve a review and comment √ × Branch & Tag Create a branch Merge branches Create a tag × × Branch
Click to delete protected tags. Parent topic: Policy Settings
When a developer, committer and administrator, or administrator is allowed to create protected tags, or other members cannot create or delete the tags. If no one can create protected tags, all members cannot create or delete the tags. Click to delete protected tags.
Star rating √ √ × × - Delete an MR × × × × No one can delete an MR. Add comments √ √ √ √ - Edit comments × × × × Only comments can edit their comments.
Delete 1 1 2 4 4 4 4 4 3 - Settings 1 1 3 4 4 4 4 4 3 - Code Commit 1 1 2 1 1 1 3 4 3 - Download 1 1 2 1 1 1 3 4 3 - Member (group) Add 1 1 2 4 4 4 4 4 3 - Edit 1 1 2 4 4 4 4 4 3 - Delete 1 1 2 4 4 4 4 4 3 - Branch Create 1 1 2 2 2 2 3 4 3 - Delete 1 1 2 2 2 2 3 4 3 - Tag Create 1
Solution Verify the name and path of the remote repository, delete the false name and add another remote repository.
Delete the entry of a submodule from the .gitsubmodule file. Delete the entry of a submodule from the .git/config file. Run the following command to delete the folder of the submodule. git rm --cached {submodule_path} # Replace {submodule_path} with your submodule path.
Delete a local branch: git branch –D newbranch Delete a branch in the remote repository: git branch –rd origin/newbranch Remove branches that have been deleted in the remote repository: git remote prune origin git add Add a file to the index git add [filename] filename: indicates
Delete a local branch: git branch –D newbranch Delete a branch in the remote repository: git branch –rd origin/newbranch Remove branches that have been deleted in the remote repository: git remote prune origin git add Add a file to the index git add [filename] filename: indicates
Delete the entry of a submodule from the .gitsubmodule file. Delete the entry of a submodule from the .git/config file. Run the following command to delete the folder of the submodule. git rm --cached {submodule_path} # Replace {submodule_path} with your submodule path.
unprotected branches √ √ - Create tags √ Configured by commit rules - Delete tags √ - - Create merge requests √ √ - Score merge requests √ √ √ Comment on merge requests √ √ √ Management Access the console √ - - Add repository members √ - - Delete repository members √ - - Edit permissions