Category "git"

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

Can't ping github but can access github via browser at my workplace. Am I out of luck?

I can access Github via the browser at my workplace, but cannot git clone because fatal: unable to access 'http://github.com/user/project.git/': Could not res

Ignore White Space in GitKraken diff view

I have GitKraken Pro, fully updated, the 'ignore whitespace' option doesn't seem to work very well. My IDE's linter makes a lot of cosmetic changes that makes d

How to stop github from modifying my files (in workflow)?

On github.com, I have a little 6-byte file hello.txt consisting of "hello" and a newline:1 In an Ubuntu-18 workflow with runs-on: ubuntu-18.04, we have: But o

Git Diff at method level

I am looking at getting information on all the methods/function Added , Deleted and Modified between any two commits Notes - Code Base is in Java and on Github

Running TSLint only on changed files with Git Diff

I want to run tslint only on files that were modified in a pull request, instead of the entire project. git diff --name-only develop -- *.ts successfully prints