知识&技术&梦想 知识&技术&梦想

阿里云代码管理工具 初始化记录

Command line instructions Git global setup
git config --global user.name "USERNAME"
git config --global user.email "EMAIL"
Create a new repository
git clone https://code.aliyun.com/USERNAME/crawler.git
cd crawler
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
Existing folder or Git repository
cd existing_folder
git init
git remote add origin https://code.aliyun.com/USERNAME/crawler.git
git add .
git commit
git push -u origin master
个人记录. git 简单操作.
大纲