| ... | ... | @@ -171,11 +171,11 @@ Remove a file: |
|
|
|
git add [file] # you must "add" the deletion!
|
|
|
|
git commit -m "[file] removed"
|
|
|
|
```
|
|
|
|
Send the commit(s) of the current branch to GitLab (the branch *does not exist* on GitLab):
|
|
|
|
Send the commit(s) of the current branch to GitLab (case 1: the branch *does not exist* on GitLab):
|
|
|
|
```
|
|
|
|
git push -u origin mybranch
|
|
|
|
```
|
|
|
|
Send the commit(s) of the current branch to GitLab (the branch *does already exist* on GitLab):
|
|
|
|
Send the commit(s) of the current branch to GitLab (case 2: the branch *does already exist* on GitLab):
|
|
|
|
```
|
|
|
|
git push
|
|
|
|
```
|
| ... | ... | |
| ... | ... | |