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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,465,462
Community Members
 
Community Events
176
Community Groups

Can Git user be changed when pushing back to the repository from Pipelines?

See the below image that shows that the `bitbucket-pipelines` user is the committer whenever the pipeline is bumping the version automatically after a successful build.

image.png

Can the Author be changed in any way?

I tried to set:

git config user.name
git config user.email

...before pushing, but it did not help.

Thanks!

1 answer

1 accepted

0 votes
Answer accepted

Hi @zoltan_zvara ,

This is possible using the commands you mentioned

- git config user.name 'John Smith'
- git config user.email myemail@domain.com

Please note that the commands need to be executed before the git commit command. The email gets added to a commit's metadata when you do a git commit and not when you push.

Are you using the git config commands after you do a git commit in your build? If so, could you try moving them before the git commit, and let me know if it works?

Kind regards,
Theodora

You are right; that was the issue; sorry for not being thorough in my investigation!

Thank you for your kind help!

Hi @zoltan_zvara, you are very welcome and no worries at all, I'm glad I could help!

Please feel free to reach out if you ever need anything else!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events