alias: Add git profile switch aliases
This commit is contained in:
parent
e0875add3c
commit
1a3d439586
@ -202,6 +202,20 @@ function gai {
|
|||||||
git rebase --interactive --autosquash ${PARENT}
|
git rebase --interactive --autosquash ${PARENT}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ╔═╗┬┌┬┐ ╔═╗┬─┐┌─┐┌─┐┬┬ ┌─┐
|
||||||
|
# ║ ╦│ │ ╠═╝├┬┘│ │├┤ ││ ├┤
|
||||||
|
# ╚═╝┴ ┴ ╩ ┴└─└─┘└ ┴┴─┘└─┘
|
||||||
|
|
||||||
|
function git_pro {
|
||||||
|
git config --global user.name "Robin-Charles GUIHENEUF"
|
||||||
|
git config --global user.email rguiheneuf@netatmo.com
|
||||||
|
}
|
||||||
|
|
||||||
|
function git_perso {
|
||||||
|
git config --global user.name "Robin-Charles Guihéneuf"
|
||||||
|
git config --global user.email robin-charles@hotmail.fr
|
||||||
|
}
|
||||||
|
|
||||||
# ╔═╗┬┌┬┐ ╔═╗┌┬┐┌─┐┌┐┌┌┬┐
|
# ╔═╗┬┌┬┐ ╔═╗┌┬┐┌─┐┌┐┌┌┬┐
|
||||||
# ║ ╦│ │ ╠═╣│││├┤ │││ ││
|
# ║ ╦│ │ ╠═╣│││├┤ │││ ││
|
||||||
# ╚═╝┴ ┴ ╩ ╩┴ ┴└─┘┘└┘─┴┘
|
# ╚═╝┴ ┴ ╩ ╩┴ ┴└─┘┘└┘─┴┘
|
||||||
|
Loading…
x
Reference in New Issue
Block a user