Cant push things into my repo

XMLWordPrintable

      Hi!
      Newbie here!
      Im following Michael Hartl's tutorial and I need to push things into my repo on bitbucket put I get this.
      cd /path/to/my/repo
      git remote add origin https://xxxx@bitbucket.org/xxxx/sitename.git (this works)
      git push -u origin --all (this doesnt)

      And this is what I get from the terminal
      ! [rejected] master -> master (non-fast-forward)
      error: failed to push some refs to 'git@bitbucket.org:palomanat/hello_app.git'
      hint: Updates were rejected because the tip of your current branch is behind
      hint: its remote counterpart. Integrate the remote changes (e.g.
      hint: 'git pull ...' before pushing again.
      hint: See the 'Note about fast-forwards' in 'git push --help' for details.

            Assignee:
            Unassigned
            Reporter:
            Legacy Bitbucket Cloud User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: