-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
47 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Pull sd-scripts update in a local branch | ||
|
||
For reference for anyone that would like to pull the latest from kohya/sd-scripts, you can: | ||
|
||
`git remote add sd-scripts https://github.com/kohya-ss/sd-scripts.git` | ||
|
||
to add it as an alternative remote, then when you want to update: | ||
|
||
``` | ||
git checkout dev | ||
git pull sd-scripts main | ||
``` | ||
|
||
or, if you want the absolute latest and potentially broken code: | ||
|
||
``` | ||
git checkout dev | ||
git pull sd-scripts dev | ||
``` | ||
|
||
You'll probably get a conflict for the Readme, but you can get around it with: | ||
|
||
``` | ||
git add README.md | ||
git merge --continue | ||
``` | ||
|
||
which will probably open a text editor for a commit message, but you can just save and close that and you should be good to go. If there are more merge conflicts than that, you now have a potential learning experience and chance for personal growth. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters