瀏覽代碼

hg-init: add page

pxgamer 7 年之前
父節點
當前提交
d6eeeeb32f
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      pages/common/hg-init.md

+ 11 - 0
pages/common/hg-init.md

@@ -0,0 +1,11 @@
+# hg init
+
+> Create a new repository in the specified directory.
+
+- Initialise a new repository in the current directory:
+
+`hg init`
+
+- Initialise a new repository in the specified directory:
+
+`hg init {{path/to/directory}}`