MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / configure_git

Function configure_git

crates/chat-cli/src/cli/chat/checkpoint.rs:400–405  ·  view source on GitHub ↗
(shadow_path: &str)

Source from the content-addressed store, hash-verified

398}
399
400fn configure_git(shadow_path: &str) -> Result<()> {
401 run_git(Path::new(shadow_path), None, &["config", "user.name", "Q"])?;
402 run_git(Path::new(shadow_path), None, &["config", "user.email", "qcli@local"])?;
403 run_git(Path::new(shadow_path), None, &["config", "core.preloadindex", "true"])?;
404 Ok(())
405}
406
407fn stage_commit_tag(shadow_path: &str, work_tree: &Path, message: &str, tag: &str) -> Result<()> {
408 // Stage all changes

Callers 1

manual_initMethod · 0.85

Calls 1

run_gitFunction · 0.85

Tested by

no test coverage detected