Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think you give a general explanation of what you would like the reason to be but it does not match the commands:

git fetch origin main

git rebase -i origin/main

Git push origin localBranch:remoteBranch

For example, why not:

git push origin/remoteBranch localBranch

(And if you want to preserve saying that slash is just for local, you could say: origin:remoteBranch)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: