`
sg552
  • 浏览: 614239 次
  • 性别: Icon_minigender_1
  • 来自: 北京
博客专栏
47437293-94b9-3b04-9152-8971c7580049
白手起家学习使用Flex
浏览量:18503
社区版块
存档分类
最新评论

使用github 建立一个代码库的步骤:

阅读更多
建立github账户很久了,但是用的不多。
最近希望把1,2个 项目放上去。 所以把步骤放在这里。

我的项目名叫 checkbox_across_pagination。  (用来管理多页选择的一个js组件)

1. cd checkbox_across_pagination

2. git init .
  git add
  git commit -m "initial version"...
  git add user.name "oo"
  git add user.email "ooxx@meial.com"
等等常规操作。

3. 加上github的用户名和token. 这个很关键
  git config --global github.user sg552
  git config --global github.token ec05ac68ec63307fff6ed5ac7ea5bee1
  其中用户名和 token 都可以在你登录后看到。(account settings里面)

4. 进入到: https://github.com/repositories/new (这个URL似乎比较难找?我直接列出来了) 建立个repo,名字叫就  checkbox_across_pagination 

5. git remote add origin   git@github.com:sg552/checkbox_across_pagination.git
  git push -u origin master

欧了。 详细见:
http://help.github.com/create-a-repo/

1
2
分享到:
评论
2 楼 sg552 2012-05-16  
adsl123gg2008 写道
找不到第三部的token ,求楼主详解

我也没发现,估计现在用不到这个东西了,你可以在  http://help.github.com/create-a-repo/   这里看到最新的办法。
1 楼 adsl123gg2008 2012-05-15  
找不到第三部的token ,求楼主详解

相关推荐

Global site tag (gtag.js) - Google Analytics