Reformat all code to use shell instead of sh
This commit is contained in:
@ -7,11 +7,11 @@ Copies a file from another branch to the current branch.
|
||||
|
||||
- Use `git checkout <branch> <file>` to copy the specified `<file>` from the specified `<branch>`.
|
||||
|
||||
```sh
|
||||
```shell
|
||||
git checkout <branch> <file>
|
||||
```
|
||||
|
||||
```sh
|
||||
```shell
|
||||
git checkout patch-2
|
||||
git checkout patch-1 "30seconds.txt"
|
||||
# `patch-2` branch now contains the 30seconds.txt file from `patch-1`
|
||||
|
||||
Reference in New Issue
Block a user