Advanced Commands
Table explanation
- Commands in green rectangles that are not surrounded by are at an interactive command-line prompt. Text in is an explanation of where to find equivalent functionality.
- command aliases: create custom aliases for specific commands or combination thereof
- lock/unlock: exclusively lock a file to prevent others from editing it
- shelve/unshelve: temporarily set aside part or all of the changes in the working directory
- rollback: remove a patch/revision from history
- cherry-picking: move only some revisions from a branch to another one (instead of merging the branches)
- bisect: binary search of source history for a change that introduced or fixed a regression
- incoming/outgoing: query the differences between the local repository and a remote one (the patches that would be fetched/sent on a pull/push)
- grep: search repository for lines matching a pattern
- record: include only some changes to a file in a commit and not others
Software | command aliases | lock/unlock | shelve/unshelve | rollback | cherry-picking | bisect | incoming/outgoing | grep | record |
---|---|---|---|---|---|---|---|---|---|
AccuRev SCM | No | enable file locking | keep / co | revert / purge | patch | No | No | No | Unknown |
Bazaar | No | shelve/unshelve | uncommit | merge (non-tracking) | bisect (bisect plugin) | missing --theirs-only/missing --mine-only | grep (grep plugin) | Unknown | |
CVSNT | edit -x/unedit | No | admin -o | yes | annotate | No | no | No | |
Darcs | No | No | revert/unrevert | unrecord | yes | trackdown | pull/push --dry-run | No | record |
Fossil | No | No | stash pop/stash apply | merge --rollback | merge --cherrypick | bisect | No | search | No |
Git | No | stash/stash pop | reset HEAD^ | cherry-pick | bisect | cherry | grep | add -p | |
Mercurial | No | shelve/unshelve (bundled extension) | rollback | graft(core) or transplant(bundled extension) | bisect | incoming/outgoing | grep | record (bundled extension) | |
Monotone | No | No | kill_rev_locally | pluck | bisect | No | No | Unknown | |
Perforce | via broker | lock/unlock | shelve/unshelve | obliterate | integ | Unknown | Unknown | grep | Unknown |
SVK | No | No | No | No | svk merge | No | status | No | No |
Subversion | No | lock/unlock | No | No | svnmerge cherry-picking | Third party tool | status -u | No | No |
Surround SCM | No | checkout | shelf | rollback | duplicatechanges | No | diff | No | No |
Team Foundation Server | Yes | lock/unlock | shelve/unshelve | Unknown | Unknown | No | Unknown | Unknown | No |
Veracity | No | lock/unlock | No | No | No | No | incoming/outgoing | No | No |
Software | command aliases | lock/unlock | shelve (stash)/unshelve | rollback | cherry-picking | bisect | incoming/outgoing | grep | record |
Read more about this topic: Comparison Of Revision Control Software
Famous quotes containing the words advanced and/or commands:
“King David was old and advanced in years; and although they covered him with clothes, he could not get warm.”
—Bible: Hebrew, 1 Kings 1:1.
“They went to him and woke him up, shouting, Master, Master, we are perishing! And he woke up and rebuked the wind and the raging waves; they ceased, and there was a calm. He said to them, Where is your faith? They were afraid and amazed, and said to one another, Who then is this, that he commands even the winds and the water, and they obey him?”
—Bible: New Testament, Luke 8:24-25.