So if I do in master:
git checkout -b my-branch
and do several commits + pushes there. Then I do:
git checkout master
git pull
Can I now somehow get those changes in my-branch to master as local changes just like using git stash apply
after doing git stash
?
EDIT: By local changes I mean if I edit something or take from stash the files in workspace are edited, pending changes but they are not committed. Local changes have no commit history or anything. The local files are simply changed. If i commit and push the "local" changes to master there won't be any commit history from my-branch.