# Version Control: How do I add the logged user's name to the commit message when pushing changes?

**URL:** <https://forum.inductiveautomation.com/t/version-control-how-do-i-add-the-logged-users-name-to-the-commit-message-when-pushing-changes/110186>\
**Category:** Ignition\
**Created:** [August 26, 2025, 7:10pm UTC](https://forum.inductiveautomation.com/t/version-control-how-do-i-add-the-logged-users-name-to-the-commit-message-when-pushing-changes/110186 "2025-08-26T19:10:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guillermo\_Piedra](https://avatars.discourse-cdn.com/v4/letter/g/ce73a5/32.png) [@Guillermo\_Piedra](https://forum.inductiveautomation.com/u/Guillermo_Piedra)\
**Post date:** [August 26, 2025, 7:10pm UTC](https://forum.inductiveautomation.com/t/version-control-how-do-i-add-the-logged-users-name-to-the-commit-message-when-pushing-changes/110186/1 "2025-08-26T19:10:25Z")

</div>

Hi all, just curious, I followed the steps in this article [Ignition 8 Deployment Best Practices | Inductive Automation](https://inductiveautomation.com/resources/article/ignition-8-deployment-best-practices) to set up version control on our dev server project.

The changes are currently pushing successfully, however, is there a way to add the name of the user logged into the designer to the commit message? What is the best way to do this?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 26, 2025, 10:32pm UTC](https://forum.inductiveautomation.com/t/version-control-how-do-i-add-the-logged-users-name-to-the-commit-message-when-pushing-changes/110186/2 "2025-08-26T22:32:43Z")

</div>

The project update script gets an 'actor' parameter delivered:

> **[Gateway Event Scripts | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/platform/scripting/scripting-in-ignition/gateway-event-scripts#update-script)**
>
> Gateway Event Scripts Overview

---

<div class="post-metadata">

**Author:** ![Guillermo\_Piedra](https://avatars.discourse-cdn.com/v4/letter/g/ce73a5/32.png) [@Guillermo\_Piedra](https://forum.inductiveautomation.com/u/Guillermo_Piedra)\
**Post date:** [August 27, 2025, 3:00pm UTC](https://forum.inductiveautomation.com/t/version-control-how-do-i-add-the-logged-users-name-to-the-commit-message-when-pushing-changes/110186/3 "2025-08-27T15:00:38Z")

</div>

> [@paul-griffith](#):
>
> [Gateway Event Scripts | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/platform/scripting/scripting-in-ignition/gateway-event-scripts#update-script)

Thank you for your answer. Do you know how I can add the value of that **actor** parameter into the script file I’m executing in the same event with **systems.utils.execute()**?

 ![Screenshot 2025-08-27 095831](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/f/bf5d9e7990fc25e0ca03f39ef2ae864e2d2d804f.png)

This is what my Gateway event looks like, the **system.utils.execute()** reads the script and the script contains all the git commands and commit message to push to the repository.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 27, 2025, 4:19pm UTC](https://forum.inductiveautomation.com/t/version-control-how-do-i-add-the-logged-users-name-to-the-commit-message-when-pushing-changes/110186/4 "2025-08-27T16:19:06Z")

</div>

Extend your batch file to accept a parameter on the command line - out of scope of this forum but your favorite search engine/LLM should be able to help you.

Within the project update script, `actor` will be automatically available as a local variable.  
So something like this:

```python
system.util.execute([
    "path/to/file.bat",
    actor
])

```
