Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pre-commit/pre-commit-hooks
/ git_commit
Function
git_commit
testing/util.py:14–16 ·
view source on GitHub ↗
(*args, **kwargs)
Source
from the content-addressed store, hash-verified
12
13
14
def
git_commit(*args, **kwargs):
15
cmd = (
'git'
,
'commit'
,
'--no-gpg-sign'
,
'--no-verify'
,
'--no-edit'
, *args)
16
subprocess.check_call(cmd, **kwargs)
Callers
10
repo_with_destroyed_symlink
Function · 0.90
f1_is_a_conflict_file
Function · 0.90
repository_pending_merge
Function · 0.90
test_file_conflicts_with_committed_file
Function · 0.90
test_file_conflicts_with_committed_dir
Function · 0.90
test_not_on_a_branch
Function · 0.90
git_dir_with_git_dir
Function · 0.90
test_main_new_submodule_committed
Function · 0.90
test_moves_with_gitlfs
Function · 0.90
test_enforce_allows_gitlfs_after_commit
Function · 0.90
Calls
no outgoing calls
Tested by
10
repo_with_destroyed_symlink
Function · 0.72
f1_is_a_conflict_file
Function · 0.72
repository_pending_merge
Function · 0.72
test_file_conflicts_with_committed_file
Function · 0.72
test_file_conflicts_with_committed_dir
Function · 0.72
test_not_on_a_branch
Function · 0.72
git_dir_with_git_dir
Function · 0.72
test_main_new_submodule_committed
Function · 0.72
test_moves_with_gitlfs
Function · 0.72
test_enforce_allows_gitlfs_after_commit
Function · 0.72