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

Git Deployment using existing multiple environments

From
SSSukhwinder Singh <php_programmer_india@hotmail.com>
Date
Sep 12, 2015, 06:31 UTC
Message-ID
<BAY180-W16B5F49FFD3614D666B232C25F0@phx.gbl>
Hello,
I have asked this question at many places but have not received any response which was helpful. I have sent this email on this mailing list earlier as well but received only one response which asked us to move to Linux environment.
I am kind of new to Git and I have a question regarding using Git for a website. I have searched a lot but haven't found a solution yet. We already have 3-4 environments setup on our Windows servers without Git and each environment already has code which is different from each other.
 
There are three environments
Live
UAT
Test (has the latest code)
 
 
And then developers have their local copies.
 
We write and test the code locally and manually move each point from one environment to other using merging software and test at each environment.
Now we want to use git because manually moving the code is a lengthy process. Also as the developers have local copies, it is very difficult to manage code.
 
Code is written locally by the team and then after testing locally it is first merged with "Test" environment code, then "UAT" and then, finally with "Live".
So we have two concerns:
 
There is different code already existing on these environments.
Testing the code on each environment using the web server.
 
What is the best way to go about it? As I am new to git more details will be helpful, like commands to use.
 
Thanks, 		 	 		 	   		  
Next: Johannes Schindelin
Message 1 of 7 in “Git Deployment using existing multiple environments”
  1. Sukhwinder SinghSep 12, 2015
  2. Johannes SchindelinSep 12, 2015
  3. Sukhwinder SinghSep 14, 2015
  4. Jacob KellerSep 14, 2015
  5. Sukhwinder SinghSep 15, 2015
  6. Johannes SchindelinSep 15, 2015
  7. Sukhwinder SinghSep 15, 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.