Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-17698

Error on git pull and push

    XMLWordPrintable

Details

    Description

      We cannot pull and push. Its says git pull but when pulling it says up to date.

      ubuntu@ip-172-31-23-6:/var/www/mobileweb$ git push origin master
      Password for 'https://jeffreymartinreyes@bitbucket.org':\\
      To https://jeffreymartinreyes@bitbucket.org/jeffreymartinreyes/mobileweb.git\\
      ! [rejected] master -> master (fetch first)
      error: failed to push some refs to 'https://jeffreymartinreyes@bitbucket.org/jeffreymartinreyes/mobileweb.git'\\
      hint: Updates were rejected because the remote contains work that you do
      hint: not have locally. This is usually caused by another repository pushing
      hint: to the same ref. You may want to first integrate the remote changes
      hint: (e.g., 'git pull ...' before pushing again.
      hint: See the 'Note about fast-forwards' in 'git push --help' for details.

      ubuntu@ip-172-31-23-6:/var/www/mobileweb$ git pull origin master
      Password for 'https://jeffreymartinreyes@bitbucket.org':\\
      From https://bitbucket.org/jeffreymartinreyes/mobileweb

      • branch master -> FETCH_HEAD
        Already up-to-date.

      ubuntu@ip-172-31-23-6:/var/www/mobileweb$

      Attachments

        Activity

          People

            Unassigned Unassigned
            be8832c13224 jeffreymartinreyes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: