Reformat all code to use shell instead of sh
This commit is contained in:
@ -7,11 +7,11 @@ Prints the current branch name.
|
||||
|
||||
- Use `git rev-parse --abbrev-ref HEAD` to print the name of the current branch.
|
||||
|
||||
```sh
|
||||
```shell
|
||||
git rev-parse --abbrev-ref HEAD
|
||||
```
|
||||
|
||||
```sh
|
||||
```shell
|
||||
git checkout patch-1
|
||||
git rev-parse --abbrev-ref HEAD # Prints `patch-1`
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user