Thread (1 message) 1 message, 1 author, 2016-06-15

Re: bare repositories: packing and fetching

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:40

Andy Whitcroft [off-list ref] writes:
I was trying to make a bare repo to stage linus' main tree.  As this was
only to be a local tree for others to pull from I thought that I could
clone his tree 'bare' and then fetch into that on a regular basis.  That
does not appear to be the case?  Both git fetch and git repack say 'not
a git repository .git' and bail.

Is this expected behaviour.  Do I have to have all the checked out files?
cd $that_repository && GIT_DIR=. git fetch
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help