forked from Workshops/How-To-Git-Started
added more info
This commit is contained in:
parent
8dc1bff09f
commit
80006b39c5
11
README.md
11
README.md
@ -27,3 +27,14 @@ unstage by using
|
|||||||
```shell
|
```shell
|
||||||
use "git reset HEAD <file>..." to unstage
|
use "git reset HEAD <file>..." to unstage
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Track remote branch
|
||||||
|
```shell
|
||||||
|
git checkout --track origin/<branch>
|
||||||
|
```
|
||||||
|
|
||||||
|
Delete remote branch
|
||||||
|
```shell
|
||||||
|
git push <remote_name> --delete <branch_name>
|
||||||
|
git remote prune <remote_name>
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user