cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Changing git's author field when committing through Databricks

rcostanza
New Contributor II

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?

0 REPLIES 0

Connect with Databricks Users in Your Area

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