Git Documentation - en to zh_HANT translation catalogue (51 entries)

note: type: Labeled list
en: -L <start>,<end>
zh_HANT: -L <起點>,<終點>

note: type: Plain text
en: Fetch all remotes.
zh_HANT: 抓取所有遠程分支。

note: type: Labeled list
en: --depth=<depth>
zh_HANT: --depth=<深度>

note: type: Labeled list
en: --deepen=<depth>
zh_HANT: --deepen=<深度>

note: type: Labeled list
en: --shallow-since=<date>
zh_HANT: --shallow-since=<日期>

note: type: Plain text
en: Be verbose.
zh_HANT: 詳細資訊。

note: type: Labeled list
en: --server-option=<option>
zh_HANT: --server-option=<選項>

note: type: Title -
en: NAME
zh_HANT: 名稱

note: type: Plain text
en: git-add - Add file contents to the index
zh_HANT: git-add - 在索引中加入檔案

note: type: Title -
en: SYNOPSIS
zh_HANT: 格式

note: type: Plain text
en: 'git add' [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]
    	  [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]]
    	  [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing] [--renormalize]
    	  [--chmod=(+|-)x] [--pathspec-from-file=<file> [--pathspec-file-nul]]
    	  [--] [<pathspec>...]
zh_HANT: 'git add' [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]
    	  [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]]
    	  [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing] [--renormalize]
    	  [--chmod=(+|-)x] [--pathspec-from-file=<檔案路徑> [--pathspec-file-nul]]
    	  [--] [<pathspec>...]

note: type: Title -
en: DESCRIPTION
zh_HANT: 說明

note: type: Plain text
en: The "index" holds a snapshot of the content of the working tree, and it is this snapshot that is taken as the contents of the next commit.  Thus after making any changes to the working tree, and before running the commit command, you must use the `add` command to add any new or modified files to the index.
zh_HANT: 「索引」中保存了當前的工作樹的快照，此快照也會做為下次提交的內容。在當前的工作樹做了任何修改，以及在執行提交 `commit` 指令之前，必須先執行加入 `add` 指令將新增或修改的檔案加入索引。

note: type: Plain text
en: This command can be performed multiple times before a commit.  It only adds the content of the specified file(s) at the time the add command is run; if you want subsequent changes included in the next commit, then you must run `git add` again to add the new content to the index.
zh_HANT: 本指令可以在提交 `commit` 之前多次執行。本指令僅加入指定檔案的當下狀態，若後續對指定檔案有新的變動，你必須再執行一次 `git add` 將新增的內容加入索引。

note: type: Plain text
en: Please see linkgit:git-commit[1] for alternative ways to add content to a commit.
zh_HANT: linkgit:git-commit[1] 為另一種將內容加入到提交中的做法。

note: type: Title -
en: OPTIONS
zh_HANT: 選項

note: type: Labeled list
en: <pathspec>...
zh_HANT: <檔案路徑>...

note: type: Title -
en: EXAMPLES
zh_HANT: 範例

note: type: Title -
en: INTERACTIVE MODE
zh_HANT: 互動模式

note: type: Plain text
en: git-init - Create an empty Git repository or reinitialize an existing one
zh_HANT: git-init -創建一個空的Git倉庫或是重新初始化已存在的倉庫

note: type: Plain text
en: This command creates an empty Git repository - basically a `.git` directory with subdirectories for `objects`, `refs/heads`, `refs/tags`, and template files.  An initial `HEAD` file that references the HEAD of the master branch is also created.
zh_HANT: 這行指令會創建一個空的Git倉庫，基本上是一個名為`.git`的目錄，含有`objects`,`refs/heads`,`refs/tags`這幾個子目錄，其他模板檔案，跟一個指向`master`分支Head的初始`HEAD`檔案。

note: type: Plain text
en: If the `$GIT_DIR` environment variable is set then it specifies a path to use instead of `./.git` for the base of the repository.
zh_HANT: 如果有設定環境變數`$GIT_DIR`，則會使用被指定的路徑，而不是`./.git`來建立倉庫的基礎檔案。

