Posts

Showing posts with the label Git

Getting Started with Git and Github

Introduction:  Git  is a simple open source version control system. It stores the information of anything with different versions. Mostly, it is used to store the source code of any application. Other version control softwares include Subversion, Bitbucket. The main use of this version control system is to store different updates of the same project with different versions at the same place. It also helps when multiple people are working on the same project but on a different aspects associated to that project. This is just a command line tool. Github  is a git repository hosting service. It is a web based graphical interface that provides version control and source code management features of Git. Workflow of Git: Any local repository (any project stored locally) consists of three trees maintained by git. They are: Working Directory  - This holds the actual files.  Index  - This acts as a staging area. This is kind of storage space between the Working Dire...

Cloning a Repository From Github

If this is your first time creating a project in Git, I would suggest you to look at: https://divyateja-meraki.blogspot.com/2020/06/getting-started-with-git-and-github.html If a remote repository already exists in Github, it can be downloaded through below steps: 1. On the Github, navigate to the main page of the repository. 2. Click on the Repository name that you would like to download. 3. You will see an option:  Clone  in that page. 4. When you click on clone, you will have an option to download it as a zip file or to copy the ssh or https url. 5. To clone the project using the url, copy the ssh or https url and open the terminal in your system. 6. Navigate to the location/directory where you want to download the project. 7. In the terminal, type  git clone  followed by the url you copied in the Github. 8. Press enter and this would clone the project. This would also ensure connectivity between local repository and remote repository.  NOTE: If the project is...