repo_splitter.git_tools package

Submodules

repo_splitter.git_tools.clone module

repo_splitter.git_tools.clone.clone_repo(source, dest, all_branches=True, **kwargs)[source]

repo_splitter.git_tools.history module

exception repo_splitter.git_tools.history.GitFilterBranchException(status, stdout, stderr, *args, **kwargs)[source]

Bases: Exception

__init__(status, stdout, stderr, *args, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

classmethod from_git_command_error(git_error)[source]
repo_splitter.git_tools.history.index_filter_branch(repo, index_filter_cmd)[source]
Return type

str

repo_splitter.git_tools.history.remove_history_for_files_matching(repo, file_patterns, follow_renames=True)[source]
repo_splitter.git_tools.history.remove_history_for_files_not_matching(repo, file_patterns, follow_renames=True)[source]

repo_splitter.git_tools.push module

repo_splitter.git_tools.push.push_active_branch(repo)[source]
Return type

str

repo_splitter.git_tools.push.push_all_branches(repo)[source]
Return type

str

repo_splitter.git_tools.push.push_all_force(repo)[source]
Return type

str

repo_splitter.git_tools.push.push_tags(repo)[source]
Return type

str

repo_splitter.git_tools.remote module

repo_splitter.git_tools.remote.delete_remote(repo)[source]

repo_splitter.git_tools.track module

repo_splitter.git_tools.track.delete_non_active_local_branches(repo)[source]
repo_splitter.git_tools.track.track_all_remote_branches(repo)[source]

repo_splitter.git_tools.url module

repo_splitter.git_tools.url.is_remote_url(url)[source]

Module contents