Category "git"

Warning: Multiple merge bases detected. The list of commits displayed might be incomplete

In Azure Repos, I have created a PR from branch A to branch B. There are no merge conflict displayed. But I end up with the warning message Warning: Multiple m

Multiple Git push in one command

I've an application that requires to run git add/commit/push on each single file i'd like to push, in order to trigger a Gitlab Job on each. My problem is that

Windows. How set GIT_TERMINAL_PROMPT=1

Now I have GIT_TERMINAL_PROMPT=0 . And if I do git clone https://github.com/some/non-existing-repo - will fail without prompting for username & password. I

How to update a Github cloned repository?

I have created a repository on Github, and the cloned from my local machine and also push some code. I cloned that repository from a virtual online machine with

What's different between `--abort` and `--quit` as sequencer subcommands for `cherry-pick`?

As per the doc, among the three sequencer subcommands for cherry-pick, we have these two which are, to me, oddly similar : --quit Forget about the current

Access GitLab repo with project access token

According to the documentation, it should be possible to access GitLab repos with project access tokens: The username is set to project_{project_id}_bot, such

GitPython - script error - already exists and is not an empty directory

I have a script that makes a clone of the repository I need. This script must be executed every day, i.e. reload data from the repository. There are no problems

Recursively clone submodules from GitHub using an access token

I have an umbrella repo containing a number of submodules. I am using git clone --recurse-submodules --remote-submodules https://<access_token>@github.com

Single Push Without Github Action

I have a github repository for which I have an CI script set up using Github Actions. On 95% of the pushes into main, we need to run the script, so the script i

Single Push Without Github Action

I have a github repository for which I have an CI script set up using Github Actions. On 95% of the pushes into main, we need to run the script, so the script i

Why does Gitlab CI fail to get git submodule but on subsequent push checks out the submodule?

My project consists of a parent project and a child project. The child project is included in the parent project as a submodule. I am using Gitlab CI. Below is

Jupyter notebook & 'git' is not recognized as an internal or external command, operable program or batch file

I am trying the following code in a jupyter notebook if not os.path.exists(os.path.join(paths['APIMODEL_PATH'], 'research', 'object_detection')): !git clone

Cannot install with npm package from git

I am trying to install package from git, which I forked earlier. I try npm i catsaredoomed/invest-openapi-js-sdk --save-dev I've got npm ERR! prepareGitDep 2&g

Sonarlint and Intelij: possible to run analysis only for files in a changelist?

I am currently running sonarlint plugin locally in Intelij which works well. I would like to run the plugin only for files that I have in my Changelist - before

How to push React with .Net core application to heroku?

I have completed making one application using react in front end and .net core at backend. Now I need to publish this repository to heruko. Locally, when I do d

git commit --amend --no-edit

I had already pushed some changes to a remote. Now I need to push some other changes related to the commit that I already pushed, which should be in that commit

Git partial/sparse/narrow fetch and update in Azure Devops Hosted Agent

I am wondering if it's possible to fetch only a single file from a Git repository in order to commit a new change to it. We want to change the file on a Azure D

git push and commit is not working in Vscode

I signed up in vs code with git , did all setup , my repository is loading and showing all the modifications done but the commit and push is not working , as i

Git in Visual studio code says file is modified even when there is no change

I am using the Visual Studio Code for my salesforce development. I have some issues with Git as a repository. When I right-click on the package.xml and say Retr

I am Unable to sign in to VSCode and git is also not working in VSCode

Yesterday, I ran Angular in my vscode terminal. When I tried to close all open files in vscode, I closed the Vscode application. Since then, Git is not working,