Pro Git 2nd Edition 2.1.413
directory data in your my_project.git directory. This is roughly equivalent to something like: $ cp -Rf my_project/.git my_project.git There are a couple of minor differences in the configuration file but / make[2]: `GIT-VERSION-FILE' is up to date. GEN gitweb.cgi GEN static/gitweb.js $ sudo cp -Rf gitweb /var/www/ Notice that you have to tell the command where to find your Git repositories with a submodule. If you delete the subdirectory and then run submodule add, Git yells at you: $ rm -Rf CryptoLibrary/ $ git submodule add https://github.com/chaconinc/CryptoLibrary 'CryptoLibrary' already0 码力 | 731 页 | 21.49 MB | 1 年前3Pro Git 2nd Edition 2.1.413
directory data in your my_project.git directory. This is roughly equivalent to something like: $ cp -Rf my_project/.git my_project.git There are a couple of minor differences in the configuration file but / make[2]: `GIT-VERSION-FILE' is up to date. GEN gitweb.cgi GEN static/gitweb.js $ sudo cp -Rf gitweb /var/www/ Notice that you have to tell the command where to find your Git repositories with to a submodule. If you delete the subdirectory and then run submodule add, Git yells at you: $ rm -Rf CryptoLibrary/ $ git submodule add https://github.com/chaconinc/CryptoLibrary 'CryptoLibrary' already0 码力 | 501 页 | 17.96 MB | 1 年前3Pro Git 2nd Edition 2.1.413
directory data in your my_project.git directory. This is roughly equivalent to something like: $ cp -Rf my_project/.git my_project.git There are a couple of minor differences in the configuration file but / make[2]: `GIT-VERSION-FILE' is up to date. GEN gitweb.cgi GEN static/gitweb.js $ sudo cp -Rf gitweb /var/www/ Notice that you have to tell the command where to find your Git repositories with a submodule. If you delete the subdirectory and then run submodule add, Git yells at you: $ rm -Rf CryptoLibrary/ $ git submodule add https://github.com/chaconinc/CryptoLibrary 'CryptoLibrary' already0 码力 | 691 页 | 13.35 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
bare repository 'my_project.git'... done. 现在,你的 my_project.git 目录中应该有 Git 目录的副本了。 整体上效果大致相当于 $ cp -Rf my_project/.git my_project.git 虽然在配置文件中有若干不同,但是对于你的目的来说,这两种方式都是一样的。 它只取出 Git 仓库自身,不要 工作目录,然后特别为它单独创建一个目录。 / make[2]: `GIT-VERSION-FILE' is up to date. GEN gitweb.cgi GEN static/gitweb.js $ sudo cp -Rf gitweb /var/www/ 需要注意的是,你需要在命令中指定 GITWEB_PROJECTROOT 变量来让程序知道你的 Git 版本库的位置。 现 在,你需要在 Apache 中使用这个 想要将它们移动到一个子模块中,那么请务必小心,否则 Git 会对你发脾气。 假设项目内有一些文件在子目录 中,你想要将其转换为一个子模块。 如果删除子目录然后运行 submodule add,Git 会朝你大喊: $ rm -Rf CryptoLibrary/ $ git submodule add https://github.com/chaconinc/CryptoLibrary 'CryptoLibrary' already0 码力 | 501 页 | 19.30 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
bare repository 'my_project.git'... done. 现在,你的 my_project.git 目录中应该有 Git 目录的副本了。 整体上效果大致相当于 $ cp -Rf my_project/.git my_project.git 虽然在配置文件中有若干不同,但是对于你的目的来说,这两种方式都是一样 的。 它只取出 Git 仓库自身,不要工作目录,然后特别为它单独创建一个目 / make[2]: `GIT-VERSION-FILE' is up to date. GEN gitweb.cgi GEN static/gitweb.js $ sudo cp -Rf gitweb /var/www/ 需要注意的是,你需要在命令中指定 GITWEB_PROJECTROOT 变量来让程序知道 你的 Git 版本库的位置。 现在,你需要在 Apache 中使用这个 必小心,否则 Git 会对你发脾气。 假设项目内有一些文件在子目录中,你想要 将其转换为一个子模块。 如果删除子目录然后运行 submodule add,Git 会朝 你大喊: $ rm -Rf CryptoLibrary/ $ git submodule add https://github.com/chaconinc/CryptoLibrary 'CryptoLibrary' already0 码力 | 670 页 | 13.59 MB | 1 年前3
共 5 条
- 1