git_cli v0.2.3 Git
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
Types
Functions
Specs
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.
Specs
add!(Git.Repository.t, cli_arg) :: binary
Same as add/2
but raises an exception on error.
Specs
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.
Specs
add__interactive!(Git.Repository.t, cli_arg) :: binary
Same as add__interactive/2
but raises an exception on error.
Specs
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.
Specs
am!(Git.Repository.t, cli_arg) :: binary
Same as am/2
but raises an exception on error.
Specs
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.
Specs
annotate!(Git.Repository.t, cli_arg) :: binary
Same as annotate/2
but raises an exception on error.
Specs
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.
Specs
archimport!(Git.Repository.t, cli_arg) :: binary
Same as archimport/2
but raises an exception on error.
Specs
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.
Specs
archive!(Git.Repository.t, cli_arg) :: binary
Same as archive/2
but raises an exception on error.
Specs
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.
Specs
bisect!(Git.Repository.t, cli_arg) :: binary
Same as bisect/2
but raises an exception on error.
Specs
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.
Specs
bisect__helper!(Git.Repository.t, cli_arg) :: binary
Same as bisect__helper/2
but raises an exception on error.
Specs
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.
Specs
blame!(Git.Repository.t, cli_arg) :: binary
Same as blame/2
but raises an exception on error.
Specs
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.
Specs
branch!(Git.Repository.t, cli_arg) :: binary
Same as branch/2
but raises an exception on error.
Specs
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.
Specs
bundle!(Git.Repository.t, cli_arg) :: binary
Same as bundle/2
but raises an exception on error.
Specs
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.
Specs
cat_file!(Git.Repository.t, cli_arg) :: binary
Same as cat_file/2
but raises an exception on error.
Specs
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.
Specs
check_attr!(Git.Repository.t, cli_arg) :: binary
Same as check_attr/2
but raises an exception on error.
Specs
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.
Specs
check_ignore!(Git.Repository.t, cli_arg) :: binary
Same as check_ignore/2
but raises an exception on error.
Specs
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.
Specs
check_mailmap!(Git.Repository.t, cli_arg) :: binary
Same as check_mailmap/2
but raises an exception on error.
Specs
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.
Specs
check_ref_format!(Git.Repository.t, cli_arg) :: binary
Same as check_ref_format/2
but raises an exception on error.
Specs
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.
Specs
checkout!(Git.Repository.t, cli_arg) :: binary
Same as checkout/2
but raises an exception on error.
Specs
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.
Specs
checkout_index!(Git.Repository.t, cli_arg) :: binary
Same as checkout_index/2
but raises an exception on error.
Specs
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.
Specs
cherry!(Git.Repository.t, cli_arg) :: binary
Same as cherry/2
but raises an exception on error.
Specs
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.
Specs
cherry_pick!(Git.Repository.t, cli_arg) :: binary
Same as cherry_pick/2
but raises an exception on error.
Specs
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.
Specs
citool!(Git.Repository.t, cli_arg) :: binary
Same as citool/2
but raises an exception on error.
Specs
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.
Specs
clean!(Git.Repository.t, cli_arg) :: binary
Same as clean/2
but raises an exception on error.
Specs
clone(cli_arg) :: {:ok, Git.Repository.t} | error
Clones the repository. The first argument can be url
or [url, path]
.
Returns {:ok, repository}
on success and {:error, reason}
on failure.
Specs
clone!(cli_arg) :: {:ok, Git.Repository.t} | error
Same as clone/1 but raise an exception on failure.
Specs
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.
Specs
column!(Git.Repository.t, cli_arg) :: binary
Same as column/2
but raises an exception on error.
Specs
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.
Specs
commit!(Git.Repository.t, cli_arg) :: binary
Same as commit/2
but raises an exception on error.
Specs
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.
Specs
commit_tree!(Git.Repository.t, cli_arg) :: binary
Same as commit_tree/2
but raises an exception on error.
Specs
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.
Specs
config!(Git.Repository.t, cli_arg) :: binary
Same as config/2
but raises an exception on error.
Specs
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.
Specs
count_objects!(Git.Repository.t, cli_arg) :: binary
Same as count_objects/2
but raises an exception on error.
Specs
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.
Specs
credential!(Git.Repository.t, cli_arg) :: binary
Same as credential/2
but raises an exception on error.
Specs
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.
Specs
credential_cache!(Git.Repository.t, cli_arg) :: binary
Same as credential_cache/2
but raises an exception on error.
Specs
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.
Specs
credential_cache__daemon!(Git.Repository.t, cli_arg) :: binary
Same as credential_cache__daemon/2
but raises an exception on error.
Specs
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.
Specs
credential_gnome_keyring!(Git.Repository.t, cli_arg) :: binary
Same as credential_gnome_keyring/2
but raises an exception on error.
Specs
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.
Specs
credential_store!(Git.Repository.t, cli_arg) :: binary
Same as credential_store/2
but raises an exception on error.
Specs
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.
Specs
cvsexportcommit!(Git.Repository.t, cli_arg) :: binary
Same as cvsexportcommit/2
but raises an exception on error.
Specs
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.
Specs
cvsimport!(Git.Repository.t, cli_arg) :: binary
Same as cvsimport/2
but raises an exception on error.
Specs
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.
Specs
cvsserver!(Git.Repository.t, cli_arg) :: binary
Same as cvsserver/2
but raises an exception on error.
Specs
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.
Specs
daemon!(Git.Repository.t, cli_arg) :: binary
Same as daemon/2
but raises an exception on error.
Specs
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.
Specs
describe!(Git.Repository.t, cli_arg) :: binary
Same as describe/2
but raises an exception on error.
Specs
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.
Specs
diff!(Git.Repository.t, cli_arg) :: binary
Same as diff/2
but raises an exception on error.
Specs
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.
Specs
diff_files!(Git.Repository.t, cli_arg) :: binary
Same as diff_files/2
but raises an exception on error.
Specs
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.
Specs
diff_index!(Git.Repository.t, cli_arg) :: binary
Same as diff_index/2
but raises an exception on error.
Specs
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.
Specs
diff_tree!(Git.Repository.t, cli_arg) :: binary
Same as diff_tree/2
but raises an exception on error.
Specs
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.
Specs
difftool!(Git.Repository.t, cli_arg) :: binary
Same as difftool/2
but raises an exception on error.
Specs
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.
Specs
difftool__helper!(Git.Repository.t, cli_arg) :: binary
Same as difftool__helper/2
but raises an exception on error.
Specs
execute_command(Repository.t | nil, bitstring, list, (bitstring -> any | error)) ::
{:ok, any} |
{:error, any}
Execute the git command in the given repository.
Specs
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.
Specs
fast_export!(Git.Repository.t, cli_arg) :: binary
Same as fast_export/2
but raises an exception on error.
Specs
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.
Specs
fast_import!(Git.Repository.t, cli_arg) :: binary
Same as fast_import/2
but raises an exception on error.
Specs
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.
Specs
fetch!(Git.Repository.t, cli_arg) :: binary
Same as fetch/2
but raises an exception on error.
Specs
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.
Specs
fetch_pack!(Git.Repository.t, cli_arg) :: binary
Same as fetch_pack/2
but raises an exception on error.
Specs
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.
Specs
filter_branch!(Git.Repository.t, cli_arg) :: binary
Same as filter_branch/2
but raises an exception on error.
Specs
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.
Specs
fmt_merge_msg!(Git.Repository.t, cli_arg) :: binary
Same as fmt_merge_msg/2
but raises an exception on error.
Specs
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.
Specs
for_each_ref!(Git.Repository.t, cli_arg) :: binary
Same as for_each_ref/2
but raises an exception on error.
Specs
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.
Specs
format_patch!(Git.Repository.t, cli_arg) :: binary
Same as format_patch/2
but raises an exception on error.
Specs
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.
Specs
fsck!(Git.Repository.t, cli_arg) :: binary
Same as fsck/2
but raises an exception on error.
Specs
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.
Specs
fsck_objects!(Git.Repository.t, cli_arg) :: binary
Same as fsck_objects/2
but raises an exception on error.
Specs
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.
Specs
gc!(Git.Repository.t, cli_arg) :: binary
Same as gc/2
but raises an exception on error.
Specs
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.
Specs
get_tar_commit_id!(Git.Repository.t, cli_arg) :: binary
Same as get_tar_commit_id/2
but raises an exception on error.
Specs
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.
Specs
grep!(Git.Repository.t, cli_arg) :: binary
Same as grep/2
but raises an exception on error.
Specs
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.
Specs
gui!(Git.Repository.t, cli_arg) :: binary
Same as gui/2
but raises an exception on error.
Specs
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.
Specs
gui__askpass!(Git.Repository.t, cli_arg) :: binary
Same as gui__askpass/2
but raises an exception on error.
Specs
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.
Specs
hash_object!(Git.Repository.t, cli_arg) :: binary
Same as hash_object/2
but raises an exception on error.
Specs
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.
Specs
help!(Git.Repository.t, cli_arg) :: binary
Same as help/2
but raises an exception on error.
Specs
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.
Specs
http_backend!(Git.Repository.t, cli_arg) :: binary
Same as http_backend/2
but raises an exception on error.
Specs
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.
Specs
http_fetch!(Git.Repository.t, cli_arg) :: binary
Same as http_fetch/2
but raises an exception on error.
Specs
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.
Specs
http_push!(Git.Repository.t, cli_arg) :: binary
Same as http_push/2
but raises an exception on error.
Specs
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.
Specs
imap_send!(Git.Repository.t, cli_arg) :: binary
Same as imap_send/2
but raises an exception on error.
Specs
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.
Specs
index_pack!(Git.Repository.t, cli_arg) :: binary
Same as index_pack/2
but raises an exception on error.
Specs
init!(cli_arg) :: {:ok, Git.Repository.t} | error
Run git init
in the given directory
Returns {:ok, repository}
on success and {:error, reason}
on failure.
Specs
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.
Specs
init_db!(Git.Repository.t, cli_arg) :: binary
Same as init_db/2
but raises an exception on error.
Specs
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.
Specs
instaweb!(Git.Repository.t, cli_arg) :: binary
Same as instaweb/2
but raises an exception on error.
Specs
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.
Specs
interpret_trailers!(Git.Repository.t, cli_arg) :: binary
Same as interpret_trailers/2
but raises an exception on error.
Specs
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.
Specs
log!(Git.Repository.t, cli_arg) :: binary
Same as log/2
but raises an exception on error.
Specs
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.
Specs
ls_files!(Git.Repository.t, cli_arg) :: binary
Same as ls_files/2
but raises an exception on error.
Specs
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.
Specs
ls_remote!(Git.Repository.t, cli_arg) :: binary
Same as ls_remote/2
but raises an exception on error.
Specs
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.
Specs
ls_tree!(Git.Repository.t, cli_arg) :: binary
Same as ls_tree/2
but raises an exception on error.
Specs
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.
Specs
mailinfo!(Git.Repository.t, cli_arg) :: binary
Same as mailinfo/2
but raises an exception on error.
Specs
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.
Specs
mailsplit!(Git.Repository.t, cli_arg) :: binary
Same as mailsplit/2
but raises an exception on error.
Specs
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.
Specs
merge!(Git.Repository.t, cli_arg) :: binary
Same as merge/2
but raises an exception on error.
Specs
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.
Specs
merge_base!(Git.Repository.t, cli_arg) :: binary
Same as merge_base/2
but raises an exception on error.
Specs
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.
Specs
merge_file!(Git.Repository.t, cli_arg) :: binary
Same as merge_file/2
but raises an exception on error.
Specs
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.
Specs
merge_index!(Git.Repository.t, cli_arg) :: binary
Same as merge_index/2
but raises an exception on error.
Specs
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.
Specs
merge_octopus!(Git.Repository.t, cli_arg) :: binary
Same as merge_octopus/2
but raises an exception on error.
Specs
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.
Specs
merge_one_file!(Git.Repository.t, cli_arg) :: binary
Same as merge_one_file/2
but raises an exception on error.
Specs
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.
Specs
merge_ours!(Git.Repository.t, cli_arg) :: binary
Same as merge_ours/2
but raises an exception on error.
Specs
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.
Specs
merge_recursive!(Git.Repository.t, cli_arg) :: binary
Same as merge_recursive/2
but raises an exception on error.
Specs
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.
Specs
merge_resolve!(Git.Repository.t, cli_arg) :: binary
Same as merge_resolve/2
but raises an exception on error.
Specs
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.
Specs
merge_subtree!(Git.Repository.t, cli_arg) :: binary
Same as merge_subtree/2
but raises an exception on error.
Specs
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.
Specs
merge_tree!(Git.Repository.t, cli_arg) :: binary
Same as merge_tree/2
but raises an exception on error.
Specs
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.
Specs
mergetool!(Git.Repository.t, cli_arg) :: binary
Same as mergetool/2
but raises an exception on error.
Specs
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.
Specs
mktag!(Git.Repository.t, cli_arg) :: binary
Same as mktag/2
but raises an exception on error.
Specs
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.
Specs
mktree!(Git.Repository.t, cli_arg) :: binary
Same as mktree/2
but raises an exception on error.
Specs
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.
Specs
mv!(Git.Repository.t, cli_arg) :: binary
Same as mv/2
but raises an exception on error.
Specs
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.
Specs
name_rev!(Git.Repository.t, cli_arg) :: binary
Same as name_rev/2
but raises an exception on error.
Specs
new(path) :: Git.Repository.t
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).
Specs
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.
Specs
notes!(Git.Repository.t, cli_arg) :: binary
Same as notes/2
but raises an exception on error.
Specs
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.
Specs
p4!(Git.Repository.t, cli_arg) :: binary
Same as p4/2
but raises an exception on error.
Specs
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.
Specs
pack_objects!(Git.Repository.t, cli_arg) :: binary
Same as pack_objects/2
but raises an exception on error.
Specs
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.
Specs
pack_redundant!(Git.Repository.t, cli_arg) :: binary
Same as pack_redundant/2
but raises an exception on error.
Specs
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.
Specs
pack_refs!(Git.Repository.t, cli_arg) :: binary
Same as pack_refs/2
but raises an exception on error.
Specs
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.
Specs
patch_id!(Git.Repository.t, cli_arg) :: binary
Same as patch_id/2
but raises an exception on error.
Specs
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.
Specs
prune!(Git.Repository.t, cli_arg) :: binary
Same as prune/2
but raises an exception on error.
Specs
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.
Specs
prune_packed!(Git.Repository.t, cli_arg) :: binary
Same as prune_packed/2
but raises an exception on error.
Specs
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.
Specs
pull!(Git.Repository.t, cli_arg) :: binary
Same as pull/2
but raises an exception on error.
Specs
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.
Specs
push!(Git.Repository.t, cli_arg) :: binary
Same as push/2
but raises an exception on error.
Specs
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.
Specs
quiltimport!(Git.Repository.t, cli_arg) :: binary
Same as quiltimport/2
but raises an exception on error.
Specs
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.
Specs
read_tree!(Git.Repository.t, cli_arg) :: binary
Same as read_tree/2
but raises an exception on error.
Specs
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.
Specs
rebase!(Git.Repository.t, cli_arg) :: binary
Same as rebase/2
but raises an exception on error.
Specs
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.
Specs
receive_pack!(Git.Repository.t, cli_arg) :: binary
Same as receive_pack/2
but raises an exception on error.
Specs
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.
Specs
reflog!(Git.Repository.t, cli_arg) :: binary
Same as reflog/2
but raises an exception on error.
Specs
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.
Specs
relink!(Git.Repository.t, cli_arg) :: binary
Same as relink/2
but raises an exception on error.
Specs
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.
Specs
remote!(Git.Repository.t, cli_arg) :: binary
Same as remote/2
but raises an exception on error.
Specs
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.
Specs
remote_ext!(Git.Repository.t, cli_arg) :: binary
Same as remote_ext/2
but raises an exception on error.
Specs
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.
Specs
remote_fd!(Git.Repository.t, cli_arg) :: binary
Same as remote_fd/2
but raises an exception on error.
Specs
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.
Specs
remote_ftp!(Git.Repository.t, cli_arg) :: binary
Same as remote_ftp/2
but raises an exception on error.
Specs
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.
Specs
remote_ftps!(Git.Repository.t, cli_arg) :: binary
Same as remote_ftps/2
but raises an exception on error.
Specs
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.
Specs
remote_http!(Git.Repository.t, cli_arg) :: binary
Same as remote_http/2
but raises an exception on error.
Specs
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.
Specs
remote_https!(Git.Repository.t, cli_arg) :: binary
Same as remote_https/2
but raises an exception on error.
Specs
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.
Specs
remote_testsvn!(Git.Repository.t, cli_arg) :: binary
Same as remote_testsvn/2
but raises an exception on error.
Specs
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.
Specs
repack!(Git.Repository.t, cli_arg) :: binary
Same as repack/2
but raises an exception on error.
Specs
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.
Specs
replace!(Git.Repository.t, cli_arg) :: binary
Same as replace/2
but raises an exception on error.
Specs
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.
Specs
request_pull!(Git.Repository.t, cli_arg) :: binary
Same as request_pull/2
but raises an exception on error.
Specs
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.
Specs
rerere!(Git.Repository.t, cli_arg) :: binary
Same as rerere/2
but raises an exception on error.
Specs
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.
Specs
reset!(Git.Repository.t, cli_arg) :: binary
Same as reset/2
but raises an exception on error.
Specs
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.
Specs
rev_list!(Git.Repository.t, cli_arg) :: binary
Same as rev_list/2
but raises an exception on error.
Specs
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.
Specs
rev_parse!(Git.Repository.t, cli_arg) :: binary
Same as rev_parse/2
but raises an exception on error.
Specs
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.
Specs
revert!(Git.Repository.t, cli_arg) :: binary
Same as revert/2
but raises an exception on error.
Specs
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.
Specs
rm!(Git.Repository.t, cli_arg) :: binary
Same as rm/2
but raises an exception on error.
Specs
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.
Specs
send_email!(Git.Repository.t, cli_arg) :: binary
Same as send_email/2
but raises an exception on error.
Specs
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.
Specs
send_pack!(Git.Repository.t, cli_arg) :: binary
Same as send_pack/2
but raises an exception on error.
Specs
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.
Specs
sh_i18n__envsubst!(Git.Repository.t, cli_arg) :: binary
Same as sh_i18n__envsubst/2
but raises an exception on error.
Specs
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.
Specs
shell!(Git.Repository.t, cli_arg) :: binary
Same as shell/2
but raises an exception on error.
Specs
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.
Specs
shortlog!(Git.Repository.t, cli_arg) :: binary
Same as shortlog/2
but raises an exception on error.
Specs
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.
Specs
show!(Git.Repository.t, cli_arg) :: binary
Same as show/2
but raises an exception on error.
Specs
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.
Specs
show_branch!(Git.Repository.t, cli_arg) :: binary
Same as show_branch/2
but raises an exception on error.
Specs
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.
Specs
show_index!(Git.Repository.t, cli_arg) :: binary
Same as show_index/2
but raises an exception on error.
Specs
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.
Specs
show_ref!(Git.Repository.t, cli_arg) :: binary
Same as show_ref/2
but raises an exception on error.
Specs
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.
Specs
stage!(Git.Repository.t, cli_arg) :: binary
Same as stage/2
but raises an exception on error.
Specs
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.
Specs
stash!(Git.Repository.t, cli_arg) :: binary
Same as stash/2
but raises an exception on error.
Specs
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.
Specs
status!(Git.Repository.t, cli_arg) :: binary
Same as status/2
but raises an exception on error.
Specs
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.
Specs
stripspace!(Git.Repository.t, cli_arg) :: binary
Same as stripspace/2
but raises an exception on error.
Specs
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.
Specs
submodule!(Git.Repository.t, cli_arg) :: binary
Same as submodule/2
but raises an exception on error.
Specs
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.
Specs
subtree!(Git.Repository.t, cli_arg) :: binary
Same as subtree/2
but raises an exception on error.
Specs
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.
Specs
svn!(Git.Repository.t, cli_arg) :: binary
Same as svn/2
but raises an exception on error.
Specs
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.
Specs
symbolic_ref!(Git.Repository.t, cli_arg) :: binary
Same as symbolic_ref/2
but raises an exception on error.
Specs
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.
Specs
tag!(Git.Repository.t, cli_arg) :: binary
Same as tag/2
but raises an exception on error.
Specs
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.
Specs
unpack_file!(Git.Repository.t, cli_arg) :: binary
Same as unpack_file/2
but raises an exception on error.
Specs
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.
Specs
unpack_objects!(Git.Repository.t, cli_arg) :: binary
Same as unpack_objects/2
but raises an exception on error.
Specs
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.
Specs
update_index!(Git.Repository.t, cli_arg) :: binary
Same as update_index/2
but raises an exception on error.
Specs
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.
Specs
update_ref!(Git.Repository.t, cli_arg) :: binary
Same as update_ref/2
but raises an exception on error.
Specs
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.
Specs
update_server_info!(Git.Repository.t, cli_arg) :: binary
Same as update_server_info/2
but raises an exception on error.
Specs
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.
Specs
upload_archive!(Git.Repository.t, cli_arg) :: binary
Same as upload_archive/2
but raises an exception on error.
Specs
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.
Specs
upload_pack!(Git.Repository.t, cli_arg) :: binary
Same as upload_pack/2
but raises an exception on error.
Specs
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.
Specs
var!(Git.Repository.t, cli_arg) :: binary
Same as var/2
but raises an exception on error.
Specs
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.
Specs
verify_commit!(Git.Repository.t, cli_arg) :: binary
Same as verify_commit/2
but raises an exception on error.
Specs
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.
Specs
verify_pack!(Git.Repository.t, cli_arg) :: binary
Same as verify_pack/2
but raises an exception on error.
Specs
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.
Specs
verify_tag!(Git.Repository.t, cli_arg) :: binary
Same as verify_tag/2
but raises an exception on error.
Specs
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.
Specs
web__browse!(Git.Repository.t, cli_arg) :: binary
Same as web__browse/2
but raises an exception on error.
Specs
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.
Specs
whatchanged!(Git.Repository.t, cli_arg) :: binary
Same as whatchanged/2
but raises an exception on error.
Specs
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.
Specs
worktree!(Git.Repository.t, cli_arg) :: binary
Same as worktree/2
but raises an exception on error.
Specs
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.
Specs
write_tree!(Git.Repository.t, cli_arg) :: binary
Same as write_tree/2
but raises an exception on error.