Git push does not reflect the changes in the remote repository

1.28K viewsGitgit

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

Share:
hiberstackers Answered question February 25, 2021
0

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.

Share:
hiberstackers Answered question February 25, 2021
0