Lets say I have 6 files that I'm working on and I only want to shelve 3 of the 6
Is this correct bzr shelve file1.txt file2.txt file5.txt -m "this is the thing"
How do I unshelve it later?
How do I delete the shelve if I do not need it?
Is this correct
bzr shelve file1.txt file2.txt file5.txt -m "this is the thing"
Yes, that's correct. It will shelve the changes to the specified files and directories only. Furthermore:
--all
flag is convenient, for example: bzr shelve file1.txt file2.txt file5.txt -m "this is the thing" --all
How do I unshelve it later?
Find the id of the shelf with bzr shelve --list
. Then unshelve with bzr unshelve THE_ID
. Btw, if you don't specify an id, then bzr unshelve
will unshelve the most recent shelf.
How do I delete the shelve if I do not need it?
Using the --delete-only
flag of bzr unshelve
, for example:
bzr unshelve --delete-only THE_ID