Add .git_aliases, update .tmux.conf, update README to include instr of adding the .git_aliases
This commit is contained in:
parent
4a6e1a2bcd
commit
d1ff17c259
3 changed files with 14 additions and 2 deletions
|
|
@ -5,3 +5,8 @@ This directory is inspired by this https://www.atlassian.com/git/tutorials/dotfi
|
|||
1. git init --bare $HOME/.cfg
|
||||
2. alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' or echo "alias config='usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'" >> $HOME/.bashrc
|
||||
3. config config --local status.showUntrackedFiles no
|
||||
|
||||
## .git_aliases
|
||||
To use the git aliases in your gitconfig. Add the following lines to your .gitconfig:
|
||||
[include]
|
||||
path = ~/.git_aliases, or any other path depending on your $HOME
|
||||
|
|
|
|||
7
.git_aliases
Normal file
7
.git_aliases
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[alias]
|
||||
co = checkout
|
||||
br = branch
|
||||
c = commit
|
||||
a = add
|
||||
p = push
|
||||
st = status
|
||||
|
|
@ -7,6 +7,6 @@ set-option -g prefix C-a
|
|||
bind-key C-a send-prefix
|
||||
|
||||
# Enable mouse control (clickable windows, panes, resizable panes)
|
||||
# set -g mouse on
|
||||
set -g mouse on
|
||||
|
||||
set -g status-style bg=black,fg=white
|
||||
set -g status-style bg=white,fg=black
|
||||
|
|
|
|||
Loading…
Reference in a new issue