git blame dans le passé
This commit is contained in:
parent
64ed5a29fe
commit
99e3c9614d
|
@ -630,6 +630,14 @@ Pour voir qui a modifié les lignes d'un fichier *foo/bar* :
|
|||
$ git blame foo/bar
|
||||
~~~
|
||||
|
||||
Si l'on veut faire un blame sur une portion de fichiers modifiées plusieurs fois, on peut d'abord `git checkout` avant :
|
||||
|
||||
~~~
|
||||
$ git checkout <SHA1 d'un commit dans le passé>
|
||||
$ git blame foo/bar
|
||||
$ git checkout -
|
||||
~~~
|
||||
|
||||
### git revert
|
||||
|
||||
<https://git-scm.com/docs/git-revert>
|
||||
|
|
Loading…
Reference in a new issue