note: type: Plain text
en: If the object storage directory is specified via the `$GIT_OBJECT_DIRECTORY` environment variable then the sha1 directories are created underneath - otherwise the default `$GIT_DIR/objects` directory is used.
zh_HANT: 如果object儲存路徑有經由環境變數`$GIT_OBJECT_DIRECTORY`所指定，則SHA-1的目錄將會被設置在其底下，否則會使用預設的`$GIT_DIR/objects`目錄。

note: type: Plain text
en: Running 'git init' in an existing repository is safe. It will not overwrite things that are already there. The primary reason for rerunning 'git init' is to pick up newly added templates (or to move the repository to another place if --separate-git-dir is given).
zh_HANT: 在現有的倉庫執行'git init'是很安全的。它並不會覆蓋掉已存在的檔案。重新執行'git init'最主要的原因，是去取得新增的模板檔案(或是加上 --separate-git-dir 將倉庫移到另一個位置)。

note: type: Plain text
en: Only print error and warning messages; all other output will be suppressed.
zh_HANT: 只會印出錯誤和警告訊息；其他輸出訊息皆會被遮蔽。

note: type: Plain text
en: Create a bare repository. If `GIT_DIR` environment is not set, it is set to the current working directory.
zh_HANT: 創建一個裸倉庫。如果環境變數`GIT_DIR`未被設定 ，則會設置在當前作業目錄下。

note: type: Labeled list
en: --object-format=<format>
zh_HANT: --object-format=<格式>

note: type: Plain text
en: Specify the given object format (hash algorithm) for the repository.  The valid values are 'sha1' and (if enabled) 'sha256'.  'sha1' is the default.
zh_HANT: 指定倉庫的物件格式(雜湊演算法)。可以指定為'sha1'或是'sha256'(有啟用的話)。預設值為'sha1'。

note: type: Plain text
en: Specify the directory from which templates will be used.  (See the "TEMPLATE DIRECTORY" section below.)
zh_HANT: 指定用於取得模板檔案的目錄(請參考下面的"模板檔案目錄"章節。)

note: type: Plain text
en: Instead of initializing the repository as a directory to either `$GIT_DIR` or `./.git/`, create a text file there containing the path to the actual repository.  This file acts as filesystem-agnostic Git symbolic link to the repository.
zh_HANT: 不使用`$GIT_DIR`或是`./.git/`作為初始化倉庫的路徑，而是創建一個儲存實際倉庫路徑的檔案。這個檔案會作為資料系統獨立的Git捷徑，連結到倉庫。

note: type: Plain text
en: If this is reinitialization, the repository will be moved to the specified path.
zh_HANT: 如果重新初始化，倉庫則會被移到指定的路徑。

note: type: Labeled list
en: --initial-branch=<branch-name>
zh_HANT: --initial-branch=<分支名稱>

note: type: Plain text
en: Use the specified name for the initial branch in the newly created repository.  If not specified, fall back to the default name: `master`.
zh_HANT: 為新創的倉庫指定初始分支的名稱。若沒有指定，就會退而使用預設名稱'master'。

note: type: Plain text
en: Specify that the Git repository is to be shared amongst several users.  This allows users belonging to the same group to push into that repository.  When specified, the config variable "core.sharedRepository" is set so that files and directories under `$GIT_DIR` are created with the requested permissions.  When not specified, Git will use permissions reported by umask(2).
zh_HANT: 指定的Git倉庫可在多個使用者之間共享，這會允許屬於相同群組的使用者對這個倉庫推送。指定時，組態參數"core.sharedRepository"將會被設定，讓在`$GIT_DIR`底下的檔案和目錄使用指定的權限來創建。當沒有指定時，Git會使用umask(2)所回報的權限。

note: type: Plain text
en: The option can have the following values, defaulting to 'group' if no value is given:
zh_HANT: 這個選項可以加上下列數值，若不給值，則預設會使用'group'：

