mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-15 14:48:47 +00:00
Update cheatsheets
This commit is contained in:
@@ -15,11 +15,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Create a new branch and switch to it:
|
||||
|
||||
`git switch --create {{branch_name}}`
|
||||
`git switch {{[-c|--create]}} {{branch_name}}`
|
||||
|
||||
- Create a new branch based on an existing commit and switch to it:
|
||||
|
||||
`git switch --create {{branch_name}} {{commit}}`
|
||||
`git switch {{[-c|--create]}} {{branch_name}} {{commit}}`
|
||||
|
||||
- Switch to the previous branch:
|
||||
|
||||
@@ -31,4 +31,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Switch to a branch and automatically merge the current branch and any uncommitted changes into it:
|
||||
|
||||
`git switch --merge {{branch_name}}`
|
||||
`git switch {{[-m|--merge]}} {{branch_name}}`
|
||||
|
||||
Reference in New Issue
Block a user