Commit 67c6708f authored by Evan Read's avatar Evan Read

Merge branch 'docs-followup-git-tricks' into 'master'

Follow-Up: Change code blocks to shell type

Closes #65605

See merge request gitlab-org/gitlab-ce!31526
parents 4bbf9420 b6cb595d
......@@ -149,7 +149,7 @@ gitk --follow <file>
### Use a custom SSH key for a git command
```text
```sh
GIT_SSH_COMMAND="ssh -i ~/.ssh/gitlabadmin" git <command>
```
......@@ -157,13 +157,13 @@ GIT_SSH_COMMAND="ssh -i ~/.ssh/gitlabadmin" git <command>
With SSH:
```text
```sh
GIT_SSH_COMMAND="ssh -vvv" git clone <git@url>
```
With HTTPS:
```text
```sh
GIT_TRACE_PACKET=1 GIT_TRACE=2 GIT_CURL_VERBOSE=1 git clone <url>
```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment