Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [version-control]

Version control is the management of changes to documents, programs, and other information stored as computer files. Use this tag to mark general questions about usage and applicability of version control, VCS comparison. For most commands and techniques specific to each particular VCS there are specific tags, which should be preferred.

1 vote
1 answer
19 views

DCV ERROR: Failed to import "file" due to SCM error: "github.com/thursday/myrepo". name 'urllib3' is not defined

I tried using dvc to import my zipped data using the command: `dvc import https://github.com/thursday/myrepo xyz.zip -o data/myrepo/xyz.zip'. This is my github :"https://github.com/...
Thursday U's user avatar
1 vote
0 answers
20 views

How to sync Pycharm and Gitlab across multiple machines

big disclaimer: I'm a noob. I'm just getting started in the world of version control systems. This is what I would like to achieve: 2 pcs in 2 different places that can work on the same projects, ...
Paolo Romano's user avatar
0 votes
1 answer
41 views

Pull and push multiple branches efficiently

We are moving from bitbucket to azure in our team. But while the azure stuff are being set up properly, we want to keep our repositories in both of them, and updating them to be as up to date as ...
III_phr's user avatar
  • 64
0 votes
0 answers
44 views

Multiple instances of MS Visual Studio all switch to the same branch of a solution when I want to have a different one open in each instance. How to?

When I switch to some specific commit of a branch of a solution in one instance of MS VS, it also makes the same switch automatically in the other instance... . Is there a setting I should change to ...
babipsylon's user avatar
1 vote
0 answers
34 views

git diff a file against the multiple files it was split into

I have a file A on branch old_branch that exists as multiple files A, B, C on a different branch new_branch. I need to merge old_branch into new_branch which would require me to resolve the merge ...
Andr0id16's user avatar
0 votes
0 answers
33 views

VS 2022 adding files from other branches as new files

When I clone a repo via the command Powershell command line in VS on our organization in GitHub, I get the files that I expect. Important note, at this step, I don't open the repo's folder in VS's ...
Divan's user avatar
  • 392
0 votes
1 answer
39 views

Jenkins pipeline build succeeds when git command fails to get pipeline

We have jenkins pipeline declarative projects that get their pipeline scripts from SCM (git). Notifications are handled in the post block of the script. Occasionally, the git command (say git checkout)...
Marek P's user avatar
  • 457
0 votes
1 answer
87 views

Security config error while upgrading version of spring boot application from 2.x.x to 3.3.0

I was using spring boot application running on version 2.x.x, now planning to upgrade the version to 3.3.0. But its throwing below error. My configuration file is as shown below but its not working, ...
brijesh Patil's user avatar
0 votes
1 answer
50 views

How to return to a previous commit but save changes in currently modified files?

I have a previous commit. After that commit I edited a file. But after that I messed up one thing. I want to return to a previous commit but save changes in that one file. The file hasn't been ...
Coder4Fun250's user avatar
0 votes
2 answers
44 views

How can I install extras from a git subdirectory with pip?

pip supports VCS installs, as documented in https://pip.pypa.io/en/stable/topics/vcs-support/ (related question: How can I install from a git subdirectory with pip?). However, it seems that it's not ...
Gabriele's user avatar
  • 650
0 votes
1 answer
43 views

How to roll back to a previous commit without losing further ones? [duplicate]

Say, I want to roll back to a commit by git reset --hard <commit's ID> to see how the project's structure looked like. But I don't want to lose the commits that go after that one commit that I ...
Coder4Fun250's user avatar
0 votes
0 answers
19 views

How to properly use xcode source control without all of its autogenerated project files?

I set up source control on a small project with Xcode, but I quickly found that there are a lot of random files and folders that Xcode makes for my project that are also getting picked up by git. Not ...
AmLearning's user avatar
0 votes
0 answers
48 views

git revert to uncommited branch

I forgot to commit changes in a branch and I use checkout. this is output of git reflog 10b13e2 (origin/main, optimize-step, main, add-step) HEAD@{1}: checkout: moving from separate-catform to ...
Hosein's user avatar
  • 13
0 votes
0 answers
68 views

Switch to another python version in Jupyter and in VS Code

I am using a Langchain to create a LLM in python version 3.12.4. However, I am getting an error mentioned below: TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: '...
LLM with Urvesh's user avatar
0 votes
0 answers
23 views

Visual Studio solution associated with multiple git repositories, but needs to be only one

On the bottom right hand side in Visual Studio it says my solution, which contains one project, is associated with two git repositories: One is the correct one, and one is a repository for a ...
Bart Castelijns's user avatar

15 30 50 per page