当前位置:网站首页>Delete remote and local branches
Delete remote and local branches
2022-07-24 20:24:00 【neo_ Neo】
Take notes
- Delete remote branch
1) The directory where the current project is located , Use git branch -r Command to view all branches of the remote .
2) Switch to another branch directory
3) Execute the command to delete the remote branch :
git push origin --delete branch_name
- Delete local branch
The procedure is the same as that of remote branch deletion , Different commands : View local branch
git branch
git branch -d branch_name
// If you can't delete , Execute force delete command :
git branch -D branch_name
边栏推荐
- Leetcode 1928. minimum cost of reaching the destination within the specified time
- Guys, I have no problem running locally in diea, running on the server. What's wrong with the lack of CDC connection? The database IP can be pinged
- [msp430g2553] graphical development notes (2) system clock and low power consumption mode
- Introduction to fastdfs high availability
- Wechat stores build order pages and automatically grab tickets
- The difference between map and flatmap in stream
- Redis basic knowledge, application scenarios, cluster installation
- Istio一之Envoy工作原理
- Risk control system, implemented by flink+clickhouse!
- [training Day10] point [enumeration] [bidirectional linked list]
猜你喜欢

Safe way -- Analysis of single pipe reverse connection back door

Xiaomi 12s ultra products are so powerful, but foreigners can't buy Lei Jun: first concentrate on the Chinese market

Valdo2021 - vascular space segmentation in vascular disease detection challenge (I)

Student achievement management system based on PHP

Pix2seq: Google brain proposes a unified interface for CV tasks!

Leetcode 1928. minimum cost of reaching the destination within the specified time

Working principle of envy of istio I

Alibaba sentinel basic operation
![[Extension Program - cat scratch 1.0.15 _ online video and audio acquisition artifact _ installation tutorial plus acquisition]](/img/75/5eca7f63758802ecf86a90a1bbdeaf.png)
[Extension Program - cat scratch 1.0.15 _ online video and audio acquisition artifact _ installation tutorial plus acquisition]

Covid-19-20 - basic method of network segmentation based on vnet3d
随机推荐
Introduction to fastdfs high availability
The difference between delete, truncate and drop in MySQL
Browser local storage webstroage
"Six pillars of self esteem" self esteem comes from one's own feelings
Write a batch and start redis
OpenGL (1) vertex buffer
Flink Window&Time 原理
Unitywebgl project summary (unfinished)
Vscode connected to the remote server cannot format the code / document (resolved)
Install MySQL 5.7.37 on windows10
Solve the problem of error l6218e undefined symbol XXX
(forward) usage of PostMessage
Microservice architecture | service monitoring and isolation - [sentinel] TBC
Wechat applet -that.setdata ({}) set complex field data
Rhodamine B labeled PNA | rhodamine b-pna | biotin modified PNA | biotin modified PNA | specification information
[training Day6] game [mathematics]
Implementation of OA office system based on JSP
从码农转型大音乐家,你只差这些音乐处理工具
Make Huawei router into FTP server (realize upload and download function)
[JVM] selection of garbage collector