I'm trying to force push a rebase of a feature branch to a remote repository. To be a bit safer, I'm trying to use --force-with-lease to make sure no other chan
I am using git bash on windows 10 which was recently updated to creators update. whenever i am trying to switch between branches i get following thing $ git f
I've updated git to its latest version (2.29.0) and I'm using ZSH 5.8. I used to switch between branches with git checkout remote_br<tab> to quickly switc
I executed git stash pop twice instead of once and am now getting the following warning. Unmerged paths: (use "git restore --staged <file>..." to unstag
I just switched from Visual Studio Code to IntelliJ for Java development. Is there any way for IntelliJ to show last commit information on the current selected
I have two ML projects on Azure Databricks that work almost the same except that they are for different clients. Essentially I want to use some management syste
I wish to retrieve the latest commit hash on the remote repository, regardless of branch. I've tried git ls-remote <remote> and git ls-remote --tags <
I have aflake8:check todo pre-commit hook, which I want to ignore for now. I can ignore everything if I git commit --no-verify but I do want all other hooks to
I have two repositories in AWS Codecommit and I want to add the one repo as submodule into the other repositories. The two repos are located in a role, not in t
On Visual Studio 2017, I can not clone a repository with git. I'm having this error message: The repository url is good and the destination folder is also fi
Background To populate a repository's submodules, one typically invokes: git submodule init git submodule update In this usage, git submodule init seems to
I have a repo with 2 folders - 1 for the server, 1 for the client, and each folder has its own package.json file. I am trying to deploy the server to Heroku, bu
At one point I found a way to show line-by-line git blame within vscode. I now cannot recall or find the means with which to do that. I have the Git Blame exten
I have branch A with a few commits I need to cherry-pick into branch B. In the first cherry-picks I've added code that I've later removed in the last commits. W
I have only one commit on master and haven't merged it into the remote. I want to remove my commit, keep my changed files, change my branch, and commit them. No
some project i don't want use git monitoring , but in other project i want to keep use git monitoring , i use setting "git.enabled": false, "git.path": null, "
I want to install an npm package from a private repository from a specific branch. I know it's possible if you explicitly specify the token in the package path,
I'm using this answer on "how to disable git checkout auto-complete" (specifaclly, using the --no-guess part, as the export didn't seem to work.) I have a .git
I'm using this answer on "how to disable git checkout auto-complete" (specifaclly, using the --no-guess part, as the export didn't seem to work.) I have a .git
We have a common LDAP account/user. We plan to use this user to configure Jenkins for our team. I logged in to the machine/VM using my login and installed Jenk