Skip to content
Merged
Changes from all 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
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,25 @@
# java-template
Template repository for Java

Template repository for Java.

## Usage

To use this template, click the "Use this template" button on the repository page to create a new repository based on this template.

## Update from this template (if you used it to create your repository and want to get updates)

```sh
# new branch
git checkout -b update-from-template
# cherry-pick...
git fetch https://github.com/tgrothe/java-template.git main && git cherry-pick FETCH_HEAD
# see changes to push before push
git diff origin/main
# push...
git push

# to see changes before cherry-pick, use:
# git fetch https://github.com/tgrothe/java-template.git main && git diff FETCH_HEAD
```

_By the way: A "pull ... --allow-unrelated-histories" would also be possible, but this affects the history, and causing chaos. :S_