Missed Team ’24? Catch up on announcements here.

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

Pushing back to your repository

56 comments

Juan Pablo Vega March 7, 2019

+1 for branch permissions when using HTTP, somehow.

Like matthewpetrie likes this
matthewpetrie
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 27, 2019

+1 for branch permissions for CI

Deleted user April 19, 2019

is it necessary to have the pipeline fail on a git commit that doesn't have anything to commit?

i guess the simplest workaround everyone is doing is providing an echo output to a file prior?

will this pipeline failure on nothing to commit always behave like this or is there any change in the works?

 

thx for any info.

 

-jw

Marcy Nugent April 19, 2019

If you don't want a pipeline failure on a git command, use the "OR" operand || to allow the command to return 0:

- git commit -a || echo "Nothing to commit"
- git push || echo "Nothing to push"
Like Deleted user likes this
Alex Tran
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 22, 2019

 

Pushing back using the http origin to repositories where branch permissions are enabled is not yet supported. 

+1 to have this supported as we are using branch permission.

 

Our current workaround is to switch to SSH before pushing

git remote set-url origin ${BITBUCKET_GIT_SSH_ORIGIN}
Gohar Anwar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 4, 2020

Any update regarding the support of pushing back using the http origin with branch permissions enabled?

Like # people like this

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events