Odebrat větev místní git

Příklady kódu

100
0

smazat místní pobočku

// delete branch locally
git branch -d localBranchName

//delete local branch that is unmerged
git branch -D localBranchName

// delete branch remotely
git push origin --delete remoteBranchName
36
0

git smazat větev

## git version 2.25.1

## Deleting local branches
git branch -d localBranchName
## Deleting remote branches
git push origin --delete remoteBranchName

## Deleting both a local and a remote branch
## They are completely separate objects in Git. But
git branch -d localBranchName && git push origin --delete remoteBranchName
25
0

git smazat místní větev

// delete branch locally
git branch -d localBranchName

// delete branch remotely
git push origin --delete remoteBranchName
15
0

smazat vzdálenou větev git

git push --delete remoteName branchName
1
0

odebrat větev místní git

$ git branch -d branch_name
$ git branch -D branch_name
0
0

odebrat větev místní git

$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>

V jiných jazycích

Tato stránka je v jiných jazycích

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................