rajout section revert
This commit is contained in:
parent
4cc23bf0c6
commit
bee23ada60
10
HowtoGit.md
10
HowtoGit.md
|
@ -553,6 +553,16 @@ Pour voir qui a modifié les lignes d'un fichier *foo/bar* :
|
|||
$ git blame foo/bar
|
||||
~~~
|
||||
|
||||
###
|
||||
|
||||
<https://git-scm.com/docs/git-revert>
|
||||
|
||||
Pour effectuer les modifications inverses de celles effectuées (et donc revenir à l'état précédent :
|
||||
|
||||
~~~
|
||||
$ git revert <SHA1 du commit>
|
||||
~~~
|
||||
|
||||
### .git/config
|
||||
|
||||
<https://git-scm.com/docs/git-config>
|
||||
|
|
Loading…
Reference in a new issue