diff --git a/src/main.rs b/src/main.rs index 86e6dcf..ac390f0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,7 +6,6 @@ use serde_json::Value; use std::env; use std::fs; use std::io::ErrorKind; -use std::io::Write; use std::path::Path; use std::process::Command; @@ -293,11 +292,4 @@ fn create_git_repo(name: &str) { .arg("init") .output() .expect("failed to initialize git repo"); - - let mut file = fs::OpenOptions::new() - .append(true) - .open(".git/info/exclude") - .unwrap(); - - write!(file, "{}", include_str!("resources/gitexclude")).expect("failed to update gitexclude"); } diff --git a/src/resources/gitexclude b/src/resources/gitexclude deleted file mode 100644 index 3d72576..0000000 --- a/src/resources/gitexclude +++ /dev/null @@ -1,2 +0,0 @@ -.DS_Store -.idea \ No newline at end of file