hi in windows using git GUI when i tried to do git add for 200,000 files (18GB) it took about 5hr is that normal after which i got the below error?
Updating the Git index failed. A rescan will be automatically started to resynchronize git-gui. with lots of this warning warning: LF will be replaced by CRLF in I clicked on Continue. will it be ok? On Wednesday, November 21, 2012 9:08:29 PM UTC+5:30, Thomas Ferris Nicolaisen wrote: > > On Wednesday, November 21, 2012 3:08:19 PM UTC+1, John McKown wrote: > >> I was thinking that the OP was saying that the three operations together >> were taking a long time. I guess it would be helpful to know which of the >> commands is taking so long, the "add", "commit", or the "push". If it is >> the "add", I don't know a way to speed it up. That is all done locally. The >> same with the "commit". The "push" might be faster to "sneaker net" as I >> think you were suggesting. But that's only if the repository is being >> stored somewhere that the OP can get to physically. Trying that on our >> network here at work would be a "naughty! Slap hands!" situation. >> > > > In that case, I suppose the fastest way to go abouts would be first > compress the files and then send them over the wire. Since Git does exactly > that as part of its design, I guess a git commit+push is quite close to the > optimal transfer protocol (plus any eventual pack optimization it does > locally when committing the files, duration of which would be quite > negligible, I reckon). > --