... | ... | @@ -27,12 +27,12 @@ Command | Effect |
|
|
### Simple Git flow
|
|
|
Command | Effect
|
|
|
--- | ---
|
|
|
`git pull` | Fetch the latest code from the GitLab server and update your local copy.
|
|
|
`git pull` | Fetch the latest code from the GitLab server and update your local copy.
|
|
|
`git status` | Show the current status of the local working tree.
|
|
|
`git diff <file or folder>` | Show changes from the file or all files if none specified.
|
|
|
`git add <file or folder>` | Add the specific file or folder to the index.
|
|
|
`git commit` | Move
|
|
|
`git push` |
|
|
|
`git add <file or folder>` | Add the specific file or folder to the staging area.
|
|
|
`git commit` | Move the changes from the staging area to `HEAD` on your local machine
|
|
|
`git push` | Send the commits on your local machine to the GitLab server
|
|
|
|
|
|
|
|
|
## First time using GitLab
|
... | ... | |