Just use the HTTPS address to clone with the key as the user, so:
git clone https://[email protected]/username/repo.git
or
git clone https://username:[email protected]/username/repo.git
More Related Contents:
- How can I remove a commit on GitHub? [duplicate]
- Git commands that could break/rewrite the history
- Git push requires username and password
- Git submodules in .gitmodules not initialized
- Updating a local repository with changes from a GitHub repository
- How to git-cherry-pick only changes to certain files?
- Link to the issue number on GitHub within a commit message
- What is the best practice for dealing with passwords in git repositories?
- git ahead/behind info between master and branch?
- GitHub “fatal: remote origin already exists”
- Github: error cloning my private repository
- Github remote push pack size exceeded
- How to update a pull request from forked repo?
- Git’s famous “ERROR: Permission to .git denied to user”
- GitHub clone from pull request?
- GitHub: Permission denied (publickey). fatal: The remote end hung up unexpectedly
- Jenkins – how to build a specific branch
- Why does “git push main” work on GitHub when “git push master” does not? Also what is difference between “Main branch” and “Master branch”?
- Git push hangs when pushing to Github?
- Error when “git push” to github
- Delete local Git branches after deleting them on the remote repo
- Issue pushing new code in Github
- GitHub changes repository to the wrong language
- Why does git revert complain about a missing -m option?
- Github API – create branch?
- How to properly commit in repository with Github Pages branch
- Pushing a large github repo fails with “unable to push to unqualified destination: master”
- Git cannot lock ref ‘HEAD’: unable to resolve reference HEAD
- Git clone repository error: RPC failed; result=56, HTTP code = 200
- npm install package from github repo subfolder