I am newbie when using Github so I have a question. I am using the Windows Github client. I forked one repo and added some changes. These changes are not shown on the Github webpage.
For example, here is my commit.
Here is the repo.
But on GitHub I see that there are no new commits, last is from forked repo:
But if I download the ZIP from: https://github.com/amacar/NiceHashBot then there I can see changes that I committed before. I am a little confused as to what is wrong.
It seems your commit is not part of the main branch, just hanging around. Try to checkout directly your commit by its hash, create a new branch for it, and then merge it to master:
git checkout 7e0c8c94de9 # changes HEAD to directly this commit
git checkout -b my-change # creates a new branch for the HEAD
git checkout master
git merge my-change # merges the new branch into master
git push # pushes master to github
Looks like it is working now. I did another branch and right after doing this my commit showed up on Github webpage. Must be something similar to what @onlynone said.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.