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

It's `git switch [-c]` nowadays.


I've given up trying to configure git push the branch I'm on so I type this little dance each time :

    git switch -c foo
    git push 
    > did you mean git push --args-with-branch-name?
    sigh, copy, paste, enter




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

Search: