- Create a Repository in the local disk.
- hg init <repository dir>
- Clone a remote repository with ssh.
- hg clone ssh://[<user>@]<host>[:<port>]//path/to/repository/dir [<repository name>]
- Adds new files in a new directory and commit it.
- hg add <dir> # Add all files under <dir> recursively.
- hg commit # Commit all files under the current dir.
- hg push # Reflect commit to the original repository.
- Update another remote repository to check if the commit was done successfully, or not.
- hg pull # Get changes from other repositories.
- hg update # Update the changes to the local files.
SyntaxHighlighter
2009/01/08
Working with Mercurial.
I prepared and practiced Mercurial. This is the operation memo.
登録:
コメントの投稿 (Atom)
0 件のコメント:
コメントを投稿