Oliver Davies
d1da7c6e15
Re-organise to use a bare repo, e.g. https://www.atlassian.com/git/tutorials/dotfiles.
11 lines
152 B
Bash
11 lines
152 B
Bash
# No arguments: `git status`
|
|
# With arguments: acts like `git`
|
|
g() {
|
|
if [[ $# > 0 ]];
|
|
then
|
|
git $@
|
|
else
|
|
git status --short --branch
|
|
fi
|
|
}
|