create basic git questions master
authordaniel watson <ozzloy@gmail.com>
Mon, 19 Sep 2016 05:43:56 +0000 (22:43 -0700)
committerdaniel watson <ozzloy@gmail.com>
Mon, 19 Sep 2016 05:43:56 +0000 (22:43 -0700)
.gitignore [new file with mode: 0644]
basic-git.org [new file with mode: 0644]
makefile [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..2d19fc7
--- /dev/null
@@ -0,0 +1 @@
+*.html
diff --git a/basic-git.org b/basic-git.org
new file mode 100644 (file)
index 0000000..05a907e
--- /dev/null
@@ -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 (file)
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
+# <http://www.gnu.org/licenses/>.