Hi i am trying to update files from my local to bit bucket through Git Bash. When i try this commend
$ git push -u origin 'master'
I get an error like
To https://test@bitbucket.org/test/a.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://test@bitbucket.org/test/a.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.
Please help me.I don't know why i am getting this error.I am beginner in git Bash and bit bucket.Please help me?