Exemplo n.º 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox5.Text != "" && listBox1.Items != null)
     {
         RoboGitDLL.RoboGitFunc gitDLL = new RoboGitDLL.RoboGitFunc();
         foreach (string x in commits)
         {
             gitDLL.Add(repoPath, x, true);
         }
         gitDLL.Commit(repoPath, textBox5.Text);
         button1.Visible = false;
         button2.Visible = true;
     }
     else
     {
         MessageBox.Show("You have nothing to commit!");
     }
 }
Exemplo n.º 2
0
 private void button2_Click(object sender, EventArgs e)
 {
     RoboGitDLL.RoboGitFunc gitDLL = new RoboGitDLL.RoboGitFunc();
     gitDLL.Push(repoPath);
 }