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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

23,163 views 26 12
Join discussion

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