Module git

Source

Functions§

add_files_in_current_dir
branch_exists
changed_files
check_git_repository_clean
Checks if the current directory’s repo is clean
checkout_branch
checkout_main_branch
checkout_or_create_branch
clone
commit
Commits changes from the current repo
create_branch
current_branch
find_repo 🔒
Walks up from the current working directory until it finds a .git and opens that repo. Panics (Err) if none is found.
get_git_sha
get_modified_files
Get a list of files that have been modified, as a vector of strings
git_ls_files
Returns a list of tracked files. If pattern is specified, it filters using that pattern.
is_warning_line 🔒
list_files
merge_branch
push
Pushes changes from the current repo
push_and_set_upstream
push_branch
run_and_check_output
set_config_value
tag_version