bitbucket - git push auth fail after setting remote origin to bitbucket
问题描述
Should I submit a bugticket for Atlassian? :P
my scenario backup git repo from on-premise Azure Devops to Bitbucket cloud
Created App password, with which I can clone the repository from bitbucket.
git clone https://{username}:{App password}@bitbucket.org/someworkspace/some_repo.git
to clarify on account_name, username in bitbucket
Now to my scenario, i cloned Azure Devops repo based on this: https://www.atlassian.com/git/tutorials/git-move-repository Of courser, my {App password} has admin right on repositories
git remote rm origin
git remote add origin https://{username}:{App password}@bitbucket.org/someworkspace/some_repo.git
git push origin --all
remote: Invalid username or password fatal: Authentication failed for 'https://bitbucket.org/someworkspace/some_repo.git/'
after failing I tried different combinations, but still no luck
git remote rm origin
git remote add origin https://bitbucket.org/someworkspace/some_repo.git
git push origin --all
Username for 'https://bitbucket.org': {username}
Password for 'https://{username}@bitbucket.org': {password}
remote: Invalid username or password
fatal: Authentication failed for 'https://bitbucket.org/someworkspace/some_repo.git/'
combinations
emailaddress - password
username - password
account_name - password
account_name - App password
My assumption I'm not on a premium Plan in bitbucket
Thanks for the help in advance
解决方案
推荐阅读
- react-native - 如何在 Slider、React Native 上设置不可更改的 Track 颜色
- vb.net - 将方法应用于文字
- python - 通过 FTP 逐行读取 CSV,而不将整个文件存储在内存/磁盘中
- linux - 如何使用grep查看linux中的所有文件?
- continuous-integration - Gitlab CI清理基于文件的变量错误:退出状态1
- python - Pandas/SQLalchemy 合并数据框和表
- php - Codeigniter 4.1.1 即使在使用 isset 函数后也显示未定义的变量
- c++ - 等待围栏,但验证警告“commandBuffer 尚未完成”
- reactjs - 反应设置状态没有立即工作
- jupyter-notebook - 在 Mac 上使用 Opera 打开 Jupyter Notebooks