first commit
This commit is contained in:
commit
273e756521
2 files changed
+72
No files matched your search
Executable
+16
@@ -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
|
||||
Reference in new issue
Block a user