Created
April 11, 2024 13:34
-
-
Save WaffleLapkin/92ff6cdf00bb969c15e37d0850d3627f to your computer and use it in GitHub Desktop.
A lil script to list current branches on all my rustc checkouts
This file contains 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
#!/usr/bin/fish | |
ssh dev-desktop " | |
hostname; | |
cd ~/rust-a && echo ' ' (pwd) ':' (git branch --show-current); | |
cd ~/rust-b && echo ' ' (pwd) ':' (git branch --show-current); | |
cd ~/rust-c && echo ' ' (pwd) ':' (git branch --show-current); | |
cd ~/rust-lib && echo ' ' (pwd) ':' (git branch --show-current); | |
cd ~/rust-tsk && echo ' ' (pwd) ':' (git branch --show-current); | |
" | |
ssh dev-desktop-2 " | |
hostname; | |
cd ~/rust-u && echo ' ' (pwd) ':' (git branch --show-current); | |
cd ~/rust-v && echo ' ' (pwd) ':' (git branch --show-current); | |
cd ~/rust-w && echo ' ' (pwd) ':' (git branch --show-current); | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment