# How to commit postman environment into GitLab

**URL:** <https://community.postman.com/t/how-to-commit-postman-environment-into-gitlab/55913>\
**Category:** Help Hub\
**Tags:** postman, gitlab\
**Created:** [December 22, 2023, 11:34am UTC](https://community.postman.com/t/how-to-commit-postman-environment-into-gitlab/55913 "2023-12-22T11:34:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![opicxomilind](https://avatars.discourse-cdn.com/v4/letter/o/4bbf92/32.png) [@opicxomilind](https://community.postman.com/u/opicxomilind)\
**Post date:** [December 22, 2023, 11:34am UTC](https://community.postman.com/t/how-to-commit-postman-environment-into-gitlab/55913/1 "2023-12-22T11:34:17Z")

</div>

![image](https://us1.discourse-cdn.com/getpostman/original/3X/7/e/7e2b2cf399f805da5f9851e454a0bb5c5df40197.png)

I integrated my Postman into Gitlab and I Commited my Collection Postman to Gitlab.

Expected - I want to commit my postman environment into Git lab I added image please check and Give me Proper Solution.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [December 22, 2023, 1:23pm UTC](https://community.postman.com/t/how-to-commit-postman-environment-into-gitlab/55913/2 "2023-12-22T13:23:49Z")

</div>

Hey @opicxomilind 👋

Welcome to the Postman Community! :postman:

The ability to commit and sync environments into the repository isn’t available.

The only open feature request on our tracker that I could find which relates to that functionality was this one:

> <https://github.com/postmanlabs/postman-app-support/issues/9883>
>
> Currently any changes to an Environment needs to be manually pushed to a project… in GitLab.
> 
> I would like to see the existing GitLab Integration functionality (Collection Backup) enchanced so that Environments are included also.
> 
> !\[image\](https://user-images.githubusercontent.com/18518299/116394777-3dd6c200-a81b-11eb-9004-15db164f922d.png)

---

<div class="post-metadata">

**Author:** ![opicxomilind](https://avatars.discourse-cdn.com/v4/letter/o/4bbf92/32.png) [@opicxomilind](https://community.postman.com/u/opicxomilind)\
**Post date:** [January 10, 2024, 7:40am UTC](https://community.postman.com/t/how-to-commit-postman-environment-into-gitlab/55913/3 "2024-01-10T07:40:20Z")

</div>

I already tried this solution but this is not working. Please Give me another solution for that.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [January 10, 2024, 10:09am UTC](https://community.postman.com/t/how-to-commit-postman-environment-into-gitlab/55913/4 "2024-01-10T10:09:28Z")

</div>

Which solution have you tried? Moving the environment variables to the Collection level?

The only other way that I can think to get you’re environment file in Gitlab, is to manually export it and commit it to a repo. That’s not going to keep anything backed up or in sync though.

As I mentioned previously, backing up environments isn’t a feature of that integration so you’re limited to what is available to you.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [February 9, 2024, 10:09am UTC](https://community.postman.com/t/how-to-commit-postman-environment-into-gitlab/55913/5 "2024-02-09T10:09:52Z")

</div>

Closed on February 9, 2024, 10:09am UTC

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