随笔 - 785  文章 - 16 评论 - 39 阅读 - 166万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

随笔分类 -  git学习

git学习
nodejs程序后台一直运行
摘要:来源:http://materliu.github.io/all/web/nodejs/2014/04/16/nodejs_serve_background_run.html nodejs程序后台一直运行 nohup node server.js & 涨姿势: unix/Linux下一般想让某个程序 阅读全文
posted @ 2020-03-14 22:03 qqhfeng16 阅读(1862) 评论(0) 推荐(0) 编辑
fatal:'origin' does not appear to be a git repository fatal:Could not read from remote repository
摘要:天gitlab中遇到的问题:当 git push origin branch_name时遇到报错如下:fatal:'origin' does not appear to be a git repositoryfatal:Could not read from remote repository原因: 阅读全文
posted @ 2019-07-15 23:17 qqhfeng16 阅读(2637) 评论(0) 推荐(0) 编辑
fatal: 不是一个有效的对象名:'master'。
摘要:听说git比svn的branch功能好,所以装了个msysgit玩.执行完了git init操作后想建branch,用git branch develop命令,结果报错,说 fatal: Not a valid object name: 'master' 看了这个篇文章http://stackove 阅读全文
posted @ 2019-07-15 22:21 qqhfeng16 阅读(2308) 评论(0) 推荐(0) 编辑
git@github.com: Permission denied (publickey).
摘要:2019年04月22日 20:32:40 xiyuan1223 阅读数 90 2019年04月22日 20:32:40 xiyuan1223 阅读数 90 git@github.com: Permission denied (publickey). 首先用 ssh -vT git@github.co 阅读全文
posted @ 2019-07-15 22:04 qqhfeng16 阅读(455) 评论(0) 推荐(0) 编辑
ubuntu18.04使用vscode报pylint is not install错误
摘要:1、安装pip:sudo apt-get install pip,如果使用python3则需要安装pip3:sudo apt-get install python3-pip2、使用pip安装pylint:pip install pylint或者pip3 install pylint3、在vscode 阅读全文
posted @ 2019-07-14 21:51 qqhfeng16 阅读(271) 评论(0) 推荐(0) 编辑
it commit提示Your branch is up-to-date with 'origin/master'.
摘要:今天提交git仓库的时候,遇到了如截图所示的问题,提示Your branch is up-to-date with 'origin/master'. 查了些资料后,发现其根本原因是版本分支的问题 这时候我们就需要新建一个分支 $ git branch newbranch 然后检查分支是否创建成功 $ 阅读全文
posted @ 2019-05-10 08:26 qqhfeng16 阅读(1202) 评论(0) 推荐(0) 编辑
git下,输入git log 进入log 怎么退出
摘要:解决方案: Paste_Image.png Paste_Image.png 阅读全文
posted @ 2019-05-09 21:15 qqhfeng16 阅读(758) 评论(0) 推荐(0) 编辑
git rm与git rm --cached
摘要:当我们需要删除暂存区或分支上的文件, 同时工作区也不需要这个文件了, 可以使用 当我们需要删除暂存区或分支上的文件, 但本地又需要使用, 只是不希望这个文件被版本控制, 可以使用 阅读全文
posted @ 2019-05-09 21:08 qqhfeng16 阅读(215) 评论(0) 推荐(0) 编辑
在本地填写私自钥匙
摘要://添加命令 Administrator@WIN-G9SG25BBAIL MINGW64 ~$ ssh-add helloworldEnter passphrase for helloworld:Identity added: helloworld (2088600574@qq.com) //添加完 阅读全文
posted @ 2019-05-09 17:52 qqhfeng16 阅读(140) 评论(0) 推荐(0) 编辑
ssh-add命令
摘要:ssh-add命令是把专用密钥添加到ssh-agent的高速缓存中。该命令位置在/usr/bin/ssh-add。 语法 选项 实例 1、把专用密钥添加到 ssh-agent 的高速缓存中: 2、从ssh-agent中删除密钥: 3、查看ssh-agent中的密钥: 阅读全文
posted @ 2019-05-09 17:52 qqhfeng16 阅读(1514) 评论(0) 推荐(0) 编辑
Could not open a connection to your authentication agent
摘要:执行ssh-add时出现Could not open a connection to your authentication agent 若执行ssh-add /path/to/xxx.pem是出现这个错误:Could not open a connection to your authentica 阅读全文
posted @ 2019-05-09 17:47 qqhfeng16 阅读(350) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示