โ10-10-2024 02:24 PM
I have a git folder to a Bitbucket repo. Whenever I commit something, the commit uses my Bitbucket username (the unique name) in the field author, making it less readable when I'm reading a list of commits.
For example, commits end up like this:
commit c26aoin21o3dj1203n1o2j3ndlkjnlwjcne90we (origin/mybranch)
Author: myusername <myusername>
Date: Thu Oct 10 17:25:37 2024 +0000
If I were to fix this in my local git installation, I'd need to use these commands to have it using my name & email as author instead:
git config --global user.name "My Name"
git config --global user.email "my@email.com"
So commits would look like this instead:
commit c26aoin21o3dj1203n1o2j3ndlkjnlwjcne90we (origin/mybranch)
Author: My Name <my@email.com>
Date: Thu Oct 10 17:25:37 2024 +0000
I can't seem to find a way to do that on Databricks. Is it possible?
3 weeks ago
Hi @rcostanza ,
I think this is the exact issue https://databricks.aha.io/ideas/ideas/DB-I-10105 you are facing, it is a feature request and you can upvote it.
So, Currently, it is not possible to configure the author name and email for commits directly within Databricks to reflect your desired format (i.e., using your name and email instead of your Bitbucket username). The configuration commands you mentioned (git config --global user.name "My Name"
and git config --global user.email "my@email.com"
) are specific to local Git installations and cannot be applied within the Databricks environment.
Thanks!
3 weeks ago
Hi @rcostanza ,
I think this is the exact issue https://databricks.aha.io/ideas/ideas/DB-I-10105 you are facing, it is a feature request and you can upvote it.
So, Currently, it is not possible to configure the author name and email for commits directly within Databricks to reflect your desired format (i.e., using your name and email instead of your Bitbucket username). The configuration commands you mentioned (git config --global user.name "My Name"
and git config --global user.email "my@email.com"
) are specific to local Git installations and cannot be applied within the Databricks environment.
Thanks!
3 weeks ago
Thanks for the reply
I tried checking the link you provided but it seems it's a restricted system. Is there another place I can upvote it?
3 weeks ago
Oh, sorry it is internal. If you have an account executive you work with, they can help you with adding the details of the company etc.
2 weeks ago
Just found us suffering from the same issue since we enforced a GitHub ruleset to require commit emails to match our Org email pattern of `*@ourorgdomain.com`.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group