aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitconfig9
-rw-r--r--.gitignore1
2 files changed, 10 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
new file mode 100644
index 0000000..ebced9d
--- /dev/null
+++ b/.gitconfig
@@ -0,0 +1,9 @@
+[user]
+ email = graytrevor98@gmail.com
+ name = srdusr
+[init]
+ defaultBranch = main
+[alias]
+ sba ="!f() { git subtree add --prefix $2 $1 main; }; f"
+ sbu ="!f() { git subtree pull --prefix $2 $1 main; }; f"
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e71a4f0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.cfg