Git: How to configure git to push only your current branch - makandra devsteemCreated with Sketch.

in dlike •  5 years ago 

Shared From Dlike

Why is it that every git tutorial always suggest to use git config --global to set the git configurations. And usually without telling the user that the --global part does.

This is actually bad advice. It will change the behaviour of all clones which is rarely what you want — at least in the long run.

In the long run you want fine tuned setups specific for every clone and global setting which you might have forgotten about in a month time are a hinderance.

So please stop using --global in your tutorials.


Source of shared Link

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hi, @krischik!

You just got a 7.43% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.