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

1 vote
Accepted answer

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 Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

235 views 3 7
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