Category "git"

Different versions of configuration files on remote github repositories (staging/production)

I am setting up a documentation website, using GitHub Pages + Docusaurus (static website generator). There are two github repositories involved: "DOCS" for the

git commit: pre-populate commit subject but still prompt for a commit message [duplicate]

Let's say I'm working on a branch and I run git commit. I am then taken to the commit message prompt where I may enter a commit subject and m

"fatal: Authentication failed" with git-credential-manager

I'm using Azure DevOps for the first time to host my next project. When I created an empty project on Azure Devops, I tried to clone it. While attempting to clo

git flow merge down/left continously

Git flow ensures the following way that changes to master and release eventually end up in develop: hotfixes branch from master and merge back to develop. If t

VSCode, Perforce: "SOURCE CONTROL No source control providers registered."

I'm using VSCode x64 on Win10 x64, and desire to use Perforce with it. I have a Perforce installation on the same machine that already works with both local and

git push fails if history changes in remote

I have scripts which run some git commands and try to push changes. Those changes are not conflicting changes, since each one works with a different file. Now w

How to Access Private Github Repo File (.csv) in Python using Pandas or Requests

I had to switch my public Github repository to private and cannot access files, not with access tokens that I was able to with the public Github repo. I can a

How to install git on Windows 10 without Git Bash or GUI?

I am trying to install Git on Windows 10, but without Git Bash or GUI. I want to use Git in PowerShell and I would like not to bloat my PC. I know the install s

How to preserve files on merge after git revert

We have 3 branches: Master v9.3.0 v9.0.0 We realized that some code on 9.3.0 was wrong and we decided exclude it. So we reverted master to 9.0.0. We created a n

Git cherry pick and then rebase

There's something I don't understand when I rebase after cherry-picking in git. Would someone please tell me what's going on? The scenario like this: I am wo

Re-merge a branch into Master

I created and pushed a branch called Branch-A. Someone merged Branch-A into Branch-B, deleted the changes I added to Branch-A and merged Branch-B into Master. I

Fast-forward merge is not possible. To merge this request, first rebase locally

Recently, I have created newbranch and created a merge request to Master branch. Before TeamLead accept merge request into Master branch another team member was

failed to initialize sparse-checkout

I'm getting the below error when i try to clone a folder "banana" from git repository using sparse filter; git clone --depth 1 --filter=blob:none --sparse https

How to apply Dockerfile `git config` values to a non-root user's ssh session?

I have a Dockerfile whose base layer includes git, configures git's global user.name and user.email and that starts openssh-server. The Dockerfile is along the

Creating fork relationship between existing GitHub and GitLab repositories

I have a GitHub repository on LaTeX template which was originally created by using another GitLab repository. Now I like to show the connection and fork relatio

git partial clone garbage collection

Question: How can I remove / prune / gc unreferenced blobs in a partially cloned git repository? Details: I am evaluating whether Git Partial Clone can become a

Why is heroku giving error code H81 on deployment of react app

Im deploying full stack react app to heroku. I followed the steps provided on heroku using the cli -logged in using my credentials -ran heroku create -added

Flutter Mac Book M1 You appear to have CocoaPods installed but it is not working

STILL NOT SOLVED I am setting up Android Studio on Mac Book with M1 Chip (Big Sur). When editing a project with dependencies, I get a Cocopod error. I tried rei

Use git filter-repo to move a subdirectory to root while retaining files in root

I am attempting to split up a repository that contains a client and server into two repositories, and I want to move the respective folders to the root while al

Is it possible to hide certain activity from my GitHub profile?

Lately I've been contributing to a project from a public organization in GitHub. For personal reasons, I've decided that I don't want such commits or anything r