bakpak icon indicating copy to clipboard operation
bakpak copied to clipboard

[robustness] Nice script. A little optimization here.

Open onlycparra opened this issue 3 years ago • 0 comments

https://github.com/kortina/bakpak/blob/660556b744f96b5ae889c4bdd7bfd4617c6a23c7/bin/git-current-branch-is-behind-origin-master.sh#L4

You could just use git branch --show-current instead of the brave pipe.

onlycparra avatar Mar 05 '22 06:03 onlycparra