Re: [git-users] About GIT installation

2013-11-24 Thread Konstantin Khomoutov
On Fri, 22 Nov 2013 04:23:25 -0800 (PST)
Rajesh Varatharajan rajesh.bruz...@gmail.com wrote:

 I am new to GIT version tool, I have a lot of queries in
 using GIT. Can anyone reply my Answer?
 My Questions are:
   1. IS GIT have Client-Server Archietecture?
   2. If So,Can I install GIT Server and Client?
   3. can i able to Install GIT server on Ubuntu and Client on 
 Windows 7.

While John's answer is technically correct, most people *do* use a
centralized repository when working with Git -- but it's rather a
rendez-vouz or reference repository.  Unfortunately, understanding
how such centralized repositories fit the distributed model of
development sported by Git is hard.  So I very much advise you to read
this [1] long post by the Git's initial creator in which he explains to
KDE folks what's the deal with shared repositories in Git model.
This post deals with using Git at scale -- on a project with hundreds
of developers working on a set of projects comprising zillions
of SLoC, -- but thiking about his reasoning actually helps freeing
one's mind from the chores instilled upon it by centralized SCMs.

1. http://lwn.net/Articles/246381/

-- 
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.


[git-users] Storing extra files in .git

2013-11-24 Thread Mickey Killianey
Does anyone know where I can store extra resources of my own in the .git 
directory?  I'm writing a git extension with some fairly expensive analytic 
computations that I'd like to cache, so that partial results can be reused 
across multiple invocations.

I was hoping to find some kind of userspace 
in https://www.kernel.org/pub/software/scm/git/docs/gitrepository-layout.html 
where my git extensions can save items that shouldn't be associated with a 
commit/branch/tag.

For example, if I have a results file, would it be reasonable for me to add 
it the object store using git-hash-object, and then put the SHA1 of that 
blob in .git/refs/blobs/my-cached-results?  Or, if I have several different 
files I want to save, could I bundle them under a tree object (presumably 
using git-write-tree), and save that SHA1 to 
.git/refs/trees/my-cached-files?  Assuming that the files were the standard 
format of 40 hex characters plus newline, would this be sufficient to 
protect the trees/blobs from garbage collection?

Or am I better off *not* using the object store?  If I should just write 
results into a file somewhere under the .git directory, is there a 
recommended place to put such things so that I'm relatively unlikely to 
collide with future git features?

Thanks!

Mick

-- 
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.


Re: [git-users] Re: git clean help

2013-11-24 Thread Huu Da Tran
Make sure directory is *really* empty.

ls -al Spoon-Knife

-- 
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.