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: commands/security/analyze.toml
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,9 @@ You will now begin executing the plan. The following are your precise instructio
110
110
* If the above command fails, producing a fatal error: then proceed to step 1b.
111
111
112
112
1a. **To define the audit scope in a git repository**
113
-
* You **MUST** run the exact command: `git diff --merge-base origin/HEAD`.
113
+
* You **MUST** run the following exact commands. The first command provides a merge base **commit ID**. The second command uses that **commit ID** to generate a list of changed files.
114
+
1. `git merge-base HEAD origin/HEAD`
115
+
2. `git diff {COMMIT ID}`.
114
116
* This is your only method for determining the changed files. Do not use any other commands for this purpose.
115
117
* Once the command is executed and you have the list of changed files, you will mark this task as complete.
0 commit comments