I prepared and practiced Mercurial. This is the operation memo.
- Create a Repository in the local disk.
- 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.
0 件のコメント:
コメントを投稿