change your ssh url by an http url for your remote ‘origin’, use:
> git remote set-url origin https://github.com/<user_name>/<repo_name>.git
It will ask for your GitHub password on the git push.
More Related Contents:
- After $git push -u origin main command, Git bash is not requesting any authentication literally does nothing
- Git push existing repo to a new and different remote repo server?
- Can’t push to GitHub because of large file which I already deleted
- .gitignore after commit [duplicate]
- Message “Support for password authentication was removed. Please use a personal access token instead.”
- How to remove a dangling commit from GitHub?
- Import existing source code to GitHub
- Difference between Git and GitHub
- gpg failed to sign the data fatal: failed to write commit object [Git 2.10.0]
- Authenticate Jenkins CI for Github private repository
- How can I fork my own GitHub repository?
- How to apply unmerged upstream pull requests from other forks into my fork?
- git diff between cloned and original remote repository
- How to link to a specific line number on GitHub
- Pushing from local repository to GitHub hosted remote
- Jenkins linking to my local git repository
- Pull request vs Merge request
- Git: Remove committed file after push
- git push heroku master says “Everything up-to-date”, but the app is not current
- Connecting one Github repository to several Aptana projects
- How do I fix “remote: fatal error in commit_refs” errors trying to push with Git?
- GitHub Clone with OAuth Access Token
- How to push changes to github after jenkins build completes?
- Git: How to make outer repository and embedded repository work as common/standalone repository?
- Git push error: RPC failed; result=56, HTTP code = 200 fatal: The remote end hung up unexpectedly fatal
- GitHub pages only showing ReadMe file?
- Clone only the .git directory of a git repo
- How to push different local Git branches to Heroku/master
- git clone with HTTPS or SSH remote?
- when you have secret key in your project, how can pushing to GitHub be possible?