What's a WIP
means on a stash commit?
$ git stash list stash@{0}: WIP on master: 049d078 added the index file stash@{1}: WIP on master: c264051 Revert "added file_size" stash@{2}: WIP on master: 21d80a5 added number to log
I'm just curious.
From the git-stash documentation: A stash is by default listed as "WIP on branchname … ", but you can give a more descriptive message on the command line when you create one. WIP stands for work in progress.
WIP Commit - convention for calling a temporary commit that is meant to be a temporary save point during the lifetime of a user story. Feature Branch - convention for calling a git branch that is used specifically to work on one user feature story.
Developers mark a commit or branch as WIP to signify that the commits cannot stand on their own, that you should not check out a particular commit or revert to it and expect working code. Basically, to avoid stashing important changes that may not yet be finished, commit them to a WIP branch to store them away safely.
To retrieve changes out of the stash and apply them to the current branch you're on, you have two options: git stash apply STASH-NAME applies the changes and leaves a copy in the stash. git stash pop STASH-NAME applies the changes and removes the files from the stash.
From the git-stash
documentation:
A stash is by default listed as "WIP on branchname …", but you can give a more descriptive message on the command line when you create one.
WIP stands for work in progress.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With