Professional Documents
Culture Documents
By
Eng. Walid Mohamed Ali Mohamed
Information Systems, Faculty Of Computers and
Information
2021
How to create a GitHub Account?
1. Go to https://github.com/ and click Sign Up.
7. Choose how many members you work with and Student Type.
8. Choose one of the plans.
9. This is Your Dashboard.
12. Go to the folder and Right click and choose Git Bash Here.
13. This will open the Git Command Line.
Type (git version) to check the version of the Git installed on your
machine, and then type (git init) to initiate a local repository of the
project.
Type git status to show modified files in working directory, staged for your next
commit (the red files and folders are not committed to the repo).
To add them to the repo Type (git add <filename>) but to add all
files at one time type (git add .) Now look what happened
Now if we make a little change in any file and save it and try to check
the status again we can see the modified files with red so add them
again by (git add. ).
Now suppose we finished our edits and want to upload the project
to GitHub.
First, you need to authenticate yourself to Git Bash
Type:
git config user.name "Walid Ali"
git config user.email walidmali798@gmail.com
And this is happening once, or you can use access token.
Note :(the username and the email must be the username and the
email that you entered in the remote repository)
After that, we can commit our work like this
git commit –m “first Commit”
Now our project ready to be uploaded to the remote repository
Go to the remote repository and get the link
By Command Line
Open Command Line and type
git clone https://github.com/walid798/AddTwoNumbers.git
Thanks
With My Best Wishes