# Module Git - Easy integration of git for your development

**URL:** <https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033>\
**Category:** 3rd Party Modules\
**Tags:** ignition80, perspective, vision, ignition81\
**Created:** [April 4, 2023, 4:32pm UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033 "2023-04-04T16:32:26Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![msteele](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/msteele/32/77889_2.png) [@msteele](https://forum.inductiveautomation.com/u/msteele)\
**Post date:** [May 24, 2023, 2:05pm UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/21 "2023-05-24T14:05:21Z")

</div>

We have a consultant working on a new Azure DevOps scheme for source control, build-and-deploy pipelines, etc and the proof of concept is about to become multi-user. It started using git via CLI on any particular dev gateway, but has now pivoted to using this module for ease of use.

As for where dev/test gateways run, I'm still waiting to hear more re: pulling images to run locally in Docker Desktop, or running them remotely on Azure. IMO it sounds simpler to just leave all development images running in Azure, the only downside being development cannot happen locally offline.

@John_S1 what other integration are you thinking with Azure DevOps? Tags and UDTs? That's our next frontier on this journey, since right now it's a painful mix of importing/exporting JSON, find/replace inside Designer or text editors with regex, and a colleague's occasional handiwork in Jupyter to script instantiation of complex tag hierarchies with many parameters.

---

<div class="post-metadata">

**Author:** ![John\_S1](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@John\_S1](https://forum.inductiveautomation.com/u/John_S1)\
**Post date:** [May 26, 2023, 3:57am UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/23 "2023-05-26T03:57:36Z")

</div>

Hello, Thanks for the reply. Yes, I'm facing some issues with the gateway configuration export. Also, when I tried Azure DevOps on the same, ssh is giving some errors, I'm trying to sort that out, and will try to keep you posted.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/4/f4f97031705893bbc2fc813c3fdf85fc0b598596.png)  
Have a good day.

---

<div class="post-metadata">

**Author:** ![John\_S1](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@John\_S1](https://forum.inductiveautomation.com/u/John_S1)\
**Post date:** [May 26, 2023, 4:00am UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/24 "2023-05-26T04:00:49Z")

</div>

Yes @msteele, I'm also working on a way to find the same structure, just checking the possibilities to save the data into the same folder using a scheduled event now, maybe afterward I will try to change the structure. As of now, I will be exporting the tags to the system and manually doing the activity, but will get change to store in the same folder per project location.

---

<div class="post-metadata">

**Author:** ![DNice](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@DNice](https://forum.inductiveautomation.com/u/DNice)\
**Post date:** [June 13, 2023, 7:19pm UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/25 "2023-06-13T19:19:02Z")

</div>

This is fantastic. Just integrated this into our Dev env without too much hassle. I appreciate the good work on this!

---

<div class="post-metadata">

**Author:** ![richardNZ15](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/richardnz15/32/33373_2.png) [@richardNZ15](https://forum.inductiveautomation.com/u/richardNZ15)\
**Post date:** [June 21, 2023, 5:16am UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/27 "2023-06-21T05:16:57Z")

</div>

Looks awesome! Keen to test it out properly in some dev environments and see how it goes.

---

<div class="post-metadata">

**Author:** ![e.sagnelonge](https://avatars.discourse-cdn.com/v4/letter/e/7cd45c/32.png) [@e.sagnelonge](https://forum.inductiveautomation.com/u/e.sagnelonge)\
**Post date:** [June 22, 2023, 7:42am UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/28 "2023-06-22T07:42:47Z")

</div>

@Adekunle_Bakare, an issue has been created [here](https://github.com/AXONE-IO/ignition-git-module/issues/14).

Could you complete it so that I can reproduce and correct the problem ?  
I need information such as Ignition version, git module version, operating system....

---

<div class="post-metadata">

**Author:** ![e.sagnelonge](https://avatars.discourse-cdn.com/v4/letter/e/7cd45c/32.png) [@e.sagnelonge](https://forum.inductiveautomation.com/u/e.sagnelonge)\
**Post date:** [June 22, 2023, 2:19pm UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/30 "2023-06-22T14:19:03Z")

</div>

@Adekunle_Bakare,  
Could you open an other issue on GitHub, [here](https://github.com/AXONE-IO/ignition-git-module/issues/new) ?

---

<div class="post-metadata">

**Author:** ![msteele](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/msteele/32/77889_2.png) [@msteele](https://forum.inductiveautomation.com/u/msteele)\
**Post date:** [August 28, 2023, 10:21pm UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/31 "2023-08-28T22:21:11Z")

</div>

I'm dreaming of a nice git-enabled workflow for tracking UDT changes. That would be an amazing future enhancement to this module.

Does anyone have a better workflow for managing source control for UDTs than the basic import/export tools in Designer?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 28, 2023, 10:35pm UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/32 "2023-08-28T22:35:57Z")

</div>

Ignition doesn't yet have a diff-friendly storage format for tag configurations. Hints that it will come with v8.3.

---

<div class="post-metadata">

**Author:** ![Tim\_Carlton](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tim_carlton/32/52835_2.png) [@Tim\_Carlton](https://forum.inductiveautomation.com/u/Tim_Carlton)\
**Post date:** [August 29, 2023, 1:55pm UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/33 "2023-08-29T13:55:01Z")

</div>

The module already does Tags and UDTs. Give it a try.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [September 5, 2023, 6:57am UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/34 "2023-09-05T06:57:20Z")

</div>

@e.sagnelonge hmm, are deletions of files supported? I just deleted a test script library in the Designer ang used the Designer Git Commit, Push buttons, but it hasn't reflected in Git.

~~Also, I think I broke something...  
I saved a script in the designer but i'm not getting the resources show up anymore. I'm a bit n00b to Git...~~

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/e/fea5df3a26fd9825c0bf2e9775c97afc880ba079.png)

~~It all started when GitLab created the repository using 'main' as the default branch. The Git module created a 'master' branch, and I wanted to rename main to master. Instead I set the default branch to `master` and merged in the `main` branch (it had some basic things in it like readme) and then I deleted the `main` branch. Then git pushes from the Designer were no longer going into the repo 😕 And now, after trying to fix that, the modified resources aren't showing up..~~

~~Edit: I deleted the .git folder in the project dir and the modified files in the commit window have come back, but after committing and pushing, the changes don't show up in the repo.~~

Edit2: Turns out it just needed a bit of time. This morning the updates are showing up in online Git instantly. 🤷‍♂️

Edit3: Nope, it broke again as per the screenshot above. The commit list is empty after saving a script library ☹ I haven't been messing with anything but working in the designer this time. Not sure what's going on

---

<div class="post-metadata">

**Author:** ![e.sagnelonge](https://avatars.discourse-cdn.com/v4/letter/e/7cd45c/32.png) [@e.sagnelonge](https://forum.inductiveautomation.com/u/e.sagnelonge)\
**Post date:** [September 11, 2023, 1:52pm UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/35 "2023-09-11T13:52:59Z")

</div>

@nminchin,

Normally, this should work.  
There are probably still some bugs or cases that haven't been dealt with yet.  
I'll try to take time for a new version before the end of the year to fix [any open issues](https://github.com/AXONE-IO/ignition-git-module/issues).

---

<div class="post-metadata">

**Author:** ![lstanczyk](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lstanczyk/32/24686_2.png) [@lstanczyk](https://forum.inductiveautomation.com/u/lstanczyk)\
**Post date:** [September 14, 2023, 2:31pm UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/36 "2023-09-14T14:31:22Z")

</div>

Rant warning: I am disappointed that Inductive has not implemented anything that would integrate with version control.

---

<div class="post-metadata">

**Author:** ![DNice](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@DNice](https://forum.inductiveautomation.com/u/DNice)\
**Post date:** [September 14, 2023, 2:41pm UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/37 "2023-09-14T14:41:33Z")

</div>

I have had the same issues as @nminchin.  
I used this module for a few weeks but had to stop using this because every time I either added a view (copy, paste) or deleted a view in a project with Git configured I would have this issue come up and the repo would stop being updated no matter what I tried.  
The only way I got it to work again was to create a new repo and set up the GW config again - which defeated the purpose of a continuous change log ☹.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [September 14, 2023, 10:28pm UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/38 "2023-09-14T22:28:46Z")

</div>

This is what I'm finding as well, I'll have to stop using it for now too ☹

---

<div class="post-metadata">

**Author:** ![Preston\_Barnett](https://avatars.discourse-cdn.com/v4/letter/p/6bbea6/32.png) [@Preston\_Barnett](https://forum.inductiveautomation.com/u/Preston_Barnett)\
**Post date:** [September 29, 2023, 9:24pm UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/39 "2023-09-29T21:24:43Z")

</div>

Seems like the following code in GitManager.java is causing files to erroneously not be added to the commit window.

```auto
if((update.endsWith("resource.json") && countOccurrences(updates, path) < 2)
        || update.endsWith("project.json")){
    if(!isUpdatedResource(projectName, update)){
        toAdd = false;
    }
}

```

Removing that code makes it to where all changes pop up reliably. I'm working on a fork of the repo for a specific use case with my company, but I can try to get out a formal PR for this at some point.

In addition, I'm working on a popup box for each pull to allow a user to decide whether to also import the tags, themes, and images that can be included in the repo. In our use case, we have a central server where the project resides. This project has to be deployed across up to 10+ different remote sites and when dealing with things like tags, it can be cumbersome to update each site's tag set as each site is exactly the same as another.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [September 29, 2023, 11:02pm UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/40 "2023-09-29T23:02:41Z")

</div>

Sounds very useful!

---

<div class="post-metadata">

**Author:** ![Mathis\_BONNEFOY](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mathis\_BONNEFOY](https://forum.inductiveautomation.com/u/Mathis_BONNEFOY)\
**Post date:** [October 11, 2023, 9:52am UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/41 "2023-10-11T09:52:10Z")

</div>

Hello @e.sagnelonge !  
I have configured my git module 1.0.2 over HTTPS (SSH not available due to IT Security configuration). Everything is going well according to popups after commit and after push. But in reality, nothing is pushed to my repo.  
No errors neither in the logs.

My repo is on Azure DevOps, is this compatible with your git module ?

French:  
Mon entreprise, Actemium, utilise Ignition sur plusieurs projets et on souhaiterait utiliser ce module sur nos projets déjà réalisés et nos futurs. Est-ce que du support sur ce module est possible dans le cadre d'un contrat avec Axone IO ?

Have a great day

---

<div class="post-metadata">

**Author:** ![e.sagnelonge](https://avatars.discourse-cdn.com/v4/letter/e/7cd45c/32.png) [@e.sagnelonge](https://forum.inductiveautomation.com/u/e.sagnelonge)\
**Post date:** [October 11, 2023, 12:43pm UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/42 "2023-10-11T12:43:39Z")

</div>

Hello @Mathis_BONNEFOY,

I think I've already tried it with AzureDevOps. In any case, it should work.  
I suggest you create an issue on the github, I'll do some tests to confirm it.

Yes, it's quite possible to consider support.  
I've just notified our sales team and one of them will be in touch with you.

---

<div class="post-metadata">

**Author:** ![Jeremie\_FORICHEUR](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@Jeremie\_FORICHEUR](https://forum.inductiveautomation.com/u/Jeremie_FORICHEUR)\
**Post date:** [October 13, 2023, 2:04pm UTC](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033/43 "2023-10-13T14:04:55Z")

</div>

Hi,  
When using git module with a locally configured remote on windows.  
Commit is OK, but push says "Git User not configured"

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/b/3b8e1d9e030aaa30f1fc92a7cbc4ef3109532723.png)  
When pushing from command-line :

> git push --set-upstream test master  
> Enumerating objects: 25, done.  
> Counting objects: 100% (25/25), done.  
> Delta compression using up to 4 threads  
> Compressing objects: 100% (14/14), done.  
> Writing objects: 100% (14/14), 8.37 KiB | 100.00 KiB/s, done.  
> Total 14 (delta 7), reused 0 (delta 0), pack-reused 0  
> To C:/Users/a2i/Documents/testJFO  
> f70e910..8883e20 master -\> master  
> error: could not lock config file .git/config: Permission denied  
> error: unable to write upstream branch configuration

The push is done, but do I have to change ~/.gitconfig to be able to use the push button in Designer ?

[Previous page](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033.md?page=1)

[Next page](https://forum.inductiveautomation.com/t/module-git-easy-integration-of-git-for-your-development/72033.md?page=3)
