Hi,

i'm learning how to setup/use Git. So in other words, i'm reading a book 
about Git 
(http://www.amazon.com/Git-Version-everyone-Ravishankar-Somasundaram/dp/1849517525/ref=sr_1_5?ie=UTF8&qid=1399986673&sr=8-5&keywords=git).
i'm almost on half of the book and for now everything is very clear, 
however there is a point i would like to understand to create coherent 
example structure.

e.g. on my laptop i have a GIT repository as following:
C:\repositories\git\

so in this folder/directory i have the following things:
C:\repositories\git\.git\
C:\repositories\git\.gitignore
C:\repositories\git\documentation\
C:\repositories\git\website1\
C:\repositories\git\website2\

to share my work with my friend, we use bitbucket as team. Now we would 
like to have similar structure in bitbucket, so:
documentation\
website1\
website2\

till now in the book i saw nothing about best methods to do that.... i mean:
1. should i create a separated repository for each directory i would like 
to push to bitbucket ?
i mean something like
C:\repositories\git\documentation\.git\
C:\repositories\git\documentation\.gitignore

C:\repositories\git\website1\.git\
C:\repositories\git\website1\.gitignore
C:\repositories\git\website1\sourcecode\
C:\repositories\git\website1\design\
...


2. or should i use the default repository (see below) a have only 1 
repository in bitbucket called (e.g.: "default" or "all") ?
C:\repositories\git\.git\
C:\repositories\git\.gitignore

to push/pull everything at once ?

i guess approach 1 is the best but i would like to be sure i understood it 
correctly. So please do not hesitate to let me know your feedback and 
experience with organization under Git.

PS: i used VSS a long time ago and i guess i have some bad habits from 
those days :D
thx

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to