Commit 436f361c authored by Robert Ricci's avatar Robert Ricci

Add a 'cheat sheet' for git grading procedure

parent fef1d1b6
SUBDIRS=syllabus schedule assignments lectures
SUBDIRS=syllabus schedule assignments lectures handouts
include Makerules
include ../Makerules
include ../../Makerules
\renewcommand{\title}{CS 6963 Git Submission/Grading Quickref}
\item Class assignment repositories:
\item Web:\\\texttt{<ASSIGNMENT>}
\item Git:\\\texttt{<ASSIGNMENT>.git}
\item Your own working repositories:
\item Git:\\\texttt{<USERNAME>/cs6963-<ASSIGNMENT>.git}
\item Your grading repository:
\item Git:\\\texttt{<USERNAME>.git}
\item Start working on an assignment:
\item Visit the class assignment repository on the web
\item Click 'Fork'
\item Clone locally:\\
\texttt{git clone <YOUR-WORKING-REPO>}
\item Pull in changes made to an assignment
\item Add the class assignment repo as a remote called ‘upstream’:\\
\texttt{git remote add upstream <CLASS-ASSIGNMENT-REPO>}
\item Pull in changes (may cause a merge):\\
\texttt{git pull upstream master}
\item Submit:
\item Add your grading repo as a remote called ‘grading’:\\
\texttt{git remote add grading <YOUR-GRADING-REPO>}
\item Push up to a branch (exact branch will be specified in the handout):\\
\texttt{git push grading master:<ASSIGNMENT>-submitted}
\item Make sure \texttt{‘<ASSIGNMENT>-submitted’} shows up in:\\
\texttt{git branch -r}
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