Category "git"

Can you order git log by commit timestamp?

So I recently rebased a branch and merged it into master. When I do git log, I get a pretty, linear history of commits. But I want to see my commit history base

show current GIT branch name in windows command prompt

Is is possible to display current git branch name in regular windows command prompt? Let's say on windows 7 or 10.

GIT - IntelliJ : Failed to start Git process

I m getting this message when I try to pull or to push my commits using IntelliJ : "Failed to start Git process" In the settings of my IntelliJ I linked t

How to find lost git commits after push?

I downloaded a ZIP file of a project commit. After making some changes, I ran the commands: git init git branch -m main git remote add origin <url> git ad

git: check diff between local working copy and remote working copy

We have to copy over files to an archaic live server for reasons I can't control so I need to see a diff of what the remote working copy will be compared to my

How to delete a git configuration?

Basically, I entered: git config --global use.name "My name" Notice I wrote "use.name" instead of "user.name." But now that field is there, so I was wonderi

How use Google Cloud on Source Tree?

I just created a new Repo in Google Cloud and wanna use the Source Tree app as controllers for my git interactions. But I keep been asked this password for pus

remote: Unauthorized fatal: Authentication failed Bitbucket

Ok, so Here's the scenario, I had user1 logged in to my terminal for bitbucket account. I had logged in like $ git config --global user.name "user1" $ git c

How to resolve a Git "CONFLICT (modify/delete)"?

I run into a Git merge conflict which I have seen before. >git pull origin dev From https://scm.starbucks.com/roastery-milan/choreographer * branch

Exception of type 'Microsoft.TeamFoundation.Git.Contracts.GitCheckoutConflictException' was thrown

While trying to checkout to a new branch in Visual Studio 2019, I'm getting the below error: I tried to do the same from GitBash cmd using the command git chec

error: RPC failed; curl 18 transfer closed with outstanding read data remaining when pushing my android project to github

I am having a problem trying to push my code to github. This is the error that I am facing I have tried few solutions that I have found but they all seem not to

unable to push git tags in gitlab ci pipeline

In my gitlab ci pipeline, I want to push a tag wherever pipeline run for the master branch. But the issue is that I am unable to push the tag on the repository.

I want to use Git via macports instead of Apple Git

I'd like to use the latest version Git via macports instead of Apple Git. But when I type git --version on terminal app, it displays Apple Git version. Could y

How to access commit message with Husky pre-commit hook?

My husky script: "husky": { "hooks": { "pre-commit": "sh ./tools/githooks/pre-commit.sh" } } Let's say I am doing a git commit -m "I want t

Xcode Source Control - Push local changes stuck on Loading

I keep getting this problem with Xcode source control. If I checkout a previous branch and then switch back to my latest branch, sometimes I can no longer push

VS 2017 Git Local Commit DB.lock error on every commit

We are getting this error on every local commit: Git failed with a fatal error.error: open(".vs/XXXXXX.Dev.Library/v15/Server/sqlite3/db.lock"): Permissio

How Do I set a Teamcity Trigger on a Particular Folder for Git VCS trigger

I would like Teamcity to Trigger a build when there is a gerrit change on a specific branch on a specific folder. I'm unable to achieve the same, any suggestion

How to force Git (2.5+) HTTP transport prefer SPNEGO over Basic authentication?

Summary: I am using Git for Windows 2.5.1 to authenticate with a Kerbesized Git server. When I am using the URL in the form https://el2-gitlab.sa.c/kkm/GrammarT

Reverting to a specific commit without losing history

I know this type of a question has a lot duplicates, but I wanted to open a new one because I didn't found in all of the other questions the explaination of the

merge feature branch to main error: You are attempting to modify a pull request based on out-of-date information

Please assist me. I want to merge my feature branch to develop branch after my pull request was approved. I then used PowerShell to run and ran the merge comman