Skip to content

Commit

Permalink
wacky formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
thejcannon committed Jan 12, 2024
1 parent 571dc97 commit e9d1028
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 22 deletions.
7 changes: 5 additions & 2 deletions docs/docs/using-pants/using-pants-in-ci.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,15 @@ GitLab's merge pipelines make a shallow clone by default, which only contains re

1. Clone the entire repository by going to "CI / CD" settings and erase the number from the "Git shallow clone" field of the "General pipelines" section. Don't forget to "Save changes". This has the advantage of cloning everything, which also is the biggest long-term disadvantage.
2. A more targeted and hence light-weight intervention leaves the shallow clone setting at its default value and instead fetches the `main` branch as well:
` git branch -a

```
git branch -a
git remote set-branches origin main
git fetch --depth 1 origin main
git branch -a`
```

The `git branch` commands are only included to print out all available branches before and after fetching `origin/main`.
The `git branch` commands are only included to print out all available branches before and after fetching `origin/main`.

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,16 @@ GitLab's merge pipelines make a shallow clone by default, which only contains re
long-term disadvantage.
2. A more targeted and hence light-weight intervention leaves the shallow clone setting
at its default value and instead fetches the `main` branch as well:
` git branch -a

```
git branch -a
git remote set-branches origin main
git fetch --depth 1 origin main
git branch -a`
```

The `git branch` commands are only included to print out all available branches before
and after fetching `origin/main`.
The `git branch` commands are only included to print out all available branches before
and after fetching `origin/main`.

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,16 @@ GitLab's merge pipelines make a shallow clone by default, which only contains re
long-term disadvantage.
2. A more targeted and hence light-weight intervention leaves the shallow clone setting
at its default value and instead fetches the `main` branch as well:
` git branch -a

```
git branch -a
git remote set-branches origin main
git fetch --depth 1 origin main
git branch -a`
```

The `git branch` commands are only included to print out all available branches before
and after fetching `origin/main`.
The `git branch` commands are only included to print out all available branches before
and after fetching `origin/main`.

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,15 @@ GitLab's merge pipelines make a shallow clone by default, which only contains re

1. Clone the entire repository by going to "CI / CD" settings and erase the number from the "Git shallow clone" field of the "General pipelines" section. Don't forget to "Save changes". This has the advantage of cloning everything, which also is the biggest long-term disadvantage.
2. A more targeted and hence light-weight intervention leaves the shallow clone setting at its default value and instead fetches the `main` branch as well:
` git branch -a

```
git branch -a
git remote set-branches origin main
git fetch --depth 1 origin main
git branch -a`
```

The `git branch` commands are only included to print out all available branches before and after fetching `origin/main`.
The `git branch` commands are only included to print out all available branches before and after fetching `origin/main`.

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,15 @@ GitLab's merge pipelines make a shallow clone by default, which only contains re

1. Clone the entire repository by going to "CI / CD" settings and erase the number from the "Git shallow clone" field of the "General pipelines" section. Don't forget to "Save changes". This has the advantage of cloning everything, which also is the biggest long-term disadvantage.
2. A more targeted and hence light-weight intervention leaves the shallow clone setting at its default value and instead fetches the `main` branch as well:
` git branch -a

```
git branch -a
git remote set-branches origin main
git fetch --depth 1 origin main
git branch -a`
```

The `git branch` commands are only included to print out all available branches before and after fetching `origin/main`.
The `git branch` commands are only included to print out all available branches before and after fetching `origin/main`.

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,15 @@ GitLab's merge pipelines make a shallow clone by default, which only contains re

1. Clone the entire repository by going to "CI / CD" settings and erase the number from the "Git shallow clone" field of the "General pipelines" section. Don't forget to "Save changes". This has the advantage of cloning everything, which also is the biggest long-term disadvantage.
2. A more targeted and hence light-weight intervention leaves the shallow clone setting at its default value and instead fetches the `main` branch as well:
` git branch -a

```
git branch -a
git remote set-branches origin main
git fetch --depth 1 origin main
git branch -a`
```

The `git branch` commands are only included to print out all available branches before and after fetching `origin/main`.
The `git branch` commands are only included to print out all available branches before and after fetching `origin/main`.

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,15 @@ GitLab's merge pipelines make a shallow clone by default, which only contains re

1. Clone the entire repository by going to "CI / CD" settings and erase the number from the "Git shallow clone" field of the "General pipelines" section. Don't forget to "Save changes". This has the advantage of cloning everything, which also is the biggest long-term disadvantage.
2. A more targeted and hence light-weight intervention leaves the shallow clone setting at its default value and instead fetches the `main` branch as well:
` git branch -a

```
git branch -a
git remote set-branches origin main
git fetch --depth 1 origin main
git branch -a`
```

The `git branch` commands are only included to print out all available branches before and after fetching `origin/main`.
The `git branch` commands are only included to print out all available branches before and after fetching `origin/main`.

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,15 @@ GitLab's merge pipelines make a shallow clone by default, which only contains re

1. Clone the entire repository by going to "CI / CD" settings and erase the number from the "Git shallow clone" field of the "General pipelines" section. Don't forget to "Save changes". This has the advantage of cloning everything, which also is the biggest long-term disadvantage.
2. A more targeted and hence light-weight intervention leaves the shallow clone setting at its default value and instead fetches the `main` branch as well:
` git branch -a

```
git branch -a
git remote set-branches origin main
git fetch --depth 1 origin main
git branch -a`
```

The `git branch` commands are only included to print out all available branches before and after fetching `origin/main`.
The `git branch` commands are only included to print out all available branches before and after fetching `origin/main`.

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,15 @@ GitLab's merge pipelines make a shallow clone by default, which only contains re

1. Clone the entire repository by going to "CI / CD" settings and erase the number from the "Git shallow clone" field of the "General pipelines" section. Don't forget to "Save changes". This has the advantage of cloning everything, which also is the biggest long-term disadvantage.
2. A more targeted and hence light-weight intervention leaves the shallow clone setting at its default value and instead fetches the `main` branch as well:
` git branch -a

```
git branch -a
git remote set-branches origin main
git fetch --depth 1 origin main
git branch -a`
```

The `git branch` commands are only included to print out all available branches before and after fetching `origin/main`.
The `git branch` commands are only included to print out all available branches before and after fetching `origin/main`.

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,15 @@ GitLab's merge pipelines make a shallow clone by default, which only contains re

1. Clone the entire repository by going to "CI / CD" settings and erase the number from the "Git shallow clone" field of the "General pipelines" section. Don't forget to "Save changes". This has the advantage of cloning everything, which also is the biggest long-term disadvantage.
2. A more targeted and hence light-weight intervention leaves the shallow clone setting at its default value and instead fetches the `main` branch as well:
` git branch -a

```
git branch -a
git remote set-branches origin main
git fetch --depth 1 origin main
git branch -a`
```

The `git branch` commands are only included to print out all available branches before and after fetching `origin/main`.
The `git branch` commands are only included to print out all available branches before and after fetching `origin/main`.

:::

Expand Down

0 comments on commit e9d1028

Please sign in to comment.