Skip to content

Commit d0d2096

Browse files
authored
Merge pull request LibraryCarpentry#69 from wickr/git_basic_cleanup
Fix cheat sheet links, git command descriptions
2 parents d45df4d + 194c572 commit d0d2096

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

reference.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -45,39 +45,39 @@ root: .
4545
`rm`
4646
: remove a file or files. NB: *USE WITH CAUTION!!!*
4747

48-
### Basic Git commands
48+
### Basic Git commands
4949

5050
Git cheat sheet handouts:
5151

52-
* https://training.github.com/kit/downloads/github-git-cheat-sheet.pdf
53-
* https://www.git-tower.com/blog/git-cheat-sheet/
52+
* [GitHub git cheat sheet](https://github.github.com/training-kit/downloads/github-git-cheat-sheet.pdf)
53+
* [Tower client git cheat sheet](https://www.git-tower.com/blog/git-cheat-sheet/)
5454

5555
`git init`
56-
: creates a git repository
56+
: create a new local git repository
5757

5858
`git status`
5959
: view the status of your files in the working directory and staging area
6060

6161
`git add`
62-
: tells git to start tracking a file, or a series of files.
62+
: tell git to start tracking a file, or a series of files
6363

6464
`git commit`
65-
: commits 'saves' the staged snapshot to the project history.
65+
: save file changes from the staging area permanently to the project history
6666

6767
`git push`
68-
: commits the staged snapshot to the project history.
68+
: upload all commits to a remote repository, such as GitHub
6969

7070
`git log`
71-
: history of commits in reverse chronological order.
71+
: show history of commits in reverse chronological order
7272

7373
`git diff`
74-
: shows changes made to files
74+
: show changes made to tracked files
7575

7676
`git pull`
77-
: Merges upstream changes into your local repository
77+
: download upstream changes and merge them into your local repository
7878

7979
`git remote add origin`
80-
: add a repository where changes will be stored -
80+
: add a remote repository named 'origin', to upload changes to or download changes from
8181

8282
## Useful library GitHub repositories
8383

0 commit comments

Comments
 (0)