I cloned the Marlin repository and changed all my settings in configuration.h to match my old settings. Now when the RC branch gets updated, is there a way to upstream pull the changes without losing my settings?


1 Answer 1


Based on this answer, you need the following procedure:

  1. Stash your local changes using git stash
  2. Pull from remote repository using git pull
  3. Merge your stashed configuration file using git stash pop

Of course, if there are changes in the configuration.h file on the remote repository and cause conflicts, you will need to resolve them, but it should be straight forward.

  • $\begingroup$ Thank you! I always wondered when to use stash - it seems like this would be an appropriate scenario. $\endgroup$
    – Luke
    Aug 1, 2016 at 13:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .