mirror of
https://github.com/git-tips/tips.git
synced 2024-09-21 00:01:03 +02:00
tip for deleting a local or remote branch
This commit is contained in:
parent
8c45240d89
commit
7db7aae79b
|
@ -34,11 +34,11 @@
|
||||||
{
|
{
|
||||||
"title": "Track upstream branch",
|
"title": "Track upstream branch",
|
||||||
"tip": "git branch -u origin/mybranch"
|
"tip": "git branch -u origin/mybranch"
|
||||||
}
|
},
|
||||||
{
|
{
|
||||||
"title": "Delete local branch",
|
"title": "Delete local branch",
|
||||||
"tip": "git branch -d local_branchname"
|
"tip": "git branch -d local_branchname"
|
||||||
}
|
},
|
||||||
{
|
{
|
||||||
"title": "Delete remote branch",
|
"title": "Delete remote branch",
|
||||||
"tip": "git push origin :remote_branchname"
|
"tip": "git push origin :remote_branchname"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user