Update cheatsheets

This commit is contained in:
ivuorinen
2025-05-02 00:19:39 +00:00
parent 2b9882f70a
commit 22a84b91e2
42 changed files with 123 additions and 81 deletions

View File

@@ -18,15 +18,15 @@ source: https://github.com/tldr-pages/tldr.git
- Compare all remote tracking branches:
`git show-branch --remotes`
`git show-branch {{[-r|--remotes]}}`
- Compare both local and remote tracking branches:
`git show-branch --all`
`git show-branch {{[-a|--all]}}`
- List the latest commits in all branches:
`git show-branch --all --list`
`git show-branch {{[-a|--all]}} --list`
- Compare a given branch with the current branch:
@@ -38,4 +38,4 @@ source: https://github.com/tldr-pages/tldr.git
- Keep going a given number of commits past the common ancestor:
`git show-branch --more {{5}} {{commit|branch_name|ref}} {{commit|branch_name|ref}} {{...}}`
`git show-branch --more {{5}} {{branch_name1|ref1|commit1 branch_name2|ref2|commit2 ...}}`