14
14

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.

git add -p と同じような機能を持つ git stash -p

Posted at

横着で神経質な私とあなたに贈るgit add -pgit add -p が紹介されていますが、実は git stash -p なんていうのもあります。

機能もほとんど同じで、git add -p が index に変更内容の一部だけを入れるのに対し、git stash -p は stash に変更内容の一部だけを入れる、という違いだけです。

今変更している内容の一部だけを退避したい、というときに使います。

14
14
0

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
14
14

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?