GIT Tag

Documentation officielle

Créer un tag

Créer un tag simple par rapport au projet actuel

git tag <tagname>

Créer un tag avec des annotations par rapport au projet actuel

git tag -a <tagname> -m 'my version .... '

Créer un tag par rapport à un commit précis

git tag -a <tagname> -m 'version ...' 9fceb02

Partager les tags

Partager un tag précis

git push origin <tagname>

Partager tous les tags

git push origin --tags

Visualiser un tag

git show <tagname>

Lister les tags

git tag

Revenir au tag

git checkout <tagname>

Supprimer un tag

git tag -d <tagname>
git push origin :<tagname>

Git Log

Changement d'un fichier

git log --pretty=format:"%h-%an,%ar:%s" --follow  MicaOntology.ttl                          
c62ab73-natetem,il y a 3 jours:change MicaOntology
9d382bc-natetem,il y a 9 jours:First replace of Commodities to Commodity and Methods to Method
5b96ff9-natetem,il y a 4 mois:Update MicaModel and Ontology
22d9b43-Philippe Genoud,il y a 6 mois:commit after merge
158371d-natetem,il y a 6 mois:Update the MicaOntologies and MicaModel and put them in the same files
f5397a9-natetem,il y a 7 mois:add purl url
a05a96f-natetem,il y a 7 mois:update ontology and model
951de72-natetem,il y a 7 mois:update ontology and model
4e5741c-natetem,il y a 8 mois:publicate the model online