Question: Write a python script to automatically submit assignments through git (with our course structure). Your script should: Take in arguments from the command line First

Write a python script to automatically submit assignments through git (with our course structure). Your script should: Take in arguments from the command line First argument is the branch name/assignment name The next n arguments are the files to be submitted. Your commit message should say what files you added. "Added E02.txt" "Added L04.txt task2.c task3.c" $ ./git_submit.py E02 E02.txt Switching to master branch... Pulling the latest from master. Succesfully branched to E02. Adding the file submissions/E02/E02.txt Committing... Pushing... Success! $ ./git_submit.py L04 L04.txt task2.c task3.c Switching to master branch... Pulling the latest from master. Succesfully branched to L04. Adding the file submissions/E02/E02.txt Committing... Pushing... Success!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!