itdoxy-lab/vendor/gopkg.in/src-d/go-git.v4/COMPATIBILITY.md

5.4 KiB

Supported Capabilities

Here is a non-comprehensive table of git commands and features whose equivalent is supported by go-git.

Feature Status Notes
config
config βœ” Reading and modifying per-repository configuration (.git/config) is supported. Global configuration ($HOME/.gitconfig) is not.
getting and creating repositories
init βœ” Plain init and --bare are supported. Flags --template, --separate-git-dir and --shared are not.
clone βœ” Plain clone and equivalents to --progress, --single-branch, --depth, --origin, --recurse-submodules are supported. Others are not.
basic snapshotting
add βœ” Plain add is supported. Any other flag aren't supported
status βœ”
commit βœ”
reset βœ”
rm βœ”
mv βœ”
branching and merging
branch βœ”
checkout βœ” Basic usages of checkout are supported.
merge βœ–
mergetool βœ–
stash βœ–
tag βœ”
sharing and updating projects
fetch βœ”
pull βœ” Only supports merges where the merge can be resolved as a fast-forward.
push βœ”
remote βœ”
submodule βœ”
inspection and comparison
show βœ”
log βœ”
shortlog (see log)
describe
patching
apply βœ–
cherry-pick βœ–
diff βœ” Patch object with UnifiedDiff output representation
rebase βœ–
revert βœ–
debugging
bisect βœ–
blame βœ”
grep βœ”
email
am βœ–
apply βœ–
format-patch βœ–
send-email βœ–
request-pull βœ–
external systems
svn βœ–
fast-import βœ–
administration
clean βœ”
gc βœ–
fsck βœ–
reflog βœ–
filter-branch βœ–
instaweb βœ–
archive βœ–
bundle βœ–
prune βœ–
repack βœ–
server admin
daemon
update-server-info
advanced
notes βœ–
replace βœ–
worktree βœ–
annotate (see blame)
gpg
git-verify-commit βœ”
git-verify-tag βœ”
plumbing commands
cat-file βœ”
check-ignore
commit-tree
count-objects
diff-index
for-each-ref βœ”
hash-object βœ”
ls-files βœ”
merge-base βœ” Calculates the merge-base only between two commits, and supports --independent and --is-ancestor modifiers; Does not support --fork-point nor --octopus modifiers.
read-tree
rev-list βœ”
rev-parse
show-ref βœ”
symbolic-ref βœ”
update-index
update-ref
verify-pack
write-tree
protocols
http(s):// (dumb) βœ–
http(s):// (smart) βœ”
git:// βœ”
ssh:// βœ”
file:// βœ”
custom βœ”
other features
gitignore βœ”
gitattributes βœ–
index version
packfile version
push-certs βœ–