- correctif fonctions git

This commit is contained in:
Frogg 2026-05-11 20:26:11 +02:00
parent 19c29d043f
commit 70986e7447
1 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ getbranch(){
gitreset(){
local branch
branch=getbranch
branch=$(getbranch)
git fetch origin
git reset --hard origin/"${1:-$branch}"
@ -24,7 +24,7 @@ gitreset(){
gitsync(){
local branch
branch=getbranch
branch=$(getbranch)
git fetch
git pull origin "${1:-$branch}"
@ -48,7 +48,7 @@ gitclone(){
giturl(){
local branch
branch=getbranch
branch=$(getbranch)
git remote set-url origin "$1"