Stash vs reset during upgrades?


(Allen - Watchman Monitoring) #1

I have a number of customizations to our config/locales/server.en.yml in our discourse.

During an upgrade we start out with:

cd /var/www/discourse && git fetch && git reset --hard HEAD@{upstream}

One day Im going to forget this, potentially losing my changes (Yes I make backups, but that’s a different story)

Would stashing any changes before resetting the repo make sense?


(Sam Saffron) #2

What makes sense here is a plugin to override the strings


(Jeff Atwood) #3

A string override plugin would be a good idea, that has been requested before.


(Sam Saffron) #4

Should be very simple to do, will have a look next week.


(Jeff Atwood) #5

That should be a post V1 or community thing, it is not high priority.