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

Re: bare vs non-bare <1.7 then >=1.7 ?

From: Philip Oakley <hidden>
Date: 2016-06-15 22:55:13

From: "Enrico Weigelt" <redacted> Sent: Saturday, November 
10, 2012 8:23 AM
Wait, there *is* an usecase for such things, deploying trees (eg. 
webapps)
some server:

* application is developed in git
* the final production-system tree is maintained in certian branch
* a post-update hook acts on a specific production branch and does
  something like git checkout --detach <treeish>
I have an alternative use-case for un-trained collegues :

The network shared drive has master checked out, and the .git directory 
is hidden. Untrained colleagues don't know I have it as a git remote. 
Even if they show hidden directories they will tend to ignore it as 
being just another spurious directory.

I develop on my own box (local directory) on my own branch 'Philip' and 
features therefrom. I push my development history back to the network 
remote to act as a backup. Because I don't touch master I can normally 
push to it quite happily.

When I have some finished work I can change to 'working' on the network 
drive, and merge or rebase my 'Philip' branch into master, and update 
the network's working tree. The untrained folk now see the new updated 
files as if I'd simply worked on / copied into the network share and 
they are non the wiser (yet) that I do have proper (micro managed) 
history.

I can also capture any changes they made to the network share so can go 
back to a point in history when required. It's in matlab and is not a 
big code base.

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