Note that there are some explanatory texts on larger screens.

plurals
  1. POGit Development to Production Setup
    primarykey
    data
    text
    <p>I know questions like this have been asked a lot. But, I'm not finding an exact answer to my problem. I'm in the process of starting to use Git. I have no prior experience with Git or any type of version control for that matter. So far I've been able to get it up and running locally with no problem. I'm able use Git through the terminal and I've also started tinkering around with the SourceTree app.</p> <p>My problems arise when I try to set things up remotely. I have Git installed on the server. I've created a repository on my remote staging server. I can push up to it via SourceTree. However, it doesn't seem like the remote repository is connected to the web root. I make a change on a branch locally, commit, merge and then push up to the remote. But, those changes are not on the served pages via the staging server?</p> <p>On the remote I created a directory outside of my web root to hold the repository projects. I created a subdirectory inside of it called mygit.git. This is where I created my remote repository using the git init --bare. This should create a repo without a working directly that I can push to.</p> <p>This is the environment I'm working with</p> <pre><code>Production (remote server) ^ Staging (remote server) ^ Development (local) </code></pre> <p>So, my questions are:</p> <ol> <li>Why is the web server not displaying changes made via the local push</li> <li>Should I have repository on my Production server as well that all the changes sort of bubble up to?</li> <li>Am I doing this all wrong?</li> </ol> <p>Thanks for any help on this.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload