diff --git a/Wiki-Git-Workflow.md b/Wiki-Git-Workflow.md new file mode 100644 index 0000000..d7d062a --- /dev/null +++ b/Wiki-Git-Workflow.md @@ -0,0 +1,47 @@ +# Wiki Git Workflow (Gitea) + +Use this workflow to edit the project wiki locally and push changes to Gitea without using the web editor. + +Wiki remote: + +`https://gitea.innovativedevsolutions.org/stan44/Project_Journal-Python.wiki.git` + +## One-time setup + +```powershell +Set-Location E:\stansshit\Project_Journal +git clone https://gitea.innovativedevsolutions.org/stan44/Project_Journal-Python.wiki.git wiki +Set-Location .\wiki +git config user.name "Your Name" +git config user.email "you@example.com" +``` + +## Daily update flow + +```powershell +Set-Location E:\stansshit\Project_Journal\wiki +git pull --ff-only +``` + +Edit or add `*.md` pages, then: + +```powershell +Set-Location E:\stansshit\Project_Journal\wiki +git add . +git commit -m "wiki: update migration docs" +git push +``` + +## Quick check + +```powershell +Set-Location E:\stansshit\Project_Journal\wiki +git status +git log --oneline -n 5 +``` + +## Notes + +- Wiki pages are normal Markdown files in this separate wiki Git repo. +- Use short, scoped commits (one topic per commit). +- If `git push` fails due to auth, re-run with your preferred credential method (token/credential manager).