title: How to remove OS-specific commits from feature branch for pull request?
body: <p>I'm working on a branch <code>Feature</code> based off branch <code>Ubuntu-Env</code> where some changes are made for me working with Ubuntu. These changes have to be deleted when I make a Pull Request. Until now I just checkout the changed files from master. Is there a more elegant way? I tried <code>git rebase</code> but the commits from Ubuntu-Env are still there.</p>