Git transition from switch takes half a minute?
Got a more powerful and fresher machine from work starting the dev tools installation and it's just a nightmare, I've never had any problems with git on an old machine. There is no reason here:
ons-mbp:spec ALE$ time git checkout fsfs
Switched to branch 'fsfs'
real 0m30.080s
user 0m0.007s
sys 0m0.006s
ons-mbp:spec ALE$ time git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
real 0m30.083s
user 0m0.007s
sys 0m0.007s
Tried reinstalling another version of git, trying with homebrew effect and manually doing zero.
Can anyone provide a hint?
OS ver: 10.9.5
+3
source to share
1 answer
When the new installation completely forgot about configuring global user data.
git config --global user.name "Test Test"
git config --global user.email "testgmail.com"
Loans for:
ons-mbp:spec ALE$ time git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
real 0m0.012s
user 0m0.006s
sys 0m0.005s
ons-mbp:spec ALE$ time git checkout fsfs
Switched to branch 'fsfs'
real 0m0.012s
user 0m0.006s
sys 0m0.005s
Saved from a heart attack.
+4
source to share