martinsam
1/29/2013 - 10:44 PM

Git: Prev - Next

Git: Prev - Next

dans ~/.gitconfig

[alias]
    prev = checkout HEAD^1
    next = "!sh -c 'git log --reverse --pretty=%H master | awk \"/$(git rev-parse HEAD)/{getline;print}\" | xargs git checkout'"

Permet :

git next
git prev