I make the internet beautiful. Front End Developer with a crush on the back end. Hubspot COS Penguin. Favorite color is #bada55 - I think I may have just told a lie! This purple color is more like my favorite color, I just wanted to write badass


Using Team Foundation Server, GIT, and Visualstudio.com to set up a a team project that you already have started

The first time I tried to get this started with a co-worker it worked no problem.  We got real lucky.  Since then we had 5 or 6 failed attempts.  I was searching all over the internet and just couldn’t figure out how to get the project started.  This was my first time using GIT and my first time using Team Foundation Server.  My buddy and I really tried a few different ways.  I believe I will be adding how to do via command line over the next few days, as my buddy likes to use command line and we will get that process up here.  I started a thread on /r/learnprogramming and started to document what i was doing and what wasn’t working.  This is my attempt at cleaning it up a little. I’m sure I will be posting, as soon as we get it set up, a way to do this on your local network. Setting Up A Team Project using Visualstudio.com, Team Foundation Server and GIT This assumes you have git for vs and the updates for visual studio.  If you need help with this, put it in the comments Get started by being in your subdomain.visualstudio.com and clicking on New Team Project + Git visualstudiodotcom The Create New Team Project will appear.  Type in your project name(NOTE:  I found that leaving the spaces out of this stuff prevents the %20s in your project name), description,  Process Template (I’m using MSF for Agile Software Development 6.2.)  Why?  I’ve heard of Agile before… Version control = Git.  Create the project. createnewteamproject Your project is created and your team is going to absolutely love this.  Do you know how many times I read this?  Quite a few times while trying to get this to work.  I didn’t think my team was going to love anything. completed Now what we have to do is set up your additional members.  I already have my members set up, so I just have to pick them. Click on Manage all members managemembers Clicking on Add is where you want to be. addmember Add with their Windows Live ID, or if they are already in there, type in their display name addauser Okay.. that is out of the way.  You have a project set up on your remote repository and can get started setting up the project locally and syncing everything up.  As you can see, I have a bunch of failed testing examples, team planet stuff that I was attempting to get to work.  So, below is the start page.  Click on Connect to Team Foundation Server NOTE: I found that leaving the spaces out of this stuff prevents those %20s startpage Your connect to team foundation server is going to come up. Select your server, make sure you are in the right collection, then select your team project.  I took this screenshot before I cleared out the garbage…  But I selected Spam_Test. connecttoteamfoundationserver After clicking connect, you will want to make sure you have your Team Explorer window accessible (View / Team Explorer if it isn’t in one of your side bars) You will see, in yellow, a CLONE option. Click on that.  That is going to take your newly connected repo and make a spot for it on your local machine. teamexplorer-connect Now you are going to point where you would like to store your local Git Repository.  Point it, then click Clone clonegitproject Now you want to copy over your files from your original project to where you just pointed your Local Git Repository (in the last step) — I used Windows Explorer windowsexplorer I’m using File, Open Web Site – Because that is the easiest way for me to get this going.  If you have your project file in the same folder, after moving the folder, I’m not sure how that works out. If you do, let me know. openwebsite Open up your Team Explorer again. You will see just under the top options, you have a drop down.  Click on that and click on changes/git changes teamexplorer-localgitrepository After doing so, you will see Untracked Files.  Add All will move them up in to your included Changes. untrackedfiles Now, type in a commit message, then click Commit (after verifying your Included Changes) commit This is when Microsoft Visual Studio will ask you to save your current project.  This is when I take the opportunity to save it in the same directory.  I’m doing this because I want to make sure that I sync the project file with the project (so that all developers can be on the same page!).  If I am doing this wrong, let me know! savechanges Commit Successful! commitsuccessful You will notice your solution files are now in the Untracked Files if you added them to your repo directory.  I added them and then did a second commit. commit2success Now you will want to push your commits.  That will take the files on your local repository and push them to your visualstudio.com server area. Check out what is going on below.  Get to the Commits drop down.  Under outgoing commits, click push. pushingcommits After clicking sync you will see that you are syncing.  NOTE.  Master.  That is the master branch.  If you don’t know what you are doing and start workign on another branch.. this will get a little confusing. syncing And you are finished! successpushingcommits

Tags: , , , ,

Trackback from your site.

Leave a comment

What about a meepface?

Somebody’s Instagram Feed