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 7973907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:13:56+00:00 2026-06-04T08:13:56+00:00

I am a Git newbie and have a question about how I should set

  • 0

I am a Git newbie and have a question about how I should set it up within the restraints of our environment, and hoping someone can help me out and let me know if my thinking is correct.

Our IT department would prefer not to have Git installed on our Staging Server, so we’re thinking we’ll have to use a network drive. The plan is this:

  • Git repository on network
  • Localhost development machines pull from network repository, make changes, push back to repository
  • manually copy from repository to staging web server (do you export a version or just copy the contents directly?)
  • IT does security testing and copies changes to production web server (we do not have access to production server)

Does this seem like a good plan and is this an okay way to use Git?

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-04T08:13:58+00:00Added an answer on June 4, 2026 at 8:13 am

    This is definitely a good way to use git. I would very much recommend it. Using revision control at all is a very crucial key to staying sane while developing good code, and that’s how it made its way onto the Joel Test. If the developers can control everything about their development cycle, that is also advantageous because that way there is no bottle neck in development. Also, IT being able to keep autonomy over there own systems sounds like a good idea as well. So it can be a win-win situation.

    I would tag (with some arbitrary revision-number system) every single revision which you copy over to the staging environment — or maybe not literally every revision you copy over, but there is no harm in over-tagging, and it would be very unfortunate if you under-tagged and cannot revert back to some other revision afterwards.

    For copying files over to the staging server, I would look into a tool like rsync. That will make copying changes much more immediate than having to restart a whole copy. On the network drive, git checkout the exact revision you will want to copy over to staging, then do whatever testing you do on your end, and then tell rsync to sync the two computers (you will have to figure out rsync if you use it). So, yes, you will copy the files directly from the network server.

    Also, consider the idea of having some file itself which marks the revision number (including the git SHA-1 hash) so that when the files get copied over to the staging server, you will know exactly which version is there.

    Finally, here is another link to more information about git branching which may or may not help you out: a successful git branching model

    —

    post any comments below if you have any comments/questions.

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

Sidebar

Related Questions

Newbie Git question: I have a repo set up on bitbucket. I git fetched
I have a newbie question about Git: I need to move back and forth
Can someone show/point/help me to a resource for distributed development Git example or guide?
Recently moved from svn to git, pardon my newbie question. In our release process,
Git newbie here. I am probably making a simple mistake here, but I can't
GitHub Users, I am newbie on github and have some issue with git setup.
I am newbie about octopress, so i can face some problems. At the beginning,
git config --global core.autocrlf input according to this github help page this should configure
This is a pretty simple question: as a Git newbie I was wondering if
I'm a git newbie, and this is what I currently have: master: A --

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.