diff options
Diffstat (limited to 'zsh/functions/gf')
-rw-r--r-- | zsh/functions/gf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/functions/gf b/zsh/functions/gf new file mode 100644 index 0000000..0de3e89 --- /dev/null +++ b/zsh/functions/gf @@ -0,0 +1,4 @@ +gf() { + local branch=$1 + git checkout -b $branch origin/$branch +}
\ No newline at end of file |