|
|
To check out the current remote
|
|
|
```sh
|
|
|
git checkout origin/ReinsertEarClipping
|
|
|
```
|
|
|
|
|
|
To reset current branch to a remote branch
|
|
|
```sh
|
|
|
git reset --hard origin/ReinsertEarClipping
|
|
|
```
|
|
|
|
|
|
Reset (not recoverable) all current changes
|
|
|
```sh
|
|
|
git reset --hard HEAD
|
|
|
```
|
|
|
|
|
|
Workflow to start working on a remote branch:
|
|
|
```sh
|
|
|
git fetch --all -p
|
|
|
git checkout -t origin/ReinsertEarClipping
|
|
|
git rebase
|
|
|
``` |
|
|
\ No newline at end of file |