-
-
Notifications
You must be signed in to change notification settings - Fork 381
Git remotes behind firewall and using a network drive #744
Comments
On Thu, Sep 25, 2014 at 11:17:57AM -0700, Daniel Chen wrote:
I've been a fan of this self-hosted approach for a while, although I |
@wking I had them use the network share because everyone here has one and I wanted to simulate some environment so they can use it right away. What I could do is write up a PR for what I did and we can tweak it so it's more universal. The only thing I did not like about the way I did it was that in the remote server there is a edit: @wking daemons on the server only work if you have the proper permissions, right? |
On Thu, Sep 25, 2014 at 11:57:01AM -0700, Daniel Chen wrote:
Everybody has a Git daemon and an IP address too ;). However, they
I'd support that, but you should wait and see if others are interested
What was in the remote my_projects/? My bare Git repositories are |
I did a |
On Thu, Sep 25, 2014 at 12:36:20PM -0700, Daniel Chen wrote:
Ah, so they have both their working, non-bare repository and their |
my thinking was: "their boss (and/or other lab mates) might not know git, so when they open that bare repo up they'll be absolutely lost (maybe angry)" :p |
On Thu, Sep 25, 2014 at 12:43:42PM -0700, Daniel Chen wrote:
My approach to that is to use Git's gitweb 1. Then they can browse If the code was too secret for trusting to an external company, I'd $ git archive … when I wrapped up for the day. For example: When folks got tired of unpacking the zips/tarballs, I'd suggest they |
Hi, I have to say that it worked pretty well today. People were confused at first by the bare repo, but at last it may pay off in the sense that it gives a feeling on what a 'regular' repo really is. Also, it saves you from one of the points that people often make: "I don't want to put my thesis/code in GitHub and have everybody seeing it". You can say: make a "server" out of a USB stick and carry it around. I'd suggest to put this either as an extra short lesson, or at least in the instructor's bag of tricks. Best, Ivan
|
Definitely, but after the big reorg. |
Replaced by swcarpentry/git-novice#224 |
@iglpdc and I figured out how to teach git at the federal reserve by using the user's mapped drive as a git remote
thanks @gvwilson for forwarding @wking's response that started my google-fu. I successfully (it worked!) taught it to the class, and was wondering should I write this up for other instructors?
If not for the students who attended so that they have a reference we can send them.
tldr;
git clone --bare my_repo my_repo.git
now every time there is a local push, you have to pull from the serverThe text was updated successfully, but these errors were encountered: