Name: Nathania Zemedagegnehu
Repository: https://github.com/nfz-coder/A02
- Visit the following site: https://git-scm.com/downloads
- Download and install the latest version (based on your operating system)
- Visit: https://www.jetbrains.com/student/
- Create account (reminder: if you have a student email you may be eligible for a free license)
- Download and Install WebStorm
- Open WebStorm
- For Windows: Go to File > Settings> Version Control > Git
- For Mac: Go to WebStorm > Preferences > Version Control > Git
- WebStorm will auto-detect the Git and a version number should show
- Click Apply and then Ok to save
- Sign into GitHub (or make an account)
- Click New (should be a green button)
- Repository Name: [enter repository name, i.e.: A02 ]
- Edit configuration to your liking
- Click on Create repository
- Go to your repository on GitHub
- Copy the repository URL (i.e. "https://github.com/yourusername/repositoryname")
- Open WebStorm
- Go to File > New > Project from Version Control
- When it prompts you for a link, paste your repository link
- Choose where you want your file to be saved
- Click Clone
- Open WebStorm
- Create a new file (e.g., 'index.html')
- Write your code
- Save the file
- After editing, click the checkmark at the top-right corner of WebStorm
- A window will pop up requestion for a commit message where you will name the type of edit you made
- Click Commit
- After committing, your changes will be saved locally, not on GitHub
- To upload the changes, click the Push arrow on WebStorm
- PS: you can alternatively click on Commit and Push if you would rather do both simultaneously
- Branch: a version of your project where you can make changes without affecting your main code
- Clone: a copy of a repository you download to your machine so you can work on it
- Commit: to save a snap shot of your changes (they include messages that describe what was changed)
- Fetch: to get the latest changes from GitHub without changing your local project
- GIT: a system that trakcs all the changes to your project, allowing multiple people to work on it
- GitHub: a website that stores your repository (you can create, store and manage your code on GitHub)
- Merge: to combine changes from one branch to another
- Merge Conflict: when Git cannot automatically combine changes because two people edited part of a file in different ways
- Push: to upload your changes to GitHub
- Pull: to download the latest changes from GitHub to your computer, merging it to your local project
- Remote: the version of your repository that is stored in GitHub
- Repository: a project folder that contains all your files and history