branch.ps1 ⚡ powershell helper for quicker branching in git
branch.ps1 — powershell helper for quicker branching in git
add this function to your powershell profile (profile.ps1
)
(or dot source the file from your profile, “. .\branch.ps1”)
> b
Will list all of the branches of your current repo, with a number next to each one, and the current branch clearly highlighted.
If master has a “3” next to it, then you can switch to master
with:
> b 3
Cognitive ease. Fluidity. Flow. Git some!