# Save Flows to git Repo with different username on commit & push

**URL:** <https://discourse.nodered.org/t/save-flows-to-git-repo-with-different-username-on-commit-push/30048>\
**Category:** General\
**Created:** [14 July 2020 11:23 UTC](https://discourse.nodered.org/t/save-flows-to-git-repo-with-different-username-on-commit-push/30048 "2020-07-14T11:23:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![digvijay17july](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@digvijay17july](https://discourse.nodered.org/u/digvijay17july)\
**Post date:** [14 July 2020 11:23 UTC](https://discourse.nodered.org/t/save-flows-to-git-repo-with-different-username-on-commit-push/30048/1 "2020-07-14T11:23:28Z")

</div>

Hi Team,

Is there any way to set a different username and password on commit flows to a git repo, I mean if 2 different people are using the same instance and same flow, one person can enter his/her username and password on the push and the other uses his/her credentials.  
As of now on the first commit node-red asks for credential but after that, it uses the same every time.  
Is there any way or config where we can set to ask for credentials every time on commit or push?

---

<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:** [14 July 2020 13:08 UTC](https://discourse.nodered.org/t/save-flows-to-git-repo-with-different-username-on-commit-push/30048/2 "2020-07-14T13:08:42Z")

</div>

If you have adminAuth enabled and each user has a different login, then it _should_ use different credentials for each user. If that isn't the behaviour you are seeing, then that is a bug.

Otherwise, if you are not using adminAuth, then you have a single-user system and it assumes that one user wants to use the same credentials all the time.

---

<div class="post-metadata">

**Author:** ![digvijay17july](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@digvijay17july](https://discourse.nodered.org/u/digvijay17july)\
**Post date:** [15 July 2020 04:59 UTC](https://discourse.nodered.org/t/save-flows-to-git-repo-with-different-username-on-commit-push/30048/3 "2020-07-15T04:59:00Z")

</div>

ok thanks, i will try with different users and test the git flow.

---

<div class="post-metadata">

**Author:** ![digvijay17july](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@digvijay17july](https://discourse.nodered.org/u/digvijay17july)\
**Post date:** [16 July 2020 10:01 UTC](https://discourse.nodered.org/t/save-flows-to-git-repo-with-different-username-on-commit-push/30048/4 "2020-07-16T10:01:53Z")

</div>

@knolleary It is working fine, thanks 😀

---

<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:** [30 July 2020 10:01 UTC](https://discourse.nodered.org/t/save-flows-to-git-repo-with-different-username-on-commit-push/30048/5 "2020-07-30T10:01:56Z")

</div>

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