first commit

This commit is contained in:
julien committed 2026-10-08 15:40:10 +02:00
commit 273e756521
2 files changed
+72

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
Dir.children(Dir.pwd).sort.each do |entry|
path = File.join(Dir.pwd, entry)
next unless File.directory?(path)
next unless File.exist?(File.join(path, ".git"))
puts "\n==> #{entry}"
Dir.chdir(path) do
unless system("git", "pull", "--ff-only")
warn "Attention : #{entry} n'a pas été mis à jour."
end
end
end