Pro Git 2nd Edition 2.1.413longer the recommended way to rewrite history. Instead, consider using git-filter-repo, which is a Python script that does a better job for most applications where you would normally turn to filter-branch thrown in, but any properly named executable scripts will work fine – you can write them in Ruby or Python or whatever language you are familiar with. If you want to use the bundled hook scripts, you’ll the mercurial library for Python. If you have Python installed, this is as simple as: $ pip install mercurial If you don’t have Python installed, visit https://www.python.org/ and get it first. 3770 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413longer the recommended way to rewrite history. Instead, consider using git-filter-repo, which is a Python script that does a better job for most applications where you would normally turn to filter- branch thrown in, but any properly named executable scripts will work fine – you can write them in Ruby or Python or whatever language you are familiar with. If you want to use the bundled hook scripts, you’ll the mercurial library for Python. If you have Python installed, this is as simple as: $ pip install mercurial If you don’t have Python installed, visit https://www.python.org/ and get it first. The0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 longer the recommended way to rewrite history. Instead, consider using git-filter-repo, which is a Python script that does a better job for most applications where you would normally turn to filter-branch thrown in, but any properly named executable scripts will work fine – you can write them in Ruby or Python or whatever language you are familiar with. If you want to use the bundled hook scripts, you’ll the mercurial library for Python. If you have Python installed, this is as simple as: $ pip install mercurial If you don’t have Python installed, visit https://www.python.org/ and get it first. The0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66你将会学习到几个常用的用途,这样就得到了它适合使用地方的想法。 git filter-branch 有很多陷阱,不再推荐使用它来重写历史。 请考虑使用 git- filter-repo,它是一个 Python 脚本,相比大多数使用 filter-branch 的应用来说,它 做得要更好。它的文档和源码可访问 https://github.com/newren/git-filter-repo 获取。 这些脚本除了本身可以被调用外,它们还透 露了被触发时所传入的参数。 所有的示例都是 shell 脚本,其中一些还混杂了 Perl 代码,不过,任何正确命名 的可执行脚本都可以正常使用 —— 你可以用 Ruby 或 Python,或任何你熟悉的语言编写它们。 这些示例的名字 都是以 .sample 结尾,如果你想启用它们,得先移除这个后缀。 把一个正确命名(不带扩展名)且可执行的文件放入 .git 目录下的 hooks ~/bin 在 $PATH 变量中。 Git-remote-hg 有一个其他的依赖:mercurial Python 库。 如果已经安装了 Python,安装它就像这样简单: $ pip install mercurial (如果未安装 Python,访问 https://www.python.org/ 来获取它。) 需要做的最后一件事是安装 Mercurial 客户端。 如果还没有安装的话请访问0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66你将会学习到几个常用的用途,这样就得到了它 适合使用地方的想法。 git filter-branch 有很多陷阱,不再推荐使用它来重写历史。 请考虑使用 git-filter- repo,它是一个 Python 脚本,相比大多数使用 filter-branch 的应用来说,它做得要更 好。它的文档和源码可访问 https://github.com/newren/git-filter-repo 获取。 这些脚本除了本身可以被调用外,它们还透露了被 触发时所传入的参数。 所有的示例都是 shell 脚本,其中一些还混杂了 Perl 代码,不过,任何正确命名的可执行脚本都可以正常使用 —— 你可以用 Ruby 或 Python,或任何你熟悉的语言编写它们。 这些示例的名字都是以 .sample 结尾,如果你想启用它们,得先移除这个后缀。 把一个正确命名(不带扩展名)且可执行的文件放入 .git 目录下的 hooks ~/bin 在 $PATH 变量中。 Git-remote-hg 有一个其他的依赖:mercurial Python 库。 如果已经安装了 Python,安装它就像这样简单: $ pip install mercurial (如果未安装 Python,访问 https://www.python.org/ 来获取它。) 需要做的最后一件事是安装 Mercurial 客户端。 如果还没有安装的话请访问0 码力 | 670 页 | 13.59 MB | 1 年前3
Gitea v1.21.1 中文文档7. RUN apk --no-cache add asciidoctor freetype freetype-dev gcc g++ libpng libffi-dev py-pip python3-dev py3-pip py3-pyzmq 8. # 安装其他您需要的外部渲染器的软件包 9. 10. RUN pip3 install --upgrade pip 11. RUN RUN pip3 install -U setuptools 12. RUN pip3 install jupyter docutils 13. # 在上面添加您需要安装的任何其他 Python 软件包 在您的自定义 app.ini 文件中为每个外部渲染器添加一个 [markup.XXXXX] 部分: 1. [markup.asciidoc] 2. ENABLED = true gradle npm JavaScript npm , yarn , pnpm NuGet .NET nuget Pub Dart dart , flutter PyPI Python pip , twine RPM - yum , dnf , zypper RubyGems Ruby gem , Bundler Swift Swift swift0 码力 | 303 页 | 3.88 MB | 1 年前3
共 6 条
- 1













