git工作指令
1、配置用户 git config --global user.name "自已的名字" git config --global user.email "自已的邮箱地址" 初始化仓库:git init 查看文件状态:git status 添加文件到暂存区 git add file * 或 -A 提交文件:git commit -m '备注信息' 查看历史:git log 恢复到上一次的提交:git reset --hard sha值 查看所有的sha值:git reflog
posted on 2017-02-28 22:41 forever_88 阅读(72) 评论(0) 收藏 举报
浙公网安备 33010602011771号