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.
On Wednesday, November 21, 2012 7:59:08 AM UTC-6, Thomas Ferris Nicolaisen wrote: > > On Wednesday, November 21, 2012 10:58:24 AM UTC+1, kumar wrote: > >> Hi >> >> I am setting up a repository for the first. I already have a project of >> 18GB about 200,000 files. >> Currently these are the steps i am doing >> >> git add . >> git commit -m "Initial" >> git push >> >> Considering the size and 3 steps it is taking time. Is there an faster >> way to accomplish this? Is it possible to to push to the remote repository >> in one step since it is for the first time? I have about 5 such projects. >> > > You could first transfer your files to a local clone on the same machine > (say, copy them over with a USB stick or something), and then push it > locally. Should be as fast as copying them from one place to another. > --
