gitconfig linking
This commit is contained in:
parent
8cb956be45
commit
56a7ed56c6
1 changed files with 5 additions and 7 deletions
|
@ -1,9 +1,7 @@
|
|||
---
|
||||
- name: Set up gitconfig
|
||||
shell: git config --global user.name "{{user_name}}" && git config --global user.email {{user_email}}
|
||||
args:
|
||||
creates: ~/.gitconfig
|
||||
|
||||
- name: Add git pushall alias
|
||||
shell: git config --global alias.pushall '!git remote | xargs -L1 git push --all'
|
||||
- name: Link gitconfig
|
||||
file:
|
||||
src: ~/.dotfiles/git/gitconfig
|
||||
dest: ~/.gitconfig
|
||||
state: link
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue