git使用小结
16lz
2021-01-26
git checkout <file> 将文件回归原始状态git status 查看版本库的状态git add <file> 添加一个文件git commit 提交文件的更改(会提示编写标题 使用Ctrl + X提交后,选Y,点击enter,完成提交)git reset HEAD^ --soft 回退上一层的操作git format -path -1 生成patch文件git config user.name "yourname" 设置你的名字git config user.email "youremail" 设置你的email地址git clone gitserver@ipaddress <file> 将git库中的文件更新到你的文件夹
更多相关文章
- Android(安卓)WifiManager 中的常量
- Android中存储目录
- 我的Android心得(5)--响铃、震动、状态栏提示
- 向sdcard添加文件fail可能的情况
- [2010-12-31 21:33:29 - s] W/ResourceType(27930): Unable to g
- Android(安卓)数据存储之 文件存储
- make_ext4fs 文件权限控制
- 利用 Android(安卓)Systrace 做performance 分析
- 从android studio安装配置,到写出第一个小程序