Skip to content

Commit 8cb1ded

Browse files
author
jordanmccullough
committed
Fix grammar inconsistencies
1 parent 5acff78 commit 8cb1ded

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

downloads/github-git-cheat-sheet.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Git is the open-source distributed version control system that facilitates GitHub activities on your laptop or desktop. This cheat sheet summarizes commonly used Git command line instructions for quick reference.
44

55
## Install git
6-
GitHub provides desktop clients that include a graphical user interface for the most common repository actions and an automatically updating command line edition of Git for advanced scenarios.
6+
GitHub provides desktop clients that include a graphical user interface for the most common repository actions and an automatically updating command line edition of Git for advanced scenarios.
77

88
### GitHub for Windows
99
http://windows.github.com
@@ -36,7 +36,7 @@ Enables helpful colorization of command line output
3636

3737

3838
## Create repositories
39-
Starts a new repository or obtain one from an existing URL
39+
Start a new repository or obtain one from an existing URL
4040

4141

4242
```$ git init [project-name]```
@@ -49,7 +49,7 @@ Creates a new local repository with the specified name
4949
Downloads a project and its entire version history
5050

5151
## Make changes
52-
Reviews edits and craft a commit transaction
52+
Review edits and craft a commit transaction
5353

5454

5555
```$ git status```
@@ -74,15 +74,15 @@ Shows file differences between staging and the last file version
7474

7575
```$ git reset [file]```
7676

77-
Unstages the file, but preserve its contents
77+
Unstages the file, but preserves its contents
7878

7979

8080
```$ git commit -m"[descriptive message]"```
8181

8282
Records file snapshots permanently in version history
8383

8484
## Group changes
85-
Names a series of commits and combine completed efforts
85+
Name a series of commits and combine completed efforts
8686

8787

8888
```$ git branch```
@@ -97,7 +97,7 @@ Creates a new branch
9797

9898
```$ git checkout [branch-name]```
9999

100-
Switches to the specified branch and update working directory
100+
Switches to the specified branch and updates working directory
101101

102102

103103
```$ git merge [branch-name]```
@@ -111,25 +111,25 @@ Deletes the specified branch
111111

112112

113113
## Refactor file names
114-
Relocates and removes versioned files
114+
Relocate and remove versioned files
115115

116116

117117
```$ git rm [file]```
118118

119-
Deletes the file from the working directory and stage the deletion
119+
Deletes the file from the working directory and stages the deletion
120120

121121

122122
```$ git rm --cached [file]```
123123

124-
Removes from version control but preserve the file locally
124+
Removes from version control but preserves the file locally
125125

126126

127127
```$ git mv [file-original] [file-renamed]```
128128

129129
Changes the file name and prepare it for commit
130130

131-
## Supress tracking
132-
Excludes temporary files and paths
131+
## Suppress tracking
132+
Exclude temporary files and paths
133133

134134
```
135135
*.log
@@ -168,7 +168,7 @@ Lists all stashed changesets
168168
Discards the most recently stashed changeset
169169

170170
## Review history
171-
Browses and inspect the evolution of project files
171+
Browse and inspect the evolution of project files
172172

173173

174174
```$ git log```
@@ -191,7 +191,7 @@ Shows content differences between two branches
191191
Outputs metadata and content changes of the specified commit
192192

193193
## Redo commits
194-
Erases mistakes and craft replacement history
194+
Erase mistakes and craft replacement history
195195

196196

197197
```$ git reset [commit]```
@@ -204,7 +204,7 @@ Undoes all commits after [commit], preserving changes locally
204204
Discards all history and changes back to the specified commit
205205

206206
## Synchronize changes
207-
Registers a repository bookmark and exchange version history
207+
Register a repository bookmark and exchange version history
208208

209209

210210
```$ git fetch [bookmark]```
@@ -214,7 +214,7 @@ Downloads all history from the repository bookmark
214214

215215
```$ git merge [bookmark]/[branch]```
216216

217-
Combines bookmark’s branch into into current local branch
217+
Combines bookmark’s branch into current local branch
218218

219219

220220
```$ git push [alias] [branch]```
@@ -224,7 +224,7 @@ Uploads all local branch commits to GitHub
224224

225225
```$ git pull```
226226

227-
Synchronizes bookmark history and incorporate current branch changes
227+
Synchronizes bookmark history and incorporates current branch changes
228228

229229
---
230230

0 commit comments

Comments
 (0)