# \#git

**URL:** https://discuss.bitrise.io/tag/git/65.md

[Latest](https://discuss.bitrise.io/latest.md) · [Categories](https://discuss.bitrise.io/categories.md) · [Tags](https://discuss.bitrise.io/tags.md)

---

## [Customize Git commit statuses for clarity](https://discuss.bitrise.io/t/customize-git-commit-statuses-for-clarity/24675)

<div class="topic-metadata">

**Author:** [@kaushal.bitrise](https://discuss.bitrise.io/u/kaushal.bitrise)\
**Replies:** 0\
**Last updated:** [November 8, 2024, 12:31pm UTC](https://discuss.bitrise.io/t/customize-git-commit-statuses-for-clarity/24675 "2024-11-08T12:31:55Z")

</div>

We’re excited to announce a smart new feature that allows for greater flexibility in configuring Git commit statuses. New YAML field: status\_report\_name You can tailor the commit status message to your team’s preference…

---

## [Start/Schedule Build \> Automatic branch suggestion](https://discuss.bitrise.io/t/start-schedule-build-automatic-branch-suggestion/4797)

<div class="topic-metadata">

**Author:** [@RBonaventure](https://discuss.bitrise.io/u/RBonaventure)\
**Replies:** 2\
**Last updated:** [September 1, 2024, 3:36pm UTC](https://discuss.bitrise.io/t/start-schedule-build-automatic-branch-suggestion/4797 "2024-09-01T15:36:02Z")

</div>

Description of the feature request On the App builds page, when trying to launch a build manually, it would be so much easier to have the list of available Git branches pre-fetched instead of letting me type it manually …

---

## [Cannot get bitrise.yml from git provider when triggering a build via API](https://discuss.bitrise.io/t/cannot-get-bitrise-yml-from-git-provider-when-triggering-a-build-via-api/23991)

<div class="topic-metadata">

**Author:** [@nathan.salaun](https://discuss.bitrise.io/u/nathan.salaun)\
**Replies:** 1\
**Last updated:** [April 9, 2024, 11:31am UTC](https://discuss.bitrise.io/t/cannot-get-bitrise-yml-from-git-provider-when-triggering-a-build-via-api/23991 "2024-04-09T11:31:56Z")

</div>

Hello, we use the Bitrise Build API to trigger builds from a Python script. It worked fine until we switched bitrise.yml to hosted on our (private) GitHub repository. Now, with no changes to our Python script, the build…

---

## [Update Changelog from Workflow](https://discuss.bitrise.io/t/update-changelog-from-workflow/23648)

<div class="topic-metadata">

**Author:** [@handkins.michael](https://discuss.bitrise.io/u/handkins.michael)\
**Replies:** 1\
**Last updated:** [January 5, 2024, 2:52pm UTC](https://discuss.bitrise.io/t/update-changelog-from-workflow/23648 "2024-01-05T14:52:32Z")

</div>

Hey, I’m working on a new workflow in Bitrise for my team’s app, and one of the things we want to do with this workflow is update the version of the app and generate a new Changelog. Usually the way we accomplish this is…

---

## [GIT\_CLONE\_COMMIT\_COUNT returns 1 instead of actual commit count](https://discuss.bitrise.io/t/git-clone-commit-count-returns-1-instead-of-actual-commit-count/22461)

<div class="topic-metadata">

**Author:** [@testing\_mudah](https://discuss.bitrise.io/u/testing_mudah)\
**Replies:** 1\
**Last updated:** [April 18, 2023, 5:02pm UTC](https://discuss.bitrise.io/t/git-clone-commit-count-returns-1-instead-of-actual-commit-count/22461 "2023-04-18T17:02:27Z")

</div>

Bitrise Build Issue Report template Description of the issue Our application makes use of git rev-list HEAD --count in our script to create a version number in our application. In version 8.0.1, this value returns 1. In …

---

## [Git Clone Repository step results in problematic local branch states](https://discuss.bitrise.io/t/git-clone-repository-step-results-in-problematic-local-branch-states/19300)

<div class="topic-metadata">

**Author:** [@JonatanPlesko](https://discuss.bitrise.io/u/JonatanPlesko)\
**Replies:** 6\
**Last updated:** [October 28, 2022, 8:43pm UTC](https://discuss.bitrise.io/t/git-clone-repository-step-results-in-problematic-local-branch-states/19300 "2022-10-28T20:43:06Z")

</div>

The problem: There is an option to define if the Git Clone Repository step should merge the PR’s source and destination to validate the code state as it will be after the PR merge. We prefer to have that option set to …

---

## [Surface n most recent commits in Bitrise job](https://discuss.bitrise.io/t/surface-n-most-recent-commits-in-bitrise-job/1572)

<div class="topic-metadata">

**Author:** [@Claire](https://discuss.bitrise.io/u/Claire)\
**Replies:** 8\
**Last updated:** [July 19, 2022, 9:26am UTC](https://discuss.bitrise.io/t/surface-n-most-recent-commits-in-bitrise-job/1572 "2022-07-19T09:26:24Z")

</div>

Is there a way to expose more than just the most recent commit when a bitrise job executes? For example, I'd like to expose all of the commits since the last job was run, rather than just the commit that triggered the j…

---

## [Git Clone Repository step results in problematic local branch state](https://discuss.bitrise.io/t/git-clone-repository-step-results-in-problematic-local-branch-state/19861)

<div class="topic-metadata">

**Author:** [@JonatanPlesko](https://discuss.bitrise.io/u/JonatanPlesko)\
**Replies:** 0\
**Last updated:** [April 14, 2022, 12:28pm UTC](https://discuss.bitrise.io/t/git-clone-repository-step-results-in-problematic-local-branch-state/19861 "2022-04-14T12:28:57Z")

</div>

The problem: There is an option to define if the Git Clone Repository step should merge the PR’s source and destination to validate the code state as it will be after the PR merge. We prefer to have that option set to …

---

## [How to skip ci using commit message when push trigger is used?](https://discuss.bitrise.io/t/how-to-skip-ci-using-commit-message-when-push-trigger-is-used/19487)

<div class="topic-metadata">

**Author:** [@ahmed.fahmy](https://discuss.bitrise.io/u/ahmed.fahmy)\
**Replies:** 0\
**Last updated:** [February 24, 2022, 9:27pm UTC](https://discuss.bitrise.io/t/how-to-skip-ci-using-commit-message-when-push-trigger-is-used/19487 "2022-02-24T21:27:53Z")

</div>

In the documentation it clearly states that you can skip ci based on the commit message, or change the title of the PR to skip ci. The later work while the former is not working when I trigger a CI on push. What happene…

---

## [Partial clones for git repos](https://discuss.bitrise.io/t/partial-clones-for-git-repos/15383)

<div class="topic-metadata">

**Author:** [@dseither](https://discuss.bitrise.io/u/dseither)\
**Replies:** 3\
**Last updated:** [November 24, 2021, 5:34pm UTC](https://discuss.bitrise.io/t/partial-clones-for-git-repos/15383 "2021-11-24T17:34:43Z")

</div>

Description of the feature request To save time while cloning a bigger git repository, I’d like the Git Clone Repository action to support blobless and/or treeless clones. This boils down to running git clone --filter=bl…

---

## [Git Merge step](https://discuss.bitrise.io/t/git-merge-step/17508)

<div class="topic-metadata">

**Author:** [@KyLeggiero](https://discuss.bitrise.io/u/KyLeggiero)\
**Replies:** 2\
**Last updated:** [August 6, 2021, 2:47am UTC](https://discuss.bitrise.io/t/git-merge-step/17508 "2021-08-06T02:47:08Z")

</div>

Description of the feature request A workflow step which creates a merge commit from the current branch into a specified branch, and pushes that commit. Use case / for what or how I would use it As a user following Git …

---

## [Git clone depth argument not respected for submodules](https://discuss.bitrise.io/t/git-clone-depth-argument-not-respected-for-submodules/4990)

<div class="topic-metadata">

**Author:** [@gcamp](https://discuss.bitrise.io/u/gcamp)\
**Replies:** 3\
**Last updated:** [April 7, 2021, 5:23pm UTC](https://discuss.bitrise.io/t/git-clone-depth-argument-not-respected-for-submodules/4990 "2021-04-07T17:23:52Z")

</div>

Description of the feature request You can set the depth argument on git clone to have a shallow clone. However, that argument is not assigned on the git submodule update call. Either should the depth should be applied t…

---

## [Creating a release branch (+ naming it based on the current app version)](https://discuss.bitrise.io/t/creating-a-release-branch-naming-it-based-on-the-current-app-version/15498)

<div class="topic-metadata">

**Author:** [@diegopetrucci](https://discuss.bitrise.io/u/diegopetrucci)\
**Replies:** 1\
**Last updated:** [February 4, 2021, 10:43am UTC](https://discuss.bitrise.io/t/creating-a-release-branch-naming-it-based-on-the-current-app-version/15498 "2021-02-04T10:43:56Z")

</div>

Hi all. I am thinking of automating the creating of release branches, eg on mondays at 3pm. I know a workflow can be scheduled at a specific time, but I’m not sure if creating a branch is possible. Ideally, it would als…

---

## [Update Git version to improve speed of Git LFS](https://discuss.bitrise.io/t/update-git-version-to-improve-speed-of-git-lfs/14549)

<div class="topic-metadata">

**Author:** [@JBarbosa](https://discuss.bitrise.io/u/JBarbosa)\
**Replies:** 0\
**Last updated:** [October 13, 2020, 2:07am UTC](https://discuss.bitrise.io/t/update-git-version-to-improve-speed-of-git-lfs/14549 "2020-10-13T02:07:12Z")

</div>

Bitrise Build Issue Report template Description of the issue Update git version at least 2.11.0(it is currently 2.7.4) to improve speed of git LFS Environment: when migrating our history to git lfs the clone step went f…

---

## [Git fail for all merge request in git clone](https://discuss.bitrise.io/t/git-fail-for-all-merge-request-in-git-clone/13557)

<div class="topic-metadata">

**Author:** [@clement.nonn](https://discuss.bitrise.io/u/clement.nonn)\
**Replies:** 1\
**Last updated:** [July 10, 2020, 1:56pm UTC](https://discuss.bitrise.io/t/git-fail-for-all-merge-request-in-git-clone/13557 "2020-07-10T13:56:34Z")

</div>

Bitrise Build Issue Report template Description of the issue Where did the issue happen? As mentioned on other tickets : http://discuss.bitrise.io/t/gitlab-merge-request-failure-on-git-clone-step-if-pr-is-sent-from-a…

---

## [How to get git tag message?](https://discuss.bitrise.io/t/how-to-get-git-tag-message/11099)

<div class="topic-metadata">

**Author:** [@ptdede](https://discuss.bitrise.io/u/ptdede)\
**Replies:** 1\
**Last updated:** [November 27, 2019, 1:21pm UTC](https://discuss.bitrise.io/t/how-to-get-git-tag-message/11099 "2019-11-27T13:21:55Z")

</div>

Hi! I usually do tagging using this command git tag -a v0.0.1 After the command running, the terminal will display input for tag messages, I input some messages in it then push tag to origin. My question is, how I ge…

---

## ["Unable to send build status back to GitLab" appears even when irrelevant](https://discuss.bitrise.io/t/unable-to-send-build-status-back-to-gitlab-appears-even-when-irrelevant/10607)

<div class="topic-metadata">

**Author:** [@usmonster](https://discuss.bitrise.io/u/usmonster)\
**Replies:** 1\
**Last updated:** [October 15, 2019, 4:54pm UTC](https://discuss.bitrise.io/t/unable-to-send-build-status-back-to-gitlab-appears-even-when-irrelevant/10607 "2019-10-15T16:54:59Z")

</div>

Hello! In the past, we had been experiencing sporadic connection failures between Bitrise and GitLab, either when cloning a repo or when reporting the build status via the gitlab-status step. Usually, the affected steps…

---

## [How to set git branch name for a commit to env vars](https://discuss.bitrise.io/t/how-to-set-git-branch-name-for-a-commit-to-env-vars/10491)

<div class="topic-metadata">

**Author:** [@ssiddh](https://discuss.bitrise.io/u/ssiddh)\
**Replies:** 0\
**Last updated:** [October 5, 2019, 5:19am UTC](https://discuss.bitrise.io/t/how-to-set-git-branch-name-for-a-commit-to-env-vars/10491 "2019-10-05T05:19:33Z")

</div>

I have different work flows for tags, PRs and pushes. One requirement for the build script is to get the branch name for the commit even for tag triggers (BITRISE\_GIT\_BRANCH for tag trigger seems to give the default bran…

---

## [Share env var across builds. Persist its value for future builds](https://discuss.bitrise.io/t/share-env-var-across-builds-persist-its-value-for-future-builds/10430)

<div class="topic-metadata">

**Author:** [@andriy.gulak](https://discuss.bitrise.io/u/andriy.gulak)\
**Replies:** 0\
**Last updated:** [October 1, 2019, 7:40am UTC](https://discuss.bitrise.io/t/share-env-var-across-builds-persist-its-value-for-future-builds/10430 "2019-10-01T07:40:07Z")

</div>

Hi! I have 2 workflows: 1 for the development branch, another for the master branch. During a build in one workflow, I want to write something to the env variable and persist its value. Then in another workflow during…

---

## [Unpredictable Git Clone Times](https://discuss.bitrise.io/t/unpredictable-git-clone-times/8468)

<div class="topic-metadata">

**Author:** [@keehun-homespotter](https://discuss.bitrise.io/u/keehun-homespotter)\
**Replies:** 2\
**Last updated:** [March 20, 2019, 11:56am UTC](https://discuss.bitrise.io/t/unpredictable-git-clone-times/8468 "2019-03-20T11:56:25Z")

</div>

Dear Bitrise, I’m running into an issue where sometimes my git clone step takes 30+ minutes and other times takes 90 seconds. It’s a rather large repository, but I do make full use of cache:pull and cache:push. Is there…

---

## [Push changes to GitHub from bash script step](https://discuss.bitrise.io/t/push-changes-to-github-from-bash-script-step/8088)

<div class="topic-metadata">

**Author:** [@DannyBravoOG](https://discuss.bitrise.io/u/DannyBravoOG)\
**Replies:** 3\
**Last updated:** [February 15, 2019, 9:04am UTC](https://discuss.bitrise.io/t/push-changes-to-github-from-bash-script-step/8088 "2019-02-15T09:04:13Z")

</div>

I’ve got a project on Bitrise that currently runs only three steps: Activate SSH Key Clone Repository Run a custom shell script In the custom script I am making some changes to the projects file structure, with the in…

---

## [Email alerts only to the developer that broke the build](https://discuss.bitrise.io/t/email-alerts-only-to-the-developer-that-broke-the-build/4057)

<div class="topic-metadata">

**Author:** [@tormodt](https://discuss.bitrise.io/u/tormodt)\
**Replies:** 5\
**Last updated:** [October 15, 2018, 2:18pm UTC](https://discuss.bitrise.io/t/email-alerts-only-to-the-developer-that-broke-the-build/4057 "2018-10-15T14:18:35Z")

</div>

As of today the build problems are sent to the owner email, which not all developers has access to. Build alerts should be sent to the author of the commit / pull request that breakes the build so that he/she is notified…

---

## [How to give BitRise permission to push to a repository on Bitbucket](https://discuss.bitrise.io/t/how-to-give-bitrise-permission-to-push-to-a-repository-on-bitbucket/4536)

<div class="topic-metadata">

**Author:** [@jtscott](https://discuss.bitrise.io/u/jtscott)\
**Replies:** 1\
**Last updated:** [March 21, 2018, 5:26pm UTC](https://discuss.bitrise.io/t/how-to-give-bitrise-permission-to-push-to-a-repository-on-bitbucket/4536 "2018-03-21T17:26:11Z")

</div>

As part of the build process, BitRise will increment the version number and update a file. I need BitRise to be able to commit and push that file to the origin. What’s the easiest (secure) way to accomplish this?

---

## [Pull Request URL env var](https://discuss.bitrise.io/t/pull-request-url-env-var/3713)

<div class="topic-metadata">

**Author:** [@bernat](https://discuss.bitrise.io/u/bernat)\
**Replies:** 1\
**Last updated:** [January 12, 2018, 1:49pm UTC](https://discuss.bitrise.io/t/pull-request-url-env-var/3713 "2018-01-12T13:49:18Z")

</div>

Description of the feature request Use case / for what or how I would use it Add PullRequest URL in format that can be opened directly I want to display the Pull request URL on slack message when building finishes, so o…

---

## [HTTPS access to private Git (Gogs) Repository](https://discuss.bitrise.io/t/https-access-to-private-git-gogs-repository/3469)

<div class="topic-metadata">

**Author:** [@kandlinf](https://discuss.bitrise.io/u/kandlinf)\
**Replies:** 4\
**Last updated:** [December 8, 2017, 3:46pm UTC](https://discuss.bitrise.io/t/https-access-to-private-git-gogs-repository/3469 "2017-12-08T15:46:47Z")

</div>

We are hosting our own internal git repository using gogs. Due to company security constraints we are not allowed to offer SSH access from the internet. It is only allowed to use HTTPS connections. Ist it possible to co…

---

## [Skip/Stop build](https://discuss.bitrise.io/t/skip-stop-build/2624)

<div class="topic-metadata">

**Author:** [@trekco](https://discuss.bitrise.io/u/trekco)\
**Replies:** 3\
**Last updated:** [September 5, 2017, 1:02pm UTC](https://discuss.bitrise.io/t/skip-stop-build/2624 "2017-09-05T13:02:40Z")

</div>

Hi, Is it possible to stop a build if no new commits was detected since the last successful build?

---

## [Phabricator Integration](https://discuss.bitrise.io/t/phabricator-integration/2440)

<div class="topic-metadata">

**Author:** [@Mazyod](https://discuss.bitrise.io/u/Mazyod)\
**Replies:** 1\
**Last updated:** [August 7, 2017, 1:45pm UTC](https://discuss.bitrise.io/t/phabricator-integration/2440 "2017-08-07T13:45:40Z")

</div>

Description of the feature request Phabricator is a git repository hosting service, which we are heavily invested in (500+ repos, most of which are hosted in Phabricator). Phabricator has it’s own webhooks/trigger rules …

---

## [Failed, error: No submodule mapping found in .gitmodules for path 'src/github.com/mattermost/platform'](https://discuss.bitrise.io/t/failed-error-no-submodule-mapping-found-in-gitmodules-for-path-src-github-com-mattermost-platform/1502)

<div class="topic-metadata">

**Author:** [@ajaylaitkor](https://discuss.bitrise.io/u/ajaylaitkor)\
**Replies:** 8\
**Last updated:** [April 19, 2017, 3:04pm UTC](https://discuss.bitrise.io/t/failed-error-no-submodule-mapping-found-in-gitmodules-for-path-src-github-com-mattermost-platform/1502 "2017-04-19T15:04:19Z")

</div>

Hi Bitrise, I am getting the below error while adding new repository of the gitlab. Failed, error: No submodule mapping found in .gitmodules for path 'src/github.com/mattermost/platform'
