http://stackoverflow.com/questions/1616957/how-do-you-roll-back-reset-a-git-repository-to-a-particular-commit git reset --hard <tag/branch/commit id> Notes: git reset without the --hard option resets the commit history, but not the files. With the -…
I am using git bash $ git --version git version .windows. on Windows 7. When I clone a repo, I see: $ git clone https://UserName@bitbucket.mycompany.org:5555/scm/repofolder/repo.git Cloning into 'repo'... Fatal: UriFormatException encountered. Fatal:…
一个从无到有的项目大体经历-创建项目目录,创建repo,配置过滤集,配置git user,导入已有基础代码入库,将库放到central去,建立分支,修改代码,checkin代码,分支上 测试验证代码,merge稳定代码回主线,打tag,push到中央库分享 mkdir app cd app git init cd .git vi description cd info sudo vi exclude cd ../../ (app目录) git add --all …