简体   繁体   中英

Cannot push my git project to empty repository in Bitbucket

I have a problem in my Bitbucket account, which is cannot push my first git project..

I followed the steps of pushing a new git project:

  • first command line : git remote add origin https://said_bous@bitbucket.org/said_bous/landing-page.git , it works right.
  • Than the second command: git push -u origin master .. Oops not working and show to me that note: "key_load_public: invalid format"

I think that my private key in openssh format, and my public key correct because Bitbucket accepts it!

I don't know where is the problem...

第一个正常工作的命令

问题所在的第二个命令

Follow this instruction:

1. clone project
2. cd to folder
3. git init
4. git add file(s)
5. git commit -a
6. git push - u origin master

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM