DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Integrating PostgreSQL Databases with ANF: Join this workshop to learn how to create a PostgreSQL server using Instaclustr’s managed service

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • Best GitHub-Like Alternatives for Machine Learning Projects
  • Deploy MuleSoft App to CloudHub2 Using GitHub Actions CI/CD Pipeline
  • Continuous Integration for iOS and macOS
  • GraalVM Features and Future

Trending

  • Future Skills in Cybersecurity: Nurturing Talent for the Evolving Threatscape
  • LLMs for Bad Content Detection: Pros and Cons
  • Database Monitoring: Key Metrics and Considerations
  • Agile Metrics and KPIs in Action
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Deployment
  4. Setting Up GitHub to Work With Visual Studio 2013 Step-by-Step

Setting Up GitHub to Work With Visual Studio 2013 Step-by-Step

Michael Crump user avatar by
Michael Crump
·
Mar. 07, 14 · Interview
Like (0)
Save
Tweet
Share
5.62K Views

Join the DZone community and get the full member experience.

Join For Free

intro

i’ll admit that the easier you make something, the more i will use it. while i know enough about the command line to work with github , i’d much prefer it to be integrated inside my ide. in this tutorial, i’ll show you just how to do that using visual studio 2013.

begin by creating any type of project. in my case, i created a new windows phone 8 app. again, this doesn’t matter. select “ file ”->” add to source control ” as shown below.

image

you will get an option to choose between tfs or git. select “ git ” and place a checkmark to use it in the future.

image

head over to github.com and create a new repository and give it any name you want. i named mine “ githubvs2013 ”, left the rest as default and finally hit “ create repository ”.

image

go inside the newly created repository and copy the clone url. you will need this in the next step.

image

beside the solution explorer tab, you will see team explorer . click on “ unsynced commits ” and add the clone url from the step before and press “ publish ”.

image

after you hit the publish button, you may need to authenticate with your github username and password if you have not done so already.

image

you should see the following message:

image

go ahead and hit the “ sync ” button and you will see the following message:

image

now that your account is tied to the repository, you need to upload any unsynced commits. select “ home ” from the team explorer menu then select “ changes ”.

image

here you will see a list of your project and all of the files to be included in the commit. give it a description and hit “ commit ”.

image

you should see now that your commit was created locally and you will need to sync to share your changes with the server. click on the “ sync ” button to do that.

image

this will bring you to unsynced commits. simply hit “ sync ” and then navigate over to your github.com repo and your project should be there.

image

image

making a change

if you switch back over to solution explorer and make a change, you will see a red check mark on the file as shown below. a blue keypad means that it is already checked in.

image

head  back over to “ team explorer ” click “ changes ” then enter a description and click “ commit ”.

image

again you will be asked to sync with the server from your local repo, and you will need to click “ sync ” again.

image

switch back to github and look at your repo and the change should be reflected.

image

wrap-up

now in order to keep you sanity, bookmark this page and whenever you setup a new project you can use this guide to walk you through it.  because if you are anything like me, you will forget in about 6 months (i mean minutes.) thanks for reading.

GitHub

Published at DZone with permission of Michael Crump. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Best GitHub-Like Alternatives for Machine Learning Projects
  • Deploy MuleSoft App to CloudHub2 Using GitHub Actions CI/CD Pipeline
  • Continuous Integration for iOS and macOS
  • GraalVM Features and Future

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: