
| Current Path : /var/www/web-klick.de/dsh/30_hr/1016__freelancer/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/web-klick.de/dsh/30_hr/1016__freelancer/sync.pl |
c("git add .");
c("git commit -m '" . ( shift(@ARGV) || "standard commit" ) . "' -a");
c("git fetch --all -p");
if (`git branch` =~ /\* +(\S+)/) {
$o = $1;
if ($o =~ /^(.*)\.(.*)$/) {
c("git rebase -X ours remotes/origin/$1");
}
c("git push origin $o:$o");
}
sub c { my $text = shift; print($text."\n"); system($text); }