Last active
August 18, 2025 21:06
-
-
Save carlin-q-scott/417e6eeeecdbcc29edd2f546c7faaf86 to your computer and use it in GitHub Desktop.
WSL2 Bash Extensions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# copy branch to Windows clipboard | |
alias cp='git rev-parse --abbrev-ref HEAD | tr -d '\n' | clip.exe' | |
# Prune dead bratches | |
alias tb='git fetch --prune && git branch --merged | grep -v "\*" | xargs -n 1 git branch -d' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment