Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-18 00:18:35 +00:00
parent 9cdd033c95
commit a9720510d1
43 changed files with 362 additions and 132 deletions

View File

@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- Send changes from a specific local branch to its remote counterpart, and set the remote one as the default push/pull target of the local one:
`git push -u {{remote_name}} {{local_branch}}`
`git push {{[-u|--set-upstream]}} {{remote_name}} {{local_branch}}`
- Send changes from a specific local branch to a specific remote branch:
@@ -30,7 +30,7 @@ source: https://github.com/tldr-pages/tldr.git
- Delete a branch in a remote repository:
`git push {{remote_name}} --delete {{remote_branch}}`
`git push {{remote_name}} {{[-d|--delete]}} {{remote_branch}}`
- Remove remote branches that don't have a local counterpart: