浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

使用git remote -v列出所有远程的git仓库

删除远程仓库

mlzboy@mlzboy-MacBook ~/my/b2c2 $ git remote --help

mlzboy@mlzboy-MacBook ~/my/b2c2 $ git remote rm beanstalk

mlzboy@mlzboy-MacBook ~/my/b2c2 $ git remote -v

test git@mlzboy.beanstalkapp.com:/geilibuy.git (fetch)

test git@mlzboy.beanstalkapp.com:/geilibuy.git (push)

2.2.7 跳过使用暂存区域
尽管使用暂存区域的方式可以精心准备要提交的细节,但有时候这么做略显繁琐。Git 提
供了一个跳过使用暂存区域的方式,只要在提交的时候,给 git commit 加上 -a 选项,Git
就会自动把所有已经跟踪过的文件暂存起来一并提交,从而跳过 git add 步骤:

http://gitref.org/

在线中文教程,good for u

http://progit.org/book/zh/   progit

http://www.linuxsir.org/main/doc/git/gittutorcn.htm

 

http://plog.longwin.com.tw/my_note-unix/2009/05/19/git-learn-initial-command-2009

 

 

 

github git push的时候出错 Permission denied (publickey). 解决方法
2008/12/18 下午 03:20

 

当输入 git push origin master 时
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

应该说这个是需要我们设置一个 ssh key

http://github.com/guides/providing-your-ssh-key

 

 

.gitignore 文件内容

 

.bundle

db/*.sqlite3

log/*.log

tmp/**/*

public/system/

html/

sql/

doc/

test/

nbproject/

*.komodoproject

*.bak

*.bak2

本地仓库向github提交

 

git remote add origin git@github.com:mlzboy/learn_github.git

git push origin master

 

posted on 2010-12-20 13:49  lexus  阅读(359)  评论(0编辑  收藏  举报