94fa790d48
Made-with: Cursor
25 lines
800 B
Markdown
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).
|