Skip to content

Commit 3cc99fd

Browse files
Adjust README.md
Add warning about forced-push main branch. Signed-off-by: Karsten Schnitter <k.schnitter@sap.com>
1 parent cf4c245 commit 3cc99fd

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@
33
[![Build Status](https://travis-ci.com/SAP/cf-java-logging-support.svg?branch=master)](https://travis-ci.com/SAP/cf-java-logging-support)
44
[![REUSE status](https://api.reuse.software/badge/github.com/SAP/cf-java-logging-support)](https://api.reuse.software/info/github.com/SAP/cf-java-logging-support)
55

6-
**Note: The default branch has been renamed from master to main.**
7-
Please execute on your local repository:
6+
**Warning: The `main` branch was force-pushed on October 30th, 2025.**
87

9-
```
10-
git branch -m master main
11-
git fetch origin
12-
git branch -u origin/main main
13-
git remote set-head origin -a
8+
If you cloned or checked out this repository before that date, you may encounter issues when pulling new changes. To
9+
resolve this, reset your local `main` branch to match the remote:
10+
11+
```shell
12+
git fetch origin git checkout main git reset --hard origin/main
1413
```
1514

15+
**Caution:** This will discard any local changes on your `main` branch.
16+
1617
## Summary
1718

1819
This is a collection of support libraries for Java applications (Java 11 and above) that serves three main purposes:
@@ -65,8 +66,9 @@ Let's say you want to make use of the *servlet filter* feature, then you need to
6566
POM with property `cf-logging-version` referring to the latest nexus version (currently `4.0.0-RC1`):
6667

6768
```xml
69+
6870
<properties>
69-
<cf-logging-version>4.0.0-RC1</cf-logging-version>
71+
<cf-logging-version>4.0.0-RC1</cf-logging-version>
7072
</properties>
7173
```
7274

0 commit comments

Comments
 (0)