Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
asgs112755yI always push along with setting the upstream even though it might have already been set. The alias 'gpohu' for 'git push origin HEAD -u' for the win!
-
C0D4669025y# git remote add origin <URL/SSH>
# git checkout -b feature/yay
# git push -u origin feature/yay
I've been doing this way to long to be able to know this from memory. -
@PaszaVonPomiot not really, once you understand the structure and stop thinking its a centralised VCS like Subversion.
If you want something truly fucked, use any Microsoft product for revision control. Visual Source Safe would be an excellent place to start -
Another solution: Create your branch on the remote (with Jira for example), then git fetch and checkout the branch you created. No more hassle needed :p
-
McDave155yI do it too. But always ponder... if it’s smart enough to tell me what I should do, why not make it a y/n option?
Related Rants
Developer confession.
I always git push a new branch even though I know it will error as there's no upstream, just to copy the full git push with set upstream arguments from the error message.
rant
lazy dev