git branch -l :查看本地分支
git branch -r :查看远程分支
git branch -a :查看全部分支(远程的和本地的)
git remote -v: 查看代码url
git reset --hard commit_id: 废弃已提交但还未push的代码,commit_id可通过git log或其它方法查看
git branch -l :查看本地分支
git branch -r :查看远程分支
git branch -a :查看全部分支(远程的和本地的)
git remote -v: 查看代码url
git reset --hard commit_id: 废弃已提交但还未push的代码,commit_id可通过git log或其它方法查看