随笔分类 - macOS
Git 命令大全
摘要:1. 新建代码库 # 在当前目录新建一个Git代码库 git init # 新建一个目录,将其初始化为Git代码库 git init [project-name] # 下载一个项目和它的整个代码历史 git clone [url] 2. 配置 # 显示当前的Git配置 git config --li
macOS SSH SCP
摘要:1. macOS系统连接远程服务器 1. ssh 连接 # ssh连接远程服务器 ssh -p 22 root@192.168.0.244 2. scp 上传 # 文件上传到远程服务器 scp ~/fileName root@192.168.0.243:/home/fileName # 目录上传到远