44
42

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

svnで git stash と同じことをしたい

Last updated at Posted at 2014-10-08

参考: svn - Temporarily put away uncommited changes in Subversion (a la "git-stash") - Stack Overflow

※ただし、svn add していないファイルや、バイナリファイルについては stash.patch に出力されないので注意

git stash 相当

$ svn diff > stash.patch
$ svn revert -R .

git stash pop 相当

$ patch -p0 < stash.patch
44
42
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
44
42

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?