Creating a Repository
If you don't see your GitHub extension in the 'Team Explorer' panel, click on 'Manage Connection' in top of the panel.
Steps to creating a repository:
- Click on 'connect' in GitHub extension.
- Sign in with your GitHub account.
- Click on 'Create' button.
- Fill your name and description for repository.
- Git ignore option will let us pick from a variety of languages and frameworks. Git ignore specifies the type of files that will be ignored when commiting changes to repo.
- For license, check this link for more information. https://help.github.com/articles/open-source-licensing/
- Click 'home' button to get back to home section of team explorer.
- Create a new solution on the bottom of "Team Explorer" in right panel
- Take a quick-look in "Changes" in "Team Explorer" panel.
Commit Changes
- Write "First Commit" in top of "Team Explorer" panel.
Click "Sync". When clicked "sync", it asks the server if it had any changes that were not in our local repo.
On a team, it's possible that another developer changed a file in their own copy and we need to get their changes into our local copy."Incoming Commits" lists all changes that we need to pull down.
"Outgoing Commits" is our changes that ready to push to the server.
- Visual Studio will automatically pull the changes from server before we could push our changes to server.