rejected master -> master (non-fast-forward) 1

rejected master -> master (non-fast-forward)

# if you updated your files on github.com so may be thats its asking first pull
# request then your push the request.
# so Very simple first:
# not use -f 
git pull origin master
# then
git push origin master

Here is what the above code is Doing:
1. git pull origin master: Pulls down the latest changes from the master branch on the origin remote.
2. git push origin master: Pushes your changes to the master branch on the origin remote.

Similar Posts