minimum pour git-tag
This commit is contained in:
parent
cd1040c10a
commit
8cab0d18ff
16
HowtoGit.md
16
HowtoGit.md
|
@ -563,6 +563,22 @@ Pour effectuer les modifications inverses de celles effectuées (et donc revenir
|
||||||
$ git revert <SHA1 du commit>
|
$ git revert <SHA1 du commit>
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
### git tag
|
||||||
|
|
||||||
|
Ajouter et pousser un tag à l'endroit où l'on est :
|
||||||
|
|
||||||
|
~~~
|
||||||
|
$ git tag -a foo -m "version foo"
|
||||||
|
$ git push origin foo
|
||||||
|
~~~
|
||||||
|
|
||||||
|
Lister les tags :
|
||||||
|
|
||||||
|
~~~
|
||||||
|
$ git tag
|
||||||
|
foo
|
||||||
|
~~~
|
||||||
|
|
||||||
### .git/config
|
### .git/config
|
||||||
|
|
||||||
<https://git-scm.com/docs/git-config>
|
<https://git-scm.com/docs/git-config>
|
||||||
|
|
Loading…
Reference in a new issue