Problems with 'create_from_local'.

Issue #32 new
Nicolas Reibnitz created an issue

Hi! Thanks for doing this!

I have a problem with turning a folder including a web project into a bitbucket repo using the cli. Here is what I tried:

cd my_project
git init
git add .
git commit -m 'First commit'
bitbucket create_from_local -c --debug

(using a ~/.bitbucket file including all infos)

Output:

#!

*****************************************************
  Warning: config file is readable by other users.
  If you are storing your password in this file,
  it may not be secure
****************************************************
usage: git remote add [<options>] <name> <url>

    -f, --fetch           fetch the remote branches
    --tags                import all tags and associated objects when fetching
                          or do not fetch any tag at all (--no-tags)
    -t, --track <branch>  branch(es) to track
    -m, --master <branch>
                          master branch
    --mirror[=<push|fetch>]
                          set up remote as a mirror to push to or fetch from

fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I guess I'm missing the point here. So what is the correct workflow of turning a simple folder into a bitbucket repo via the cli? And what is meant by 'OWNER' compared to 'USERNAME'?

Thanks in advance!

Comments (2)

  1. Benjamin

    This command no longer works since Bitbucket deprecated most api endpoint. Any info regarding the update of the cli ?

  2. Log in to comment