Repository: This refers to the directory (or folder) in which the various versions of your code that you create are stored. Working directory: This refers to the directory where you are saving your source codes. Terminologies that you need to know to work with Git But before I get to those, let's take a look at some terminology that you need to know to make it easy for you to work with Git. To efficiently use Git and GitHub, you need to know the various Git commands and what they are used for. You can also see it from this angle: you use Git to create versions of your code, then you upload those versioned files to a website called GitHub. You can therefore say that Git is the underlining technology that allows you to track changes in your source code and create versions of them, while GitHub is a platform that helps you manage your version-controlled code. It is therefore a service that allows you to easily manage your files that are being tracked by Git and facilitate collaboration between teams. GitHub is a platform that allows developers to host their version-controlled projects or code. In this post, I will focus on GitHub, but know that the three services mentioned above are very similar and use similar concepts, if not the same. Yes! That is how powerful Git is and there are other services that when combined with Git, makes your version controlled codes available to you everywhere you go and also facilitate the collaboration between remote teams. Conflicts that may arise can be easily resolved with little to no manual work. With the power of Git, all team members can work together and get their code synchronized in almost real-time. You may argue that this could be done manually, and I don't dispute that, but can you imagine the stress you will go through just to synchronize the work? What if there are hundreds of people contributing to the code? If your team members happen to work remotely or on different computers at the same time, how will you be able to consolidate the codes and have them in the right order. Imagine working with a team on the same project. Ensuring effective collaboration between team members who are working on the same project: You can also easily compare these versions any time you want and see the changes that have been made in the various versions. It works by snapshots of the work and saving them as versions (to which you can revert to at any time). With the power of Git, you will work without the need to create multiple copies of the file and still be able to track the changes made over time. Comparing these files to track changes made also becomes a herculean task. This means that you will have a lot of files at the end of the day. Hitherto, one needed to create multiple files or duplicate existing files before making changes to them if they wanted to track the changes over time. Tracking changes in a file and being able to revert to a specific instance of the file: Two prominent problems that Git has solved for which you would like to use this technology are: 1. This technology helps solve a lot of problems that software engineers or developers faced prior to its inception. It is therefore referred to as a source code management (SCM) technology or a version control system. Git is basically a technology that allows you to store multiple versions of your source code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |