- switch
$ git checkout -b my-git-checkout $ git switch -c my-git-switch
- restore
$ git checkout ${HASH} . $ git checkout master~2 . $ git restore -s ${HASH} . $ git restore -s master~2 .
$ git update-git-for-windows
$ git checkout -b my-git-checkout $ git switch -c my-git-switch
$ git checkout ${HASH} . $ git checkout master~2 . $ git restore -s ${HASH} . $ git restore -s master~2 .
$ git update-git-for-windows