found this old sticky on my computer thought i'd move it to a gist
git ref web site
git help git help git help
git remote git remote -v
git push and delete remote branches
- delete remote:
- git push origin :newfeature
- delete local:
- git branch -d newfeature
- git branch -D newfeature (force)
git checkout tracked remote branch
- git remote update (make sure your up to date)
- 2 options:
- git checkout --track -b feature origin/feature
- git checkout -t origin/feature