This commit is contained in:
2025-07-11 17:56:39 +08:00
parent ef1f0522f4
commit 8423da7ddc
2 changed files with 12 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
import guan
# 在某个目录中寻找所有 Git 项目
git_repository_array = guan.find_git_repositories('D:/data')
guan.print_array(git_repository_array)
print('\n---\n')
# 获取未 git commit 的 Git 项目
git_repository_array_to_commit = guan.get_git_repositories_to_commit(git_repository_array)
guan.print_array(git_repository_array_to_commit)
print('\n---\n')

View File

@@ -1,7 +1,7 @@
import guan import guan
# 在某个目录中寻找所有 Git 项目 # 在某个目录中寻找所有 Git 项目
git_repository_array = guan.find_git_repositories('D:/') git_repository_array = guan.find_git_repositories('D:/data')
guan.print_array(git_repository_array) guan.print_array(git_repository_array)
print('\n---\n') print('\n---\n')