Git actions unavailable

Hi all,

not really a blocker, but as I never experienced this before: does anybody know why these Git actions are greyed out/unavailable?

This only occurs in a single Git repo (that was created through Plesk, if that makes any difference). So I'm wondering what's causing this. In all other repos, I can squash commits, edit my commit messages etc just fine.

Many thanks in advance.

0

Hi Eric,

If commits are already pushed to a branch that's protected in Settings | Version Control | Git, these options will be greyed out. 

This is just IDEs protection mechanism but you may remove the branch from the list and it shall work. 

1

Hi Dino,

I knew I must have missed such a simple thing - many thanks! Removing the branch name from the protected ones did the trick, indeed.

Regards,
Eric

0

请先登录再写评论。