Pro Git 2nd Edition 2.1.413“fence” it in backticks. ```// java for(int i=0 ; i < 5 ; i++) { System.out.println("i is : " + i); } ``` If you add a language name like we did there with 'java', GitHub will also try curl https://api.github.com/gitignore/templates/Java { "name": "Java", "source": "*.class" } # Mobile Tools for Java (J2ME) .mtj.tmp/ # Package Files # *.jar *.war war *.ear # virtual machine crash logs, see https://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* } ## Commenting on an Issue However, if you want to do an action on the website such as0 码力 | 731 页 | 21.49 MB | 2 年前3
Pro Git 中文版 第2版 2.1.66请求需要的代码。 你需要用“反引号”将需要添加的代码片段包起来。 ```java java for(int i=0 ; i < 5 ; i++) { System.out.println("i is : " + i); } ``` 如果加入语言的名称,就像我们这里加入的“java”一样,GitHub会自动尝试对摘录的片段进行语法高亮。在下面的例子中,它 最终会渲染成这个样子:渲染后的代码片段示例。 tonychacon commented just now Perhaps we should try somthing like: ```java for(int i=0 ; i < 5 ; i++) { System.out.println("i is : " + i); } ``` 图表105. 渲染后的代码片段示例 $ curl https://api.github.com/gitignore/templates/Java { "name": "Java", "source": "*.class # Mobile Tools for Java (J2ME) .mtj.tmp/ # Package Files # *.jar *.war0 码力 | 501 页 | 19.30 MB | 2 年前3
Pro Git 2nd Edition 2.1.413"fence" it in backticks. ```// java for(int i=0 ; i < 5 ; i++) { System.out.println("i is : " + i); } ``` If you add a language name like we did there with 'java', GitHub will also try curl https://api.github.com/gitignore/templates/Java { "name": "Java", "source": "*.class" } # Mobile Tools for Java (J2ME) .mtj.tmp/ # Package Files # *.jar *.war war *.ear # virtual machine crash logs, see https://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* " } ## Commenting on an Issue However, if you want to do an action on the website such0 码力 | 501 页 | 17.96 MB | 2 年前3
Pro Git 2nd Edition 2.1.413 “fence” it in backticks. ```// java for(int i=0 ; i < 5 ; i++) { System.out.println("i is : " + i); } ``` If you add a language name like we did there with 'java', GitHub will also try curl https://api.github.com/gitignore/templates/Java { "name": "Java", "source": "*.class" } # Mobile Tools for Java (J2ME) .mtj.tmp/ # Package Files # *.jar *.war war *.ear # virtual machine crash logs, see https://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* } ## Commenting on an Issue However, if you want to do an action on the website such as0 码力 | 691 页 | 13.35 MB | 2 年前3
Pro Git 中文版 第2版 2.1.66取请求需要的代码。 你需要用“反引号”将需要添加的代码片段包起来。 ```// java for(int i=0 ; i < 5 ; i++) { System.out.println("i is : " + i); } ``` 如果加入语言的名称,就像我们这里加入的“java”一样,GitHub会自动尝试对摘录的片段进行语法高亮。在下面的例子中,它最终会渲染成这个样子:渲染后的代码片段示例。 curl https://api.github.com/gitignore/templates/Java { "name": "Java", "source": "*.class" } # Mobile Tools for Java (J2ME) .mtj.tmp/ # Package Files # *.jar *.war war *.ear # virtual machine crash logs, see https://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* " } ## 在一个问题上评论 然而,如果想要在网站上进行一个操作,如在 Issue 或 Pull Request 上评论,或者想要查看私有内容或与其交互,你需要授权。0 码力 | 670 页 | 13.59 MB | 2 年前3
Gitea v1.21.1 中文文档|CRAN|R|\-| |Debian|\-|apt| |Generic|\-|任何HTTP客户端| |Go|Go|go| |Helm|\-|任何HTTP客户端, cm-push| |Maven|Java|mvn, gradle| |npm|JavaScript|npm, yarn, pnpm| |NuGet|.NET|nuget| |Pub|Dart|dart, flutter| |PyPI|Python|pip0 码力 | 303 页 | 3.88 MB | 2 年前3
共 6 条
- 1













