Git Miscellaneous
Links: 106 Git Index
Setting up Aliases¶
- We can add aliases in the
~/.gitconfig
file - By default you will have your name and email there
- We can also define these aliases in our
.bashrc
file
Using a different user¶
- You will first need to change the username and email in
~/.gitconfig
file - Then after getting the token from your GitHub account you will need to to add it to
~/.gitcredentials
file
Last updated: 2022-06-08