diff options
author | Camil Staps | 2016-02-09 13:33:49 +0100 |
---|---|---|
committer | Camil Staps | 2016-11-30 19:11:06 +0100 |
commit | ae4fdb755a6e07e9f86ae34551987a446092f0db (patch) | |
tree | 2b754ae5b224c3d9fe7d073228d220555fcebac1 /functions/gf | |
parent | type pass (diff) |
zsh
Diffstat (limited to 'functions/gf')
-rw-r--r-- | functions/gf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/functions/gf b/functions/gf new file mode 100644 index 0000000..0de3e89 --- /dev/null +++ b/functions/gf @@ -0,0 +1,4 @@ +gf() { + local branch=$1 + git checkout -b $branch origin/$branch +}
\ No newline at end of file |