Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git clone username and password #4500

Closed
Raja5221 opened this issue Nov 6, 2019 · 10 comments
Closed

Git clone username and password #4500

Raja5221 opened this issue Nov 6, 2019 · 10 comments

Comments

@Raja5221
Copy link

Raja5221 commented Nov 6, 2019

Screenshot_2019-11-06-13-28-54-882_com termux
Screenshot_2019-11-06-13-29-13-840_com termux

@Raja5221
Copy link
Author

Raja5221 commented Nov 6, 2019

Any one have solution

@aristarh2704
Copy link

Add "t" symbol at the end of command)

@69MN69
Copy link

69MN69 commented Apr 2, 2020

Any one have solution

Try with your gmail. Dont try with your username

@IkayJnr
Copy link

IkayJnr commented Jul 25, 2020

Not working

@kcubeterm
Copy link
Member

@IkayJnr make sure link is correct and that repo is public if you not own that,

@kith-hyzenburg
Copy link

Wheres the solution for this please

@ghost
Copy link

ghost commented Aug 6, 2020

@kith-hyzenburg Here is a solution:

  1. Ensure your URL has no typos.
  2. Ensure that repository you are cloning exists or not private.

@Princewill4
Copy link

Still having same issues

@ChiefMikeK
Copy link

maybe try pkg install gh vice $ git ?

@ghost
Copy link

ghost commented Jul 4, 2021

Already stated, if git asks for password but it not works, follow these troubleshooting steps:

  1. Ensure your URL has no typos. This means: no truncated urls, like ending in .gi instead of .git (you may omit the ".git" though), no other typos like gitub.com instead of github.com. Check what you typing, shell won't correct your mistakes!

  2. Ensure that repository you are cloning exists or not private. Git, at least in GitHub scope, does not distinguish private repositories from deleted or non-existent ones. If repository does not exist, you will be prompted for password anyway. If you got the repo link from social media, do not expect that it will be correct forever. Sometimes repositories are removed from public, typically due to unexpected attention from community or just being moved to another account.

If you really sure that repository is private and belongs to your account, try using a personal access token instead of password. Remember that you can't clone private repositories to which you don't have access.

As already suggested, you may have better luck with gh - GitHub command line client.

@ghost ghost locked as resolved and limited conversation to collaborators Jul 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants