You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/configuring-codeql-cli-in-your-ci-system.md
+17-17
Original file line number
Diff line number
Diff line change
@@ -53,12 +53,12 @@ You can display the command-line help for any command using the <nobr>`--help`</
53
53
54
54
```shell
55
55
# Single supported language - create one CodeQL database
**Note:** If you analyze more than one {% data variables.product.prodname_codeql %} database for a single commit, you must specify a SARIF category for each set of results generated by this command. When you upload the results to {% data variables.product.product_name %}, {% data variables.product.prodname_code_scanning %} uses this category to store the results for each language separately. If you forget to do this, each upload overwrites the previous results.
If you want to download a {% data variables.product.prodname_codeql %} pack without running it immediately, then you can use the `codeql pack download` command. This is useful if you want to avoid accessing the internet when running {% data variables.product.prodname_codeql %} queries. When you run the {% data variables.product.prodname_codeql %} analysis, you can specify packs, versions, and paths in the same way as in the previous example:
Copy file name to clipboardExpand all lines: content/code-security/codeql-cli/getting-started-with-the-codeql-cli/analyzing-your-code-with-codeql-queries.md
**Note:** If you analyze more than one {% data variables.product.prodname_codeql %} database for a single commit, you must specify a SARIF category for each set of results generated by this command. When you upload the results to {% data variables.product.product_name %}, {% data variables.product.prodname_code_scanning %} uses this category to store the results for each language separately. If you forget to do this, each upload overwrites the previous results.
Copy file name to clipboardExpand all lines: content/code-security/codeql-cli/getting-started-with-the-codeql-cli/customizing-analysis-with-codeql-packs.md
If you want to download a {% data variables.product.prodname_codeql %} pack without running it immediately, then you can use the `codeql pack download` command. This is useful if you want to avoid accessing the internet when running {% data variables.product.prodname_codeql %} queries. When you run the {% data variables.product.prodname_codeql %} analysis, you can specify packs, versions, and paths in the same way as in the previous example:
Copy file name to clipboardExpand all lines: content/code-security/codeql-cli/getting-started-with-the-codeql-cli/uploading-codeql-analysis-results-to-github.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -36,17 +36,17 @@ When you have decided on the most secure and reliable method for your configurat
36
36
37
37
```shell
38
38
# {% data variables.product.prodname_github_app %} or {% data variables.product.pat_generic %} available from a secret store
Copy file name to clipboardExpand all lines: content/migrations/importing-source-code/using-the-command-line-to-import-source-code/adding-locally-hosted-code-to-github.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ After you've initialized a Git repository, you can push the repository to {% dat
98
98
1.[Add the URL for the remote repository](/get-started/getting-started-with-git/managing-remote-repositories) where your local repository will be pushed.
99
99
100
100
```shell
101
-
$ git remote add origin <REMOTE_URL>
101
+
$ git remote add origin <REMOTE_URL>
102
102
# Sets the new remote
103
103
$ git remote -v
104
104
# Verifies the new remote URL
@@ -124,7 +124,7 @@ After you've initialized a Git repository, you can push the repository to {% dat
124
124
1. In the Command prompt, [add the URL for the remote repository](/get-started/getting-started-with-git/managing-remote-repositories) where your local repository will be pushed.
125
125
126
126
```shell
127
-
$ git remote add origin <REMOTE_URL>
127
+
$ git remote add origin <REMOTE_URL>
128
128
# Sets the new remote
129
129
$ git remote -v
130
130
# Verifies the new remote URL
@@ -150,7 +150,7 @@ After you've initialized a Git repository, you can push the repository to {% dat
150
150
1.[Add the URL for the remote repository](/get-started/getting-started-with-git/managing-remote-repositories) where your local repository will be pushed.
0 commit comments