git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* New to Git / Questions about single user / multiple projects
@ 2009-08-19  1:52 Rob (gmail)
  2009-08-19  2:24 ` Changsheng Jiang
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Rob (gmail) @ 2009-08-19  1:52 UTC (permalink / raw)
  To: git

I'm new to git and have some (I think) basic questions that I have not
been able to find answers to in the documentation.
It's very possible that these are the result of my lack in
understanding git / version control, so feel free to point me to
documentation
that might contain the answers.

I'm doing ERP development for my job and various 'hobby' development
in my spare time.
I'd like to track/store/ version control the code that I write for
both work and play.
I am (currently) working by myself, no need to have multiple
developers working of the same code.

Q1:
Can I create a single repository (project?) for all my code, knowing
that there are multiple small, unrelated projects. Or should I create
a new repository for each project ?

Q2:
After initalizing my repository, and comitting the 1st batch of code:
When further working on the code, will the command "git add ." add all
changed and new files ? Or do I specifically need to list the new
files ?

Q3: Can I run 'git add x' in any subdirectory, or do I need to issue
if from the root of the project ?

Thanks,

Rob.

--
When in trouble or in doubt, run in circles, scream and shout

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-08-19 13:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-19  1:52 New to Git / Questions about single user / multiple projects Rob (gmail)
2009-08-19  2:24 ` Changsheng Jiang
2009-08-19  4:14   ` Chris Packham
2009-08-19  4:00 ` Daniel Barkalow
2009-08-19  7:59 ` Jakub Narebski
2009-08-19 11:00   ` Rob (gmail)
2009-08-19 12:18     ` Jakub Narebski
2009-08-19 12:28       ` Rob (gmail)
2009-08-19 12:49         ` Jeff King
2009-08-19 12:48       ` Jeff King
2009-08-19 13:20         ` Jakub Narebski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).