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?
Asked
Active
Viewed 802 times
1 Answers
5
Based on this answer, you need the following procedure:
- Stash your local changes using
git stash
- Pull from remote repository using
git pull
- 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.
-
Thank you! I always wondered when to use stash - it seems like this would be an appropriate scenario. – Luke Aug 01 '16 at 13:51