-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add command how to verify git credentials
- Loading branch information
1 parent
81ebfb4
commit a112c20
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,22 @@ | ||
Setup part 2: Git and SSH | ||
------------------------------------------- | ||
|
||
Before installing and using CoLRev, please update your git credentials (using the shell / ``Ctrl``\ +\ ``Alt``\ +\ ``T``): | ||
Before installing and using CoLRev, please install git and set up credentials (using the shell / ``Ctrl``\ +\ ``Alt``\ +\ ``T``): | ||
|
||
:: | ||
|
||
sudo apt install git | ||
sudo apt update && sudo apt install git | ||
git config --global user.name "Lisa Smith" | ||
git config --global user.email "lisa.smith@stud.uni-bamberg.de" | ||
git config --global credential.helper store | ||
|
||
Verify that the credential were correctly set up: | ||
|
||
:: | ||
|
||
cat ~/.gitconfig | ||
|
||
If credentials were set up incorrectly, please rerun the commands above. | ||
|
||
Create a SSH key pair and register the public key at Github | ||
(`steps <https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent>`__). |