7 lines
256 B
Fish
7 lines
256 B
Fish
# GitNow — Speed up your Git workflow. 🐠
|
|
# https://github.com/joseluisq/gitnow
|
|
|
|
function __gitnow_current_remote
|
|
set -l branch_name (__gitnow_current_branch_name)
|
|
command git config "branch.$branch_name.remote" 2>/dev/null; or echo origin
|
|
end
|