Export a stash to another computer

前端 未结 9 911
小蘑菇
小蘑菇 2020-12-02 03:43

I need a way to export a stashed change to another computer.

On computer 1 I did

$ git stash save feature

I\'m trying to get the stash

9条回答
  •  生来不讨喜
    2020-12-02 04:13

    If you want to move your changes from one machine to another you could always commit your changes on your machine and then do a soft reset on their machine.

    Office

    git commit -m "-stash-"

    Kitchen

    git reset --soft HEAD~1

提交回复
热议问题