bitbucket - Why does git complain about an empty repository or a folder with existing files? -



bitbucket - Why does git complain about an empty repository or a folder with existing files? -

in bitbucket if seek , create repository existing folder error complaining not empty directory. if go empty folder complains empty folder.

what steps involved in adding existing project in development repo using git , bitbucket?

the quick-start steps not quite right on bitbucket page:

$ git clone git@bitbucket.org:myname/myproject.git ... $ git pull # fetch changes $ git force -u origin master # force changes first time

instead of cloning, have to:

git init . # in project repo git remote add together origin git@bitbucket.org:myname/myproject.git git force -u origin master # assuming newly created repo on bitbucket

git bitbucket

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

content management system - How to allow only English submissions on Pligg CMS -

How do I check if an insert was successful with MySQLdb in Python? -