Error message when git push (repo's name special char)

Hi,

When i push my repo to remote on Bitbucket i have this message if repo's name contains char "-":

Message : "did you run git update-server-info on the server?"

Tested with :
repo-test => error message
repotest=> OK

2 answers

1 accepted

Julien,

I'm not able to duplicate your issue. (See example below). Please file a ticket with our support team as this could be an issue with your repo.

support@bitbucket.org

Mary

-----

[manthony@repos] $ git clone git@bitbucket.org:tutorials/poo-bear.git
Cloning into 'poo-bear'...
warning: You appear to have cloned an empty repository.
[manthony@repos] $ cd poo-bear/
[manthony@poo-bear] $ cat /dev/null > Readme
[manthony@poo-bear] $ edit Readme
[manthony@poo-bear] $ git add .
[manthony@poo-bear] $ git commit -m "first file"
[master (root-commit) 6e63000] first file
 1 file changed, 1 insertion(+)
 create mode 100644 Readme
[manthony@poo-bear] $ git push
Counting objects: 3, done.
Writing objects: 100% (3/3), 218 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: bb/acl: tutorials is allowed. accepted payload.
To git@bitbucket.org:tutorials/poo-bear.git
 * [new branch]      master -> master
[manthony@poo-bear] $ cat .git/config 
[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	logallrefupdates = true
	ignorecase = true
	precomposeunicode = false
[remote "origin"]
	url = git@bitbucket.org:tutorials/poo-bear.git
	fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
	remote = origin
	merge = refs/heads/master

Tested with new repo : "poo-bear2" and it works fine.

Thanks for test.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

710 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot