-1

This is a re-upload of Run git commands from a C# function.

I am creating an update system for my C# Console Project and would like to use git commands to pull the latest version and update itself. How would I do that?

01maxzie
  • 29
  • 8

1 Answers1

0

This answer should help you to get a basic understanding.

So now you have to run two sets of commands.

Push:

add -A
commit -m "explanation_of_changes"
push origin branch_name

Pull:

pull origin branch_name
Vivek Nuna
  • 25,472
  • 25
  • 109
  • 197