标签: Git

3 篇文章

批量提交git代码
所有的项目需要单独放到一个目录,然后git库中的名称需要与项目文件夹名称一致 import os import subprocess import shutil from pathlib import Path def is_git_repo(path): """检查路径是否为Git仓库""" try: subprocess.run( ['…
Windows下git屏蔽证书验证
屏蔽证书验证 以下先不执行 用户根目录下找到.gitconfig [https] sslVerify = false proxy = http://3zi.cn/test.git proxy后边跟的是需要屏蔽的网站  关掉安全验证 先执行下面的看有没有问 没问题就不做上面的操作了 如果连接git是报错unable to acces…