# NR Projects - GIT intergration - username on commit

**URL:** https://discourse.nodered.org/t/nr-projects-git-intergration-username-on-commit/65223
**Category:** General
**Created:** [17 July 2022 15:53 UTC](https://discourse.nodered.org/t/nr-projects-git-intergration-username-on-commit/65223 "2022-07-17T15:53:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![SandeepA](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sandeepa/32/63225_2.png) [@SandeepA](https://discourse.nodered.org/u/SandeepA)
#### Post date: [17 July 2022 15:53 UTC](https://discourse.nodered.org/t/nr-projects-git-intergration-username-on-commit/65223/1 "2022-07-17T15:53:41Z")

</div>

Hi ,

I plan to have below set up .

1. Local GIT
2. Node Red with projects integrated to it.
3. Multiple users created on Node Red.

I was doing some tests with my local installation. I created 2 users under adminAuth - admin1 and admin2.  
Did some changes and committed them. Changes were done with both admin1 and admin2 separately each leading to its own commit.

Now when i run the command git log , I still see the Git credentials as given in Settings - Git config - "Committer Details" as common for all. There is no way to know to know which NR user did the change - admin1 or admin2.

Is there any which way this can be achieved by the current set up ?  
If not - can we consider adding the user name automatically to the Comment ?  
(I am aware this is limited to commits and not staged multiple chanegs which may lead to commit)

---

<div class="post-metadata">

### Author: ![SandeepA](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sandeepa/32/63225_2.png) [@SandeepA](https://discourse.nodered.org/u/SandeepA)
#### Post date: [19 July 2022 18:14 UTC](https://discourse.nodered.org/t/nr-projects-git-intergration-username-on-commit/65223/2 "2022-07-19T18:14:35Z")

</div>

Any feedback guys ?

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [19 July 2022 18:51 UTC](https://discourse.nodered.org/t/nr-projects-git-intergration-username-on-commit/65223/3 "2022-07-19T18:51:51Z")

</div>

The git committer details under user settings in the editor should be stored per-user. If a user hasn't provided they own details it will default to the system defaults.

---

<div class="post-metadata">

### Author: ![SandeepA](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sandeepa/32/63225_2.png) [@SandeepA](https://discourse.nodered.org/u/SandeepA)
#### Post date: [20 July 2022 18:25 UTC](https://discourse.nodered.org/t/nr-projects-git-intergration-username-on-commit/65223/4 "2022-07-20T18:25:53Z")

</div>

Thank You so much Nick. This solved the issue.  
Being greedy now - any way to link Git Committer detail to user login details (when adminAuth is enabled) ?  
This way its transparent to the user and it happens seamlessly.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [18 September 2022 18:26 UTC](https://discourse.nodered.org/t/nr-projects-git-intergration-username-on-commit/65223/5 "2022-09-18T18:26:06Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
