• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Plesk Git pull deploys wrong branch

Duarte N

New Pleskian
Username:

TITLE

Plesk Git pull deploys wrong branch

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk Obsidian v18.0.72_build20250915.05 os_Windows 2016/2019/2022/2025

PROBLEM DESCRIPTION

After updating Plesk, when performing "Pull now" on a Git repository via the Plesk Git extension, the repository branch is unexpectedly switched to the default repository/branch defined in Git.
In the Plesk GUI the selected repository/branch appears correct, but in the file
vhosts\domain.com\git\test.domain.com\HEAD
the branch reference is overwritten with the default one.

STEPS TO REPRODUCE

  1. Configure a Git repository in Plesk and set it to use a branch other than the default (e.g. staging).
  2. Verify in the Plesk GUI that the selected branch is correct.
  3. Execute "Pull now" from the Plesk Git interface.
  4. Check the file vhosts\domain.com\git\test.domain.com\HEAD.

ACTUAL RESULT

The file HEAD is modified to point to the default branch (e.g. master).
As a result, even though the GUI shows staging, the content deployed corresponds to master.

EXPECTED RESULT

The HEAD file should remain pointing to the branch selected in the Plesk GUI (e.g. staging) and the deployment should be executed from that branch.

ANY ADDITIONAL INFORMATION

The bug appeared after Plesk update to version Plesk Obsidian 18.0.72 Update 2 and/or Update 3 and not from a Git extension update.

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Back
Top