Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8918283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T05:42:45+00:00 2026-06-15T05:42:45+00:00

Quick question and maybe someone can offer some insight as to the best way

  • 0

Quick question and maybe someone can offer some insight as to the best way to do this.

We are using Github for our development and working in such a way that the master branch is a mirror of what is on our development server. Once the dev server gets approved, we copy it onto production.

I was wondering, is there a way to make my server environment synched with the Github master and run so that if we do a master merge it will automatically be what is running on our development server? Is this possible without running git on the development server?

If not, what are other solutions that people have found to keep from having to copy files all over the place?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T05:42:47+00:00Added an answer on June 15, 2026 at 5:42 am

    What people usually use for this are hooks, basically scripts that get executed on certain actions in your repository. The most appropriate hook for this situation would be a post-receive hook. It gets executed, after changes were pushed to your repository. You can then just update your other repository whenever the hook gets executed, and start your deployment whenever the master-branch was changed.

    On GitHub, hooks are available in the admin section of your repository (“Service Hooks”). If you don’t have a specific system running, you can just use a WebHook, which essentially POSTs a custom URL with the information when the post-receive hook is executed. This allows you to put a public trigger script on your server that, when executed, starts the update and the deployment. To add security, you should check if the IP address is one of the ones listed on the GitHub page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using EF4. Just a quick question, is this a really good framework?
Quick question, I've been reading about some .Net stuff and the way some people
this is a real quick question. Is their a way i could access Achievements
I have a quick question about iOS apps and was wondering maybe someone here
This is a quick question, I hope you could help me with. How can
Quick question, I was wondering if there is a way to use Solr's API
Quick question. For example, working with a some-what larger case of ~1000 options: which
I had a quick question regarding the datacontractserializer. Maybe it's more of a stream
I have a quick question i hope you guys can answer, i've got a
This is a quick question for linux c programming raw sockets. If I wanted

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.