📂learn
🔖github
2014-08-21 10:48阅读: 313评论: 0推荐: 0

github

运行下面代码

复制代码
//github 在线学习的地址,很好用的入门教程;
https://try.github.io/levels/1/

//
本地初始化 ,并关联远程的git地址 touch README.md git init git add README.md git commit -m "first commit" git remote add origin https://github.com/sqqihao/xxx.git git push -u origin master //git克隆项目 $ git clone https://github.com/plusjade/jekyll-bootstrap.git USERNAME.github.com $ cd USERNAME.github.com $ git remote set-url origin https://github.com/sqqihao/xxx.git $ git push origin master //项目分支 git branch 分支的名字; git checkout 分支的名字 git push origin 分支的名字;

//提交的 comment
git commit -m "add all";
//提交所有的 txt文件
git add "*.txt";
//查看历史发布信息
git log;
//增加项目
git remote add origin https://github.com/try-git/try_git.git
//直接push
git push - u origin master
//从远处拖回来
git pusll origin master
//查看git数据 的改变
git diff
//删数据
git rm "*.txt"

//先checkout到master; 从分支里面合并branch
git merge clean_up;

//删除分支
git branch -d chean_up
//发布到github
git push
复制代码

先些这些后面接着补充

本文作者:方方和圆圆

本文链接:https://www.cnblogs.com/diligenceday/p/3926634.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @   方方和圆圆  阅读(313)  评论(0编辑  收藏  举报

再过一百年, 我会在哪里?

💬
评论
📌
收藏
💗
关注
👍
推荐
🚀
回顶
收起
点击右上角即可分享
微信分享提示