[英]Contributing to open source project on github
I want to add translation and a bugfix on open source project on github. 我想在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,创建了该项目的分支,在我的硬盘上克隆了fork,更改了文件的权限(需要这样做,以便我可以测试更改),然后创建了一个名为“ Bulgarian_language”的新分支,然后添加了文件“ bg “ .php”,它是翻译文件,并更改了另一个文件,以使该语言可见(我是要选择使用该语言),然后我用
git add bg.php
然后键入
git commit -m "Bulgarian language"
and nothing happened. 没事 Here is the output of git commit
这是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. 为了使您的更改出现在github上,您需要
git push
它们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.