Outils pour utilisateurs

Outils du site


informatique:git

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
informatique:git [2023/07/07 03:26] – [Pour aller plus loin] alexisinformatique:git [2024/02/09 05:47] (Version actuelle) alexis
Ligne 107: Ligne 107:
         pt = !git tag -l | xargs git tag -d && git fetch -t         pt = !git tag -l | xargs git tag -d && git fetch -t
         ; Remove local MRs (gitlab)         ; Remove local MRs (gitlab)
-        rmmr = !git checkout master && git branch --list 'mr/*' --format '%(refname:lstrip=2)' | xargs git branch -D+        rmmr = !git reset --hard && git checkout master && git branch --list 'mr/*' --format '%(refname:lstrip=2)' | xargs git branch -D
         ; Show synchronized branches without remote         ; Show synchronized branches without remote
         stale-branch = !git fetch --all --prune && git branch --verbose | awk '/\\[gone\\]/ {print $1}'         stale-branch = !git fetch --all --prune && git branch --verbose | awk '/\\[gone\\]/ {print $1}'
informatique/git.txt · Dernière modification : 2024/02/09 05:47 de alexis