diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2024-08-10 16:11:08 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2024-08-10 16:11:08 +0400 |
commit | e50ca00b5b49d9bcad8de771d90bb41bda2a12e7 (patch) | |
tree | 2827b3ba8e8ad1324644f2be3ebba3e0aa059b68 | |
parent | 5ae875ac391eb2906ac7a5d216c1cc1e95181746 (diff) |
git config added
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | config/gitconfig | 6 |
2 files changed, 12 insertions, 0 deletions
@@ -11,6 +11,7 @@ BASHRC=$(HOME)/.bashrc ZSHRC=$(HOME)/.zshrc ZPROFILE=$(HOME)/.zprofile BASHPROFILE=$(HOME)/.bash_profile +GITCONFIG=$(HOME)/.gitconfig COPY=cp -r LINK=ln -sf @@ -32,9 +33,14 @@ config: $(COPY) config/x11 $(CONFDIR) $(COPY) config/zathura $(CONFDIR) $(COPY) config/mimeapps.list $(CONFDIR) + $(LINK) $(CONFDIR)/shell/profile $(BASHPROFILE) $(LINK) $(CONFDIR)/shell/profile $(ZPROFILE) +git: + $(COPY) config/gitconfig $(GITCONFIG) + + scripts: mkdir -p $(BINDIR) $(COPY) scripts/* $(BINDIR) diff --git a/config/gitconfig b/config/gitconfig new file mode 100644 index 0000000..a3c04e5 --- /dev/null +++ b/config/gitconfig @@ -0,0 +1,6 @@ +[init] + defaultBranch = master +[pager] + branch = false +[alias] + pushall = !git remote | xargs -L1 git push --all |