|The Link Your Class||EE308 MIEC|
|The Link of Requirement of This Assignment||LAB 2 Individual programing work (EE308 IEC MU 2021 Fall)|
|The Aim of This Assignment||Git/GitHub Using & Keywords Capturing|
|MU STU ID and FZU STU ID||19104073_831901119|
You can download Git from : Git Download and install it.
We use a folder with some kawaii emotions as example😋
Right click in blank space of your project root directory
Then you will see a window like this:
git config --global user.email "firstname.lastname@example.org" git config --global user.name "Somebody"
😎Remember to change “email@example.com” and “Somebody” to your email and name😎
You can also check your information by
git config --list
ssh-keygen -t rsa -C "firstname.lastname@example.org"
Then find “.ssh” folder in the ordered path and copy it to your project root directory
Open the file “id_rsa.pub” and copy all content.
(If you can not open it successfully, try to open in “Written Board”)
Login GitHub and follow the steps:
After setting SSH keys, wait a second and type
ssh -T email@example.com
This message means the keys you set is useable now !
Click “start a project” on your GitHub main page
Copy the SSH link:
(Special attention!!! SSH link !!! not HTTPS link!!!)
Then in Git Bash:
git remote add origin firstname.lastname@example.org:GitHubName/GitExample.git
“email@example.com:GitHubName/GitExample.git” is SSH link you just copied
😎Remember to change “GitHubName” and “GitExample” to yours😎
Add every file in the directory to project
git add .
Commit files as origin master
git commit -m "you can type remark here" -a
git push -u origin master
Then you can see files in GitHub repository
Check in this site plz: Git commands