4,461
edits
→Get a build number: number of commits without merges |
→Get a build number: Clone a specific branch |
||
Line 68: | Line 68: | ||
<source lang="bash"> | <source lang="bash"> | ||
$ git push origin --tags | $ git push origin --tags | ||
</source> | |||
== Clone a specific branch == | |||
<source lang="bash"> | |||
$ git clone --depth 1 --single-branch -b 2.0.0 https://github.com/user/reponame.git | |||
</source> | </source> | ||