From 8e221f1ec51f1c0d5c87898e6f6c77f37d4d6019 Mon Sep 17 00:00:00 2001 From: daniel watson Date: Sun, 18 Sep 2016 22:43:56 -0700 Subject: [PATCH 1/1] create basic git questions --- .gitignore | 1 + basic-git.org | 19 +++++++++++++++++++ makefile | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 .gitignore create mode 100644 basic-git.org create mode 100644 makefile diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2d19fc7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.html diff --git a/basic-git.org b/basic-git.org new file mode 100644 index 0000000..05a907e --- /dev/null +++ b/basic-git.org @@ -0,0 +1,19 @@ +* basic git test + +the following is a git basic proficiency test. it will help you know if you +already have enough git skills to start making minimal contributions to +our codebase. + +you should be able to answer the following questions in 1 or 2 sentences. + + 1. is git the same thing as github? + 2. what's the difference between git and github? + 3. how do you get a git repository from + git@challenge-bot.com:repos/3501/OpenCVShowImage ? + 4. how to you tell git that a file should be included in the next snapshot + (aka commit)? + 5. how do you make a separate area in the repo for your commits that will + not affect other team members commits? + 6. how do you make a commit, assuming you have a good commit message? + 7. what are some requirements of commit messages? + 8. how do you make your commits available for others to see? diff --git a/makefile b/makefile new file mode 100644 index 0000000..4ee5d49 --- /dev/null +++ b/makefile @@ -0,0 +1,33 @@ +# tldr; AGPLv3+ +# copyright info at bottom + +all:basic-git.html + +.PHONY: autobuild +autobuild: makefile + ./autobuild.bash + +%.html: %.org makefile + @pandoc $< --from org --to html --output $@ + +clean: + @rm -f \ + *.html + +# Copyright 2016 daniel watson + +# This file is part of 3501-git-tests. + +# 3501-git-tests is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. + +# 3501-git-tests is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public +# License along with 3501-git-tests. If not, see +# . -- 2.30.2