Pro Git 2nd Edition 2.1.413controls the behavior of searching for a .git directory. If you access directories that are slow to load (such as those on a tape drive, or across a slow network connection), you may want to have Git stop ObjectId masterTip = master.getObjectId(); // Rev-parse ObjectId obj = repo.resolve("HEAD^{tree}"); // Load raw object contents ObjectLoader loader = repo.open(masterTip); loader.copyTo(System.out); // Create JGit will return either a valid ObjectId for that object, or null. The next two lines show how to load the raw contents of an object. In this example, we call ObjectLoader.copyTo() to stream the contents0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413controls the behavior of searching for a .git directory. If you access directories that are slow to load (such as those on a tape drive, or across a slow network connection), you may want to have Git stop ObjectId masterTip = master.getObjectId(); // Rev-parse ObjectId obj = repo.resolve("HEAD^{tree}"); // Load raw object contents ObjectLoader loader = repo.open(masterTip); loader.copyTo(System.out); // Create JGit will return either a valid ObjectId for that object, or null. The next two lines show how to load the raw contents of an object. In this example, we call ObjectLoader.copyTo() to stream the contents0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 controls the behavior of searching for a .git directory. If you access directories that are slow to load (such as those on a tape drive, or across a slow network connection), you may want to have Git stop ObjectId masterTip = master.getObjectId(); // Rev-parse ObjectId obj = repo.resolve("HEAD^{tree}"); // Load raw object contents ObjectLoader loader = repo.open(masterTip); loader.copyTo(System.out); // Create JGit will return either a valid ObjectId for that object, or null. The next two lines show how to load the raw contents of an object. In this example, we call ObjectLoader.copyTo() to stream the contents0 码力 | 691 页 | 13.35 MB | 1 年前3
Gitea v1.21.1 中文文档http://your-git-server/actions/checkout@v3 。 SHOW_FOOTER_VERSION : true: 在页面底部显示Gitea的版本。 SHOW_FOOTER_TEMPLATE_LOAD_TIME : true: 在页脚显示模板执行的时间。 ENABLE_SITEMAP : true: 生成sitemap. ENABLE_FEED : true: 是否启用RSS/Atom0 码力 | 303 页 | 3.88 MB | 1 年前3
共 4 条
- 1













