git init
git add *
git commit -m 'first'
git remote add origin https://github.com/justfantasy/justpython.git
git push -u origin master
github pages的基本操作命令
git clone https://github.com/*username*/*username*.github.io
cd *username*.github.io
echo "Hello World" > index.html
git add --all
git commit -m "Initial commit"
git push -u origin master
git fetch origin master #从远程仓库拉取最新的数据
git log -p master.. origin/master #比较区别
git merge origin/master #合并代码
忽略文件写入.gitignore文件中
最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。