在windows7下安装git后,运行 cd ~/.ssh $ bash: cd: /c/Users/Administrator/.ssh: No such file or directory 出现以上问题 原因:在windows7下安装git后没有ssh 解决办法是: 全部留空即可,一路回车 $ ssh-keygen -t rsa -C “邮箱地址” ##回车 Generating public/private rsa key pair. Enter file in which to save
Windows没有为“下载”文件夹定义CSIDL,并且通过Environment.SpecialFolder枚举无法使用它. 但是,新的Vista 知名文件夹 API确实使用ID定义它FOLDERID_Downloads.获取实际值的最简单方法可能是P / invoke SHGetKnownFolderPath. public static class KnownFolder { public static readonly Guid Downloads = new Guid("374DE290
#region 调用windows系统dialog 选择文件夹 [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)] public class OpenDialogFile { public int structSize = 0; public IntPtr dlgOwner = IntPtr.Zero; public IntPtr instance = IntPtr.Zero; public String filter =
windows不允许.gitignore之类的文件,也不允许.ssh命名的文件夹名.会提示必须输入文件名. 要解决这个问题我以前一直是通过bash使用linux命令创建的.最近发现了一个更简便的方法与大家分享: 创建.gitignore文件输入.gitignore.即可越过此限制,回车后文件名会修改为.gitignore. 参考: https://winscp.net/eng/docs/guide_windows_openssh_server Windows Explorer does not