⚡ PowerShell Publisher · Zero dependencies

Publish a New Project to GitHub

Generate the exact PowerShell commands to push your local folder to a new or existing repository.
Use the .git clone URL (HTTPS recommended for simplicity).
Choose “Repo already has files” if the remote contains README, license, or anything else.
Force push is disabled for the “empty repo” flow; enable the other mode to allow it.
Fill the fields and click “Generate”.
Shell: PowerShell Flow: New / Empty Repo
# Commands will appear here…
Run these inside your project folder (Right-click → “Open in Terminal/PowerShell”).

Execution Steps

1
Open PowerShell in your project
In File Explorer: go to your folder → Right-click → Open in Terminal.
2
Paste & run all commands
The block handles init, commit, remote setup, and pushing to GitHub.
3
Refresh your GitHub repo
You should see all files on main (or your chosen branch).

Troubleshooting

“fatal: remote origin already exists”
Run: git remote remove origin then add it again.
“Updates were rejected because the remote contains work”
Switch to “Repo already has files” flow and either git pull --rebase then push, or enable “Force push” if you intend to overwrite remote content.
Authentication prompts
Use your GitHub credentials; for 2FA use a Personal Access Token as the password (Developer settings → Tokens).
“main” vs “master”
Many repos default to main. If your remote uses master, switch the branch field or tap the preset.