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