Skip to content

Yut-nori/Yutnori-merge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Yutnori

How to update frontend and backend by remote repository

🛠️ How to manage Frontend (Swing / FX) using Git Subtree

🧹 Remove old FE version (if any)

git rm -r frontend-swing  # or frontend-fx depending on what you replace
git commit -m "remove old frontend module"

➕ Add new FE version

▶ Swing version

git subtree add --prefix=frontend-swing https://github.com/Yut-nori/Yutnori_FE.git main --squash

🔗 Swing Repository


▶ FX version

git subtree add --prefix=frontend-fx https://github.com/Yut-nori/Yutnori_FE_FX.git main --squash

🔗 FX Repository


🔄 Subtree fetch & re-attach (manual use)

▶ From frontend remote

git fetch frontend
git subtree add --prefix=frontend <branch-name> --squash

▶ From backend remote

git fetch backend
git subtree add --prefix=backend backend <branch-name> --squash

⚙️ Make JAR file

gradlew.bat :frontend:shadowJar

📝 Notes

  • Use separate directories like frontend-swing/ and frontend-fx/ to avoid subtree conflict.
  • Always use --squash unless you want to preserve full commit history from sub-repositories.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages