I am getting the Message when trying to commit the code :
error: failed to push some refs to 'https://xyz@bitbucket.org/xyz-iphone.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.
I don't want to go back the the last commit . The file which i am using is taken from previous commit .
How can i commit in same repository with / without changing the branch ?