git.mkを追加
[exopen-mode.git] / git.mk
diff --git a/git.mk b/git.mk
new file mode 100644 (file)
index 0000000..4065935
--- /dev/null
+++ b/git.mk
@@ -0,0 +1,14 @@
+GIT := git
+
+REPO := www.j8takagi.net:/home/git
+
+.PHONY: gitorigin gitpush gitorigin-clean
+
+gitpush:
+       $(GIT) push --set-upstream origin master
+
+gitorigin:
+       $(GIT) remote add origin $(REPO)/$(notdir $(CURDIR)).git
+
+gitorigin-clean:
+       $(GIT) remote remove origin