This project includes the external iFSI codebase using git subtree, stored locally in the directory MFEMFSI/
Upstream repository details:
- Repository: https://github.com/ryanblack129/iFSI
- Local remote name:
iFSI - Default branch:
main
This is a developer-only workflow for adding, updating, and pushing the subtree.
If you do not yet have the iFSI remote configured:
git remote add iFSI https://github.com/ryanblack129/iFSI.git
git fetch iFSIYou can verify with:
git remote -vIf the directory MFEMFSI/ does not yet exist:
git subtree add --prefix=MFEMFSI iFSI main --squashThis pulls the latest iFSI code into your project.
Commit or stash all working-tree changes before updating the subtree. To update
your local subtree with the latest code from the iFSI repository, run:
git subtree pull --prefix=MFEMFSI iFSI main --squashThe --squash flag keeps your main repo history clean by condensing subtree commits.
After committing changes inside MFEMFSI/, push them to the upstream repository:
git subtree push --prefix=MFEMFSI iFSI mainThis extracts only the subtree changes and pushes them to the main branch of iFSI.