All Questions
Tagged with visual-studio git
1,760 questions
0
votes
2
answers
65
views
How do I push a project to a Github branch in Visual Studio?
All the tutorials and documents I've seen only show how to create a new repository, or to push the project without being able to choose the branch.
I have an existing repo in Github and an existing ...
0
votes
0
answers
20
views
How to show more meaningful git differences despite of the source code vertical alignment changes of Visual Studio Data-tier Application?
We are using Visual Sutdio Data-tier Application, a.k.a. SQL Server Database Project, to control the SQL source code of our database, including the table definitions.
As an example, we are making ...
0
votes
1
answer
50
views
Visual Studio git and Linked files
I have a Visual Studio Solution, and one of the projects uses a Linked Excel file that is used by multiple developers in various VS solutions, and is stored on a network share. It gets changed ...
0
votes
0
answers
143
views
Add a "note" to a Git commit
One of the key issues I keep having at my work, is to keep track which Git commit corresponds with the update at customer premises.
... and now I think "But what if I could add a note (like a ...
0
votes
0
answers
21
views
Problem with Fetch git option in VisualStudio 2022
Fetch option doesn't work in VS2022.
In output window there is no more details.
It works fine from cmd line.
errors
I tried many options mentioned in the internet, git reinstallation, re-logins. ...
0
votes
3
answers
124
views
Prevent developer from code commit if there is error in project build in Visual Studio
Few of my team members sometimes commit code without building project/solution which gives error to other team members when they get latest and build project.
Example:-
Error in code
Still commit ...
0
votes
0
answers
104
views
Visual Studio Git Diff Margin not working
I installed Git Diff Margin plugin in Visual Studio. but it does not show git information.
I'm using Visual Studio 2022 & use Fork Git. Git History on Visual Studio is working, so I thought the ...
0
votes
0
answers
113
views
Visual Studio crashes whenever I use git
I've been using Visual Studio to work on my C++ coding. When I try to create a git repo the application crashes.
This issue is reproducible for me through the simple steps
Create an empty project, ...
0
votes
0
answers
53
views
the active solution or project is controlled by a different source control plug-in
I've searched the internet in all corners but didn't find a solution. Every time I start a new instance of VS 2022 (Version 17.12.3) and try to open a special solution which is under GIT SourceControl ...
1
vote
0
answers
48
views
Visual Studio 2022 does not see git changes
I am using MS Visual Studio 2022 and I am facing what seems to be a recurring problem with git: the changes on a file are not detected for commit/push
The steps to reproduce are
Work with a git ...
-4
votes
1
answer
82
views
Why is Git ignoring one of my source files? [closed]
A file in my Visual Studio project was not being checked into the repository. On closer inspection, I can see this file is flagged as Ignored.
On further investigation, I found the following section ...
0
votes
0
answers
53
views
Can't create local Git for project - class library's Git is used?
I created a ClassLibrary and created a local Git from the Git menu...
Then I created a WinForm project and added the ClassLibrary (add project)...
But now if I try to create a local Git for my ...
0
votes
3
answers
95
views
Git says my branch is ahead of origin - even after revert/reset
On a recently cloned project, I just now made an unintentional change/commit to my local main branch. (I had intended to create and check out a new feature branch for the change, but I wasn't ...
0
votes
0
answers
37
views
How do I deal with varying Visual Studio C++ Platform Toolsets when working on different systems?
What is the recommended way for dealing with the "Platform Toolset" setting in the Visual Studio C++ Configuration Properties when I'm using different systems with different versions of VS (...
0
votes
1
answer
48
views
Rebuild Visual Studio Git (Azure) connection after moving the repository folder to another PC
I have a Microsoft account and use that as a VS account. I have a repository, ForTest, with which I synchronize my personal code.
One day, I copied the entire repostory folder to another computer and ...