Github发布jquery插件

Github发布jquery插件

问题描述:

Hello.

I programmed a plug-in for Jquery but I found out if I want to publish it in jquery.com I have to get git-hub anyway I followed all this steps here. http://plugins.jquery.com/docs/publish/

when I was in the step (Publishing a Version) I didn't know what is mean, I tried to upload my plug-in to git hub I didn't know how to do it so please can you help me to finish the last step and publish my plug-in also I didn't know where I put this tags

$ git tag 0.1.0
$ git push origin --tags

Hello。 p>

我为 Jquery编写了一个插件 code>但我发现如果我想在 jquery.com code>中发布它我必须得到git-hub无论如何我都遵循这里的所有步骤。 http://plugins.jquery.com/docs/publish/ p>

当我 在步骤(发布版本)我不知道是什么意思,我试图将我的插件上传到 git hub code>我不知道该怎么做所以请你能帮我吗 完成最后一步并发布我的插件我也不知道我把这个标签放在哪里 p>

  $ git tag 0.1.0 
 $ git push origin  -  标签
  code>  pre> 
  div>

The command $ git push origin --tags is not correct. Use the below command:

$ git push --tags origin

Refences: How do you push a Git tag to a branch using a refspec?

http://git-scm.com/book/ch2-6.html