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.
version-control
17,234
questions
0
votes
0
answers
8
views
Is there a way to delete security logs on GitHub?
I was just wondering if there is any way that I can delete security logs on GitHub for my own Private account on which I only have private repositories that are shared with nobody. Is it possible at ...
0
votes
0
answers
13
views
How to package and maintain helm charts for both open and closed beta?
I manage some Kubernetes CRDs and package them in Helm Charts for managing the different versions. Currently we only have one Helm Chart version that we deploy to production which is v1.0.0 and any ...
0
votes
0
answers
39
views
How to Version Control a PostgreSQL Table?
Backend: Python 3.11 and Django 5.0.6
Database: PostgreSQL 15
Our app deals with reporting from the database. We don't store report SQL queries in the codebase; instead, we store them in DB tables. ...
0
votes
0
answers
23
views
Large file not pushing to GitHub [duplicate]
I added a file (.mlpackage) of 774.96MB to my project, and it won't push to github because it exceeds their 100MB file limit.
As instructed by my terminal, I've used git lfs, however the file still ...
0
votes
1
answer
48
views
Why does `git clone --depth 1` leave packfiles?
I am trying to clone a repository with a lot of blobs in its history, and would like to only download the files at a specific commit without any added overhead or redundancy.
When trying git clone --...
-1
votes
1
answer
34
views
How to undo a <history change> push in git? [duplicate]
After a month of working on a personal project, I realized I was using an invalid user.name and user.email so I changed it properly and everything was set right until the last commit done 2 months ...
-3
votes
0
answers
20
views
Need guidance on a document version control project [closed]
I have a document version control project where basically two things needs to be done:
identify which document is the latest of them
what are the historical version control changes on the documents?
...
0
votes
1
answer
30
views
Pip version trouble in pycharm
So, I want to start a new project in pycharm and it always starts with an outdated version of pip and I have to do the upgrade. It's not really a problem for a project, but it's getting annoying for ...
0
votes
0
answers
18
views
Suggestions for good workflows with git, when gerrit is the central repo
I have some major overhead when working with Gerrit. I have not found any guides that makes sense to me, on how to adopt a local workflow for Gerrit. What follows is how I work locally when the ...
0
votes
1
answer
27
views
Git Client For A Bare Repository
Do you know a github-like bare repository hosting tool of git?
In my company, an shared file server is available but web server is not available.Then I found git bare repository. It seems to be able ...
-1
votes
0
answers
26
views
github repo not found : [closed]
git remote add origin https://github.com/aksharma27/myZoom.git
git add .
git commit -m "comment"
git push -u origin master
https://github.com/aksharma27/myZoom.git
Adding right remote repo, ...
-2
votes
2
answers
49
views
Git log --since not working as expected for 1 day timeframe
git log --since=1.day command displaying commits from June 27th despite today being July 3rd.
I'm encountering an issue with the git log --since=1.day command in Git. According to the Git ...
-2
votes
1
answer
50
views
More than 10,000 changes on source control in VSCode [duplicate]
I am a beginner to Git. I cloned a repo from GitHub I had created myself, now when I open it on VSCode it says:
The git repository at "c:\Users\my-user\Documents\my-directory" has too many ...
0
votes
0
answers
29
views
Is there any reason why some would want to rebase a branch and then merge --no-ff to force a merge commit?
From what I understand, rebasing essentially moves the base of your branch to a more recent (the most recent?) commit to make it seem like you branched off later than you actually did.
This makes it ...
-1
votes
0
answers
11
views
How many codelines can be defined in this system?
I have a question about codelines and baselines as I'm struggling to understand everything. I just want to know how many possible codelines exists for this system and what are they?
system version ...
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/...
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, ...
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 ...
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 ...
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 ...
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 ...
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)...
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, ...
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 ...
0
votes
2
answers
43
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 ...
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 ...
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 ...
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 ...
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: '...
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 ...