mirror of https://github.com/namibia/tips.git
parent
aec9d8b1a3
commit
65dd8ac36f
|
@ -174,7 +174,7 @@ git checkout -
|
|||
|
||||
## Remove branches that have already been merged with master
|
||||
```sh
|
||||
git branch --merged | grep -v '\*' | xargs -n 1 git branch -d
|
||||
git branch --merged master | grep -v '^\*' | xargs --no-run-if-empty -n 1 git branch -d
|
||||
```
|
||||
|
||||
## List all branches and their upstreams, as well as last commit on branch
|
||||
|
|
Loading…
Reference in New Issue