You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not visible in emails
This email will not be used as the 'from' address for web-based Git operations, e.g., edits and merges. We will instead use [email protected]
~/NullVoxPopuli/ember-page-title/test-types add-types ⇡ 1s
❯ git push
To https://github.com/nullvoxpopuli/ember-page-title.git
! [remote rejected] add-types -> add-types (push declined due to email privacy restrictions)
error: failed to push some refs to 'https://github.com/nullvoxpopuli/ember-page-title.git'
I believe the email privacy reasons are why stackblitz doesn't push via the sync changes button
To resolve, I tried the CLI:
git config --global user.email [email protected]# but no difference occurred in git push outcome
git config user.email [email protected]# but no difference occurred in git push outcome
this tells me that the git client in stackblitz does not read any git config, and instead uses the email for oauth, making it impossible to use pr.new to make changes if you have privacy settings turned on.
other techniques to try to delete commits, but keep their changes:
❯ git reset HEAD^
fatal: ambiguous argument 'HEAD^': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
We have an internal ticket to track this and it is on our list to fix in the coming weeks. Thanks for the report and for letting us know how important this feature is for users 🙏 !
repro:
configure GH settings such that on https://github.com/settings/emails under your primary email it says something like this
I believe it's these settings:
open a PR (to do work on) via
pr.new/github.com/stackblitz/docs/tree/BRANCH-NAME
docs: https://developer.stackblitz.com/codeflow/using-pr-new
make some changes
try pushing
see that it hangs forever
use CLI
observe:
I believe the email privacy reasons are why stackblitz doesn't push via the sync changes button
To resolve, I tried the CLI:
this tells me that the git client in stackblitz does not read any git config, and instead uses the email for oauth, making it impossible to use pr.new to make changes if you have privacy settings turned on.
In the CLI,
oh, no my conclusion is probably the wrong, the commits made using the UI have my actual email, I need to amend them.
oh no. lol
not that rebase is a new command, but why is the git version behind so far?
current is 2.43 (nov 19, https://github.com/git/git/releases/tag/v2.43.0)
but stackblitz is using 2.32.0, which is from June 2021
other techniques to try to delete commits, but keep their changes:
however, doing
seems to do the trick.
Another goofiness... could/should probably be a separate issue
opening an editor shouldn't happen if
m
is providedAnd then!!!
git push
succeeded. yay!However
the UI is now out of date

so I will refresh the page
The text was updated successfully, but these errors were encountered: