- Loading...
...
If you are using Git version 2.24 or newer you can also use the command: git switch --create <NAME-OF-BRANCH>
| Code Block |
|---|
$ git branch -D <NAME-OF-BRANCH> |
...
If you are using the Skara CLI tools then and have the branch you want to publish currently checked out, then you can just run the command git publish
| Code Block |
|---|
$ git push --delete origin <NAME-OF-BRANCH> |
Note: the above command assumes that the branch exists in the remote repository that origin is referring to.
...