rename_branch
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| rename_branch [2021/01/19 14:26] – создано chifek | rename_branch [2023/09/14 06:06] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| + | ===== How do I delete a local branch in Git? ===== | ||
| + | |||
| + | Git makes managing branches really easy - and deleting local branches is no exception: | ||
| + | |||
| + | < | ||
| + | |||
| + | In some cases, Git might refuse to delete your local branch: when it contains commits that haven' | ||
| + | |||
| + | If you want to delete such a branch nonetheless (e.g. because you've programmed yourself into a dead end and produced commits that aren't worth keeping) you can do so with the " | ||
| + | |||
| + | < | ||
rename_branch.1611066396.txt.gz · Last modified: 2023/09/14 06:06 (external edit)