Git: Difference between revisions

212 bytes added ,  4 December 2020
→‎Tags: Get the latest tag in the current branch
Line 168: Line 168:
$ git describe --abbrev=0 --tags
$ git describe --abbrev=0 --tags
</source>
</source>
* Reference: [https://www.xspdf.com/resolution/50066178.html#:~:text=Git%20get%20latest%20tag%20on%20current%20branch&text=To%20get%20the%20latest%20annotated,%2Dmatch%20%2D%2Dabbrev%3D0. Tag-related commands]


== Clone a specific branch ==
== Clone a specific branch ==