列出所有的分支git branch 会列出所有的本地分支. git branch -a 会列出本地和远程的所有分支.创建分支git branch 分知名切换分支git checkout 分支名修改分支名git branch -m分支名 新分知名删除分支git branch -d分支名切换并创建分支git checkout -b 分支名比较两个分支git diff 分支一 分支二比较两个分支,...
第一步:使用git-bash,使用vi打开文件aliases.shvi /etc/profile.d/aliases.sh 第二步:新增执行代码alias php='C:/php存放的目录/php.exe' 第三步:关闭重启git-bash
//清空默认设置git config --system --unset credential.helper//重置本地账号密码git config --global credential.helper store