1.

What is the difference between git stash apply vs git stash pop command?

Answer»
  • git STASH pop command throws away the specified stash (topmost stash by default) after APPLYING it.
  • git stash apply command LEAVES the stash in the stash list for future reuse. In CASE we wanted to remove it from the list, we can use the git stash drop command.
git stash pop = git stash apply + git stash drop


Discussion

No Comment Found