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.

0 votes
1 answer
29 views

IDE Throws IOException when trying to rename a folder

IntelliJ throws a JavaIOException when trying to refactor -> rename a folder. Since renaming it works if IntelliJ is closed, it seem that the IDE itself is holding a lock on the file. This was not ...
Simon's user avatar
  • 1,363
0 votes
0 answers
102 views

How in PhpStorm to show info about current git branch?

If there is a way in PhpStorm 2024 to show info about current git branch and number of files modified in the branch, maybe in status bar? Working with git in PhpStorm I prefer make all commands under ...
mstdmstd's user avatar
  • 2,945
0 votes
1 answer
57 views

Git rebase is failing to delete my commit

I want to delete a specific commit from my repository. The yellow one in this case So I entered the following command and this file opened up the red one here is 2.9.1 fa7c710 is 2.9.2 and 15e9b64 ...
Divyanshu Bhujbal's user avatar
0 votes
0 answers
18 views

what should be a naming for internal libraries cloned from public libraries

So lets assume we have a public library in version 2.3.1 We are currently using nugets in this version of library. We are planning to clone it to our repository and apply changes only for our company -...
Bartek Bartek's user avatar
-1 votes
1 answer
160 views

Sync Between Azure DevOps Git Repo and GitHub Repo

I have imported GitHub repo into Azure DevOps. But later I made changes in Azure DevOps code and also created new repo and pull requests in Azure DevOps, and I want to make all of these in a sync with ...
Ashok Kumar's user avatar
-1 votes
1 answer
50 views

why git isn't committing the insertions?

I am trying to commit a file called "index.html" using git but git is committing just a empty file without any insertions even after I make sure the file have changes, this is the terminal ...
Hassanein ali's user avatar
0 votes
0 answers
43 views

Link two folders between them so that if you change one file from one folder, the other one changes, too

I have several github projects that I'm working on, and in these projects there are certain folders which, in the old versioning system, were linked between them. For example: In Project 'Foo' I have ...
Roland Tamas's user avatar
0 votes
1 answer
113 views

Disable workspace wipe out by default for checkout scm in Jenkins

On each checkout scm step run the workspace is wiped out by default (log: Wiping out workspace first.), but I do not want that to happen as I am clearing it at the beginning with cleanWs(). Does ...
Sava Kezic's user avatar
0 votes
0 answers
40 views

`pyenv versions` Not showing my previously installed python version on Windows

I had python version 3.11.5 installed on Windows 11. Then I installed pyenv to manage python versions. But then the pyenv versions was not showing the previously installed python version. I installed ...
TwoFluidCarrots's user avatar
-1 votes
1 answer
55 views

Rewording large number of Git commits automatically, specific for a project file contained in a folder with bunch of other files

I used rebase tool for rewording the commits but that opens VIM editor and I have to reword the commit messages one by one which a very time-consuming process, especially when you have large number ...
Nav_211's user avatar
0 votes
1 answer
56 views

.gitignore not to ignore a certain file name in ignored subfolders

My project has many (currently 2) subfolders with name .vscode/ and I need my .gitignore to ignore that subfolders and all its files, excepting the one called launch.json My .gitignore is like this ....
Windgate's user avatar
  • 399
-1 votes
1 answer
78 views

.gitignore ignore any subfolder with name .vscode [closed]

I'm starting a repo with 1 development project and 1 testing project, so there are 2 different projects in the same repo, I'm working with Visual Studio Code. I need to specify in the .gitignore file ...
Windgate's user avatar
  • 399
0 votes
0 answers
41 views

Accidentally discarded all changes in Git repository, including files not added to .gitignore [duplicate]

I encountered a problem while working with Git in Visual Studio Code. Here's the situation: I initialized a new Git repository in my project directory. I added all files using git add ., but ...
Ermi's user avatar
  • 652
0 votes
0 answers
84 views

Setting up the version control of .dotfiles while the .config is connected to a forked repo

I have been using a ~/.config directory, as a git repo that was forked from https://github.com/benbrastmckie/.config to https://github.com/<myusername>/.config and git cloned. I want to keep ...
raf's user avatar
  • 243
2 votes
2 answers
239 views

Visual Studio 2022 convert spaces to tabs on checkout and back to spaces on checkin

I'm working with people who want to make leading spaces mandatory in our DevOps codebase. I use tabs. Is there a way to configure Visual Studio 2022 to automatically convert leading spaces to tabs ...
Medinoc's user avatar
  • 6,511

15 30 50 per page
1
3 4
5
6 7
1149