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:
“How oft when men are at the point of death
Have they been merry! which their keepers call
A lightning before death: O, how may I
Call this a lightning? O my love! my wife!
Death, that hath sucked the honey of thy breath,
Hath had no power yet upon thy beauty:
Thou art not conquered; beautys ensign yet
Is crimson in thy lips and in thy cheeks,
And deaths pale flag is not advanced there.”
—William Shakespeare (15641616)
“There are no more ideologies in the authentic sense of false consciousness, only advertisements for the world through its duplication and the provocative lie which does not seek belief but commands silence.”
—Theodor W. Adorno (19031969)