π
π
π
π
Git-Help
Git Cheatsheet
Searchβ¦
A Simple Git Help
Basics
Git Branching
Pull Request
Submodules
Commands / Actions
Commit changes to other branch
git log
git status
git init
Amend a commit
Reset a file or full
Undo git add
Get remote repo url
Add or Set Remote URL
delete branch
Credits & Other
Other good links
Credits
Powered By
GitBook
delete branch
To delete a local branch
# To delete local branch (which is not there in server)
β
$ git branch -d <branchname>
To delete a remote branch
# To Delete Remote branch
β
$ git push -d <remote_name> <branchname>
$ git push -d origin <branchname>
β
https://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-locally-and-remotely
β
Commands / Actions - Previous
Add or Set Remote URL
Next - Credits & Other
Other good links
Last modified
1mo ago
Copy link