I sometimes saw yellow files upon opening a code repository instance (in master branch), and thinking that those were unintended changes I made during my previous sessions browsing the code, I use the reset button to bring it into sync with remote master. I thought this would reset only my uncommitted changes, i.e. only for my code repo session; however we noticed that all the uncommitted changes to master from all user gets flushed if just one user (in this case, me) uses the reset button. Is this expected? I know it is best practice to work in branches and protect master, but I was still expecting reset button would work in a user-specific way.
This is intended behaviour and not specific to Palantir’s code repositories. The reset button is equivalent to a git reset which as you describe results in all uncommitted changes of that branch to be reset to the latest commit. As you mentioned, using branches and protecting the main development branch is recommended.