Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9251573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:44:10+00:00 2026-06-18T10:44:10+00:00

About a week ago Git support was added to Visual Studio 2012 and Team

  • 0

About a week ago Git support was added to Visual Studio 2012 and Team Foundation Service. I’ve been playing around with it a bit and wanted to publish a local repository to my team project. It’s described in step 2 on the Team Foundation Service website:

  • Publish your local Git repository into your new team project.

enter image description here
enter image description here

Now I’ve been doing the exact same thing, but I don’t get the “Publish to …” context item. Could this be a bug or am I missing something?

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T10:44:11+00:00Added an answer on June 18, 2026 at 10:44 am

    I was having the same problem. I don’t know why.

    However, after a bit of playing around, I managed to get the following
    working. Disclaimer: can’t guarantee this is actually the correct way
    to do it. It may bork things further. And whether it does the same as what the missing ‘Publish’ menu item is supposed to do, I have no idea. Use at your discretion…

    • Get the url of your git repo in the project you set up in TFS.
      • Go to your project in the TFS web interface, then Code tab.
      • You should get a message that gives you the URL.
      • e.g. https://user.visualstudio.com/DefaultCollection/_git/YourProject
    • Edit the .git/config file on your local repo.
      • Configure the origin remote to point to your TFS repo.
      • (note: if you already had an origin remote, you might want to rename that first to keep it)

    e.g.

    [remote "origin"]
        url = https://user.visualstudio.com/DefaultCollection/_git/YourRepo
        fetch = +refs/heads/*:refs/remotes/origin/*
    
    • Open your solution in Visual Studio.
    • Edit a file.
    • Do a commit.
    • Do a push.

    This should hopefully push your local repo to your TFS remote as origin.

    From here things seem to be working for me — the code is up in my TFS
    web interface at least, and I can push commits to it. I can add backlog items etc. I’m new to TFS though so not sure if it’s actually all working as it should be.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just noticed this about a week ago. I'm storing data about the current
I started Objective-C programming about a week ago and am stuck on creating a
I've just started learning Java (about a week ago) and the last few days
My disclaimer here is that I started teaching myself C++ about a week ago
I've been learning wpf for about a week now.. and i have a basic
I've been using GitHub for Mac for about a week or so with great
I have been working on a site for about a week now and we
I've been working on a Fibonacci Heap implementation in Java for about a week
About a week ago, I was rebasing some commits while trying to clean up
About week ago Facebook login on my website worked correctly, but now when I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.