I cloned a repository to my PC and trying to push my work back to bitbucket.
used the command - ' git push origin master'
It returns - 'Everything up-to-date'.
When I checked for the commits on bitbucket, nothing seems to appear / update.
what am I missing? Can someone help me please ?
Thanks.
Once you have made changes to files.
Run
git status
git add <file>
git commit -m "This is my commit"
git push origin master
With git status you will see all the files with changes, you can add individually or git add * for everything.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.