note: type: Labeled list
en: 'umask' (or 'false')
zh_HANT: 'umask' (或是 'false')

note: type: Plain text
en: Use permissions reported by umask(2). The default, when `--shared` is not specified.
zh_HANT: 使用umask(2)回報的權限。也是當沒有指定`--shared`時的預設值。

note: type: Labeled list
en: 'group' (or 'true')
zh_HANT: 'group' (或是 'true')

note: type: Plain text
en: Make the repository group-writable, (and g+sx, since the git group may be not the primary group of all users). This is used to loosen the permissions of an otherwise safe umask(2) value. Note that the umask still applies to the other permission bits (e.g. if umask is '0022', using 'group' will not remove read privileges from other (non-group) users). See '0xxx' for how to exactly specify the repository permissions.
zh_HANT: 讓倉庫變成群組可寫入(還有g+sx，因為git群組可能並非所有使用者的主群組)。這用於放寬原本較為安全的umask(2)權限。請注意，umask仍然會適用於其他權限(舉例來說， 當umask是'0022'時,使用'group'並不會移除其他使用者(non-group)的讀取權限。請參閱'0xxx'來知道如何精確指定倉庫的權限。

note: type: Labeled list
en: 'all' (or 'world' or 'everybody')
zh_HANT: 'all' (或 'world' 或是 'everybody')

note: type: Plain text
en: Same as 'group', but make the repository readable by all users.
zh_HANT: 跟'group'大致相同，但會使倉庫可被所有使用者讀取。

note: type: Plain text
en: '0xxx' is an octal number and each file will have mode '0xxx'. '0xxx' will override users' umask(2) value (and not only loosen permissions as 'group' and 'all' does). '0640' will create a repository which is group-readable, but not group-writable or accessible to others. '0660' will create a repo that is readable and writable to the current user and group, but inaccessible to others.
zh_HANT: '0xxx' 是個八進位數字，而各個檔案都會擁有權限'0xxx'。'0xxx'會覆蓋掉使用者的umask(2)值(而且並不像group跟all一樣會放寬權限)。'0640'會創建群組可讀，但群組不可寫，其他人也不可存取的倉庫。'0660'會創建當前使用者與群組可讀可寫，但是其他人無法存取的倉庫。

note: type: Plain text
en: By default, the configuration flag `receive.denyNonFastForwards` is enabled in shared repositories, so that you cannot force a non fast-forwarding push into it.
zh_HANT: 在預設中，共享倉庫的設定旗標 receive.denyNonFastForwards是被啟用的，所以你無法強制使用非快進進行推送。

note: type: Plain text
en: If you provide a 'directory', the command is run inside it. If this directory does not exist, it will be created.
zh_HANT: 如果你在指令中提供了'目錄'，而此目錄不存在的話，它則會被創建。

note: type: Title -
en: TEMPLATE DIRECTORY
zh_HANT: 模版檔案目錄

note: type: Plain text
en: Files and directories in the template directory whose name do not start with a dot will be copied to the `$GIT_DIR` after it is created.
zh_HANT: 並非以點作為名稱開頭的檔案和目錄將會在`$GIT_DIR`被創建後，被複製到其中。

note: type: Plain text
en: The template directory will be one of the following (in order):
zh_HANT: 模板目錄將為下列其一（依照順序）：

note: type: Plain text
en: the argument given with the `--template` option;
zh_HANT: 在選項`--template`中被給予的引數;

note: type: Plain text
en: the contents of the `$GIT_TEMPLATE_DIR` environment variable;
zh_HANT: 環境變數`$GIT_TEMPLATE_DIR`中的內容;

note: type: Plain text
en: the `init.templateDir` configuration variable; or
zh_HANT: 設定變數`init.templateDir`; 或是

note: type: Plain text
en: the default template directory: `/usr/share/git-core/templates`.
zh_HANT: 預設模板目錄：`/usr/share/git-core/templates`。
