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