I recently found out Commit and push doesn't work when trying to commit and push the first commit of a repo (remote is empty)
Requirements
git-fork version 1.57.0.0
An empty remote project, I'm using a gitea project.
How to reproduce
Select an empty folder using File - Init New Repository and confirm
Create remote repo (for me it's gitea)
Add remote to local repo (I have 2FA enabled so I only work with SSH URLs)
Stage untracked changes
Type in a commit message and click the downwards arrow, select Commit and push to also push it to remote
Result
The activity manager shows me there were only two activities Add to origin and Commit 1 file, no errors, just normal behavior - but no push.
Checking the gitea project remains in having an empty repo.
Workaround
Do not use Commit and push for repos that are not initialized yet until this issue is fixed.
Use Commit only and push the content in a separate call
I recently found out
Commit and push
doesn't work when trying to commit and push the first commit of a repo (remote is empty)Requirements
git-fork version 1.57.0.0 An empty remote project, I'm using a gitea project.
How to reproduce
Select an empty folder using
File
-Init New Repository
and confirm Create remote repo (for me it's gitea) Add remote to local repo (I have 2FA enabled so I only work with SSH URLs) Stage untracked changes Type in a commit message and click thedownwards arrow
, selectCommit and push
to also push it to remoteResult
The activity manager shows me there were only two activities
Add to origin
andCommit 1 file
, no errors, just normal behavior - but no push. Checking the gitea project remains in having an empty repo.Workaround
Do not use
Commit and push
for repos that are not initialized yet until this issue is fixed. UseCommit
only and push the content in a separate call