dive into git

git clone = svn co
git remote show = svn info
git branch + git checkout = git switch

git clone = git init + git remote 

step:
git init
mkdir project.git
cd project.git
git remote add -f -t master -m master orgin git://example.com/git.git(https://example.com/git.git)
git merge origin
touch file.txt
git commit -m 'test commit'
git push origin master

你可能感兴趣的:(dive into git)