Add Wiki Git Workflow
parent
49dd5cebbf
commit
558f932c23
47
Wiki-Git-Workflow.md
Normal file
47
Wiki-Git-Workflow.md
Normal file
@ -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).
|
||||
Loading…
x
Reference in New Issue
Block a user