file: potd.pl 51: chdir( $target_img->parent ); 52: system( join( ' ', 'git add ', $target_img, $target_txt ) ); 53: system("git commit -m 'potd $basename'"); 54: system('git push');
add the new file and the image to git & push it