How to publish your Visual Studio 2013 project to GITHUB?

Three simple steps in publishing your Visual Studio 2013 project to GITHUB repository.

STEP 1: Create Repository

Create a GITHUB repository, in our example below, the name of our repository is UploadSymbols, which is also the name of our Visual Studio project.

a1

 

Take note of the repository link after the it has been created, you need this during publishing.

a2

STEP 2: Add Source Control:

Now that the repository is ready, it’s time to open your Visual Studio 2013 project, right click on your solution and choose “Add Solution to Source Control”

a3

Choose Git, if prompted.

a4

STEP 3: Sync

You can now sync your solution to your repository once it has already Git Source Control.  To sync, you need to open the Team Explorer view (View->Team Explorer).  All files in our project are in the “Included Changes” list because our repository doesn’t contain anything yet.

a5

A “commit message” is needed before you could commit your changes to your repository.  Our commit message is “My first commit”, you can type in any message you want.

a6

Now that the files are committed, you can now sync it, just press the “Sync” hyperlink.

a7

Remember our repository link, cut and paste it in the URL box before pressing the Publish button.

a8

After clicking the Publish button, it may ask for your GITHUB credentials, just make sure to click “Remember credentials” so that every time you sync you will not be prompted again.

Your repository will now have all files in your project after publishing.  Now  you are ready to share your project with other contributors and team members. 🙂

a9

Happy coding! and if you find this blog helpful, you can make the donation by clicking the Paypal button below.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s