Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | 51CTO学院 | CSDN程序员研修院 | OSChina 博客 | 腾讯云社区 | 阿里云栖社区 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏多维度架构

第 23 章 Miscellaneous

目录

23.1. 代码托管
23.1.1. sourceforge.net
23.1.2. Google Code
23.1.3. GitHub
23.2. GUI
23.2.1. TortoiseSVN
23.2.2. TortoiseGit
23.3. Browser interface for CVS and SVN version control repositories

建模工具

常用的项目管理工具

23.1. 代码托管

23.1.1. sourceforge.net

23.1.1.1. http://netkiller.users.sourceforge.net/ 页面

使用 sftp命令连接netkiller@frs.sourceforge.net,然后切换目录cd userweb/htdocs/,上传页面文件 put index.html,sourceforge.net 支持php

			
$ sftp netkiller@frs.sourceforge.net
netkiller@frs.sourceforge.net's password:
Connected to frs.sourceforge.net.
sftp> ls -l
lrwxrwxrwx    1 root     root           28 Apr 26  2012 userweb
sftp> cd userweb/htdocs/
sftp> put /tmp/index.html
Uploading /tmp/index.html to /home/user-web/n/ne/netkiller/htdocs/index.html
/tmp/index.html                     100%   10     0.0KB/s   00:00
sftp> put /tmp/index.php
Uploading /tmp/index.php to /home/user-web/n/ne/netkiller/htdocs/index.php
/tmp/index.php                      100%   17     0.0KB/s   00:00
sftp> pwd
Remote working directory: /home/user-web/n/ne/netkiller/htdocs
sftp> ls
index.html  index.php
sftp> exit
			
			

将上面netkiller改为你注册的用户名即可

帮助: https://sourceforge.net/apps/trac/sourceforge/wiki/Developer%20web

23.1.2. Google Code

23.1.3. GitHub

http://www.github.com/

23.1.3.1. 首次操作

Global setup:

Download and install Git

git config --global user.name "Neo Chan"
git config --global user.email bg7nyt@gmail.com
	 		

Next steps:

mkdir neo
cd neo
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin git@github.com:netkiller/neo.git
git push origin master
		  	

Existing Git Repo?

cd existing_git_repo
git remote add origin git@github.com:netkiller/neo.git
git push origin master
  			

23.1.3.2. clone 已经存在的仓库

$ git clone https://github.com/netkiller/netkiller.github.com.git

git config --global user.name "Your Name"
git config --global user.email you@example.com
git commit --amend --reset-author