... | ... | @@ -28,12 +28,17 @@ git add . |
|
|
git commit -m 'commit message'
|
|
|
git push origin MyBranch
|
|
|
```
|
|
|
The last line tells git to push the changes to the remote version (origin) of MyBranch. In case you have forgotten on which branch you are or you would like to know about not yet pushed commits or changes yet to track or commit, the command
|
|
|
The last line tells git to push the changes to the remote version (origin) of MyBranch. Similarly, if you pull while MyBranch is checked out, the remote status of MyBranch will be pulled instead of master.
|
|
|
|
|
|
In case you have forgotten on which branch you are or you would like to know about not yet pushed commits or changes yet to track or commit, the command
|
|
|
```bash
|
|
|
git status
|
|
|
```
|
|
|
will tell you all that.
|
|
|
|
|
|
**Merging branches**
|
|
|
tbc
|
|
|
|
|
|
|
|
|
|
|
|
|
... | ... | |