All Questions
Tagged with version-control git
8,203
questions
0
votes
0
answers
42
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
50
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 ...
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 ...
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
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 ...