AutoYADM commit: 2025-03-28 18:45:08
This commit is contained in:
parent
393973db39
commit
4606237776
78 changed files with 2856 additions and 1 deletions
14
.config/fish/functions/__gitnow_new_branch_switch.fish
Normal file
14
.config/fish/functions/__gitnow_new_branch_switch.fish
Normal file
|
@ -0,0 +1,14 @@
|
|||
# GitNow — Speed up your Git workflow. 🐠
|
||||
# https://github.com/joseluisq/gitnow
|
||||
|
||||
function __gitnow_new_branch_switch
|
||||
set -l branch_name $argv[1]
|
||||
|
||||
if test (count $argv) -eq 1
|
||||
set branch_name $branch_name
|
||||
|
||||
command git checkout -b $branch_name
|
||||
else
|
||||
echo "Provide a branch name."
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue