8000 Add example, make information more verbose · uamshare/github-cheat-sheet@139548b · GitHub
[go: up one dir, main page]

Skip to content

Commit 139548b

Browse files
committed
Add example, make information more verbose
1 parent 85f9152 commit 139548b
Copy full SHA for 139548b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ If you want to check out pull request locally, you can fetch it using that comma
9999
$ git fetch origin '+refs/pull/*/head:refs/pull/*'
100100
```
101101

102-
then, checkout pr (i.e. 42) using
102+
then, checkout Pull Request (i.e. 42) using
103103

104104
```bash
105105
$ git checkout refs/pull/42
@@ -111,7 +111,7 @@ Alternatively, you can fetch them as remote branches:
111111
$ git fetch origin '+refs/pull/*/head:refs/remotes/origin/pr/*'
112112
```
113113

114-
and checkout as
114+
and checkout as:
115115

116116
```bash
117117
$ git checkout origin/pr/42
@@ -283,6 +283,9 @@ $ git show :/query
283283

284284
Where `query` is the term you want to search, this then finds the last one and gives details on the lines that were changed.
285285

286+
```bash
287+
$ git show :/typo
288+
```
286289
![git show :/query](http://i.imgur.com/SA0oZbE.png)
287290

288291
NOTE: Press `q` to quit.

0 commit comments

Comments
 (0)
0