The steps to create a GitHub account and use it are as follows
- Go to https://github.com and sign up for an account
- Enter your email and password to create a new account
- Go to your profile on the right hand side of the screen and edit the username to whatever you want your github ID to say
- To create a new repository click on the new button on the home page
- Add a title name and description for the new repository and choose whether the repository should be public or private and click on create
- The repository is now created and now you can clone it to your local machine to make changes to the files you want to store in your repository
- To close the repository, click on the <>code button in green on the right side of the screen and copy the link under HTTPS and paste the url to your local machince to clone it
- Once the changes are made to the file on your local machine, commit and push the changes to github so that the files are updated correctly
The steps to use Webstorm are as follows
- Install Webstorm on to your computer through the https://www.jetbrains.com/webstorm/ website and follow the installation instructions based on your local computer
- Once installed, click on Create New Project and choose the type of project you want to create and follow the instructions on the screen
- Then you can start to code with the help of many pluggings of wedstorm that can be accessed through File
- The code can be pushed to github for saving or collaboration using the VCS option
Glossary
- Branch: It is an independent line of development connected to the main repository, which that can be used to experiment and make changes without actually affecting the main respository.
- Clone: It is the process of making a copy of the repository onto the local computer.
- Commit: Documenting each changes made to the repositor is known as commit.
- Fetch: It is retreiving branches and tags from other repositories to the local machine without acrually merging them.
- GIT: It is a version control system that lets you manage and track your source code history.
- Github: Github is a could based repository hosting service.
- Merge: It is the process of intergrating different branches together.
- Merge Conflict: It is a conflict that occurs when git is not able to automatically merge two branches due to differnce between codes in two commits.
- Push: It is the act of moving the edited or changed file from the local machine to the git repository.
- Pull: It is the act of downloading changes made in the repository to the local machine and merging it with the local branch.
- Remote: It is used to refer to a remote repository that people can use to collaborate with each other and share codes.
- Repository: It is a data structure that stores all the files and metadata delated to any project, which can be used to share and collborate.
Sources: