Git常用命令
常用命令
命令
作用
git config –global user.name 用户名
设置用户签名
git config –global user.email 邮箱
设置用户签名
git init
初始化本地库
git status
查看本地库状态
git add 文件名
添加到暂存区
git commit -m “日志信息” 文件名
提交到本地库
git reflog
查看历史记录
git log
查询版本的历史
git reset –hard 版本号
更改版本
ll
列出当前文件或目录的详细信息
vim “文件名”
打开或添加文件(ESC退出编辑 ):wq保存
cat “文件名”
查看文件内容
签名的作用是区分不同操作者身份。用户的签名信息在每一个版本的提交信息中能够看 到,以此确认本次提交是谁做的。Git 首次安装必须设置一下用户签名,否则无法提交代码。
这里设置用户签名和将来登录 GitHub(或其他代码托管中心)的账号没有任 何关系。
分支操作
分支操作
作用
git branch 分支 ...
appium相关命令
基础信息from appium import webdriver
from appium.webdriver.common.touch_action import TouchAction
import time
desire_cap={
"appActivity": ".launch.LaunchSplashEduActivity",
"appPackage": "com.tencent.wework",
"platformName": "android",
"deviceName": "emulator-5554",
"noReset": True,#不对应用reset
"dontStopAppOnReset": True
"unicodeKeyBoard": True #切换输入
"resetKeyBoard": True
}
driver = webdriver.Remote("http://localhost:4723/wd/hub",desire_cap)
driver.implicitly_wait(20)
获取设备 ...
配置记录
e164003a155d1968339a34388cf80cd79e114f44a359ff92b21357fcebe2508032e6f81a1d69afa3862e238c9cba213c48663bdb828f86d5321900584101639e00fcaa7b716f9b99335d3b6c174b32005e4648a769aba8dacfd193a6d598605b705db524a511553a22419fa3ba839ecb72b4fca2749f81dde00b886e3571af627d141e16c6c0b99490e69364e376d2e0b26ac192f9ed3a460e46b0e2ea756b7cbf5f6461631385a95f82bb2310214365addab6377e289cb5d741771bbab5e2b307021c8e4f792674b4f84131e8fccc83d50299a97d9b09cceb9b7ce70be8e9652bb03e31ca4b7583b21c1a5ef93cab5009b6f6d63350a2a1d ...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
[toc]
Quick StartCreate a new post$ hexo new "My New Post"
More info: Writing
Run server$ hexo server
More info: Server
Generate static files$ hexo generate
More info: Generating
Deploy to remote sites$ hexo deploy
More info: Deployment






