I am getting the following error. How do I resolve?: git add . git commit -m \'t\' git push origin development
To git@github.com:myrepo.git
! [
you can write in your console:
git pull origin
then press TAB and write your "master" repository
I have faced the same issue and resolved as follows (if you have a project in local folder then follow the steps):
Try this:
Sometimes #1 works and sometimes #2 for me. I am not sure why it reacts in this way
$ git fetch --unshallow origin
$ git push you remote name