Git error: conq: repository does not exist

In my case, the git repository was duplicated somehow in the config file: cat .git/config gave me: [remote “origin”] url = git@bitbucket.org:myUserName/myRepositoryName.git/myRepositoryName.git fetch = +refs/heads/*:refs/remotes/origin/* As you can see, myRepositoryName is duplicated, so I removed that, and now the config file looks like this: [remote “origin”] url = git@bitbucket.org:myUserName/myRepositoryName.git fetch = +refs/heads/*:refs/remotes/origin/* Doing this, my … Read more

ssh: connect to host bitbucket.org port 22: Connection timed out

I have done below mentioned things and it started working. vim ~/.ssh/config Add these lines and save it. Host bitbucket.org Hostname altssh.bitbucket.org Port 443 For Windows: Go to the place where your .ssh folder is located (run %USERPROFILE%). open the .ssh folder and create a file with the name config without any extension. Paste the … Read more

Is there a way to not have Bitbucket ask for my password every time when doing remote Mercurial operations?

Turns out the issue here was that I was using the URL for the repository displayed on my Bitbucket repository’s page, which includes the username in front of the bitbucket domain name, so it ended up looking like https://myusername@bitbucket.org/myusername/myrepo. Apparently, when the username is provided in this way, it ignores what’s in the [auth] section. … Read more

How to cleanup garbage in remote git repo

We think we had the same problem today and were able to solve it without contacting Bitbucket support, as below. Note that the method discards last commit from the repo – so you probably want to have its backup. Bitbucket reported that our repo was about 2.1GB, while when cloned, it only took about 250MB … Read more

Clone specific branch from git

Try: git clone git@bitbucket.org:project/project.git -b develop_one –single-branch For already cloned repos use: git fetch git checkout develop_one # Or more specific: git checkout –track -b develop_one This will track the develop_one branch from the remote.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)