We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c22a34e commit 8bfc145Copy full SHA for 8bfc145
crates/forge/bin/cmd/init.rs
@@ -71,7 +71,7 @@ impl InitArgs {
71
}
72
// Modify the git history.
73
let commit_hash = git.commit_hash(true)?;
74
- std::fs::remove_dir_all(".git")?;
+ std::fs::remove_dir_all(root.join(".git"))?;
75
76
git.init()?;
77
git.add(Some("--all"))?;
0 commit comments