Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2013 Team Explorer/Git integration missing files

I've set up Visual Studio 2013 with the native Git integration & BitBucket.

This has worked fine so far, but I noticed that Visual Studio stopped tracking newly created files (created through the IDE, such as simple new .cs files) for upload to BitBucket.

  • Commit/Push for changes from already tracked files still works fine
  • The new files are not showing up in the Excluded Changes or Untracked Files lists
  • The new files are included in the project files (and those are showing the correct changes)
  • The files are definitely not excluded any other way (.gitignore or otherwise).

What else may cause the new files to not get tracked anymore?

like image 289
Alex Avatar asked Jan 05 '14 17:01

Alex


People also ask

How do I use Team Explorer in Visual Studio?

If you open Visual Studio and the Team Explorer pane doesn't appear, choose the View>Team Explorer menu option from the tool bar. From the Connect page, you can select the projects you want to connect to and quickly switch connection to a different project and or repository.

How do I clone a TFS repository in Visual Studio?

On the start window, select Clone a repository. In the Browse a repository section, select Azure DevOps. If you see a sign-in window, sign in to your account. In the Connect to a Project dialog box, choose the repo that you want to connect to, and then select Clone.

How do I get source control explorer in Visual Studio?

Source Control Explorer is available in Visual Studio, but isn't opened by default when working with a project managed in TFVC. You can open the Source Control Explorer window: From the Team Explorer home page (Keyboard: Ctrl + 0, H), choose Source Control Explorer.

What is Source Control Explorer?

The Source Control Explorer is used to view and manage source control-related files and settings for your project. This window pane collects all source control information in one place so you do not need to open multiple windows or tabs when working with projects that are bound to source control.


1 Answers

I experienced something similar recently but excluding and then re-including the missing files didn't work for me. In VS2013 Premium, I noticed there's a "Untracked Files" section at the bottom of the Changes window. It was simply a matter of right-clicking the files I wanted to include and adding them. Not ideal, indeed, but another work-around.

like image 84
hawkke Avatar answered Sep 18 '22 14:09

hawkke