Category "git"

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

How to remove WIP flag from Gerrit changeset with Git

I've pushed a work-in-progress (WIP) changeset to Gerrit by pushing to refs/for/master%wip, as per the documentation. The documentation also states that one ca

how to clone specific folder from git using --sparse

git version 2.25.1 I'm trying to clone only a specific directory from the git repository using the below command ; git clone --depth 1 --filter=blob:none --spar

Get Git Branch Name that Triggered Jenkins Build

I have a Jenkins file and a Git Hook that triggers the Jenkins build whenever a code is committed in any of the branches. I wish to print the branch name that t

New git submodule missing everytime I checkout my repo/branch

Whenever I clone my repo (<my_repo>) locally, the new submodule's directory (under <my_repo>/_includes/<NEW_submodule_2>) is empty. I have add

Jenkins plugin installed failed with error some plugins could not be loaded due to unsatisfied dependencies?

Dependency errors -Pipeline Graph Analysis Plugin (1.10) Plugin is missing: pipeline-input-step (2.8) -Jenkins Git client plugin (3.2.1) Plugin is missing:

After updating Visual Studio 2022, projects no longer under Git control

Ran Visual Studio Installer for the following: Added 'Desktop Development with C++' Updated VS to the latest version 17.1.4 Now when I load any project, it is n