I have an existing bitbucket repository which contains some large binary files but I want to use the Git LFS extension to the BitBucket.
I am trying to achieve this by following this resource-
https://confluence.atlassian.com/bitbucket/use-bfg-to-migrate-a-repo-to-git-lfs-834233484.html
But the following code to clone a bitbucket repository doesn't work because I deleted the ssh public key generated on the source tree. So, I tried generating a new public key but the ssh folder and the keys are not generated in my local folder.
git clone --mirror git@bitbucket.org:<username>/<repo-name>.git
Could anyone point me in the right direction as to what should be done? I am using macOS High Sierra.
Are you doing this on macOS?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you trying to generate your ssh keys from Sourcetree? Or manually in terminal?
If you have added your account in Sourcetree, you can use an app password generated in Bitbucket as your basic authentication password and you will be able to do all actions with that. More about App passwords here - https://confluence.atlassian.com/bitbucket/app-passwords-828781300.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, Manjunath! The first time I generated the ssh keys from Sourcetree but then the public key which was in my local machine got accidentally deleted.
So, now I am trying to generate it through the terminal.
All I am trying to do is use the Git LFS extension of Bitbucket to push the large binary files from existing bitbucket repository to the Git LFS Bitbucket.
Will App password generation help in this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can go to ~/.ssh folder and remove every thing inside it and try to generate your ssh keys again from Sourcetree. That would work.
App Passwords would also work regardless of whether or not you want to use ssh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What happens if you try to generate an ssh key from Sourcetree?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.