windows - Is there a better way to make an initial GIT commit for a web application? -


possible duplicate:
git gui.. stage everything

my employer looking setting source control after pleading of developers. unfortunately, none of our developers, inclusive of myself, have ever done source control. i've looked svn , thought fine of developers didn't it. i've moved on looking @ git option. i've downloaded git gui http://git-scm.com , started tinkering brings me question/problem.

the web application we're trying add source control (git) 7,386 files , 712 folders. when doing initial commit, understand, i've got click on each file want commit move unstaged changes staged changes pane. hesitant sit , click 7,386 times (once each file commit). there faster way this?

i'm using page reference learn use git gui http://nathanj.github.com/gitguide/tour.html. if has better tutorial/reference using git gui i'd appreciate linking me it.

thanks

to add every file (that not ignored), use

cd /path/to/workspaceroot git add . 

i don't use gui, think should possible adding directory (the root directory in case).

remember create appropriate .gitignore file before, no unwanted files added. can check, (un)staged with

git status 

also, there should context option (or that) in gui, provides status.

extra: additional git resource (quite imo) http://progit.org/


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -