password issue in cloning git repository from bitbucket

I have bitbucket git repository.
I tried to clone it from my PC, but I cannot give password.

git clone
Cloning into SOMEGITPROJ...

As I have this error.

  • How to make a GitHub mirror to Bitbucket?
  • Xcode iOS using git
  • git pull request: resolve a merge conflict properly?
  • Bitbucket to ColdFusion POST Hook
  • Atlassian Bamboo: Handling git-Flow hotfix-branch
  • Git Clone : Permission denied (publickey). fatal: Could not read from remote repository
  • 'PASSWORD' is not recognized as an internal or external command,
    operable program or batch file.

    How to solve this issue? Is there any way to give the password in the same command line of ‘git clone command’?

  • git diff doesn't show enough
  • Having multiple eclipse project in one Github repository
  • Collaboration on wordpress site git. How to share database?
  • How can one dry run a git push to check whether one has write permissions to a remote?
  • error: git was not found - installing laravel with composer windows
  • how to list all uncommitted changes made only in current branch in git
  • 2 Solutions collect form web for “password issue in cloning git repository from bitbucket”

    I found an answer in this site.

    For mac

    In short:

    1. pbcopy < ~/.ssh/
    2. go to account/ssh keys to add this key
    3. use ssh protocol not https

    For PC

    In short:

    1. cat /home/USER/.ssh/ > key.txt
    2. same as Mac

    Found this problem too~

    try ssh auth instead password.


    Git Baby is a git and github fan, let's start git clone.