Reputation: 75
I pushed some changes in my repository at GitHub. everything is working fine but I cant see the exact changes in GitHub highlighted in colors as I know it. I pushed the changes with this command git push origin master
What should I do additional to achieve that?
Upvotes: 2
Views: 5533
Reputation: 66354
My guess is that you're simply looking at the Code page of your GitHub repository, which doesn't show changes introduced by a commit, only the version of the file stored in the tip of the selected branch.
Do the following (I've taken one of my GitHub repositories as an example):
Go back to your main GitHub page.
Click on the repo of interest.
Click on Code, in the right-hand-side navigation bar.
Click on the file of interest.
Click History (next to Raw and Blame).
You should now be able to see the lines that were added/deleted in that file by that commit in green/red:
Upvotes: 3