Git push does not reflect the changes in the remote repository
Git push does not reflect the changes in the remote repository
I created a second branch and made some changes to it. after that merge that changes to master branch. To validate the same I use the git diff command. After pushing that code to the remote server changes are not reflected
hiberstackers Answered question February 25, 2021
Have you added and committed the files (git add and git commit) before pushing the repository? If not, after merging, execute the below commands,
git add . git commit -m “message” git push origin master
Now check the changes in the remote repository.
hiberstackers Answered question February 25, 2021