Logo Pastebin.fr
Pastebin

Retrouvez, créez et partagez vos snippets en temps réel.

ttt

git config --global alias.change-date '!f() { DATE="$2"; if [ "$DATE" = "now" ]; then DATE="$(date "+%a, %d %b %Y %H:%M:%S %z")"; fi; if git rev-parse "$1^" >/dev/null 2>&1; then GIT_SEQUENCE_EDITOR="sed -i \"\" -e \"s/^pick $1/edit $1/\"" git rebase -i "$1^"; else GIT_SEQUENCE_EDITOR="sed -i \"\" -e \"s/^pick $1/edit $1/\"" git rebase -i --root; fi && GIT_COMMITTER_DATE="$DATE" git commit --amend --no-edit --date="$DATE" && git rebase --continue 2>/dev/null || true; }; f'

Créé il y a 1 semaine.

Rechercher un Pastebin

Aucun paste trouvé.