Instead of using GIT_TRACE1, as suggested in comments, use (with a recent enough Git), GIT_TRACE2_EVENT
set GIT_TRACE2_EVENT=1
git push
# to cancel traces
set GIT_TRACE2_EVENT=
Check also the output of git remote -v
to check:
- that origin2 does exist
- that it is an HTTPS URL
More Related Contents:
- How can I automatically deploy my app after a git push ( GitHub and node.js)?
- Heroku: How to push different local Git branches to Heroku/master
- Git push failed, “Non-fast forward updates were rejected”
- git push heroku master says “Everything up-to-date”, but the app is not current
- How to push different local Git branches to Heroku/master
- Error when pushing amended commit to remote [duplicate]
- Is there a way to cache https credentials for pushing commits?
- How to do a GitHub pull request
- Git, fatal: The remote end hung up unexpectedly
- Download a single folder or directory from a GitHub repo
- How do I properly force a Git push?
- Unable to Git-push master to Github – ‘origin’ does not appear to be a git repository / permission denied
- Git keeps prompting me for a password
- Configure Git clients, like GitHub for Windows, to not ask for authentication
- Git SSH error: “Connect to host: Bad file number”
- How to recover from a git push -force?
- Unable to change Git account
- ‘git diff’ doesn’t show enough
- GitHub: How to make a fork of public repository private?
- ! [rejected] master -> master (fetch first)
- rejected master -> master (non-fast-forward)
- Trying To Understand/Determine A Basic Git Workflow
- How to merge remote changes at GitHub?
- Push to origin from GitHub action
- Is there a way to lock individual files or directories on fork when using git?
- How to merge the remote branch and ignore the config setting?
- Transfer git repositories from GitLab to GitHub – can we, how to and pitfalls (if any)?
- Create empty branch on GitHub
- Git cannot lock ref ‘HEAD’: unable to resolve reference HEAD
- Git clone repository error: RPC failed; result=56, HTTP code = 200