Export a stash to another computer

前端 未结 9 891
小蘑菇
小蘑菇 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:15

    Alternatively you can export the entire local stashes to another compter as follows

    • git pull on both your old and new git directory to ensure that both having latest changes.
    • copy the .git folder from old git directory to new repository

提交回复
热议问题