7
$\begingroup$

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?

$\endgroup$
5
$\begingroup$

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.