isCurrentDirectoryARepository
全部标签 您好,我是Git和Hg的忠实粉丝,在很多项目中都必须同时使用它们。我目前使用Posh-Hg,这是一个powershell插件,可以将当前分支和未完成的提交放在你的powershell中。除了Git之外,Posh-Git以类似的方式运行。有没有人成功地让两个powershell脚本一起玩得很好?http://poshhg.codeplex.com/http://github.com/dahlbyk/posh-git 最佳答案 在您的个人资料脚本中试试这个:functionisCurrentDirectoryARepository($t
您好,我是Git和Hg的忠实粉丝,在很多项目中都必须同时使用它们。我目前使用Posh-Hg,这是一个powershell插件,可以将当前分支和未完成的提交放在你的powershell中。除了Git之外,Posh-Git以类似的方式运行。有没有人成功地让两个powershell脚本一起玩得很好?http://poshhg.codeplex.com/http://github.com/dahlbyk/posh-git 最佳答案 在您的个人资料脚本中试试这个:functionisCurrentDirectoryARepository($t