@@ -45,39 +45,39 @@ root: .
45
45
` rm `
46
46
: remove a file or files. NB: * USE WITH CAUTION!!!*
47
47
48
- ### Basic Git commands
48
+ ### Basic Git commands
49
49
50
50
Git cheat sheet handouts:
51
51
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/ )
54
54
55
55
` git init `
56
- : creates a git repository
56
+ : create a new local git repository
57
57
58
58
` git status `
59
59
: view the status of your files in the working directory and staging area
60
60
61
61
` 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
63
63
64
64
` 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
66
66
67
67
` git push `
68
- : commits the staged snapshot to the project history.
68
+ : upload all commits to a remote repository, such as GitHub
69
69
70
70
` git log `
71
- : history of commits in reverse chronological order.
71
+ : show history of commits in reverse chronological order
72
72
73
73
` git diff `
74
- : shows changes made to files
74
+ : show changes made to tracked files
75
75
76
76
` git pull `
77
- : Merges upstream changes into your local repository
77
+ : download upstream changes and merge them into your local repository
78
78
79
79
` 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
81
81
82
82
## Useful library GitHub repositories
83
83
0 commit comments