Files
HS-Rename/PUSH_TO_GITEA.md
2026-03-03 21:59:18 -06:00

25 lines
800 B
Markdown

# Push to your Gitea
1. **Set Git identity** (if not already set):
```bash
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
```
To fix the initial commit author: `git commit --amend --reset-author --no-edit`
2. **Create a new repository** on your Gitea instance (e.g. `bulk-renamer`, empty, no README).
3. **Add the remote and push** (replace with your Gitea URL and username):
```bash
cd "/home/jorg/Documents/Cursor Projects/Bulk Renamer"
git remote add origin https://your-gitea.example.com/your-username/bulk-renamer.git
# or SSH:
# git remote add origin git@your-gitea.example.com:your-username/bulk-renamer.git
git branch -M main
git push -u origin main
```
4. If Gitea asks for auth, use your normal login (or a token for HTTPS).