How to configure a project in Git and GitHub?

5

I have a project in GitHub called ProdRegex it does not contain any files, I have the project saved on my PC in the following path I have installed git on my machine, but I do not know how to configure the project on my machine to synchronize with my account in GitHub >. I did a search anyway so I'm having a hard time making this configuration, if anyone can help me from now on thanks.

    
asked by anonymous 25.11.2015 / 03:28

1 answer

5

GitHub has an application , simpler than setting native Git and using.

Basically, just install and link your GitHub account on it.

There will be 3 options: Add , Create and Clone :

  • Add : Adds a local repository to it. Being a repository remotely connected to GitHub, you can synchronize with GitHub;
  • Create : Creates a new local repository. Then there is the Publish option, where you upload this repository to GitHub in your account;
  • Clone : Clone a GitHub repository to your machine. In your case, this would be the first option to use.

Remembering that the Commit option does not send data to GitHub. The options that do this are Publish (when the repository does not exist) and Sync (when the repository already exists). The Commit option only saves the state of that repository, allowing you to easily roll back the modifications if you wish.

    
25.11.2015 / 04:00