Пример #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            string checkOut = "git checkout " + this.textBranch.Text;

            this.textResultBox.Text = RunCommand.runCommand(checkOut, this.textProjectLocation.Text);
        }
Пример #2
0
        private void buttonPull_Click(object sender, EventArgs e)
        {
            string gitPull = "git pull";

            this.textResultBox.Text = RunCommand.runCommand(gitPull, this.textProjectLocation.Text);
        }
Пример #3
0
        void Button2Click(object sender, EventArgs e)
        {
            string gitCommit = "git commit -m " + "\"" + this.textCommitMessage.Text + "\"";

            this.textResultBox.Text = RunCommand.runCommand(gitCommit, this.textProjectLocation.Text);
        }
Пример #4
0
 void Button5Click(object sender, EventArgs e)
 {
     this.textResultBox.Text = RunCommand.runCommand(this.textCommandString.Text, this.textProjectLocation.Text);
 }
Пример #5
0
        void Button3Click(object sender, EventArgs e)
        {
            string checkOut = "git push -u origin " + this.textBranch.Text;

            this.textResultBox.Text = RunCommand.runCommand(checkOut, this.textProjectLocation.Text);
        }