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
## Choose one and add it as an alias or throw it in a script ## | |
### Modern Git Thanks to @Pezmc | |
# Linux/Unix Wayland | |
git branch --show-current | wl-copy | |
# Linux/Unix X11 | |
git branch --show-current | xclip -selection clipboard | |
# MacOS |