extraño error de inserción git

Encontrado con errores en el segundo git push , solo quiero agregar algunos cambios nuevos a la misma request de extracción, ¿alguna idea de cómo resolver este problema? Gracias.

Operaciones de Git

 git checkout -b newFooBranch git add <name of file changed> git commit -m 'add some initial changes' git push origin newFooBranch // make some changes git add <name of same file changed> git commit -m 'add some new changes on the same file' // met with error when executing below command git push origin newFooBranch 

Mensaje de error

 To [email protected]github.com:foo/goo.git ! [rejected] newFooBranch -> newFooBranch (non-fast-forward) error: failed to push some refs to '[email protected]:foo/goo.git' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (eg hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. 

Editar 1 ,

 git pull There is no tracking information for the current branch. Please specify which branch you want to merge with. See git-pull(1) for details. git pull <remote> <branch> If you wish to set tracking information for this branch you can do so with: git branch --set-upstream-to=origin/<branch> newFooBranch 

saludos, Lin

Haz lo siguiente:

git pull

o:

 git remote update git rebase origin/newFooBranch 

antes de empujar tu cambio