On Friday, January 31, 2014 11:49:33 PM UTC+1, Jaime Castelltort wrote:
> I would like to know the difference between repository and project because 

Git is not concerned with what you chose to call a project. It's a concept 
within your team. 

I am having a hard time setting a Solaris box with SSH access to be a 
> repository for several projects I have.  


> The thing is, I do a init --bare on a folder to hold a project.  

You create one bare repository. You plan a convention where you will have 
one repository for each "project".

> I make the changes, add, commit, push to the server and everything is OK.  


> Now, that server is the same one that runs the java SE (cli) applications, 
> so I want to be able to do a checkout to the working folder of the 
> application of a tag, lets say v1.0.  I make some updates, create tag v1.1, 
> push updates.  

OK, sounds like you want to do a normal clone of the bare repository, and 
then check out the v1.0 tag.

> The thing is that with the --bare option I can't do a checkout of an 
> specific tag, the only way to do a checkout with a --bare option is using 
> checkout-index and I have no flexibility on what to checkout using 
> checkout-index. 
I'm not sure what the problem is here. The way to clone a repository, and 
have a specific tag checked out right away is like this:

#where foo.git is a bare repository, and foo-1.0 is the destination 
>git clone foo.git -b 1.0 foo-1.0 

If I create a repository without --bare, I cannot make push, I receive all 
> type of errors, about NOT_AUTH, or NOT_ATTEMPTED, all kinds of error.  I 
> was looking on the internet for those errors and I get to use --bare 
> option, but I get also errors when doing a checkout of a specific tag.  I 
> don't know what needs to be done to be able to create a repository, add 
> projects to those repositories, and each project should have their own 
> tag(v1.0, v.1.1, etc.) and I want to be able to clone a project, work on 
> it, add a tag, upload via SSH to my server, then do a checkout of the 
> current tag and that's it.  I have been looking everywhere and there is no 
> place that explain using Git as simple as I mention.  I appreciate if 
> someone can help me with this. 

I would simply start with a tutorial, and go through it until you have a 
better hang of it. Here's a couple of alternatives:

* http://rypress.com/tutorials/git/index.html
* http://think-like-a-git.net/
* http://git-scm.com/book

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/groups/opt_out.

Reply via email to