💾 Archived View for freeshell.de › tldr › git-branch.gmi captured on 2022-06-11 at 21:49:49. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Main Git command for working with branches.
git branch --all
git branch --all --contains {commit_hash}
git branch --show-current
git branch {branch_name}
git branch {branch_name} {commit_hash}
git branch -m {old_branch_name} {new_branch_name}
git branch -d {branch_name}
git push {remote_name} --delete {remote_branch_name}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).