git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Best practice setup for github projects on server

From
MLMatthew Leach <m.leach@derby.ac.uk>
Date
Nov 23, 2015, 11:19 UTC
Message-ID
<8A5E5D5720EB7347BF290277F0C633F8010C7E55DFB4@MKT-MBX01.university.ds.derby.ac.uk>
Hi,
I was hoping that somebody could give me advice since I'm new to git.
I'll be installing a couple of projects from github on our servers, and adding some features.
Should I create a repository on our server (e.g. in /opt/git/), add the github project as a remote, and create a branch?  Then on my local machine add our server as the remote and then pull / push with that?
On the server there will be two web directories: stable and dev.  I was planning for these to be branches, and then just pull from the server repository using the local protocol.
I think it would mean sorting out merge actions on the server.  I'm hoping to be able to fetch and integrate updates from the developer's github repository, but without making things more complicated than they need to be.
Does anyone have any suggestions?  I drew a diagram if it helps (https://drive.google.com/file/d/0B7JhUXLbxPT9RkVNMUV6cjJNVnc/view?usp=sharing)
Thanks
Matthew

Matthew Leach  BSc. PhD. PGCert. FHEA Innovation Developer

Academic Innovation Hub Room 107, Enterprise Centre, 37 Bridge Street, Derby, DE1 3LD

The University of Derby has a published policy regarding email and reserves the right to monitor email traffic. If you believe this was sent to you in error, please select unsubscribe.

Unsubscribe and Security information contact: infosec@derby.ac.uk For all FOI requests please contact: foi@derby.ac.uk All other Contacts are at http://www.derby.ac.uk/its/contacts/

Next: Stefan Beller
Message 1 of 2 in “Best practice setup for github projects on server”
  1. Matthew LeachNov 23, 2015
  2. Stefan BellerNov 23, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.