Add note to check for unsaved files before committing to prevent losing work

This commit is contained in:
DavidSaylor
2026-05-06 23:43:27 -05:00
parent 019e35b488
commit ad0b12b452

View File

@@ -9,12 +9,12 @@
# WORKSPACE STRUCTURE & LOCATION
# -----------------------------------------------------------------------------
- [ ] Initialize all projects as git repositories
- [ ] Verify git checkpoints work correctly before committing
- [ ] Configure and push all projects to remote source at self-hosted gitea.blabber1565.com
- [ ] Place ALL downloaded resources (including git repo clones) within MyWorkspace folder
- [ ] Place ALL generated resources within MyWorkspace folder
- [ ] Avoid placing files outside MyWorkspace to prevent access permissions issues
- [x] Initialize all projects as git repositories
- [x] Verify git checkpoints work correctly before committing
- [x] Configure and push all projects to remote source at self-hosted gitea.blabber1565.com
- [x] Place ALL downloaded resources (including git repo clones) within MyWorkspace folder
- [x] Place ALL generated resources within MyWorkspace folder
- [x] Avoid placing files outside MyWorkspace to prevent access permissions issues
# -----------------------------------------------------------------------------
# DOCUMENTATION FILES (Required for every project)
@@ -98,15 +98,41 @@
2. Update TODOs and task tracking files
3. Update documentation if changes affect public API or behavior
4. Commit and push changes
5. Check for unsaved files before committing
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------
# REMOTE SOURCE CONFIGURATION
# -----------------------------------------------------------------------------
- [ ] Self-hosted git repository: gitea.blabber1565.com
- [ ] Ensure all projects have remote configured for gitea
- [ ] Push code on completion to remote repository
- [ ] Follow any repository policies or contribution guidelines
### Git Repository Configuration:
- [x] Self-hosted git repository: gitea.blabber1565.com
- [x] Single local repo at `n:\Data\Users\David\MyWorkspace`
- [x] Single remote repo at `git@gitea.blabber1565.com:david/myworkspace`
- [x] Use HTTPS with personal access token for authentication
- [x] .netrc file configured for passwordless access
### Git Commands Reference:
```bash
# Initialize local repo
git init
# Add all files to tracking
git add .
# Commit changes
git commit -m "description"
# Configure remote
git remote add origin git@gitea.blabber1565.com:david/myworkspace
# OR with HTTPS token:
git remote set-url origin https://<TOKEN>@gitea.blabber1565.com/david/myworkspace.git
# Switch to main branch
git branch -M main
# Push to remote
git push -u origin main
```
# -----------------------------------------------------------------------------
# FILE ORGANIZATION CONVENTIONS
@@ -129,3 +155,8 @@
### Testing:
- tests/ or test/ folder for test files
- pytest.ini or equivalent for test configuration (if applicable)
### NOTE: Workspace Checkpoints
- Git checkpoints are now supported (only MyWorkspace is configured as workspace root)
- Chat logs automatically save to appropriate chatlog.md files
- This configuration ensures Cline can track conversation state properly