Skip to content

Commit 839e6ae

Browse files
authoredSep 16, 2024··
Merge pull request #663 from gradle/erichaagdev/local-git-repo-callout
Instructions include callout about committing for local Git repositories
2 parents 4eeb0ee + 74a8d90 commit 839e6ae

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
 

Diff for: ‎Gradle.md

+4
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,10 @@ git clone https://github.com/gradle/gradle-build-scan-quickstart $HOME/gradle-bu
247247
./02-validate-local-build-caching-same-location.sh -i -r file://$HOME/gradle-build-scan-quickstart
248248
```
249249

250+
> [!IMPORTANT]
251+
> Regardless of whether you use a local or remote Git repository, any changes _must be_ commited for them to be picked up by the experiments.
252+
> The benefit of using a local Git repository is that the changes don't need to be pushed to the remote repository.
253+
250254
## Dealing with filename too long errors on Windows
251255

252256
When the scripts clone the Git project, an error might occur on Windows when the absolute paths of the checked out files are longer than 260 characters. This problem can be addressed by passing the `core.longpaths` Git configuration option to the scripts.

Diff for: ‎Maven.md

+4
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,10 @@ git clone https://github.com/gradle/maven-build-scan-quickstart $HOME/maven-buil
245245
./01-validate-local-build-caching-same-location.sh -i -r file://$HOME/maven-build-scan-quickstart
246246
```
247247

248+
> [!IMPORTANT]
249+
> Regardless of whether you use a local or remote Git repository, any changes _must be_ commited for them to be picked up by the experiments.
250+
> The benefit of using a local Git repository is that the changes don't need to be pushed to the remote repository.
251+
248252
## Dealing with filename too long errors on Windows
249253

250254
When the scripts clone the Git project, an error might occur on Windows when the absolute paths of the checked out files are longer than 260 characters. This problem can be addressed by passing the `core.longpaths` Git configuration option to the scripts.

0 commit comments

Comments
 (0)
Please sign in to comment.