横着で神経質な私とあなたに贈るgit add -p で git add -p
が紹介されていますが、実は git stash -p
なんていうのもあります。
機能もほとんど同じで、git add -p
が index に変更内容の一部だけを入れるのに対し、git stash -p
は stash に変更内容の一部だけを入れる、という違いだけです。
今変更している内容の一部だけを退避したい、というときに使います。
Go to list of users who liked
More than 5 years have passed since last update.
横着で神経質な私とあなたに贈るgit add -p で git add -p
が紹介されていますが、実は git stash -p
なんていうのもあります。
機能もほとんど同じで、git add -p
が index に変更内容の一部だけを入れるのに対し、git stash -p
は stash に変更内容の一部だけを入れる、という違いだけです。
今変更している内容の一部だけを退避したい、というときに使います。
Register as a new user and use Qiita more conveniently
Go to list of users who liked