38 Git stash apply

40 צפיות 27/12/2020
תכנות,Web School 26

דרג סרטון זה

התחבר כדי לדרג

תיאור

Git stash apply:
Difference between git stash pop and git stash apply


git stash pop throws away the (topmost, by default) stash after applying it, whereas git stash apply leaves it in the stash list for possible later reuse (or you can then git stash drop it).

This happens unless there are conflicts after git stash pop, in which case it will not remove the stash, leaving it to behave exactly like git stash apply.

Another way to look at it: git stash pop is git stash apply && git stash drop.

NeTube Bot
פעיל עכשיו