diff --git a/docs/gen/translate.ts b/docs/gen/translate.ts index 1622909..68174ca 100644 --- a/docs/gen/translate.ts +++ b/docs/gen/translate.ts @@ -23,6 +23,7 @@ If translating in Korean, translate "Git Object" as "Git 개체". If translating in Korean, translate "Tree" as "트리". If translating in Korean, translate "Repository" as "리포지토리". If translating in Japanese, finish the sentence in ます style. +Don't translate signature/example codes (except comments) or parameters name. Finish with a noun if it is a explanation for a parameter or a return value. === @@ -32,7 +33,7 @@ ${JSON.stringify(doc, null, 2)} `; const response = await ai.chat.completions.create({ - model: options?.model ?? 'gpt-4o', + model: options?.model ?? 'gpt-5.2', messages: [{ role: 'user', content: prompt }], }); diff --git a/docs/ko/reference/Reflog/Methods/append.md b/docs/ko/reference/Reflog/Methods/append.md new file mode 100644 index 0000000..161aeab --- /dev/null +++ b/docs/ko/reference/Reflog/Methods/append.md @@ -0,0 +1,58 @@ +# append + +reflog에 새 항목을 추가해요. + +## 시그니처 + +```ts +class Reflog { + append(newOid: string, committer: Signature, msg?: string | null | undefined): void; +} +``` + +### 파라미터 + +
이 reflog 항목의 새 개체 ID(SHA1)
+이 reflog 항목의 커미터 서명
+서명에 포함된 이메일
+서명에 포함된 이름
+에포크로부터의 초 단위 시간
+이 reflog 항목의 선택적 메시지
+OID가 유효하지 않거나 추가에 실패하면 오류를 던져요.
+가져올 항목의 인덱스
+지정한 인덱스의 reflog 항목이에요. 인덱스가 범위를 벗어나면 null을 반환해요.
reflog가 비어 있으면 true, 그렇지 않으면 false인 값
reflog 항목에 대한 이터레이터
+reflog에 접근할 수 없으면 오류를 던져요.
+reflog의 항목 수
+제거할 항목의 인덱스
+이전 항목을 다시 쓸지 여부예요. 기본값은 false예요.
인덱스가 유효하지 않거나 제거에 실패하면 오류를 던져요.
+쓰기 실패 시 오류를 던져요.
+이 reflog 항목의 커미터 서명
+서명에 있는 이메일
+서명에 있는 이름
+epoch 기준으로 초 단위의 시간
+이 reflog 항목의 새 개체 ID(SHA1)
+이 reflog 항목의 이전 개체 ID(SHA1)
+이 reflog 항목의 메시지. 메시지가 없으면 null을 반환해요.
메시지가 유효한 utf-8이 아니면 오류를 throw해요.
+적용할 diff
+적용할 위치
+git_apply의 가능한 적용 위치
<https://libgit2.org/libgit2/#HEAD/type/git_apply_options> 참고
apply에 대한 옵션
+실제로 변경 사항을 만들지 않고 패치가 적용되는지만 테스트해요.
+diff를 적용할 트리
+적용할 diff
+apply에 대한 옵션
+실제로 변경하지 않고, 패치가 적용되는지만 테스트해요.
+적용 결과의 postimage
+체리픽할 커밋
+체리픽 작업을 위한 옵션
+워킹 디렉터리를 업데이트할 때의 체크아웃 동작을 위한 옵션
+안전 모드에서 충돌이 있더라도 체크아웃을 취소하는 대신 안전한 파일 업데이트를 적용할지 여부. 기본값은 false
+충돌에서 공통 조상(ancestor) 쪽의 이름
+충돌에 대해 diff3 형식 파일에 공통 조상 데이터를 포함할지 여부. 기본값은 false
+충돌에 대해 일반 병합(merge) 파일을 작성할지 여부. 기본값은 false
+새 디렉터리를 만들 때 사용할 모드. 기본값은 0755
+CRLF 변환 같은 필터를 적용할지 여부
+path에 지정된 경로를 pathspec이 아닌 정확한 파일 경로로 취급할지 여부
충돌을 확인하되 실제 변경은 하지 않는 드라이 런을 수행할지 여부
+새 파일을 만들 때 사용할 모드. 기본값은 blob에 따라 0644 또는 0755
+수정된 파일을 폐기할 수도 있도록 워킹 디렉터리를 대상과 일치시키는 데 필요한 모든 동작을 수행할지 여부
+충돌에서 공통 our 쪽의 이름
+체크아웃 중 무시된 파일을 덮어쓸지 여부. 기본값은 true
+체크아웃할 경로를 추가해요. disablePathspecMatch가 설정되지 않았다면 이 경로는 <a href="https://git-scm.com/docs/gitglossary.html#Documentation/gitglossary.txt-aiddefpathspecapathspec">pathspec</a> 패턴이에요. 경로를 지정하지 않으면 모든 파일을 체크아웃해요. 그렇지 않으면 지정된 경로만 체크아웃해요.
안전 모드에서 존재하지 않는 파일을 생성할지 여부. 기본값은 false
+작업 전에 디스크에서 인덱스와 git attributes를 새로 고칠지 여부. 기본값은 true
+워킹 디렉터리에서 무시된 파일을 제거할지 여부. 기본값은 false
+워킹 디렉터리에서 추적되지 않은 파일을 제거할지 여부. 기본값은 false
+기존 파일이나 변경 사항을 덮어쓰지 않으면서 새 파일 생성은 허용하는 안전한 방식으로 체크아웃을 수행할지 여부. 기본값
+인덱스에 병합되지 않은 항목이 있는 파일을 건너뛸지 여부. 기본값은 false
+체크아웃할 디렉터리
+충돌에서 공통 their 쪽의 이름
+체크아웃이 업데이트된 파일 정보을 인덱스에 기록하지 못하게 할지 여부. 기본값은 true
+이미 존재하는 파일의 내용만 업데이트할지 여부. 설정하면 파일을 생성하거나 삭제하지 않아요. 기본값은 false
+충돌 시 파일의 stage 2 버전("ours")을 사용해서 체크아웃을 진행할지 여부. 기본값은 false
+충돌 시 파일의 stage 3 버전("theirs")을 사용해서 체크아웃을 진행할지 여부. 기본값은 false
+병합 커밋에 대한 부모 번호(1부터 시작). 병합 커밋을 체리픽할 때 mainline 부모는 체리픽을 가져올 대상으로 선택하는 부모예요. mainline은 병합이 수행된 기준 브랜치
+병합 커밋을 체리픽할 때의 병합 해결을 위한 옵션
+diff3 스타일 파일을 생성할지 여부
+충돌이 발생하면 충돌 해결을 계속 시도하지 않고 즉시 종료할지 여부
+충돌 해결에서 우선할 쪽
+파일 이름 변경을 감지할지 여부
+모든 공백을 무시할지 여부
+공백 양의 변경을 무시할지 여부
+줄 끝의 공백을 무시할지 여부
+최소 diff를 찾기 위해 추가 시간을 사용할지 여부
+병합되는 커밋에 여러 병합 베이스가 있는 경우, 여러 병합 베이스를 병합해 재귀 병합 베이스를 만들지 않고 첫 번째 베이스만 사용할지 여부
+"patience diff" 알고리즘을 사용할지 여부
+크로스 크로스 병합에서 가상 병합 베이스를 만들기 위해 공통 조상을 병합하는 최대 횟수. 이 제한에 도달하면 다음 조상은 병합을 시도하지 않고 그대로 사용해요. 기본값은 무제한
+파일을 이름 변경으로 간주할 유사도(기본값 50)
+단순화된 diff 파일을 위해 영숫자가 아닌 구간을 축약할지 여부
+생성된 인덱스에 REUC 확장을 기록하지 않을지 여부
+표준 충돌 병합 파일을 생성할지 여부
+이름 변경을 검사할 유사도 소스의 최대 개수(기본값 200). 이름 변경 후보(추가/삭제 쌍)의 수가 이 값보다 크면 부정확한 이름 변경 감지를 중단해요. 이 설정은 merge.renameLimit 구성 값을 재정의해요.
커밋이 병합 커밋인데 mainline이 지정되지 않은 경우.
+체리픽 작업 중 충돌이 발생한 경우.
+체리픽할 커밋
+체리픽을 적용할 대상 커밋(보통 HEAD)
+체리픽 커밋이 머지인 경우 사용할 부모(1부터 시작)
+머지 충돌 해결을 위한 옵션
+인덱스 결과
+체리픽 커밋이 머지인데 mainline이 0인 경우예요.
+충돌이 있고 failOnConflict가 true(기본값)인 경우예요.
+속성을 확인할 경로예요. 상대 경로는 리포지토리 루트를 기준으로 해석돼요.
+조회할 속성 이름이에요.
+속성 조회를 위한 옵션이에요.
+작업 디렉터리를 확인한 다음 인덱스를 확인해요.
+인덱스만 확인해요.
+인덱스를 확인한 다음 작업 디렉터리를 확인해요.
+시스템 gitattributes 파일을 사용하지 않아요.
+속성 값의 출력
+조회할 reflog의 대상이 되는 참조 이름(예: "HEAD", "refs/heads/main")
+주어진 참조 이름에 대한 Reflog 인스턴스
+reflog가 존재하지 않거나 열 수 없으면 오류를 던져요.
+삭제할 reflog이 있는 참조의 이름
+삭제에 실패하면 오류를 던져요.
+참조의 이전 이름
+참조의 새 이름
+이름 변경에 실패하면 오류를 던져요.
+서브모듈의 원격 URL
+서브모듈이 생성되어야 하는 경로
+작업 디렉터리에 작업 디렉터리 내의 리포지토리 대신 .git/modules의 리포지토리를 가리키는 gitlink를 포함할지 여부
서브모듈
+구성할 하위 모듈의 이름
+하위 모듈에 사용해야 하는 브랜치
+서브모듈의 이름
+무시 규칙에 대한 새 값
+서브모듈 무시 값
이 값들은 submodule.$name.ignore 구성 값에 대한 설정을 나타내요.
이 구성 값은 서브모듈 상태를 가져올 때 작업 디렉터리를 얼마나 깊게 살펴볼지 알려줘요.
서브모듈의 이름
+사용할 새 값
+서브모듈 업데이트 값
이 값들은 이 서브모듈에 대해 git submodule update를 어떻게 처리할지 말하는 submodule.$name.update 구성 값의 설정을 나타내는 값
이 값은 보통 ".gitmodules" 파일에 설정되고, 서브모듈이 초기화될 때 ".git/config"로 복사되는 값
구성할 하위 모듈의 이름
+하위 모듈에 사용해야 하는 URL
+서브모듈의 이름
+따를 무시 규칙
+서브모듈 ignore 값
이 값들은 submodule.$name.ignore 설정 값에 대한 설정을 나타내며, 서브모듈 상태를 가져올 때 작업 디렉터리를 얼마나 깊게 확인할지 말해요.
SubmoduleStatus 값들의 조합
이 리포지토리에 존재하는 모든 서브모듈 목록
+true이면 인덱스 파일이 즉시 기록되는 것. 그렇지 않으면 나중에 Index에서 write()를 명시적으로 호출해야 하는 것
사용할 옵션
+대상 커밋을 찾을 수 없을 때 서브모듈의 기본 리모트에서 fetch를 허용할지 여부. 기본값: true
이 옵션은 checkout 단계에 전달되는 옵션
+안전 모드에서 충돌이 있더라도 checkout을 취소하는 대신 안전한 파일 업데이트를 적용할지 여부. 기본값: false
+충돌의 공통 조상(ancestor) 측 이름
+충돌에 대해 diff3 형식 파일에 공통 조상 데이터를 포함할지 여부. 기본값: false
+충돌에 대해 일반 merge 파일을 작성할지 여부. 기본값: false
+새 디렉터리를 생성할 때 사용할 모드. 기본값: 0755
+CRLF 변환 같은 필터를 적용할지 여부
+path에 지정된 경로를 pathspec이 아니라 정확한 파일 경로로 취급할지 여부
충돌 여부만 확인하고 실제 변경은 하지 않는 드라이 런으로 checkout을 수행할지 여부
+새 파일을 생성할 때 사용할 모드. 기본값은 blob에 따라 0644 또는 0755
+수정된 파일을 폐기할 수 있는 경우를 포함해 작업 디렉터리가 대상과 일치하도록 필요한 모든 동작을 수행할지 여부
+충돌의 공통 ours 측 이름
+checkout 중에 무시된 파일을 덮어쓸지 여부. 기본값: true
+checkout할 경로 추가. disablePathspecMatch가 설정되지 않았다면 경로는 <a href="https://git-scm.com/docs/gitglossary.html#Documentation/gitglossary.txt-aiddefpathspecapathspec">pathspec</a> 패턴이에요. 경로를 지정하지 않으면 모든 파일을 checkout해요. 그렇지 않으면 지정된 경로만 checkout해요.
안전 모드에서 존재하지 않는 파일을 생성할지 여부. 기본값: false
+작업을 수행하기 전에 디스크에서 인덱스와 git 속성을 새로고침할지 여부. 기본값: true
+작업 디렉터리에서 무시된 파일을 제거할지 여부. 기본값: false
+작업 디렉터리에서 추적되지 않은 파일을 제거할지 여부. 기본값: false
+새 파일은 생성할 수 있지만 기존 파일이나 변경 사항은 덮어쓰지 않도록 안전하게 checkout을 수행할지 여부. 이 값이 기본이에요.
+병합되지 않은 인덱스 엔트리가 있는 파일을 건너뛸지 여부. 기본값: false
+checkout할 디렉터리
+충돌의 공통 theirs 측 이름
+checkout이 업데이트된 파일 정보를 인덱스에 기록하지 못하게 할지 여부. 기본값: true
+이미 존재하는 파일의 내용만 업데이트할지 여부. 설정하면 파일을 생성하거나 삭제하지 않아요. 기본값: false
+충돌 시 스테이지 2 버전("ours")을 사용해 checkout을 진행할지 여부. 기본값: false
+충돌 시 스테이지 3 버전("theirs")을 사용해 checkout을 진행할지 여부. 기본값: false
+콜백을 포함해 fetch를 제어하는 옵션
+libgit2에서 git 자격 증명을 나타내는 인터페이스
+이 fetch 작업에 추가 헤더 설정
+fetch 깊이 설정. 0 이하 값은 모든 항목을 가져오라는 의미로 해석돼요(사실상 깊이 제한을 선언하지 않은 것과 같아요).
+리모트의 태그에 대해 어떻게 동작할지 설정해요(예: 다운로드 중인 개체에 대한 태그를 자동으로 다운로드하거나, 모두 다운로드). 기본값은 태그 자동 추적이에요.
+- Unspecified : 리모트 구성의 설정을 사용
- Auto : 이미 다운로드 중인 개체를 가리키는 태그를 서버에 요청
- None : refspec을 넘어서는 어떤 태그도 요청하지 않음
- All : 모든 태그를 요청
리모트 리디렉션 설정(다른 호스트로의 리디렉션 허용 여부) 설정. 기본적으로 git은 초기 요청(/info/refs)에서는 리디렉션을 따르지만 이후 요청에서는 따르지 않아요.
- None : fetch 또는 push의 어떤 단계에서도 오프사이트 리디렉션을 따르지 않음
- Initial : 초기 요청에서만 오프사이트 리디렉션을 허용. 기본값
- All : fetch 또는 push의 모든 단계에서 리디렉션을 허용
fetch 작업에 사용할 프록시 옵션 설정
+git 구성에서 프록시를 자동 감지하려고 시도해요. 이전에 지정된 url을 덮어써요.
사용할 프록시의 정확한 URL 지정. 이전에 지정된 auto를 덮어써요.
fetch 이후 prune 수행 여부 설정
+- Unspecified : 구성의 설정을 사용
- On : prune을 강제로 켬
- Off : prune을 강제로 끔
작업을 취소하기 위한 선택적 AbortSignal
+새로 생성된 리포지토리 개체
+현재 HEAD 트리에서 서브모듈의 OID
서브모듈에 사용될 ignore 규칙
+서브모듈 ignore 값
이 값들은 submodule.$name.ignore 설정 값에 대한 설정을 나타내며, 서브모듈 상태를 가져올 때 작업 디렉터리를 얼마나 깊게 살펴볼지를 말해요.
인덱스에서 서브모듈의 OID
+기본적으로 기존 항목은 덮어쓰지 않지만, 이를 true로 설정하면 강제로 업데이트되도록 하는 옵션
+작업을 취소하기 위한 선택적 AbortSignal
+작업을 취소하기 위한 선택적 AbortSignal
+리포지토리
+서브모듈의 경로
+이 값이 true이면, 오래된 것처럼 보이지 않더라도 데이터를 다시 로드해요
작업을 취소하기 위한 선택적 AbortSignal
+workdir에 리포지토리를 직접 두는 대신, .git/modules에 있는 리포지토리를 가리키는 gitlink를 workdir에 포함해야 하는지 여부
작업을 취소하기 위한 선택적 AbortSignal
+리포지토리
+작업을 취소하기 위한 선택적 AbortSignal
+서브모듈이 아직 초기화되지 않았으면 먼저 초기화해야 하는지 여부
+업데이트를 위한 구성 옵션
+대상 커밋을 찾지 못했을 때 서브모듈의 기본 원격에서 fetch하는 것을 허용할지 여부. 기본값: true.
이 옵션들은 checkout 단계에 전달되는 옵션
+안전 모드에서 충돌이 있더라도 checkout을 취소하는 대신 안전한 파일 업데이트를 적용할지 여부. 기본값은 false예요.
+충돌에서 공통 조상(ancestor) 측의 이름
+충돌에 대해 diff3 형식 파일에 공통 조상 데이터를 포함할지 여부. 기본값은 false예요.
+충돌에 대해 일반 merge 파일을 작성할지 여부. 기본값은 false예요.
+새 디렉터리를 생성할 때 사용할 모드 설정. 기본값은 0755예요.
+CRLF 변환 같은 필터를 적용할지 여부
+path에 지정된 경로를 pathspec이 아니라 정확한 파일 경로로 처리할지 여부
충돌을 확인하되 실제 변경은 하지 않는 드라이 런으로 checkout을 수행할지 여부
+새 파일을 생성할 때 사용할 모드 설정. 기본값은 blob에 따라 0644 또는 0755예요.
+수정된 파일을 버릴 수도 있도록 작업 디렉터리를 대상과 일치시키기 위해 필요한 모든 작업을 수행할지 여부
+충돌에서 공통 우리(ours) 측의 이름
+checkout 중에 무시된 파일을 덮어쓸지 여부. 기본값은 true예요.
+체크아웃할 경로 추가. disablePathspecMatch가 설정되지 않으면 경로는 <a href="https://git-scm.com/docs/gitglossary.html#Documentation/gitglossary.txt-aiddefpathspecapathspec">pathspec</a> 패턴이에요. 경로를 지정하지 않으면 모든 파일을 체크아웃해요. 그렇지 않으면 지정된 경로들만 체크아웃해요.
안전 모드에서 존재하지 않는 파일을 생성할지 여부. 기본값은 false예요.
+작업을 수행하기 전에 디스크에서 인덱스와 git 속성을 새로 고칠지 여부. 기본값은 true예요.
+작업 디렉터리에서 무시된 파일을 제거할지 여부. 기본값은 false예요.
+작업 디렉터리에서 추적되지 않는 파일을 제거할지 여부. 기본값은 false예요.
+새 파일 생성은 허용하되 기존 파일이나 변경 사항은 덮어쓰지 않는 안전한 방식으로 checkout을 수행할지 여부. 이것이 기본값이에요.
+인덱스 항목이 병합되지 않은 파일을 건너뛸지 여부. 기본값은 false예요.
+체크아웃할 디렉터리 설정
+충돌에서 공통 그들(theirs) 측의 이름
+checkout이 업데이트된 파일 정보을 인덱스에 기록하지 못하게 할지 여부. 기본값은 true예요.
+이미 존재하는 파일의 내용만 업데이트할지 여부. 설정하면 파일이 생성되거나 삭제되지 않아요. 기본값은 false예요.
+충돌 시 파일의 stage 2 버전("ours")을 사용해 checkout을 진행할지 여부. 기본값은 false예요.
+충돌 시 파일의 stage 3 버전("theirs")을 사용해 checkout을 진행할지 여부. 기본값은 false예요.
+콜백을 포함해 fetch를 제어하는 옵션
+libgit2에서 git 자격 증명을 나타내는 인터페이스
+이 fetch 작업에 대한 추가 헤더 설정
+fetch 깊이 설정. 0 이하의 값은 모든 것을 가져오라는 의미로 해석돼요(사실상 깊이 제한을 선언하지 않는 것과 동일해요).
+원격의 태그에 대해 어떻게 동작할지 설정해요. 예를 들어 다운로드 중인 개체에 대한 태그를 자동으로 다운로드할지, 또는 전부 다운로드할지 등을 정해요. 기본값은 태그를 자동으로 따라가는 거예요.
+- Unspecified : 원격 구성의 설정을 사용
- Auto : 이미 다운로드 중인 개체를 가리키는 태그를 서버에 요청
- None : refspecs를 넘는 어떤 태그도 요청하지 않음
- All : 모든 태그를 요청
원격 리다이렉션 설정. 다른 호스트로의 리다이렉트를 허용할지 여부예요. 기본적으로 git은 초기 요청(/info/refs)에서는 리다이렉트를 따르지만, 이후 요청에서는 따르지 않아요.
- None : fetch 또는 push의 어떤 단계에서도 사이트 외부 리다이렉트를 따르지 않음
- Initial : 초기 요청에서만 사이트 외부 리다이렉트를 허용. 이것이 기본값이에요.
- All : fetch 또는 push의 어떤 단계에서도 리다이렉트를 허용
fetch 작업에 사용할 프록시 옵션 설정
+git 구성에서 프록시를 자동 감지해 보세요. 이 설정은 이전에 지정한 url을 덮어써요.
사용할 프록시의 정확한 URL을 지정해요. 이 설정은 이전에 지정한 auto를 덮어써요.
fetch 후 prune을 수행할지 여부 설정
+- Unspecified : 구성의 설정을 사용.
- On : prune을 강제로 켬.
- Off : prune을 강제로 끔
작업을 취소하기 위한 선택적 AbortSignal
+서브모듈에 사용될 업데이트 규칙
+서브모듈 업데이트 값
이 값들은 submodule.$name.update 구성 값에 대한 설정을 나타내며, 이 구성 값은 이 서브모듈에 대해 git submodule update를 어떻게 처리할지 말해요. 값은 보통 ".gitmodules" 파일에 설정되고, 서브모듈이 초기화될 때 ".git/config"로 복사돼요.
서브모듈의 URL. URL이 없으면 null을 반환해요.
현재 작업 디렉터리의 서브모듈에 대한 OID
+소스 상태
+대상 상태
+source 상태에 target 상태가 포함되어 있으면 true를 반환
추적을 설정할 레벨
+사용 가능한 추적 레벨. 추적을 특정 레벨로 설정하면 호출자는 해당 레벨과 그보다 낮은 모든 레벨에서의 추적을 제공받아요.
+추적 데이터와 함께 호출할 콜백
+New object ID (SHA1) for this reflog entry.
+Committer signature for this reflog entry.
+Email on the signature.
+Name on the signature.
+Time in seconds, from epoch
+Optional message for this reflog entry.
+Throws error if the OID is invalid or if appending fails.
+Index of the entry to get.
+Reflog entry at the given index. Returns null if the index is out of bounds.
true if the reflog is empty, false otherwise.
Iterator over the reflog entries.
+Throws error if the reflog cannot be accessed.
+Number of entries in the reflog.
+Index of the entry to remove.
+Whether to rewrite the previous entry. Defaults to false.
Throws error if the index is invalid or if removal fails.
+Throws error if writing fails.
+Committer signature of this reflog entry.
+Email on the signature.
+Name on the signature.
+Time in seconds, from epoch
+New object ID (SHA1) of this reflog entry.
+Old object ID (SHA1) of this reflog entry.
+Message of this reflog entry. Returns null if no message is present.
Throws error if the message is not valid utf-8.
+The diff to apply
+The location to apply
+Possible application locations for git_apply
see <https://libgit2.org/libgit2/#HEAD/type/git_apply_options>
The options for the apply
+Don't actually make changes, just test that the patch applies.
+The tree to apply the diff to
+The diff to apply
+The options for the apply
+Don't actually make changes, just test that the patch applies.
+The postimage of the application
+The commit to cherrypick.
+Options for the cherrypick operation.
+Options for checkout behavior when updating working directory.
+In safe mode, apply safe file updates even when there are conflicts instead of canceling the checkout. Defaults to false.
+The name of the common ancestor side of conflicts
+Indicates whether to include common ancestor data in diff3 format files for conflicts. Defaults to false.
+Indicate whether a normal merge file should be written for conflicts. Defaults to false.
+Set the mode with which new directories are created. Default is 0755
+Indicate whether to apply filters like CRLF conversion.
+Treat paths specified in path as exact file paths instead of as pathspecs.
Indicate that this checkout should perform a dry run by checking for conflicts but not make any actual changes.
+Set the mode with which new files are created. The default is 0644 or 0755 as dictated by the blob.
+Take any action necessary to get the working directory to match the target including potentially discarding modified files.
+The name of the common our side of conflicts
+Indicate whether ignored files should be overwritten during the checkout. Defaults to true.
+Add a path to be checked out. The path is a <a href="https://git-scm.com/docs/gitglossary.html#Documentation/gitglossary.txt-aiddefpathspecapathspec">pathspec</a> pattern, unless disablePathspecMatch is set. If no paths are specified, then all files are checked out. Otherwise only these specified paths are checked out.
In safe mode, create files that don't exist. Defaults to false.
+Indicate whether the index and git attributes should be refreshed from disk before any operations. Defaults to true,
+Remove ignored files from the working dir. Defaults to false.
+Remove untracked files from the working dir. Defaults to false.
+Indicate that the checkout should be performed safely, allowing new files to be created but not overwriting existing files or changes. This is the default.
+Skip files with unmerged index entries. Defaults to false.
+Set the directory to check out to
+The name of the common their side of conflicts
+Prevents checkout from writing the updated files' information to the index. Defaults to true.
+Only update the contents of files that already exist. If set, files will not be created or deleted. Defaults to false.
+Indicate whether the checkout should proceed on conflicts by using the stage 2 version of the file ("ours"). Defaults to false.
+Indicate whether the checkout should proceed on conflicts by using the stage 3 version of the file ("theirs"). Defaults to false.
+Parent number for merge commits (1-based). When cherrypicking a merge commit, the mainline parent is the one you want to cherrypick from. The mainline is the branch from which the merge was made.
+Options for merge resolution when cherrypicking a merge commit.
+Create diff3-style file
+If a conflict occurs, exit immediately instead of attempting to continue resolving conflicts
+Specify a side to favor for resolving conflicts
+Detect file renames
+Ignore all whitespace
+Ignore changes in amount of whitespace
+Ignore whitespace at end of line
+Take extra time to find minimal diff
+If the commits being merged have multiple merge bases, do not build a recursive merge base (by merging the multiple merge bases), instead simply use the first base.
+Use the "patience diff" algorithm
+Maximum number of times to merge common ancestors to build a virtual merge base when faced with criss-cross merges. When this limit is reached, the next ancestor will simply be used instead of attempting to merge it. The default is unlimited.
+Similarity to consider a file renamed (default 50)
+Condense non-alphanumeric regions for simplified diff file
+Do not write the REUC extension on the generated index
+Create standard conflicted merge files
+Maximum similarity sources to examine for renames (default 200). If the number of rename candidates (add / delete pairs) is greater than this value, inexact rename detection is aborted. This setting overrides the merge.renameLimit configuration value.
If the commit is a merge commit and no mainline is specified.
+If there are conflicts during the cherrypick operation.
+The commit to cherrypick.
+The commit to cherrypick against (usually HEAD).
+The parent of the cherrypick commit, if it is a merge (1-based).
+Options for merge conflict resolution.
+Create diff3-style file
+If a conflict occurs, exit immediately instead of attempting to continue resolving conflicts
+Specify a side to favor for resolving conflicts
+Detect file renames
+Ignore all whitespace
+Ignore changes in amount of whitespace
+Ignore whitespace at end of line
+Take extra time to find minimal diff
+If the commits being merged have multiple merge bases, do not build a recursive merge base (by merging the multiple merge bases), instead simply use the first base.
+Use the "patience diff" algorithm
+Maximum number of times to merge common ancestors to build a virtual merge base when faced with criss-cross merges. When this limit is reached, the next ancestor will simply be used instead of attempting to merge it. The default is unlimited.
+Similarity to consider a file renamed (default 50)
+Condense non-alphanumeric regions for simplified diff file
+Do not write the REUC extension on the generated index
+Create standard conflicted merge files
+Maximum similarity sources to examine for renames (default 200). If the number of rename candidates (add / delete pairs) is greater than this value, inexact rename detection is aborted. This setting overrides the merge.renameLimit configuration value.
The index result.
+If the cherrypick commit is a merge and mainline is 0.
+If there are conflicts and failOnConflict is true (default).
+The path to check for attributes. Relative paths are interpreted relative to the repo root.
+The name of the attribute to look up.
+Options for attribute lookup.
+Check the working directory, then the index.
+Check the index only.
+Check the index, then the working directory.
+Do not use the system gitattributes file.
+Output of the value of the attribute.
+Name of the reference whose reflog to lookup (e.g., "HEAD", "refs/heads/main").
+Reflog instance for the given reference name.
+Throws error if the reflog does not exist or cannot be opened.
+Name of the reference whose reflog to delete.
+Throws error if deletion fails.
+Old name of the reference.
+New name of the reference.
+Throws error if renaming fails.
+URL for the submodule's remote.
+Path at which the submodule should be created.
+Should workdir contain a gitlink to the repo in .git/modules vs. repo directly in workdir.
The submodule.
+The name of the submodule to configure.
+Branch that should be used for the submodule
+The name of the submodule.
+The new value for the ignore rule.
+Submodule ignore values
These values represent settings for the submodule.$name.ignore
configuration value which says how deeply to look at the working
directory when getting the submodule status.
The name of the submodule.
+The new value to use.
+Submodule update values
These values represent settings for the submodule.$name.update
configuration value which says how to handle git submodule update
for this submodule. The value is usually set in the ".gitmodules"
file and copied to ".git/config" when the submodule is initialized.
The name of the submodule to configure.
+URL that should be used for the submodule.
+The name of the submodule.
+The ignore rules to follow.
+Submodule ignore values
These values represent settings for the submodule.$name.ignore
configuration value which says how deeply to look at the working
directory when getting the submodule status.
The combination of the SubmoduleStatus values.
for this repository.
+If is true, then the index file will be immediately written. Otherwise, you must explicitly call write() on an Index later on.
The options to use.
+Allow fetching from the submodule's default remote if the target commit isn't found. Default: true.
These options are passed to the checkout step.
+In safe mode, apply safe file updates even when there are conflicts instead of canceling the checkout. Defaults to false.
+The name of the common ancestor side of conflicts
+Indicates whether to include common ancestor data in diff3 format files for conflicts. Defaults to false.
+Indicate whether a normal merge file should be written for conflicts. Defaults to false.
+Set the mode with which new directories are created. Default is 0755
+Indicate whether to apply filters like CRLF conversion.
+Treat paths specified in path as exact file paths instead of as pathspecs.
Indicate that this checkout should perform a dry run by checking for conflicts but not make any actual changes.
+Set the mode with which new files are created. The default is 0644 or 0755 as dictated by the blob.
+Take any action necessary to get the working directory to match the target including potentially discarding modified files.
+The name of the common our side of conflicts
+Indicate whether ignored files should be overwritten during the checkout. Defaults to true.
+Add a path to be checked out. The path is a <a href="https://git-scm.com/docs/gitglossary.html#Documentation/gitglossary.txt-aiddefpathspecapathspec">pathspec</a> pattern, unless disablePathspecMatch is set. If no paths are specified, then all files are checked out. Otherwise only these specified paths are checked out.
In safe mode, create files that don't exist. Defaults to false.
+Indicate whether the index and git attributes should be refreshed from disk before any operations. Defaults to true,
+Remove ignored files from the working dir. Defaults to false.
+Remove untracked files from the working dir. Defaults to false.
+Indicate that the checkout should be performed safely, allowing new files to be created but not overwriting existing files or changes. This is the default.
+Skip files with unmerged index entries. Defaults to false.
+Set the directory to check out to
+The name of the common their side of conflicts
+Prevents checkout from writing the updated files' information to the index. Defaults to true.
+Only update the contents of files that already exist. If set, files will not be created or deleted. Defaults to false.
+Indicate whether the checkout should proceed on conflicts by using the stage 2 version of the file ("ours"). Defaults to false.
+Indicate whether the checkout should proceed on conflicts by using the stage 3 version of the file ("theirs"). Defaults to false.
+Options which control the fetch, including callbacks.
+A interface to represent git credentials in libgit2.
+Set extra headers for this fetch operation.
+Set fetch depth, a value less or equal to 0 is interpreted as pull everything (effectively the same as not declaring a limit depth).
+Set how to behave regarding tags on the remote, such as auto-downloading tags for objects we're downloading or downloading all of them. The default is to auto-follow tags.
+- Unspecified : Use the setting from the remote's configuration
- Auto : Ask the server for tags pointing to objects we're already downloading
- None : Don't ask for any tags beyond the refspecs
- All : Ask for all the tags
Set remote redirection settings; whether redirects to another host are permitted. By default, git will follow a redirect on the initial request (/info/refs), but not subsequent requests.
- None : Do not follow any off-site redirects at any stage of the fetch or push.
- Initial : Allow off-site redirects only upon the initial request. This is the default.
- All : Allow redirects at any stage in the fetch or push.
Set the proxy options to use for the fetch operation.
+Try to auto-detect the proxy from the git configuration. Note that this will override url specified before.
Specify the exact URL of the proxy to use. Note that this will override auto specified before.
Set whether to perform a prune after the fetch.
+- Unspecified : Use the setting from the configuration.
- On : Force pruning on.
- Off : Force pruning off
Optional AbortSignal to cancel the operation.
+The newly created repository object.
+The OID for the submodule in the current HEAD tree.
The ignore rule that will be used for the submodule.
+Submodule ignore values
These values represent settings for the submodule.$name.ignore
configuration value which says how deeply to look at the working
directory when getting the submodule status.
The OID for the submodule in the index.
+By default, existing entries will not be overwritten, but setting this to true forces them to be updated.
+Optional AbortSignal to cancel the operation.
+Optional AbortSignal to cancel the operation.
+The repository.
+The path for the submodule.
+If this is true, then data will be reloaded even if it doesn't seem out of date.
Optional AbortSignal to cancel the operation.
+Should the workdir contain a gitlink to the repo in .git/modules vs. repo directly in workdir.
Optional AbortSignal to cancel the operation.
+The repository.
+Optional AbortSignal to cancel the operation.
+Indicates if the submodule should be initialized first if it has not been initialized yet.
+Configuration options for the update.
+Allow fetching from the submodule's default remote if the target commit isn't found. Default: true.
These options are passed to the checkout step.
+In safe mode, apply safe file updates even when there are conflicts instead of canceling the checkout. Defaults to false.
+The name of the common ancestor side of conflicts
+Indicates whether to include common ancestor data in diff3 format files for conflicts. Defaults to false.
+Indicate whether a normal merge file should be written for conflicts. Defaults to false.
+Set the mode with which new directories are created. Default is 0755
+Indicate whether to apply filters like CRLF conversion.
+Treat paths specified in path as exact file paths instead of as pathspecs.
Indicate that this checkout should perform a dry run by checking for conflicts but not make any actual changes.
+Set the mode with which new files are created. The default is 0644 or 0755 as dictated by the blob.
+Take any action necessary to get the working directory to match the target including potentially discarding modified files.
+The name of the common our side of conflicts
+Indicate whether ignored files should be overwritten during the checkout. Defaults to true.
+Add a path to be checked out. The path is a <a href="https://git-scm.com/docs/gitglossary.html#Documentation/gitglossary.txt-aiddefpathspecapathspec">pathspec</a> pattern, unless disablePathspecMatch is set. If no paths are specified, then all files are checked out. Otherwise only these specified paths are checked out.
In safe mode, create files that don't exist. Defaults to false.
+Indicate whether the index and git attributes should be refreshed from disk before any operations. Defaults to true,
+Remove ignored files from the working dir. Defaults to false.
+Remove untracked files from the working dir. Defaults to false.
+Indicate that the checkout should be performed safely, allowing new files to be created but not overwriting existing files or changes. This is the default.
+Skip files with unmerged index entries. Defaults to false.
+Set the directory to check out to
+The name of the common their side of conflicts
+Prevents checkout from writing the updated files' information to the index. Defaults to true.
+Only update the contents of files that already exist. If set, files will not be created or deleted. Defaults to false.
+Indicate whether the checkout should proceed on conflicts by using the stage 2 version of the file ("ours"). Defaults to false.
+Indicate whether the checkout should proceed on conflicts by using the stage 3 version of the file ("theirs"). Defaults to false.
+Options which control the fetch, including callbacks.
+A interface to represent git credentials in libgit2.
+Set extra headers for this fetch operation.
+Set fetch depth, a value less or equal to 0 is interpreted as pull everything (effectively the same as not declaring a limit depth).
+Set how to behave regarding tags on the remote, such as auto-downloading tags for objects we're downloading or downloading all of them. The default is to auto-follow tags.
+- Unspecified : Use the setting from the remote's configuration
- Auto : Ask the server for tags pointing to objects we're already downloading
- None : Don't ask for any tags beyond the refspecs
- All : Ask for all the tags
Set remote redirection settings; whether redirects to another host are permitted. By default, git will follow a redirect on the initial request (/info/refs), but not subsequent requests.
- None : Do not follow any off-site redirects at any stage of the fetch or push.
- Initial : Allow off-site redirects only upon the initial request. This is the default.
- All : Allow redirects at any stage in the fetch or push.
Set the proxy options to use for the fetch operation.
+Try to auto-detect the proxy from the git configuration. Note that this will override url specified before.
Specify the exact URL of the proxy to use. Note that this will override auto specified before.
Set whether to perform a prune after the fetch.
+- Unspecified : Use the setting from the configuration.
- On : Force pruning on.
- Off : Force pruning off
Optional AbortSignal to cancel the operation.
+The update rule that will be used for the submodule.
+Submodule update values
These values represent settings for the submodule.$name.update
configuration value which says how to handle git submodule update
for this submodule. The value is usually set in the ".gitmodules"
file and copied to ".git/config" when the submodule is initialized.
The URL of the submodule. Returns null if the URL isn't present.
The OID for the submodule in the current working directory.
+Source status.
+Target status.
+Returns true is source status contains target status.
Level to set tracing to
+Available tracing levels. When tracing is set to a particular level,
callers will be provided tracing at the given level and all lower levels.
Callback to call with trace data
+