Hi,
Thank you for your prompt reply. There should be some logical explanation; I can not accept or leave my changes to local branches for a long. I must push these changes to the remote so that I can collaborate with others. Anti-virus on MacOS blocking traffic. It could be anything, but I am still not convinced and trying to rule out all the possible causes.
I am suspecting a few things here, MacOS updated, git releases (git-SCM) and not enough testing done. Also, it could be a multiple users account on the same machine with credential stores.
On other extremes, It could be a specific edge case(i.e. in my case Ionic CLI)
Steps to reproduce are simple.
- Create a new private repository on GitHub (select read me, gitignore and license type).
- Open with VSCode
- Make changes in ReadMe.Md file
- Commit with comments
- Push Changes to remote branch (Success) through Github Desktop
- Open a terminal in VSCode
- Run Ionic start frontend
- Select angular
- Select capacitor yes
- Open new account no
- Commit with comment
- Push to commit to the remote repository (Failed) through Github Desktop
View error message
Enumerating objects: 52 done.
Counting objects: 100% (52/52), done.
Delta compression using up to 8 threads
Compressing objects: 100% (48/48), done.
Writing objects: 100% (51/51), 148.63 KiB | 6.19 MiB/s, done.
Total 51 (delta 2), reused 0 (delta 0), pack-reused 0
remote: fatal: early EOF
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
from the log file
2020-11-17T17:56:14.422Z - info: [ui] [AppStore] loading 1 repositories from store
2020-11-17T17:56:14.423Z - info: [ui] [AppStore] found account: MYUSERNAME
2020-11-17T17:56:15.284Z - info: [ui] launching: 2.6.0 (Mac OS 10.16.0)
2020-11-17T17:56:15.285Z - info: [ui] execPath: ‘/Applications/GitHub Desktop.app/Contents/Frameworks/GitHub Desktop Helper (Renderer).app/Contents/MacOS/GitHub Desktop Helper (Renderer)’
2020-11-17T17:56:15.341Z - info: [ui] [BranchPruner] No branches to prune.
2020-11-17T17:56:19.099Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: personalfinanace - MYUSERNAME (has token)
2020-11-17T17:59:39.751Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 1 repositories took 0.9s of which 0.0s paused, total 0.9s
2020-11-17T18:01:32.485Z - info: [ui] Executing push: git -c credential.helper= -c protocol.version=2 push origin develop:develop --progress (took 313.349s)
2020-11-17T18:01:32.487Z - error: [ui] git -c credential.helper= -c protocol.version=2 push origin develop:develop --progress
exited with an unexpected code: 1.
stderr:
Enumerating objects: 52, done.
Counting objects: 1% (1/52)
Counting objects: 3% (2/52)
Counting objects: 5% (3/52)
Counting objects: 7% (4/52)
Counting objects: 9% (5/52)
Counting objects: 11% (6/52)
Counting objects: 13% (7/52)
Counting objects: 15% (8/52)
Counting objects: 17% (9/52)
Counting objects: 19% (10/52)
Counting objects: 21% (11/52)
Counting objects: 23% (12/52)
Counting objects: 25% (13/52)
Counting objects: 26% (14/52)
Counting objects: 28% (15/52)
Counting objects: 30% (16/52)
Counting objects: 32% (17/52)
Counting objects: 34% (18/52)
Counting objects: 36% (19/52)
Counting objects: 38% (20/52)
Counting objects: 40% (21/52)
Counting objects: 42% (22/52)
Counting objects: 44% (23/52)
Counting objects: 46% (24/52)
Counting objects: 48% (25/52)
Counting objects: 50% (26/52)
Counting objects: 51% (27/52)
Counting objects: 53% (28/52)
Counting objects: 55% (29/52)
Counting objects: 57% (30/52)
Counting objects: 59% (31/52)
Counting objects: 61% (32/52)
Counting objects: 63% (33/52)
Counting objects: 65% (34/52)
Counting objects: 67% (35/52)
Counting objects: 69% (36/52)
Counting objects: 71% (37/52)
Counting objects: 73% (38/52)
Counting objects: 75% (39/52)
Counting objects: 76% (40/52)
Counting objects: 78% (41/52)
Counting objects: 80% (42/52)
Counting objects: 82% (43/52)
Counting objects: 84% (44/52)
Counting objects: 86% (45/52)
Counting objects: 88% (46/52)
Counting objects: 90% (47/52)
Counting objects: 92% (48/52)
Counting objects: 94% (49/52)
Counting objects: 96% (50/52)
Counting objects: 98% (51/52)
Counting objects: 100% (52/52)
Counting objects: 100% (52/52), done.
Delta compression using up to 8 threads
Compressing objects: 2% (1/48)
Compressing objects: 4% (2/48)
Compressing objects: 6% (3/48)
Compressing objects: 8% (4/48)
Compressing objects: 10% (5/48)
Compressing objects: 12% (6/48)
Compressing objects: 14% (7/48)
Compressing objects: 16% (8/48)
Compressing objects: 18% (9/48)
Compressing objects: 20% (10/48)
Compressing objects: 22% (11/48)
Compressing objects: 25% (12/48)
Compressing objects: 27% (13/48)
Compressing objects: 29% (14/48)
Compressing objects: 31% (15/48)
Compressing objects: 33% (16/48)
Compressing objects: 35% (17/48)
Compressing objects: 37% (18/48)
Compressing objects: 39% (19/48)
Compressing objects: 41% (20/48)
Compressing objects: 43% (21/48)
Compressing objects: 45% (22/48)
Compressing objects: 47% (23/48)
Compressing objects: 50% (24/48)
Compressing objects: 52% (25/48)
Compressing objects: 54% (26/48)
Compressing objects: 56% (27/48)
Compressing objects: 58% (28/48)
Compressing objects: 60% (29/48)
Compressing objects: 62% (30/48)
Compressing objects: 64% (31/48)
Compressing objects: 66% (32/48)
Compressing objects: 68% (33/48)
Compressing objects: 70% (34/48)
Compressing objects: 72% (35/48)
Compressing objects: 75% (36/48)
Compressing objects: 77% (37/48)
Compressing objects: 79% (38/48)
Compressing objects: 81% (39/48)
Compressing objects: 83% (40/48)
Compressing objects: 85% (41/48)
Compressing objects: 87% (42/48)
Compressing objects: 89% (43/48)
Compressing objects: 91% (44/48)
Compressing objects: 93% (45/48)
Compressing objects: 95% (46/48)
Compressing objects: 97% (47/48)
Compressing objects: 100% (48/48)
Compressing objects: 100% (48/48), done.
Writing objects: 1% (1/51)
Writing objects: 3% (2/51)
Writing objects: 5% (3/51)
Writing objects: 7% (4/51)
Writing objects: 9% (5/51)
Writing objects: 11% (6/51)
Writing objects: 13% (7/51)
Writing objects: 15% (8/51)
Writing objects: 17% (9/51)
Writing objects: 19% (10/51)
Writing objects: 21% (11/51)
Writing objects: 23% (12/51)
Writing objects: 25% (13/51)
Writing objects: 27% (14/51)
Writing objects: 29% (15/51)
Writing objects: 31% (16/51)
Writing objects: 33% (17/51)
Writing objects: 35% (18/51)
Writing objects: 37% (19/51)
Writing objects: 39% (20/51)
Writing objects: 41% (21/51)
Writing objects: 43% (22/51)
Writing objects: 45% (23/51)
Writing objects: 47% (24/51)
Writing objects: 49% (25/51)
Writing objects: 50% (26/51)
Writing objects: 52% (27/51)
Writing objects: 54% (28/51)
Writing objects: 56% (29/51)
Writing objects: 58% (30/51)
Writing objects: 60% (31/51)
Writing objects: 62% (32/51)
Writing objects: 64% (33/51)
Writing objects: 66% (34/51)
Writing objects: 68% (35/51)
Writing objects: 70% (36/51)
Writing objects: 72% (37/51)
Writing objects: 74% (38/51)
Writing objects: 76% (39/51)
Writing objects: 78% (40/51)
Writing objects: 80% (41/51)
Writing objects: 82% (42/51)
Writing objects: 84% (43/51)
Writing objects: 86% (44/51)
Writing objects: 88% (45/51)
Writing objects: 90% (46/51)
Writing objects: 92% (47/51)
Writing objects: 94% (48/51)
Writing objects: 96% (49/51)
Writing objects: 98% (50/51)
Writing objects: 100% (51/51)
Writing objects: 100% (51/51), 148.63 KiB | 7.82 MiB/s, done.
Total 51 (delta 2), reused 0 (delta 0), pack-reused 0
remote: fatal: early EOF
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
So this is a bit of unusual for me.
Let us see if I create a local repository first and then push to remote (non existing on my GitHub account and create from the start).
Here is a fresh start
Steps to reproduce
- Create a local folder
- Open VSCode
- run Ionic CLI Command
i. Ionic start ionictest
ii. Select Angular
iii. Select Capacitor
- At the end of the process commit to the master branch
- Publish master branch to a private repository named ionictest (from VSCode)
------ git log from VSCode
Looking for git in: /usr/local/bin/git
Using git 2.29.2 from /usr/local/bin/git
git rev-parse --git-dir
Open repository: /Users/rlodhiya/Desktop/projects/ionicfinance/ionictesting
git fetch
git status -z -u
git symbolic-ref --short HEAD
git rev-parse master
Fatal: ambiguous argument ‘master’: unknown revision or path not in the working tree.
Use ‘–’ to separate paths from revisions, like this:
‘git […] – […]’
git for-each-ref --sort -committerdate --format %(refname) %(objectname)
git remote --verbose
git config --get commit.template
git status -z -u
git symbolic-ref --short HEAD
git rev-parse master
Fatal: ambiguous argument ‘master’: unknown revision or path not in the working tree.
Use ‘–’ to separate paths from revisions, like this:
‘git […] – […]’
git for-each-ref --sort -committerdate --format %(refname) %(objectname)
git remote --verbose
git config --get commit.template
git check-ignore -v -z --stdin
git status -z -u
git symbolic-ref --short HEAD
git rev-parse master
git rev-parse --symbolic-full-name master@{u}
fatal: no upstream configured for branch ‘master.’
git for-each-ref --sort -committerdate --format %(refname) %(objectname)
git remote --verbose
git config --get commit.template
git checkout -q master
git status -z -u
git symbolic-ref --short HEAD
git rev-parse master
git rev-parse --symbolic-full-name master@{u}
fatal: no upstream configured for branch ‘master.’
git for-each-ref --sort -committerdate --format %(refname) %(objectname)
git remote --verbose
git config --get commit.template
git symbolic-ref --short HEAD
git remote add origin https://github.com/USERNAME/ionictesting.git
git status -z -u
git symbolic-ref --short HEAD
git rev-parse master
git rev-parse --symbolic-full-name master@{u}
fatal: no upstream configured for branch ‘master.’
git for-each-ref --sort -committerdate --format %(refname) %(objectname)
git remote --verbose
git config --get commit.template
git push -u origin master
remote: fatal: early EOF
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
To rule out configuration or anything else.
I created one more local repository and published successfully to Github. Now, this is really a strange one but let me see.
Really bizarre but I am running out of options (It is a latest ionic CLI - FYI)
I hope someone must have a similar problem in the entire universe and may share some insight here.