
git
vivian_wanjin
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
git暂存修改
1. 暂存修改: git stash git stash list git stash clear git stash apply git stash 将当前所有修改项(未提交的)暂存,压栈。此时代码回到你上一次的提交,用git status可查看状态。 git stash list将列出所有暂存项。 git stash clear 清除所有暂存项...原创 2018-08-04 23:01:14 · 379 阅读 · 0 评论 -
git 使用流程
Github使用 1:man git首先检查本机是否装有git,Ubuntu下sudo apt-get install git进行安装。 代码:man git 2:如果远程有库,将远程库克隆下来; 代码:git clone http://github/aaa/bbb 如果远程没有库,就登录到github创建项目。 ------------------------------...转载 2018-08-04 23:49:38 · 257 阅读 · 0 评论 -
install git
1.安装git For Ubuntu, this PPA provides the latest stable upstream Git version # add-apt-repository ppa:git-core/ppa # apt update; apt install git 2.使用 如果你决定使用Git操作源码,那么首先要安装Git客户端(可以从http://git-scm...转载 2018-08-02 11:37:40 · 690 阅读 · 0 评论 -
利用 SSH 完成 Git 与 GitHub 的绑定
生成SSH key ssh-keygen -t rsa 路径默认 possword come again password ~/.ssh下私钥id_rsa和公钥id_rsa.pub 把公钥id_rsa.pub的内容添加到 GitHub,这样我们本地的密钥id_rsa和 GitHub 上的公钥id_rsa.pub才可以进行匹配,授权成功后,就可以向 GitHub 提交代码啦! 添加 SSH ...原创 2018-10-04 11:17:05 · 150 阅读 · 0 评论 -
fatal: 'origin' does not appear to be a git repository
Problem I’ve a repository moodle on my Github account which I forked from the official repository. I then cloned it on my local machine. It worked fine. I created several branches (under the master br...转载 2018-10-04 14:08:54 · 1200 阅读 · 0 评论 -
git cannot clone or push? failed to connect, connection refused
Problem After git push -u origin master I got: fatal: unable to access ‘https://github.com/xxxx/xxxx.git’: Failed to connect to 127.0.0.1 port 8087: Connection refused same error happen when I try to ...转载 2018-10-06 20:01:56 · 434 阅读 · 0 评论 -
The remote end hung up unexpectedly while git cloning
Problem My git client repeatedly fails with the following error after trying to clone the repository for some time. What could be the issue here? Note: I have registered my SSH key with the GIT hostin...原创 2018-12-22 15:08:07 · 233 阅读 · 0 评论 -
pycharm git
merge into develop (develop merge into local branch) resolve conflict git checkout develop git pull merge into current (local branch merge into current develop) git push git checkout my_branch contin...原创 2019-04-03 11:30:17 · 272 阅读 · 0 评论