Open preeti13456 opened 4 years ago
! [rejected] master -> master (fetch first) error: failed to push some refs to 'https://github.com/preeti13456/Flutter.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.
try the commands : git pull --rebase origin master git push origin master
I would try and fork the repository first from LondonAppBrewery and then clone it from your own repository. That should update all remote references.
I suggest clone repository and then use github desktop for publishing your repository
anii76's solution should work fine.
! [rejected] master -> master (fetch first) error: failed to push some refs to 'https://github.com/preeti13456/Flutter.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.