本文整理了Java中org.eclipse.jgit.lib.Repository.writeRevertHead
方法的一些代码示例,展示了Repository.writeRevertHead
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Repository.writeRevertHead
方法的具体详情如下:
包路径:org.eclipse.jgit.lib.Repository
类名称:Repository
方法名:writeRevertHead
[英]Write revert commit into $GIT_DIR/REVERT_HEAD. This is used in case of conflicts to store the revert which was tried to be picked.
[中]将revert commit写入$GIT_DIR/revert_HEAD。在冲突的情况下使用此选项来存储尝试拾取的还原。
代码示例来源:origin: org.eclipse.jgit/org.eclipse.jgit
private void resetRevert() throws IOException {
repo.writeRevertHead(null);
repo.writeMergeCommitMsg(null);
}
代码示例来源:origin: berlam/github-bucket
private void resetRevert() throws IOException {
repo.writeRevertHead(null);
repo.writeMergeCommitMsg(null);
}
代码示例来源:origin: sonia.jgit/org.eclipse.jgit
private void resetRevert() throws IOException {
repo.writeRevertHead(null);
repo.writeMergeCommitMsg(null);
}
代码示例来源:origin: org.eclipse.jgit/org.eclipse.jgit
} else if (state == RepositoryState.REVERTING_RESOLVED) {
repo.writeMergeCommitMsg(null);
repo.writeRevertHead(null);
代码示例来源:origin: org.eclipse.jgit/org.eclipse.jgit
.formatWithConflicts(newMessage,
merger.getUnmergedPaths());
repo.writeRevertHead(srcCommit.getId());
repo.writeMergeCommitMsg(message);
代码示例来源:origin: berlam/github-bucket
} else if (state == RepositoryState.REVERTING_RESOLVED) {
repo.writeMergeCommitMsg(null);
repo.writeRevertHead(null);
代码示例来源:origin: sonia.jgit/org.eclipse.jgit
} else if (state == RepositoryState.REVERTING_RESOLVED) {
repo.writeMergeCommitMsg(null);
repo.writeRevertHead(null);
代码示例来源:origin: sonia.jgit/org.eclipse.jgit
.formatWithConflicts(newMessage,
merger.getUnmergedPaths());
repo.writeRevertHead(srcCommit.getId());
repo.writeMergeCommitMsg(message);
代码示例来源:origin: berlam/github-bucket
.formatWithConflicts(newMessage,
merger.getUnmergedPaths());
repo.writeRevertHead(srcCommit.getId());
repo.writeMergeCommitMsg(message);
内容来源于网络,如有侵权,请联系作者删除!