Skip to content

Commit e3b0521

Browse files
committed
Suggest lgtm.com branch first
1 parent 8f1c7c5 commit e3b0521

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/codeql/codeql-cli/getting-started-with-the-codeql-cli.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,21 +121,21 @@ see ":doc:`About QL packs <about-ql-packs>`."
121121

122122
There are different versions of the CodeQL queries available for different
123123
users. Check out the correct version for your use case:
124-
125-
- For the most up to date CodeQL queries, check out the ``main`` branch.
126-
This branch represents the very latest version of CodeQL's analysis. Even
127-
databases created using the most recent version of the CLI may have to be
128-
upgraded before you can analyze them. For more information, see
129-
":doc:`Upgrading CodeQL databases <upgrading-codeql-databases>`."
130-
124+
131125
- For the queries used on `LGTM.com <https://lgtm.com>`__, check out the
132126
``lgtm.com`` branch. You should use this branch for databases you've built
133127
using CODEQL CLI, fetched from Code Scanning, or recently downloaded from LGTM.com.
134128
The queries on the ``lgtm.com`` branch are more likely to be compatible
135129
with the ``latest`` CLI, so you'll be less likely to have to upgrade
136130
newly-created databases than if you use the ``main`` branch. Older databases
137131
may need to be upgraded before you can analyze them.
138-
132+
133+
- For the most up to date CodeQL queries, check out the ``main`` branch.
134+
This branch represents the very latest version of CodeQL's analysis. Even
135+
databases created using the most recent version of the CLI may have to be
136+
upgraded before you can analyze them. For more information, see
137+
":doc:`Upgrading CodeQL databases <upgrading-codeql-databases>`."
138+
139139
- For the queries used in a particular LGTM Enterprise release, check out the
140140
branch tagged with the relevant release number. For example, the branch
141141
tagged ``v1.23.0`` corresponds to LGTM Enterprise 1.23. You must use this

0 commit comments

Comments
 (0)