====== Differences ======
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| it:git [2024/04/19 15:14] – [Memo] 86.127.225.158 | it:git [2025/11/02 09:44] (current) – vlp | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | # Memo | ||
| - | |||
| ## Stash | ## Stash | ||
| Line 8: | Line 6: | ||
| git rebase -i #####_git -1_du_premier_commit##### | git rebase -i #####_git -1_du_premier_commit##### | ||
| - | git push --forc | + | git push --force |
| | | ||
| - | + | ## Sign commit | |
| - | ## sign commit | + | |
| git config user.signingkey vlp@fdn.fr | git config user.signingkey vlp@fdn.fr | ||
| Line 17: | Line 14: | ||
| git config --global commit.gpgsign true // alway sign | git config --global commit.gpgsign true // alway sign | ||
| | | ||
| - | e | + | ## add second repo |
| + | git remote add second_repo git@git_provider.com: | ||
| + | git remote set-url --add --push origin git@git_provider.com: | ||
