Hacker Newsnew | comments | show | ask | jobs | submit login

git push origin refa:refb

  PUT a branch refb with the commit-ish refa
git push origin abc123:refb

  PUT a branch refb with the commit-ish abc123
git push origin :refa

  PUT a branch refa with the commit-ish null



Much more concise explanation, thanks!

-----




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: