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

in #dlike5 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

Sort:  

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.

Coin Marketplace

STEEM 0.29
TRX 0.25
JST 0.040
BTC 95692.39
ETH 3354.65
USDT 1.00
SBD 4.00