Ejemplo n.º 1
0
        public KBGit Build2Files3Commits()
        {
            Git = BuildEmptyRepo();

            AddFile("a.txt", "aaaaa");
            Git.Commit("Add a", "kasper", new DateTime(2017, 1, 1, 1, 1, 1));

            AddFile("b.txt", "bbbb");
            Git.Commit("Add b", "kasper", new DateTime(2017, 2, 2, 2, 2, 2));

            AddFile("a.txt", "v2av2av2av2a");
            Git.Commit("Add a2", "kasper", new DateTime(2017, 3, 3, 3, 3, 3));

            return(Git);
        }
Ejemplo n.º 2
0
 public Id Commit(string message)
 {
     return(Git.Commit(message, "author", DateTime.Now));
 }
Ejemplo n.º 3
0
 public Id Commit(string message)
 {
     return(Git.Commit(message, "author", DateTime.Now, Git.ScanFileSystem()));
 }