4,461
edits
→Rebase a branch: start a new branch |
→Get a build number: number of commits without merges |
||
Line 82: | Line 82: | ||
<source lang="bash"> | <source lang="bash"> | ||
$ git rev-list --all --count | $ git rev-list --all --count | ||
</source> | |||
To get the number of commits without merges for develop branch: | |||
<source lang="bash"> | |||
$ git rev-list --no-merges --count develop | |||
</source> | </source> | ||