Thread (18 messages) flat view 18 messages, 5 authors, 2016-06-15

Re: [PATCH] git-daemon server

From: Jason McMullan <hidden>
Date: 2016-06-15 22:41:59

On Fri, 2005-06-03 at 14:59 -0700, Linus Torvalds wrote:
Me, I want to have a fairly simple script that does the equivalent of what
I do now for pushing:

	rsync -av --delete --exclude-from=.exclude .git/ master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

except I'd want it to do the locking and the "only accept trivial pushes" 
stuff (ie no merging, just a pure update).

$ GITCONNECTION="--tcp ...."

$ git-sync $GITCONNECTION head master master `cat .git/HEAD`

(Yeah, the 'master master' is a cheezy way to do an update, but
 if you're the only one who can update the head, it's a non-issue)

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help