Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
mingw/是否希望每日提示更新git?_Git_Windows 7_Mingw - Fatal编程技术网

mingw/是否希望每日提示更新git?

mingw/是否希望每日提示更新git?,git,windows-7,mingw,Git,Windows 7,Mingw,每天美国东部时间下午2:30左右,我都会收到这个弹出窗口: 当然,版本不时会改变。我有两个问题: 这个时间是可配置的吗?我试图找到一个配置文件,但结果是空的(或者很快就放弃了!) 当我点击“OK”时,它在哪里下载和安装git?从git子目录中可以看到,我似乎一直在运行git版本2.17.1.windows.2,我可以在这里找到: 最后一次更新是在2018年5月5日,这表明接受下载服务似乎不会改变我的运行版本 我回答了我的第一个问题。它位于任务计划程序中: 2019年2月26日更新:我从命令行

每天美国东部时间下午2:30左右,我都会收到这个弹出窗口:

当然,版本不时会改变。我有两个问题:

  • 这个时间是可配置的吗?我试图找到一个配置文件,但结果是空的(或者很快就放弃了!)

  • 当我点击“OK”时,它在哪里下载和安装git?从git子目录中可以看到,我似乎一直在运行git版本2.17.1.windows.2,我可以在这里找到:

  • 最后一次更新是在2018年5月5日,这表明接受下载服务似乎不会改变我的运行版本

    我回答了我的第一个问题。它位于任务计划程序中:

    2019年2月26日更新:我从命令行在计划任务中运行该命令,结果出错:

    C:\>"C:\Program Files\Git\cmd\git.exe" update-git-for-windows
    Git for Windows 2.17.1.windows.2 (64bit)
    Update 2.21.0.windows.1 is available
    Download and install Git for Windows 2.21.0 [N/y]? y
    ##O#- #
    curl: (60) SSL certificate problem: self signed certificate in certificate chain
    
    More details here: https://curl.haxx.se/docs/sslcerts.html
    
    curl failed to verify the legitimacy of the server and therefore could not
    establish a secure connection to it. To learn more about this situation and
    how to fix it, please visit the web page mentioned above.
    

    注意:在Windows 8和10上,通知为:请参阅

    git更新
    :在Windows 8/10上显示toast通知 这是一种通知用户任何更新的方式,比 弹出一个模态对话框

    如果不是Windows 7,我会选择:

    • 最新的便携式版本,如(40分钟前发布)
    • 任意位置解压缩:
      c:\gits\PortableGit-2.21.0-64位
    • 带有符号链接(文件夹连接):
      mklink/J c:\gits\latest c:\gits\PortableGit-2.21.0-64位
    这样:

    • 您可以控制何时更新
    • 您的路径始终保持为c:\gits\latest\bin
    • 每次更新都涉及将最新版本更改为新的portable Git安装文件夹
    • “卸载”意味着简单地删除该文件夹

    这确实很有趣。然而,我想知道的是,当我接受Mingw提出的更新git的建议时,它会把它放在哪里?e、 g.我的git路径是
    C:\Program Files\git\cmd\git.exe
    ,但自从驱动器C中的“dir”\Program Files\git\cmd\git.exe”卷是OSDisk卷以来,该路径一直没有更新。卷序列号是D4EA-5262 C:\Program Files\git\cmd 05/29/2018 07:08 PM 39192 git.exe 1文件的目录39192字节0 Dir(s)890214043648字节free“@user1443098默认情况下(当使用msi安装程序时,而不是便携式版本):
    C:\Program Files\Git\
    在Windows 7上,检查您是否使用32 ou 64位(因为如果使用32位,则为'C:\Program Files(86)\Git`)好的——这告诉我更新程序不工作(并且也不会发出错误消息。)但知道这一点还是很好的@user1443098在CMD中键入“where git”以检查在当前路径中为git的安装文件夹找到了什么。我刚刚发布了:
    where git
    returns
    C:\Program Files\git\CMD\git.exe
      [1]: https://i.stack.imgur.com/y7fmG.png
    
    C:\>"C:\Program Files\Git\cmd\git.exe" update-git-for-windows
    Git for Windows 2.17.1.windows.2 (64bit)
    Update 2.21.0.windows.1 is available
    Download and install Git for Windows 2.21.0 [N/y]? y
    ##O#- #
    curl: (60) SSL certificate problem: self signed certificate in certificate chain
    
    More details here: https://curl.haxx.se/docs/sslcerts.html
    
    curl failed to verify the legitimacy of the server and therefore could not
    establish a secure connection to it. To learn more about this situation and
    how to fix it, please visit the web page mentioned above.