Commit 70c31128 authored by Robert Ricci's avatar Robert Ricci

Script to checkout homework for grading

parent 4ee6c539
#!/usr/bin/perl
my ($hw) = @ARGV;
my $pwd = `pwd`;
my $student = `basename $pwd`;
chomp $student;
system "git checkout $hw/master";
system "git verify-tag submit";
system "git checkout -b graded-$student-$hw";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment