Pro Git 2nd Edition 2.1.413
number of clients that check out files from that central place. For many years, this has been the standard for version control. Figure 2. Centralized version control diagram This setup offers many advantages You clone a repository with git clone. For example, if you want to clone the Git linkable library called libgit2, you can do so like this: $ git clone https://github.com/libgit2/libgit2 That creates gitignore file are as follows: ▪ ▪ ▪ ▪ ▪ Blank lines or lines starting with # are ignored. Standard glob patterns work, and will be applied recursively throughout the entire working tree. You can 0 码力 | 731 页 | 21.49 MB | 1 年前3Pro Git 2nd Edition 2.1.413
number of clients that check out files from that central place. For many years, this has been the standard for version control. 11 Figure 2. Centralized version control diagram This setup offers many You clone a repository with git clone. For example, if you want to clone the Git linkable library called libgit2, you can do so like this: $ git clone https://github.com/libgit2/libgit2 That creates put in the .gitignore file are as follows: • Blank lines or lines starting with # are ignored. • Standard glob patterns work, and will be applied recursively throughout the entire working tree. • You 0 码力 | 501 页 | 17.96 MB | 1 年前3Pro Git 2nd Edition 2.1.413
number of clients that check out files from that central place. For many years, this has been the standard for version control. Figure 2. Centralized version control diagram This setup offers many advantages You clone a repository with git clone. For example, if you want to clone the Git linkable library called libgit2, you can do so like this: $ git clone https://github.com/libgit2/libgit2 That creates put in the .gitignore file are as follows: Blank lines or lines starting with # are ignored. Standard glob patterns work, and will be applied recursively throughout the entire working tree. You can 0 码力 | 691 页 | 13.35 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
rary Cloning into 'CryptoLibrary'... ... $ git commit -am 'adding crypto library' [add-crypto 4445836] adding crypto library 2 files changed, 4 insertions(+) create mode 160000 CryptoLibrary $ git rary Cloning into 'CryptoLibrary'... ... $ git commit -am 'adding crypto library' [add-crypto 4445836] adding crypto library 2 files changed, 4 insertions(+) create mode 160000 CryptoLibrary $ git refs/hg/origin/branches/default, refs/hg/origin/bookmarks/master, master) Create a makefile * 65bb417 Create a standard "hello, world" program 你会注意到与 Mercurial 仓库工作时使用了标准的 git clone 命令。 那是因为 git-remote-hg 工作在相当低的 底层,使用类似于0 码力 | 501 页 | 19.30 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
rary Cloning into 'CryptoLibrary'... ... $ git commit -am 'adding crypto library' [add-crypto 4445836] adding crypto library 2 files changed, 4 insertions(+) create mode 160000 CryptoLibrary $ git rary Cloning into 'CryptoLibrary'... ... $ git commit -am 'adding crypto library' [add-crypto 4445836] adding crypto library 2 files changed, 4 insertions(+) create mode 160000 CryptoLibrary $ git refs/hg/origin/branches/default, refs/hg/origin/bookmarks/master, master) Create a makefile * 65bb417 Create a standard "hello, world" program 你会注意到与 Mercurial 仓库工作时使用了标准的 git clone 命令。 那是因 为 git-remote-hg 工作在相当低的底层,使用类似于0 码力 | 670 页 | 13.59 MB | 1 年前3
共 5 条
- 1