I want to add translation and a bugfix on open source project on github. I had installed git, forked the project, cloned the fork on my harddrive, changed the permissions of the file(needed to do so I can test the changes), then created a new branch called "Bulgarian_language", then added the file "bg.php" which is the translation and changed another file so that the language is visible(I mean to be selected for use), then I used git add bg.php
then typed
git commit -m "Bulgarian language"
and nothing happened. Here is the output of git commit
git commit -m "Added Bulgarian language"
[Bulgarian_language 41e55b8] Added Bulgarian language
1 file changed, 194 insertions(+)
create mode 100644 languages/bg.php
However I don't see the changes on my fork. What I had do wrong?
You commit to your local repository; in order for your changes to appear on github, you need to git push
them.
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.