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:
“Only conservatives believe that subversion is still being carried on in the arts and that society is being shaken by it.... Advanced art today is no longer a causeit contains no moral imperative. There is no virtue in clinging to principles and standards, no vice in selling or in selling out.”
—Harold Rosenberg (19061978)
“Those commands of superiors which are contrary to our first duties are not to be obeyed.”
—Samuel Richardson (16891761)