From ae4fdb755a6e07e9f86ae34551987a446092f0db Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 9 Feb 2016 13:33:49 +0100 Subject: zsh --- functions/gf | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 functions/gf (limited to 'functions/gf') 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 -- cgit v1.2.3