Better HN
topnewbestaskshowjobs
Log inSign up

morris082

2 karma · joined Jan 30, 2014 (12y ago) · 2 submissions

Submissions

comment 5y ago · link · parent

Felt like it complicated things rather than clarified. For a newcomer to git I imagine it could be overwhelming.

comment 5y ago · link · parent

Check out --force-if-includes … it works well in combo with —-force-with-lease and ensures you don’t accidentally replace a branch that is not yet merged into your current branch (force-with-lease has a pitfall where if you fetch before pushing, it’ll act like a straight up force push).