diff --git a/src/SparklePony.cs b/src/SparklePony.cs index d759648e..1fbaca6d 100644 --- a/src/SparklePony.cs +++ b/src/SparklePony.cs @@ -305,12 +305,9 @@ public class Repository { Process.Start(); // Add a gitignore file - Process.StartInfo.FileName = "touch"; - Process.StartInfo.Arguments = RepoPath + "/.gitignore"; - Process.Start(); - // TODO: add *~ contents. - Process.StartInfo.FileName = "git"; - + TextWriter Writer = new StreamWriter(RepoPath + "/.gitignore"); + Writer.WriteLine("*~"); + Writer.Close(); } public void Add () {