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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T03:06:49+00:00 2026-06-09T03:06:49+00:00

I have a WordPress parent theme and multiple WordPress website (all on the same

  • 0

I have a WordPress parent theme and multiple WordPress website (all on the same filesystem) that use it. So how do I make sure with Git that each instance of the parent theme is synced with the version on Github? Without having to pull each instance individually.

  • 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-09T03:06:51+00:00Added an answer on June 9, 2026 at 3:06 am

    You’ve asked how to keep multiple local repository clones up-to-date without having to pull each instance individually. Carl-Eric has addressed how to efficiently store multiple repositories on your filesystem. Here are some suggestions on keeping them up-to-date:

    One solution would be to set up a post-merge hook in one of the repositories that iterates across the others and performs the pull operation:

    #!/bin/sh
    
    unset GIT_DIR
    for repo in /path/to/repo1 /path/to/repo2; do
       ( cd $repo && git pull)
    done
    

    The post-merge script is run after a git pull operation.

    Having said that, the simplest option would be to have a single clone of the repository and then symlink to it from the other locations.

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

Sidebar

Related Questions

I have a wordpress theme that has a build in shortcode for creating an
I have a WordPress blog and I'm trying to make that when a user
I have a wordpress website (buddypress plugin/themes). I'm using a plugin that requires access
I have a wordpress site that I am using a child theme with. In
i have wordpress blog in my custom built website, i am displaying some posts
I have installed WordPress locally on WampServer for testing purposes. I discovered that when
I have three level categories in my Wordpress site. It's looks like: Parent A
So, I'm working on a WordPress theme that uses a custom taxonomy to create
I have a site that looks great in all of the browsers except in
I'm developing Wordpress theme for my friend's company, but this question is all about

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.