Outils pour utilisateurs

Outils du site


tech:notes_git_-_remove_the_secret

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

tech:notes_git_-_remove_the_secret [2025/03/24 15:06] – créée - modification externe 127.0.0.1tech:notes_git_-_remove_the_secret [2025/05/25 18:27] (Version actuelle) Jean-Baptiste
Ligne 11: Ligne 11:
  
   - Remove the secrets from the files.   - Remove the secrets from the files.
-  - Stage the changes with ''git add <file-name>''.+  - Stage the changes with ''git add < file-name >''.
   - Modify the most recent commit to include the changed files with ''git commit --amend''.   - Modify the most recent commit to include the changed files with ''git commit --amend''.
   - Push your changes with ''git push''.   - Push your changes with ''git push''.
Ligne 23: Ligne 23:
   - Mark the offending commits for editing by changing the pick command to edit in the editor.   - Mark the offending commits for editing by changing the pick command to edit in the editor.
   - Remove the secrets from the files.   - Remove the secrets from the files.
-  - Stage the changes with ''git add <file-name>''.+  - Stage the changes with ''git add < file-name >''.
   - Commit the changed files with ''git commit --amend''.   - Commit the changed files with ''git commit --amend''.
   - Continue the rebase with git rebase --continue until all secrets are removed.   - Continue the rebase with git rebase --continue until all secrets are removed.
tech/notes_git_-_remove_the_secret.1742825205.txt.gz · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki