summaryrefslogtreecommitdiffstats
path: root/users/greatwizard/git.h
diff options
context:
space:
mode:
authorGuillaume Gérard <1322081+GreatWizard@users.noreply.github.com>2020-10-28 18:20:06 +0100
committerGitHub <noreply@github.com>2020-10-28 10:20:06 -0700
commitc745cbb77a66a44549ee1ab3b1998c495c1a1ca5 (patch)
treea947f2215dcda13fac95b2620b70bc095b8d2d14 /users/greatwizard/git.h
parent6b1ae7e6aa7180b00759b5692d2ea5bd0303c566 (diff)
[Keymap] greatwizard userspace and ortho 4x12 and 5x12 keymaps (#9584)
Diffstat (limited to 'users/greatwizard/git.h')
-rw-r--r--users/greatwizard/git.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/users/greatwizard/git.h b/users/greatwizard/git.h
new file mode 100644
index 0000000000..c3b4a617d0
--- /dev/null
+++ b/users/greatwizard/git.h
@@ -0,0 +1,39 @@
+/* Copyright 2020 Guillaume Gérard
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#pragma once
+
+#include QMK_KEYBOARD_H
+#include "greatwizard.h"
+
+bool process_record_git(uint16_t keycode, keyrecord_t *record);
+
+#define GIT_BRC GIT_BRANCH
+#define GIT_CKT GIT_CHECKOUT
+#define GIT_CPK GIT_CHERRYPICK
+#define GIT_CMT GIT_COMMIT
+#define GIT_DIF GIT_DIFF
+#define GIT_FTC GIT_FETCH
+#define GIT_GRP GIT_GREP
+#define GIT_INI GIT_INIT
+#define GIT_MRG GIT_MERGE
+#define GIT_PUS GIT_PUSH
+#define GIT_PUL GIT_PULL
+#define GIT_RBS GIT_REBASE
+#define GIT_RMT GIT_REMOTE
+#define GIT_RST GIT_RESET
+#define GIT_SHW GIT_SHOW
+#define GIT_STS GIT_STASH
+#define GIT_STT GIT_STATUS