Git basic
Author: Gentleman.Hu
Create Time: 2020-09-19 20:20:08
Modified by: Gentleman.Hu
Modified time: 2020-09-25 19:15:41
Email: [email protected]
Home: https://crushing.xyz
Description:Git some notes
1. git存储方式
git hash-object -w "filename" #查看hashgit add -A ;#添加所有 git commit -am "meg";#提交到本地仓库 git rm --cached target -r(recursion);#删除暂存区的文件(add后的文件) git push;#提交到远程仓库 git branch -d {dev};#删除分支 git checkoout <branch name>;#切换分支 git merge <merge target>;#合并分支。若有冲突,则需要手动修改再commit git log ;
一些问题
Last updated

