1,git的配置
git add . //添加所有修改的内容到暂存区
git commit -m"xxx" //把文件放到版本库
git push //推送到远程仓库
git log //打印日志信息
git log --pretty=oneline //只打印每一次提交的版本号
git reset --hard (版本号)xxx //回到之前的版本
git clone xxx //克隆远程仓库到本地
git status //当前仓库的状态
git pull //保持本地和远程仓库的同步更新
三个区的概念

2: .ssh的配置
生成公钥

ssh-keygen -t rsa -C xxxxxxx@qq.com
连续按三次(enter)回车


注意:粘贴公钥时要用英文输入法。
3, H5代码



在界面shift+1出现“!”

然后设置的快捷键ctrl+s保存和ctrl+w打开网页
网友评论