mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Update git.sh
This commit is contained in:
committed by
GitHub
parent
ec428bc05f
commit
8088effe9f
@@ -1,11 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Create git config file under .config if it doesn't exist
|
# Ensure git settings live under ~/.config
|
||||||
# This helps to keep all our configs in one place
|
mkdir -p ~/.config/git
|
||||||
if [[ ! -f "~/.config/git/config" ]]; then
|
touch ~/.config/git/config
|
||||||
mkdir -p "~/.config/git"
|
|
||||||
touch "~/.config/git/config"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Set common git aliases
|
# Set common git aliases
|
||||||
git config --global alias.co checkout
|
git config --global alias.co checkout
|
||||||
|
|||||||
Reference in New Issue
Block a user