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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T03:50:45+00:00 2026-05-29T03:50:45+00:00

Switching to GitHub and can’t seem to find information on how to do something

  • 0

Switching to GitHub and can’t seem to find information on how to do something I used to do with SVN:

First of al I’m a tester so I never commit changes, but I do need to keep a number of local copies of the project each with a small difference to trunk – staging, production, decreased timer values etc

I used to use CornerStone on Mac (just fwiw/don’t have it any more), and a single update from SVN would update all my various local ‘dependent projects’ (all of them the same, apart from one or two lines, usually in a config file). I’d review the inevitable conflicts and almost always reject them, provided the only difference in the conflicting file was my customisation for test purposes, or if there was something new I’d merge it in and leave my staging environment URLs or whatever as they were.

Can I do this sort of thing efficiently with GitHub? (preferably using GitHub’s/Xcode’s or some other Mac GUI client?)

I did look at the documentation, but can’t seem to find anything on this so any help much appreciated/maybe it’s kind of unusual to be pulling changes to lots of almost-identical local projects and always be rejecting certain conflicts.. 🙂

  • 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-05-29T03:50:46+00:00Added an answer on May 29, 2026 at 3:50 am

    Of course, the ideal solution is to not have configuration data tracked in the repository, or at least make it possible to override via some untracked file.

    However, there’s no problem with what you want to do in git. You just locally make multiple clones of your GitHub repository. In each, you can make your changes specific to that local copy, and then commit them. Then, when you want to update from the latest version of GitHub, make sure that you pull with:

    git pull --rebase
    

    … which will fetch the latest version from the server, and then try to reapply your commits with local changes on top of them. Unless the same parts of the files that you’ve committed changes to have also been modified in the new commits on GitHub, you shouldn’t even have conflicts to resolve.

    If you always pull like this, then the commit graph (history) of your project will always be the same as the remote, but with any of your local changes as the most recent commits on top of the remote history.

    (I would hope that the GUI clients that you are using have an option to rebase on pulling new changes. Otherwise you can set this to happen automatically with the config option branch.<name>.rebase, where <name> is the name of your local branch.)

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

Sidebar

Related Questions

I'm just switching my build process to use maven, I can't find the dependency
Switching to GCC for the first time, and I'm getting a bit confused by
I did branch to HEAD switching (and can't remember the things I did) on
Switching to RightToLeft (by altering MainWindow.FlowDirection) changes strings which have a round (closing) paranthesis
when switching branches, I noticed that sometimes my local changes to the current branch
I'm switching from MySQL to PostgreSQL and I was wondering how can I have
After switching to window 7, I can no longer use the external debugger with
We are switching web hosts, and I have been asked to find out how
I've started switching my private subversion projects to git (Github) and release the code
Switching from JVM 1.4 to 1.5 has performance benefits as per release notes. http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html#performance

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.