Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to remove branches not from stash

Olexii Ratych November 16, 2015

is there possibility to remove branches from git command line when push check enabled?

or only from Stash web site?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Olexii Ratych November 17, 2015

yes, this is clear, but when you have enabled push check hook (https://marketplace.atlassian.com/plugins/com.lb.software.stash.jira.connector.lb-software-stash-jira-connector), it is not allow you to delete branches from any place except Stash...


To ssh://git@stash/test/oratych_test.git
! [remote rejected] feature/JIRA-14 (pre-receive hook declined)
error: failed to push some refs to 'ssh://git@stash/test/oratych_test.git'

Benjamin Mueller August 25, 2017

Yes it is a known bug. It will be fixed in one of the next releases

0 votes
Tim Crall
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 17, 2015
git push origin --delete <branchName>
TAGS
AUG Leaders

Atlassian Community Events