git
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| git [2024-10-05] – hanez | git [2025-07-13] (current) – ↷ Links adapted because of a move operation 217.113.194.145 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Git ====== | ====== Git ====== | ||
| + | |||
| + | ===== Add tag ===== | ||
| + | |||
| + | <code shell> | ||
| + | |||
| + | ==== Commit a tag ==== | ||
| + | |||
| + | < | ||
| + | |||
| + | ==== Commit all tags ==== | ||
| + | |||
| + | < | ||
| + | |||
| + | Source: [[https:// | ||
| + | |||
| + | ===== Checkout a specific tag ===== | ||
| + | |||
| + | <code bash>git checkout TAG</ | ||
| + | |||
| + | More: [[https:// | ||
| ===== Clone a specific tag ===== | ===== Clone a specific tag ===== | ||
| Line 5: | Line 25: | ||
| <code bash>git clone --depth 1 --branch < | <code bash>git clone --depth 1 --branch < | ||
| + | More: [[https:// | ||
| ===== Specify the private SSH-key to use when executing a Git command: ===== | ===== Specify the private SSH-key to use when executing a Git command: ===== | ||
| Line 80: | Line 101: | ||
| Source: [[https:// | Source: [[https:// | ||
| + | |||
| + | ===== Remove sensitive files and their commits from Git history ===== | ||
| + | |||
| + | < | ||
| + | git push --force --verbose --dry-run | ||
| + | git push --force</ | ||
| + | |||
| + | |||
| + | Source: [[https:// | ||
| ===== How to merge two or multiple git repositories into one ===== | ===== How to merge two or multiple git repositories into one ===== | ||
| Line 86: | Line 116: | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| - | |||
git.1728097398.txt.gz · Last modified: by hanez
