@Der Pepe (Hubzilla) ⁂ It's a tad more complex than that.
If it does succeed, the file will be changed, and you need to understand how those changes affect the new code you received when doing a
A much better approach is to actually fork the project, and make
git stash pop will try to merge the stashed changes with the currently checked out working tree. If it's not able to do that, you get a merge conflict that you need to resolve.If it does succeed, the file will be changed, and you need to understand how those changes affect the new code you received when doing a
git pull. If you know what you're doing, that's often pretty trivial, but not always. If you don't know... you may be in for some interesting surprises :)A much better approach is to actually fork the project, and make
udall and friends update from your fork. Whenever you want to update you will need to merge the upstream into your fork, and then update your site. But at least then you have some tracking of the changes you made, and hopefully also why.