mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 17:51:46 +00:00
Update cheatsheets
This commit is contained in:
@@ -15,8 +15,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Clone a Git repository into a new directory, checking out an specific branch:
|
||||
|
||||
`git force-clone -b {{branch_name}} {{remote_repository_location}} {{path/to/directory}}`
|
||||
`git force-clone {{[-b|--branch]}} {{branch_name}} {{remote_repository_location}} {{path/to/directory}}`
|
||||
|
||||
- Clone a Git repository into an existing directory of a Git repository, performing a force-reset to resemble it to the remote and checking out an specific branch:
|
||||
|
||||
`git force-clone -b {{branch_name}} {{remote_repository_location}} {{path/to/directory}}`
|
||||
`git force-clone {{[-b|--branch]}} {{branch_name}} {{remote_repository_location}} {{path/to/directory}}`
|
||||
|
||||
Reference in New Issue
Block a user