Skip to content

Fixed lab4 branch deletion command#7

Open
artus9033 wants to merge 2 commits intoKAIR-ISZ:masterfrom
artus9033:patch-2
Open

Fixed lab4 branch deletion command#7
artus9033 wants to merge 2 commits intoKAIR-ISZ:masterfrom
artus9033:patch-2

Conversation

@artus9033
Copy link

Probably a typo - git branch -r lists the remote tracked branches, whereas git branch -d deletes a branch. I guess git branch -d -r was meant, which deletes not only the local branch, but also the remote-tracked branch, although this would collide logically with point 4. of task 7.

Manpages reference: https://manpages.debian.org/stretch/git-man/git-branch.1.en.html

artus9033 added 2 commits May 20, 2020 13:57
Probably a typo - `git branch -r` lists the remote tracked branches, whereas `git branch -d` deletes a branch. I guess `git branch -d -r` was meant, which deletes not only the local branch, but also the remote-tracked branch, although this would collide logically with point `4.` of task `7`.

Manpages reference: https://manpages.debian.org/stretch/git-man/git-branch.1.en.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant