A rebase operation is in process in VS 2017
Asked Answered
D

2

11

I cannot commit any code through my Visual Studio 2017, but I can commit using other Git tools. There is any way to reset or solve this issue?

This is what I get:

enter image description here

Drenthe answered 2/1, 2019 at 14:10 Comment(1)
Go to the command line and either continue or abort the rebase?Physician
F
15

There is a rebase operation in progress in your repo. You'll need to either continue it (git rebase --continue) or abort it (git rebase --abort).

Francescafrancesco answered 2/1, 2019 at 15:38 Comment(1)
Ok but why with Git Extensions I am able to commit?Drenthe
J
1

Close all open instances of the Visual Studio,

open the command prompt,

go to the location of your local repository with:

cd "localRepositoryRootPath"

get out of any rebase work that's currently in progress with:

git rebase --quit

reopen Visual Studio.

It should also resolve the cases where you get this message when you run: git rebase --abort

warning: could not read '.git/rebase-merge/head-name': No such file or directory

Joanejoanie answered 25/3, 2021 at 15:53 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.