Created
November 2, 2018 13:35
-
-
Save timurista/441d3a565202b8e4d1656c85a9537f0c to your computer and use it in GitHub Desktop.
branch-commit-pr.fish for fast saving
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
#!/bin/fish | |
# echo $argv[1] | |
set name $argv[1] | |
set branch_name (string replace -a ' ' '-' $name) | |
# echo $branch_name | |
git fetch origin | |
gnb $branch_name | |
gp "$name" | |
pr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment