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

  • Home
  • SEARCH
  • 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 8173369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:07:28+00:00 2026-06-06T22:07:28+00:00

I have been trying to setup git for our web development team unsuccessfully. Some

  • 0

I have been trying to setup git for our web development team unsuccessfully. Some stackoverflow users were nice enough to get me started by helping me figure out how I should set it up in the environment we have; however, after trying to actually implement it I’ve run into some problems. We are trying to set this up for developing WordPress themes and plugins.

Setting up Git on Network and the copying to website

Yesterday, I copied the themes and plugins folders from our production server to the network file server. I then opened the command line that comes with Git for Windows, navigated to the folder on the file server and did this for each theme and plugin to create a repository on the network:

$ git init
$ git add *
$ git commit -m 'initial project version'

Then, on my workstation I navigated to the themes (and later plugins) folder and did this for each theme and plugin:

$ git clone /path/to/network/repository

It cloned in the files and everything seemed like it was going smoothly. Then, I tested a commit and tried pushing it back to the network file server. This gave me an error saying that the file on the network was checked out. After searching on web for what I was doing wrong, I discovered that maybe (I think) I should have created a bare repository on the network file server. So, now I’m looking for someone who can tell me if I’m heading in the right direction or not. After spending all day yesterday doing that only to find out that I was doing it wrong I thought maybe I should verify this, here’s a graphic representation of what I now think I should have done:

new git plan

In this plan, a repository is created on the network file server that has a working copy of the files. From that, a bare repository will be created in a separate directory on the network file server. The workstations will fetch and merge from the bare repository, then push back to it. Then, the non-bare network repository will pull from the bare repository. Next, the files will be manually copied from the non-bare network repository to the staging server to be tested. After testing, our server admin will copy the changes from staging to production.

Does this make any sense at all? 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-06T22:07:32+00:00Added an answer on June 6, 2026 at 10:07 pm

    This makes sense. It should work fine. What’s your branching strategy? Here’s mine: http://dymitruk.com/blog/2012/02/05/branch-per-feature/

    I’m not sure if this is a proper question. Can you refine what you need answered?

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

Sidebar

Related Questions

I have been trying to get my Arduino/Eclipse environment setup. For some reason I
I have been trying to setup a environment variable in Cygwin using the command
I have been trying to setup ARToolkit on my UBUNTU 11.10 pc.The problem i
Trying to set-up a git server on my local dev machine and have been
I have been reading up and trying Git for the last few days and
I have been trying to setup Symfony2 on Windows so that I can use
Hello i have been trying to find a tutorial that show how to setup
All this weekend I have been trying to setup a Rails 3.0.4 app in
I have been trying to display a MySQL table for some time and I
I have been trying to use cx_freeze for some time now, and yet the

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.