We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c9b2fc commit 34db21eCopy full SHA for 34db21e
functions/gmc.fish
@@ -22,6 +22,8 @@ function gmc --description "Move git commit to another branch"
22
if test (count $argv) -ge 2
23
echo "Error: Branch '$new_branch' already exists and base branch was specified"
24
return 1
25
+ else
26
+ git checkout $new_branch
27
end
28
else
29
# Create new branch from base_branch
0 commit comments