source: docs/MONOTONECHEATSHEET.md

Last change on this file was 18b11d2, checked in by meeh <meeh@…>, 2 years ago

Reducing the amount of "items" in the root of the repo
by moving documents into a own docs directory.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1# Monotone cheatsheet
2
3**Slogan:** *Saving you hours reading old manuals*
4
5For most of us developers using git, one of the columns will have an example of
6how certain things are done in git, to easier know what to do in monotone.
7
8## Commands
9
10Command | Git cmd (which give same info) | Description
11 ------ |  ----------------------------- | ------------
12`mtn ls unknown` | `git status` | List untracked files.
13`mtn status` | `git status` | List untracked files. (Please note that `mtn status` do NOT list unknown files.)
14`mtn mv [src] [dest]` | `git mv [src] [dest]` | Move a traced directory or file.
15`mtn add -R [files..]` | `git add [files..]` | Adds a file to the workspace. Please use -R when it's directories.
16`mtn ci [-k devkey] [files..]` | `git commit -s [files...]` | Sign and commit a patch.
17`mtn -d [mtndb] pull [-k devkey] [server]` | `git pull [servername] [branchname]` | Pulls new patches from a remote server.
18`mtn -d [mtndb] push [-k devkey] [server]` | `git push [servername] [branchname]` | Pushes your patches to a remote server.
19`mtn update -r t:TAGNAME` | `git checkout TAGNAME` | Check out an tag in current working directory.
20`mtn list tag` | `git tag -l` | List tags in the repo.
21`mtn di -r t:TAGNAME` | `git diff TAGNAME` | Show you the diff between the choosen tag and current head.
22
23TBA...
24
25Contributions are welcome!
26
27
28
29
30
Note: See TracBrowser for help on using the repository browser.