Find branches
Find branches using the cm find command in Unity Version Control CLI.
阅读时间1 分钟最后更新于 10 个月前
Find and filter branches.
Filtering options
The following list displays the different filtering options () that are available to use with the command:
wherecm find branchattributeattrvaluechangesetscommentdateguididitemnameownerparentrepllogidreplsrcdatereplsrcidreplsrcrepositoryreplsrcserver
Output options
The following list displays the different output options () available to use with the command:
--formatcm find branchcommentdateidnameownerparent
cm find branches
example
cm find branchesThe following example filters branches by the following requirements:
- The owner is .
name - The branch was created after .
2013/03/01
The example also formats the results to show the name of the branch and the creation date, with consistent 30 character spacing.
cm find branches "where owner='name' and date >= '2013/03/01'" --format="{name,-30} {date}"/main/scm12636/scm12666 22/04/2013 16:32:31/main/scm12313 29/05/2013 17:36:04Total: 2