This repository forks from stable-diffusion-cpp. Follow the instructions below to check in code changes and sync with the upstream repository.
To build this project:
make clean
cmake -B build
cmake --build build --config Release -j 24
To commit your local code changes and push them to your repository, use the following steps:
-
Stage all changes:
git add .
-
Commit the changes with a descriptive message:
git commit -m "Describe your changes here"
-
Push the changes to your
master
branch:git push origin master
To pull the latest changes from the upstream repository (leejet/stable-diffusion.cpp
), follow these steps:
-
Add the upstream repository if you haven't done so already:
git remote add upstream https://github.com/leejet/stable-diffusion.cpp.git
-
Fetch the latest changes from the upstream repository:
git fetch upstream
-
Merge the upstream changes into your local
master
branch:git merge upstream/master
-
If necessary, commit the merge (if there were any conflicts to resolve):
git commit -m "Merge from upstream"
-
Push the merged changes to your
origin/master
branch:git push origin master