Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/user-guide/creating-application/git-material.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Introduction

During the [CI process](https://docs.devtron.ai/usage/applications/deploying-application/triggering-ci), the application source code is pulled from your [git repository](https://docs.devtron.ai/resources/glossary#repo).
During the [CI process](../deploying-application/triggering-ci.md), the application source code is pulled from your [git repository](../../reference/glossary.md#repo).

Devtron also supports multiple Git repositories (be it from one Git account or multiple Git accounts) in a single deployment.

Expand All @@ -29,7 +29,7 @@ In your application, go to **App Configuration** → **Git Repository**. You wil

### Git Account

This is a dropdown that shows the list of Git accounts added to your organization on Devtron. If you haven't done already, we recommend you to first [add your Git account](https://docs.devtron.ai/global-configurations/git-accounts) (especially when the repository is private).
This is a dropdown that shows the list of Git accounts added to your organization on Devtron. If you haven't done already, we recommend you to first [add your Git account](../global-configurations/git-accounts.md) (especially when the repository is private).

![Figure 2: Selecting Git Account](https://devtron-public-asset.s3.us-east-2.amazonaws.com/images/creating-application/git-material/select-git-account.jpg)

Expand All @@ -54,11 +54,11 @@ You can find this URL by clicking on the **Code** button available on your repos

### Exclude specific file/folder in this repo

Not all repository changes are worth triggering a new [CI build](https://docs.devtron.ai/usage/applications/deploying-application/triggering-ci). If you enable this checkbox, you can define the file(s) or folder(s) whose commits you wish to use in the CI build.
Not all repository changes are worth triggering a new [CI build](../deploying-application/triggering-ci.md). If you enable this checkbox, you can define the file(s) or folder(s) whose commits you wish to use in the CI build.

![Figure 4: Sample Exclusion Rule](https://devtron-public-asset.s3.us-east-2.amazonaws.com/images/creating-application/git-material/sample1.jpg)

In other words, if a given commit contains changes only in file(s) present in your exclusion rule, the commit won't show up while selecting the [Git material](https://docs.devtron.ai/resources/glossary#material), which means it will not be eligible for build. However, if a given commit contains changes in other files too (along with the excluded file), the commit won't be excluded and it will definitely show up in the list of commits.
In other words, if a given commit contains changes only in file(s) present in your exclusion rule, the commit won't show up while selecting the [Git material](../../reference/glossary.md#material), which means it will not be eligible for build. However, if a given commit contains changes in other files too (along with the excluded file), the commit won't be excluded and it will definitely show up in the list of commits.

![Figure 5: Excludes commits made to README.md](https://devtron-public-asset.s3.us-east-2.amazonaws.com/images/creating-application/git-material/excluded-commit.jpg)

Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/integrations/build-and-deploy-ci-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Devtron CI/CD integration enables software development teams to automate the bui
* Seamless integration with Grafana for continuous application metrics like CPU and memory usage, status code, throughput, and latency on the dashboard.

{% hint style="info" %}
Devtron also gives you the option of partial cloning. It increases the cloning speed of your [code repository](../../../docs/reference/glossary#repo), thus reducing the [build time](../../../docs/reference/glossary#build-pipeline) during the [CI process](../deploying-application/triggering-ci).
Devtron also gives you the option of partial cloning. It increases the cloning speed of your [code repository](../../../docs/reference/glossary.md#repo), thus reducing the [build time](../../../docs/reference/glossary.md#build-pipeline) during the [CI process](../deploying-application/triggering-ci.md).
{% endhint %}

## Installation
Expand Down