All Questions
253 questions
0
votes
2
answers
66
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
54
views
MySQL Ubuntu 24.04 LTS ERROR Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service"
Visual Studio Code crashes after pushing code to remote repository
Hello everyone! I recently started using Linux and decided to use Ubuntu 24.04.01 LTS I've noticed that it has given me some problems ...
-3
votes
1
answer
80
views
Azure storage account key in project metadata triggering git push protection
I have been in a struggle recently with all the projects i create on visual studio on my laptop.
Every time i try to push my code to GitHub i get the exact same push protection notification about my ...
0
votes
0
answers
29
views
Cant push or commit to github repo using visual studio git
I set up my ssh and stuff, I set up my key and it shows as correct on github. When I cloned the repo it worked, but when I try pushing, nothing happens, and when I get:
Git failed with a fatal error.
...
0
votes
2
answers
546
views
How can I remove a git and github repository connection to a solution in Visual Studio 2022?
First of all, I should explain the mess I have gotten myself into in order to explain this issue. (This was a windows form application with .Net Framework version 4.7.2.) I had the idea while thinking ...
0
votes
0
answers
34
views
How to add solution and project .vcxproj files to cloned repo with multiple projects and no Visual Studio (Community Edition) files
I created a repository using Visual Studio and Git and made a remote repository for it. The way it's structured is the repository (the root), three directories that are for a project each within the ...
0
votes
0
answers
21
views
VS 2019 - Ignore web.config and all related transform files AFTER intial check-in to GIT
I have a Visual Studio 2019 Solution with multiple projects in it.
In one of the projects (a .net core WebAPI project) I had some credentials in the config files when I added the files to GIT.
Now I ...
0
votes
0
answers
77
views
adding git to visual Studio made original .sln file unusable
I have a working VS2022 Enterprise (NOT VSCODE) Solution on Windows 11-Pro. I wanted to add Source Control to it. MANY years ago, I had created a github account (DocDJ) which still holds an old repo. ...
0
votes
0
answers
103
views
error when trying to push in Visual Studio to save changes in the repository
Git failed with a fatal error.
Git failed with a fatal error.
error: open(".vs/proyecto_final_DSWI/FileContentIndex/93d15405-ad61-4527-bebb-537d3f1a07af.vsidx"): Permission denied
fatal: ...
0
votes
1
answer
129
views
How to pull out backend code from an Azure function into a sub repository while keeping git history?
I have an Azure function project within a GitHub repository (AnkiSentenceCardBuilder being the Azure function project) and I want to pull the backend code out into a new sub repository, so I can reuse ...
0
votes
1
answer
395
views
Consistent error in pulling / pushing from virtual GitHub repo already set up in VSC
Background TL;DR:
I have been using PyCharm for Python as well as working directly on Jupyter NB, but recently I got interested in Manim, which seems to promote the use of Microsoft VSC because it has ...
0
votes
1
answer
91
views
How can I restore git tags?
I had to reinstall Windows. After I cloned my repos from GitHub, I observed that all my tags were gone. I did not know that they are not committed automatically.
However, before I reinstalled Windows, ...
4
votes
3
answers
8k
views
Visual Studio 2022 keeps asking for Git credentials even though it says authorization was successful
I am trying to get Visual Studio set up on my computer and I want to use Git through Visual Studio. I have Visual Studio working with Git fine on my laptop for whatever reason, on my desktop it just ...
1
vote
0
answers
511
views
How to undo already synced github commits in vscode?
I have tried to search for the answer, everything i find is either not the same problem or the answer is very vague and not explained well. I am using vscode, when i was pushing my changes to git hub, ...
1
vote
1
answer
874
views
Strategy for cleaning up historical commits of SECRETS detected by GGSHIELD
I am quite new to CIDI type of systems. I have been playing around with GITHUB and more recently with GITGUARDIAN using just test code and private repository. I have executed GGSHIELD to detect any ...