摘要:git fetch --all git reset --hard origin/master git pull
阅读全文
随笔分类 - linux
摘要:git fetch --all git reset --hard origin/master git pull
阅读全文
摘要:1、在本地要部署的目录 git initgit clone --bare ./ my_project.git 把本地init仓库克隆到 my_project.git 2、上传my_project.git所有内容到服务器某处,比如 /home/test/ 3、在服务器,/home/test/my_pr
阅读全文
摘要:开启命令: shopt -s extglob 开始删除 rm -rf !(file1|file2) 关闭命令: shopt -u extglob
阅读全文
ubuntu安装dropbox的时候ImportError: libGL.so.1: cannot open shared object file: No such file or directory
摘要:ImportError: libGL.so.1: cannot open shared object file: No such file or directory 解决办法: $ sudo apt-get update $ sudo apt-get install -y libgl1-mesa-d
阅读全文
摘要:1、配置域名解析,一般一个二级域名,一个三级域名,例如:2.a.cn(二级用作服务端) b.2.a.cn(三级域名用作真实访问地址) 2、开放服务器端口,默认 80(http访问)、443(https访问)、4443(4443是服务端口) 3、安装git 和Golang yum install bu
阅读全文
摘要:1、https://github.com/ -->Pricing and Signup -->Create a free account 2、生成公钥:私钥 ssh-keygen -t rsa -C xxxxx@qq.com(注册github时的email) 3、登陆github,选择Account
阅读全文
摘要:vi .bashrc alias ll那一行的#去掉 然后执行 source .bashrc
阅读全文
摘要:apt update apt upgrade apt clean apt autoclean apt autoremove
阅读全文
|