git_cli v0.2.5 Git View Source
Link to this section Summary
Functions
Run git add in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as add/2 but raises an exception on error
Run git add--interactive in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as add__interactive/2 but raises an exception on error
Run git am in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as am/2 but raises an exception on error
Run git annotate in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as annotate/2 but raises an exception on error
Run git archimport in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as archimport/2 but raises an exception on error
Run git archive in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as archive/2 but raises an exception on error
Run git bisect in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as bisect/2 but raises an exception on error
Run git bisect--helper in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as bisect__helper/2 but raises an exception on error
Run git blame in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as blame/2 but raises an exception on error
Run git branch in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as branch/2 but raises an exception on error
Run git bundle in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as bundle/2 but raises an exception on error
Run git cat-file in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as cat_file/2 but raises an exception on error
Run git check-attr in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as check_attr/2 but raises an exception on error
Run git check-ignore in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as check_ignore/2 but raises an exception on error
Run git check-mailmap in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as check_mailmap/2 but raises an exception on error
Run git check-ref-format in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as check_ref_format/2 but raises an exception on error
Run git checkout in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as checkout/2 but raises an exception on error
Run git checkout-index in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as checkout_index/2 but raises an exception on error
Run git cherry in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as cherry/2 but raises an exception on error
Run git cherry-pick in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as cherry_pick/2 but raises an exception on error
Run git citool in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as citool/2 but raises an exception on error
Run git clean in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as clean/2 but raises an exception on error
Clones the repository. The first argument can be url or [url, path].
Returns {:ok, repository} on success and {:error, reason} on failure
Same as clone/1 but raise an exception on failure
Run git column in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as column/2 but raises an exception on error
Run git commit in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as commit/2 but raises an exception on error
Run git commit-tree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as commit_tree/2 but raises an exception on error
Run git config in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as config/2 but raises an exception on error
Run git count-objects in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as count_objects/2 but raises an exception on error
Run git credential in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as credential/2 but raises an exception on error
Run git credential-cache in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as credential_cache/2 but raises an exception on error
Run git credential-cache--daemon in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as credential_cache__daemon/2 but raises an exception on error
Run git credential-gnome-keyring in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as credential_gnome_keyring/2 but raises an exception on error
Run git credential-store in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as credential_store/2 but raises an exception on error
Run git cvsexportcommit in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as cvsexportcommit/2 but raises an exception on error
Run git cvsimport in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as cvsimport/2 but raises an exception on error
Run git cvsserver in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as cvsserver/2 but raises an exception on error
Run git daemon in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as daemon/2 but raises an exception on error
Run git describe in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as describe/2 but raises an exception on error
Run git diff in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as diff/2 but raises an exception on error
Run git diff-files in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as diff_files/2 but raises an exception on error
Run git diff-index in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as diff_index/2 but raises an exception on error
Run git diff-tree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as diff_tree/2 but raises an exception on error
Run git difftool in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as difftool/2 but raises an exception on error
Run git difftool--helper in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as difftool__helper/2 but raises an exception on error
Execute the git command in the given repository
Run git fast-export in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as fast_export/2 but raises an exception on error
Run git fast-import in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as fast_import/2 but raises an exception on error
Run git fetch in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as fetch/2 but raises an exception on error
Run git fetch-pack in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as fetch_pack/2 but raises an exception on error
Run git filter-branch in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as filter_branch/2 but raises an exception on error
Run git fmt-merge-msg in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as fmt_merge_msg/2 but raises an exception on error
Run git for-each-ref in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as for_each_ref/2 but raises an exception on error
Run git format-patch in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as format_patch/2 but raises an exception on error
Run git fsck in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as fsck/2 but raises an exception on error
Run git fsck-objects in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as fsck_objects/2 but raises an exception on error
Run git gc in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as gc/2 but raises an exception on error
Run git get-tar-commit-id in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as get_tar_commit_id/2 but raises an exception on error
Run git grep in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as grep/2 but raises an exception on error
Run git gui in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as gui/2 but raises an exception on error
Run git gui--askpass in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as gui__askpass/2 but raises an exception on error
Run git hash-object in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as hash_object/2 but raises an exception on error
Run git help in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as help/2 but raises an exception on error
Run git http-backend in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as http_backend/2 but raises an exception on error
Run git http-fetch in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as http_fetch/2 but raises an exception on error
Run git http-push in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as http_push/2 but raises an exception on error
Run git imap-send in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as imap_send/2 but raises an exception on error
Run git index-pack in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as index_pack/2 but raises an exception on error
Run git init in the given directory
Returns {:ok, repository} on success and {:error, reason} on failure
Run git init-db in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as init_db/2 but raises an exception on error
Run git instaweb in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as instaweb/2 but raises an exception on error
Run git interpret-trailers in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as interpret_trailers/2 but raises an exception on error
Run git log in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as log/2 but raises an exception on error
Run git ls-files in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as ls_files/2 but raises an exception on error
Run git ls-remote in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as ls_remote/2 but raises an exception on error
Run git ls-tree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as ls_tree/2 but raises an exception on error
Run git mailinfo in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as mailinfo/2 but raises an exception on error
Run git mailsplit in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as mailsplit/2 but raises an exception on error
Run git merge in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as merge/2 but raises an exception on error
Run git merge-base in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as merge_base/2 but raises an exception on error
Run git merge-file in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as merge_file/2 but raises an exception on error
Run git merge-index in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as merge_index/2 but raises an exception on error
Run git merge-octopus in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as merge_octopus/2 but raises an exception on error
Run git merge-one-file in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as merge_one_file/2 but raises an exception on error
Run git merge-ours in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as merge_ours/2 but raises an exception on error
Run git merge-recursive in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as merge_recursive/2 but raises an exception on error
Run git merge-resolve in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as merge_resolve/2 but raises an exception on error
Run git merge-subtree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as merge_subtree/2 but raises an exception on error
Run git merge-tree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as merge_tree/2 but raises an exception on error
Run git mergetool in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as mergetool/2 but raises an exception on error
Run git mktag in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as mktag/2 but raises an exception on error
Run git mktree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as mktree/2 but raises an exception on error
Run git mv in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as mv/2 but raises an exception on error
Run git name-rev in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as name_rev/2 but raises an exception on error
Return a Git.Repository struct with the specified or defaulted path. For use with an existing repo (when Git.init and Git.clone would not be appropriate)
Run git notes in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as notes/2 but raises an exception on error
Run git p4 in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as p4/2 but raises an exception on error
Run git pack-objects in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as pack_objects/2 but raises an exception on error
Run git pack-redundant in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as pack_redundant/2 but raises an exception on error
Run git pack-refs in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as pack_refs/2 but raises an exception on error
Run git patch-id in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as patch_id/2 but raises an exception on error
Run git prune in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as prune/2 but raises an exception on error
Run git prune-packed in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as prune_packed/2 but raises an exception on error
Run git pull in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as pull/2 but raises an exception on error
Run git push in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as push/2 but raises an exception on error
Run git quiltimport in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as quiltimport/2 but raises an exception on error
Run git read-tree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as read_tree/2 but raises an exception on error
Run git rebase in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as rebase/2 but raises an exception on error
Run git receive-pack in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as receive_pack/2 but raises an exception on error
Run git reflog in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as reflog/2 but raises an exception on error
Run git relink in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as relink/2 but raises an exception on error
Run git remote in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as remote/2 but raises an exception on error
Run git remote-ext in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as remote_ext/2 but raises an exception on error
Run git remote-fd in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as remote_fd/2 but raises an exception on error
Run git remote-ftp in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as remote_ftp/2 but raises an exception on error
Run git remote-ftps in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as remote_ftps/2 but raises an exception on error
Run git remote-http in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as remote_http/2 but raises an exception on error
Run git remote-https in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as remote_https/2 but raises an exception on error
Run git remote-testsvn in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as remote_testsvn/2 but raises an exception on error
Run git repack in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as repack/2 but raises an exception on error
Run git replace in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as replace/2 but raises an exception on error
Run git request-pull in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as request_pull/2 but raises an exception on error
Run git rerere in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as rerere/2 but raises an exception on error
Run git reset in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as reset/2 but raises an exception on error
Run git rev-list in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as rev_list/2 but raises an exception on error
Run git rev-parse in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as rev_parse/2 but raises an exception on error
Run git revert in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as revert/2 but raises an exception on error
Run git rm in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as rm/2 but raises an exception on error
Run git send-email in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as send_email/2 but raises an exception on error
Run git send-pack in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as send_pack/2 but raises an exception on error
Run git sh-i18n--envsubst in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as sh_i18n__envsubst/2 but raises an exception on error
Run git shell in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as shell/2 but raises an exception on error
Run git shortlog in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as shortlog/2 but raises an exception on error
Run git show in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as show/2 but raises an exception on error
Run git show-branch in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as show_branch/2 but raises an exception on error
Run git show-index in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as show_index/2 but raises an exception on error
Run git show-ref in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as show_ref/2 but raises an exception on error
Run git stage in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as stage/2 but raises an exception on error
Run git stash in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as stash/2 but raises an exception on error
Run git status in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as status/2 but raises an exception on error
Run git stripspace in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as stripspace/2 but raises an exception on error
Run git submodule in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as submodule/2 but raises an exception on error
Run git subtree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as subtree/2 but raises an exception on error
Run git svn in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as svn/2 but raises an exception on error
Run git symbolic-ref in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as symbolic_ref/2 but raises an exception on error
Run git tag in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as tag/2 but raises an exception on error
Run git unpack-file in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as unpack_file/2 but raises an exception on error
Run git unpack-objects in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as unpack_objects/2 but raises an exception on error
Run git update-index in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as update_index/2 but raises an exception on error
Run git update-ref in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as update_ref/2 but raises an exception on error
Run git update-server-info in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as update_server_info/2 but raises an exception on error
Run git upload-archive in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as upload_archive/2 but raises an exception on error
Run git upload-pack in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as upload_pack/2 but raises an exception on error
Run git var in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as var/2 but raises an exception on error
Run git verify-commit in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as verify_commit/2 but raises an exception on error
Run git verify-pack in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as verify_pack/2 but raises an exception on error
Run git verify-tag in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as verify_tag/2 but raises an exception on error
Run git web--browse in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as web__browse/2 but raises an exception on error
Run git whatchanged in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as whatchanged/2 but raises an exception on error
Run git worktree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as worktree/2 but raises an exception on error
Run git write-tree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure
Same as write_tree/2 but raises an exception on error
Link to this section Types
Link to this section Functions
add(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git add in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
add!(Git.Repository.t, cli_arg) :: binary | no_return
Same as add/2 but raises an exception on error.
add__interactive(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git add--interactive in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
add__interactive!(Git.Repository.t, cli_arg) :: binary | no_return
Same as add__interactive/2 but raises an exception on error.
am(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git am in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
am!(Git.Repository.t, cli_arg) :: binary | no_return
Same as am/2 but raises an exception on error.
annotate(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git annotate in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
annotate!(Git.Repository.t, cli_arg) :: binary | no_return
Same as annotate/2 but raises an exception on error.
archimport(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git archimport in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
archimport!(Git.Repository.t, cli_arg) :: binary | no_return
Same as archimport/2 but raises an exception on error.
archive(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git archive in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
archive!(Git.Repository.t, cli_arg) :: binary | no_return
Same as archive/2 but raises an exception on error.
bisect(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git bisect in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
bisect!(Git.Repository.t, cli_arg) :: binary | no_return
Same as bisect/2 but raises an exception on error.
bisect__helper(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git bisect--helper in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
bisect__helper!(Git.Repository.t, cli_arg) :: binary | no_return
Same as bisect__helper/2 but raises an exception on error.
blame(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git blame in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
blame!(Git.Repository.t, cli_arg) :: binary | no_return
Same as blame/2 but raises an exception on error.
branch(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git branch in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
branch!(Git.Repository.t, cli_arg) :: binary | no_return
Same as branch/2 but raises an exception on error.
bundle(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git bundle in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
bundle!(Git.Repository.t, cli_arg) :: binary | no_return
Same as bundle/2 but raises an exception on error.
cat_file(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git cat-file in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
cat_file!(Git.Repository.t, cli_arg) :: binary | no_return
Same as cat_file/2 but raises an exception on error.
check_attr(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git check-attr in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
check_attr!(Git.Repository.t, cli_arg) :: binary | no_return
Same as check_attr/2 but raises an exception on error.
check_ignore(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git check-ignore in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
check_ignore!(Git.Repository.t, cli_arg) :: binary | no_return
Same as check_ignore/2 but raises an exception on error.
check_mailmap(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git check-mailmap in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
check_mailmap!(Git.Repository.t, cli_arg) :: binary | no_return
Same as check_mailmap/2 but raises an exception on error.
check_ref_format(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git check-ref-format in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
check_ref_format!(Git.Repository.t, cli_arg) :: binary | no_return
Same as check_ref_format/2 but raises an exception on error.
checkout(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git checkout in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
checkout!(Git.Repository.t, cli_arg) :: binary | no_return
Same as checkout/2 but raises an exception on error.
checkout_index(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git checkout-index in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
checkout_index!(Git.Repository.t, cli_arg) :: binary | no_return
Same as checkout_index/2 but raises an exception on error.
cherry(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git cherry in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
cherry!(Git.Repository.t, cli_arg) :: binary | no_return
Same as cherry/2 but raises an exception on error.
cherry_pick(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git cherry-pick in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
cherry_pick!(Git.Repository.t, cli_arg) :: binary | no_return
Same as cherry_pick/2 but raises an exception on error.
citool(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git citool in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
citool!(Git.Repository.t, cli_arg) :: binary | no_return
Same as citool/2 but raises an exception on error.
clean(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git clean in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
clean!(Git.Repository.t, cli_arg) :: binary | no_return
Same as clean/2 but raises an exception on error.
Clones the repository. The first argument can be url or [url, path].
Returns {:ok, repository} on success and {:error, reason} on failure.
Same as clone/1 but raise an exception on failure.
column(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git column in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
column!(Git.Repository.t, cli_arg) :: binary | no_return
Same as column/2 but raises an exception on error.
commit(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git commit in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
commit!(Git.Repository.t, cli_arg) :: binary | no_return
Same as commit/2 but raises an exception on error.
commit_tree(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git commit-tree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
commit_tree!(Git.Repository.t, cli_arg) :: binary | no_return
Same as commit_tree/2 but raises an exception on error.
config(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git config in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
config!(Git.Repository.t, cli_arg) :: binary | no_return
Same as config/2 but raises an exception on error.
count_objects(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git count-objects in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
count_objects!(Git.Repository.t, cli_arg) :: binary | no_return
Same as count_objects/2 but raises an exception on error.
credential(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git credential in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
credential!(Git.Repository.t, cli_arg) :: binary | no_return
Same as credential/2 but raises an exception on error.
credential_cache(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git credential-cache in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
credential_cache!(Git.Repository.t, cli_arg) :: binary | no_return
Same as credential_cache/2 but raises an exception on error.
credential_cache__daemon(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git credential-cache--daemon in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
credential_cache__daemon!(Git.Repository.t, cli_arg) :: binary | no_return
Same as credential_cache__daemon/2 but raises an exception on error.
credential_gnome_keyring(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git credential-gnome-keyring in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
credential_gnome_keyring!(Git.Repository.t, cli_arg) :: binary | no_return
Same as credential_gnome_keyring/2 but raises an exception on error.
credential_store(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git credential-store in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
credential_store!(Git.Repository.t, cli_arg) :: binary | no_return
Same as credential_store/2 but raises an exception on error.
cvsexportcommit(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git cvsexportcommit in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
cvsexportcommit!(Git.Repository.t, cli_arg) :: binary | no_return
Same as cvsexportcommit/2 but raises an exception on error.
cvsimport(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git cvsimport in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
cvsimport!(Git.Repository.t, cli_arg) :: binary | no_return
Same as cvsimport/2 but raises an exception on error.
cvsserver(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git cvsserver in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
cvsserver!(Git.Repository.t, cli_arg) :: binary | no_return
Same as cvsserver/2 but raises an exception on error.
daemon(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git daemon in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
daemon!(Git.Repository.t, cli_arg) :: binary | no_return
Same as daemon/2 but raises an exception on error.
describe(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git describe in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
describe!(Git.Repository.t, cli_arg) :: binary | no_return
Same as describe/2 but raises an exception on error.
diff(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git diff in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
diff!(Git.Repository.t, cli_arg) :: binary | no_return
Same as diff/2 but raises an exception on error.
diff_files(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git diff-files in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
diff_files!(Git.Repository.t, cli_arg) :: binary | no_return
Same as diff_files/2 but raises an exception on error.
diff_index(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git diff-index in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
diff_index!(Git.Repository.t, cli_arg) :: binary | no_return
Same as diff_index/2 but raises an exception on error.
diff_tree(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git diff-tree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
diff_tree!(Git.Repository.t, cli_arg) :: binary | no_return
Same as diff_tree/2 but raises an exception on error.
difftool(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git difftool in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
difftool!(Git.Repository.t, cli_arg) :: binary | no_return
Same as difftool/2 but raises an exception on error.
difftool__helper(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git difftool--helper in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
difftool__helper!(Git.Repository.t, cli_arg) :: binary | no_return
Same as difftool__helper/2 but raises an exception on error.
execute_command(Git.Repository.t | nil, String.t, cli_arg, (String.t -> {:ok, any} | error)) :: {:ok, any} | {:error, any}
Execute the git command in the given repository.
fast_export(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git fast-export in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
fast_export!(Git.Repository.t, cli_arg) :: binary | no_return
Same as fast_export/2 but raises an exception on error.
fast_import(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git fast-import in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
fast_import!(Git.Repository.t, cli_arg) :: binary | no_return
Same as fast_import/2 but raises an exception on error.
fetch(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git fetch in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
fetch!(Git.Repository.t, cli_arg) :: binary | no_return
Same as fetch/2 but raises an exception on error.
fetch_pack(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git fetch-pack in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
fetch_pack!(Git.Repository.t, cli_arg) :: binary | no_return
Same as fetch_pack/2 but raises an exception on error.
filter_branch(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git filter-branch in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
filter_branch!(Git.Repository.t, cli_arg) :: binary | no_return
Same as filter_branch/2 but raises an exception on error.
fmt_merge_msg(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git fmt-merge-msg in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
fmt_merge_msg!(Git.Repository.t, cli_arg) :: binary | no_return
Same as fmt_merge_msg/2 but raises an exception on error.
for_each_ref(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git for-each-ref in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
for_each_ref!(Git.Repository.t, cli_arg) :: binary | no_return
Same as for_each_ref/2 but raises an exception on error.
format_patch(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git format-patch in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
format_patch!(Git.Repository.t, cli_arg) :: binary | no_return
Same as format_patch/2 but raises an exception on error.
fsck(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git fsck in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
fsck!(Git.Repository.t, cli_arg) :: binary | no_return
Same as fsck/2 but raises an exception on error.
fsck_objects(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git fsck-objects in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
fsck_objects!(Git.Repository.t, cli_arg) :: binary | no_return
Same as fsck_objects/2 but raises an exception on error.
gc(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git gc in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
gc!(Git.Repository.t, cli_arg) :: binary | no_return
Same as gc/2 but raises an exception on error.
get_tar_commit_id(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git get-tar-commit-id in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
get_tar_commit_id!(Git.Repository.t, cli_arg) :: binary | no_return
Same as get_tar_commit_id/2 but raises an exception on error.
grep(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git grep in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
grep!(Git.Repository.t, cli_arg) :: binary | no_return
Same as grep/2 but raises an exception on error.
gui(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git gui in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
gui!(Git.Repository.t, cli_arg) :: binary | no_return
Same as gui/2 but raises an exception on error.
gui__askpass(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git gui--askpass in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
gui__askpass!(Git.Repository.t, cli_arg) :: binary | no_return
Same as gui__askpass/2 but raises an exception on error.
hash_object(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git hash-object in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
hash_object!(Git.Repository.t, cli_arg) :: binary | no_return
Same as hash_object/2 but raises an exception on error.
help(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git help in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
help!(Git.Repository.t, cli_arg) :: binary | no_return
Same as help/2 but raises an exception on error.
http_backend(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git http-backend in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
http_backend!(Git.Repository.t, cli_arg) :: binary | no_return
Same as http_backend/2 but raises an exception on error.
http_fetch(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git http-fetch in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
http_fetch!(Git.Repository.t, cli_arg) :: binary | no_return
Same as http_fetch/2 but raises an exception on error.
http_push(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git http-push in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
http_push!(Git.Repository.t, cli_arg) :: binary | no_return
Same as http_push/2 but raises an exception on error.
imap_send(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git imap-send in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
imap_send!(Git.Repository.t, cli_arg) :: binary | no_return
Same as imap_send/2 but raises an exception on error.
index_pack(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git index-pack in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
index_pack!(Git.Repository.t, cli_arg) :: binary | no_return
Same as index_pack/2 but raises an exception on error.
Run git init in the given directory
Returns {:ok, repository} on success and {:error, reason} on failure.
init_db(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git init-db in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
init_db!(Git.Repository.t, cli_arg) :: binary | no_return
Same as init_db/2 but raises an exception on error.
instaweb(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git instaweb in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
instaweb!(Git.Repository.t, cli_arg) :: binary | no_return
Same as instaweb/2 but raises an exception on error.
interpret_trailers(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git interpret-trailers in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
interpret_trailers!(Git.Repository.t, cli_arg) :: binary | no_return
Same as interpret_trailers/2 but raises an exception on error.
log(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git log in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
log!(Git.Repository.t, cli_arg) :: binary | no_return
Same as log/2 but raises an exception on error.
ls_files(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git ls-files in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
ls_files!(Git.Repository.t, cli_arg) :: binary | no_return
Same as ls_files/2 but raises an exception on error.
ls_remote(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git ls-remote in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
ls_remote!(Git.Repository.t, cli_arg) :: binary | no_return
Same as ls_remote/2 but raises an exception on error.
ls_tree(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git ls-tree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
ls_tree!(Git.Repository.t, cli_arg) :: binary | no_return
Same as ls_tree/2 but raises an exception on error.
mailinfo(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git mailinfo in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
mailinfo!(Git.Repository.t, cli_arg) :: binary | no_return
Same as mailinfo/2 but raises an exception on error.
mailsplit(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git mailsplit in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
mailsplit!(Git.Repository.t, cli_arg) :: binary | no_return
Same as mailsplit/2 but raises an exception on error.
merge(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git merge in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
merge!(Git.Repository.t, cli_arg) :: binary | no_return
Same as merge/2 but raises an exception on error.
merge_base(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git merge-base in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
merge_base!(Git.Repository.t, cli_arg) :: binary | no_return
Same as merge_base/2 but raises an exception on error.
merge_file(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git merge-file in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
merge_file!(Git.Repository.t, cli_arg) :: binary | no_return
Same as merge_file/2 but raises an exception on error.
merge_index(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git merge-index in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
merge_index!(Git.Repository.t, cli_arg) :: binary | no_return
Same as merge_index/2 but raises an exception on error.
merge_octopus(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git merge-octopus in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
merge_octopus!(Git.Repository.t, cli_arg) :: binary | no_return
Same as merge_octopus/2 but raises an exception on error.
merge_one_file(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git merge-one-file in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
merge_one_file!(Git.Repository.t, cli_arg) :: binary | no_return
Same as merge_one_file/2 but raises an exception on error.
merge_ours(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git merge-ours in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
merge_ours!(Git.Repository.t, cli_arg) :: binary | no_return
Same as merge_ours/2 but raises an exception on error.
merge_recursive(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git merge-recursive in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
merge_recursive!(Git.Repository.t, cli_arg) :: binary | no_return
Same as merge_recursive/2 but raises an exception on error.
merge_resolve(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git merge-resolve in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
merge_resolve!(Git.Repository.t, cli_arg) :: binary | no_return
Same as merge_resolve/2 but raises an exception on error.
merge_subtree(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git merge-subtree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
merge_subtree!(Git.Repository.t, cli_arg) :: binary | no_return
Same as merge_subtree/2 but raises an exception on error.
merge_tree(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git merge-tree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
merge_tree!(Git.Repository.t, cli_arg) :: binary | no_return
Same as merge_tree/2 but raises an exception on error.
mergetool(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git mergetool in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
mergetool!(Git.Repository.t, cli_arg) :: binary | no_return
Same as mergetool/2 but raises an exception on error.
mktag(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git mktag in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
mktag!(Git.Repository.t, cli_arg) :: binary | no_return
Same as mktag/2 but raises an exception on error.
mktree(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git mktree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
mktree!(Git.Repository.t, cli_arg) :: binary | no_return
Same as mktree/2 but raises an exception on error.
mv(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git mv in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
mv!(Git.Repository.t, cli_arg) :: binary | no_return
Same as mv/2 but raises an exception on error.
name_rev(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git name-rev in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
name_rev!(Git.Repository.t, cli_arg) :: binary | no_return
Same as name_rev/2 but raises an exception on error.
Return a Git.Repository struct with the specified or defaulted path. For use with an existing repo (when Git.init and Git.clone would not be appropriate).
notes(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git notes in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
notes!(Git.Repository.t, cli_arg) :: binary | no_return
Same as notes/2 but raises an exception on error.
p4(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git p4 in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
p4!(Git.Repository.t, cli_arg) :: binary | no_return
Same as p4/2 but raises an exception on error.
pack_objects(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git pack-objects in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
pack_objects!(Git.Repository.t, cli_arg) :: binary | no_return
Same as pack_objects/2 but raises an exception on error.
pack_redundant(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git pack-redundant in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
pack_redundant!(Git.Repository.t, cli_arg) :: binary | no_return
Same as pack_redundant/2 but raises an exception on error.
pack_refs(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git pack-refs in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
pack_refs!(Git.Repository.t, cli_arg) :: binary | no_return
Same as pack_refs/2 but raises an exception on error.
patch_id(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git patch-id in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
patch_id!(Git.Repository.t, cli_arg) :: binary | no_return
Same as patch_id/2 but raises an exception on error.
prune(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git prune in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
prune!(Git.Repository.t, cli_arg) :: binary | no_return
Same as prune/2 but raises an exception on error.
prune_packed(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git prune-packed in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
prune_packed!(Git.Repository.t, cli_arg) :: binary | no_return
Same as prune_packed/2 but raises an exception on error.
pull(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git pull in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
pull!(Git.Repository.t, cli_arg) :: binary | no_return
Same as pull/2 but raises an exception on error.
push(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git push in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
push!(Git.Repository.t, cli_arg) :: binary | no_return
Same as push/2 but raises an exception on error.
quiltimport(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git quiltimport in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
quiltimport!(Git.Repository.t, cli_arg) :: binary | no_return
Same as quiltimport/2 but raises an exception on error.
read_tree(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git read-tree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
read_tree!(Git.Repository.t, cli_arg) :: binary | no_return
Same as read_tree/2 but raises an exception on error.
rebase(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git rebase in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
rebase!(Git.Repository.t, cli_arg) :: binary | no_return
Same as rebase/2 but raises an exception on error.
receive_pack(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git receive-pack in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
receive_pack!(Git.Repository.t, cli_arg) :: binary | no_return
Same as receive_pack/2 but raises an exception on error.
reflog(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git reflog in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
reflog!(Git.Repository.t, cli_arg) :: binary | no_return
Same as reflog/2 but raises an exception on error.
relink(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git relink in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
relink!(Git.Repository.t, cli_arg) :: binary | no_return
Same as relink/2 but raises an exception on error.
remote(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git remote in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
remote!(Git.Repository.t, cli_arg) :: binary | no_return
Same as remote/2 but raises an exception on error.
remote_ext(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git remote-ext in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
remote_ext!(Git.Repository.t, cli_arg) :: binary | no_return
Same as remote_ext/2 but raises an exception on error.
remote_fd(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git remote-fd in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
remote_fd!(Git.Repository.t, cli_arg) :: binary | no_return
Same as remote_fd/2 but raises an exception on error.
remote_ftp(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git remote-ftp in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
remote_ftp!(Git.Repository.t, cli_arg) :: binary | no_return
Same as remote_ftp/2 but raises an exception on error.
remote_ftps(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git remote-ftps in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
remote_ftps!(Git.Repository.t, cli_arg) :: binary | no_return
Same as remote_ftps/2 but raises an exception on error.
remote_http(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git remote-http in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
remote_http!(Git.Repository.t, cli_arg) :: binary | no_return
Same as remote_http/2 but raises an exception on error.
remote_https(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git remote-https in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
remote_https!(Git.Repository.t, cli_arg) :: binary | no_return
Same as remote_https/2 but raises an exception on error.
remote_testsvn(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git remote-testsvn in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
remote_testsvn!(Git.Repository.t, cli_arg) :: binary | no_return
Same as remote_testsvn/2 but raises an exception on error.
repack(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git repack in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
repack!(Git.Repository.t, cli_arg) :: binary | no_return
Same as repack/2 but raises an exception on error.
replace(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git replace in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
replace!(Git.Repository.t, cli_arg) :: binary | no_return
Same as replace/2 but raises an exception on error.
request_pull(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git request-pull in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
request_pull!(Git.Repository.t, cli_arg) :: binary | no_return
Same as request_pull/2 but raises an exception on error.
rerere(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git rerere in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
rerere!(Git.Repository.t, cli_arg) :: binary | no_return
Same as rerere/2 but raises an exception on error.
reset(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git reset in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
reset!(Git.Repository.t, cli_arg) :: binary | no_return
Same as reset/2 but raises an exception on error.
rev_list(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git rev-list in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
rev_list!(Git.Repository.t, cli_arg) :: binary | no_return
Same as rev_list/2 but raises an exception on error.
rev_parse(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git rev-parse in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
rev_parse!(Git.Repository.t, cli_arg) :: binary | no_return
Same as rev_parse/2 but raises an exception on error.
revert(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git revert in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
revert!(Git.Repository.t, cli_arg) :: binary | no_return
Same as revert/2 but raises an exception on error.
rm(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git rm in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
rm!(Git.Repository.t, cli_arg) :: binary | no_return
Same as rm/2 but raises an exception on error.
send_email(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git send-email in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
send_email!(Git.Repository.t, cli_arg) :: binary | no_return
Same as send_email/2 but raises an exception on error.
send_pack(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git send-pack in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
send_pack!(Git.Repository.t, cli_arg) :: binary | no_return
Same as send_pack/2 but raises an exception on error.
sh_i18n__envsubst(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git sh-i18n--envsubst in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
sh_i18n__envsubst!(Git.Repository.t, cli_arg) :: binary | no_return
Same as sh_i18n__envsubst/2 but raises an exception on error.
shell(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git shell in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
shell!(Git.Repository.t, cli_arg) :: binary | no_return
Same as shell/2 but raises an exception on error.
shortlog(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git shortlog in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
shortlog!(Git.Repository.t, cli_arg) :: binary | no_return
Same as shortlog/2 but raises an exception on error.
show(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git show in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
show!(Git.Repository.t, cli_arg) :: binary | no_return
Same as show/2 but raises an exception on error.
show_branch(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git show-branch in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
show_branch!(Git.Repository.t, cli_arg) :: binary | no_return
Same as show_branch/2 but raises an exception on error.
show_index(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git show-index in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
show_index!(Git.Repository.t, cli_arg) :: binary | no_return
Same as show_index/2 but raises an exception on error.
show_ref(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git show-ref in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
show_ref!(Git.Repository.t, cli_arg) :: binary | no_return
Same as show_ref/2 but raises an exception on error.
stage(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git stage in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
stage!(Git.Repository.t, cli_arg) :: binary | no_return
Same as stage/2 but raises an exception on error.
stash(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git stash in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
stash!(Git.Repository.t, cli_arg) :: binary | no_return
Same as stash/2 but raises an exception on error.
status(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git status in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
status!(Git.Repository.t, cli_arg) :: binary | no_return
Same as status/2 but raises an exception on error.
stripspace(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git stripspace in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
stripspace!(Git.Repository.t, cli_arg) :: binary | no_return
Same as stripspace/2 but raises an exception on error.
submodule(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git submodule in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
submodule!(Git.Repository.t, cli_arg) :: binary | no_return
Same as submodule/2 but raises an exception on error.
subtree(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git subtree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
subtree!(Git.Repository.t, cli_arg) :: binary | no_return
Same as subtree/2 but raises an exception on error.
svn(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git svn in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
svn!(Git.Repository.t, cli_arg) :: binary | no_return
Same as svn/2 but raises an exception on error.
symbolic_ref(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git symbolic-ref in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
symbolic_ref!(Git.Repository.t, cli_arg) :: binary | no_return
Same as symbolic_ref/2 but raises an exception on error.
tag(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git tag in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
tag!(Git.Repository.t, cli_arg) :: binary | no_return
Same as tag/2 but raises an exception on error.
unpack_file(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git unpack-file in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
unpack_file!(Git.Repository.t, cli_arg) :: binary | no_return
Same as unpack_file/2 but raises an exception on error.
unpack_objects(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git unpack-objects in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
unpack_objects!(Git.Repository.t, cli_arg) :: binary | no_return
Same as unpack_objects/2 but raises an exception on error.
update_index(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git update-index in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
update_index!(Git.Repository.t, cli_arg) :: binary | no_return
Same as update_index/2 but raises an exception on error.
update_ref(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git update-ref in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
update_ref!(Git.Repository.t, cli_arg) :: binary | no_return
Same as update_ref/2 but raises an exception on error.
update_server_info(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git update-server-info in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
update_server_info!(Git.Repository.t, cli_arg) :: binary | no_return
Same as update_server_info/2 but raises an exception on error.
upload_archive(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git upload-archive in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
upload_archive!(Git.Repository.t, cli_arg) :: binary | no_return
Same as upload_archive/2 but raises an exception on error.
upload_pack(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git upload-pack in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
upload_pack!(Git.Repository.t, cli_arg) :: binary | no_return
Same as upload_pack/2 but raises an exception on error.
var(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git var in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
var!(Git.Repository.t, cli_arg) :: binary | no_return
Same as var/2 but raises an exception on error.
verify_commit(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git verify-commit in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
verify_commit!(Git.Repository.t, cli_arg) :: binary | no_return
Same as verify_commit/2 but raises an exception on error.
verify_pack(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git verify-pack in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
verify_pack!(Git.Repository.t, cli_arg) :: binary | no_return
Same as verify_pack/2 but raises an exception on error.
verify_tag(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git verify-tag in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
verify_tag!(Git.Repository.t, cli_arg) :: binary | no_return
Same as verify_tag/2 but raises an exception on error.
web__browse(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git web--browse in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
web__browse!(Git.Repository.t, cli_arg) :: binary | no_return
Same as web__browse/2 but raises an exception on error.
whatchanged(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git whatchanged in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
whatchanged!(Git.Repository.t, cli_arg) :: binary | no_return
Same as whatchanged/2 but raises an exception on error.
worktree(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git worktree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
worktree!(Git.Repository.t, cli_arg) :: binary | no_return
Same as worktree/2 but raises an exception on error.
write_tree(Git.Repository.t, cli_arg) :: {:ok, binary} | error
Run git write-tree in the given repository
Returns {:ok, output} on success and {:error, reason} on failure.
write_tree!(Git.Repository.t, cli_arg) :: binary | no_return
Same as write_tree/2 but raises an exception on error.