Skip to content

Commit

Permalink
Push protection on the command line - add note about git command (#53…
Browse files Browse the repository at this point in the history
…055)
  • Loading branch information
mchammer01 authored Nov 11, 2024
1 parent a32fe65 commit 26bde0a
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,12 @@ You can also remove the secret if the secret appears in an earlier commit in the

1. Save and close the editor to start the interactive rebase.
1. Remove the secret from your code.
1. Add your changes to the staging area using `git add .`
1. Add your changes to the staging area using `git add .`.

>[!NOTE] The full command is `git add .`:
> * There is a space between `add` and `.`.
> * The period following the space is part of the command.
1. Commit your changes using `git commit --amend`.
1. Run `git rebase --continue` to finish the rebase.
1. Push your changes with `git push`.
Expand Down

0 comments on commit 26bde0a

Please sign in to comment.