forked from Workshops/How-To-Git-Started
added more info
This commit is contained in:
11
README.md
11
README.md
@ -27,3 +27,14 @@ unstage by using
|
||||
```shell
|
||||
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>
|
||||
```
|
||||
|
Reference in New Issue
Block a user