Unable to push branch after commit

91 Views Asked by At

my push / pull options are not highlighted after i commited my change in RSTudio, why?

screenshot

If I do git push -u origin master, I get

error: src refspec master does not match any
error: failed to push some refs to 'https:/...

My Github desktop shows this btw - github desktop screenshot

1

There are 1 best solutions below

0
WARUTS On

check if the local repo is connected to the remote repo (git remote origin ....). then check the email you are using to push if it is connected to the repo as well git config user.email