These capabilities listed above don't tell how Git actually works, however. Merge code from different computers and different team members.Thanks to Git, you'll be able to do the following: A version control system is simply software that lets you effectively manage application versions. "Distributed" means that all developers within a team have a complete version of the project. Git is a distributed version control system (DVCS). ![]() To do so, we should also start using basic Git commands. But to make Git our best friend, we should understand how Git works. Git easily solves both problems we've described: managing project versions and sharing code among developers. But again, how can you know for sure which version of code is the latest? And if your friend wants to merge your code with his version in the same file, would you like to go line by line to see whose code will be merged into which part of a file? We bet you wouldn't. How can you share your code with the entire development team? I can use Dropbox, Google Drive, OneDrive, a flash driveā¦ any other drive to store my code and share it with everyone! Here's another problem of development without Git: several developers will work on the same project, and they'll also need access to previous app versions. How can you know which exact app version is the one you need? Git, on the other hand, can tell you what project version you're restoring. Restoring a project from several places, however, isn't a viable option. Without Git, you'd have to save each version of the project to a different place. When you remove or rework code, you can't restore its previous state (read: version). Therefore, you create a third version of your app. Still later, you decide to rework the first feature. But the next day you develop the first feature, and thus you create a second version of the app. These basic files constitute the first version of your application. When you start a new project, you create several basic files. The #1 problem of life without Git is that you can't adequately manage project versions. Sadly, your life as a web developer will also be complicated without Git, and here's why. Git is very complicated, as you can't learn all its concepts by just using it. Having a Git cheat sheet taped to our table doesn't help. Most of us dislike Git on the first try even after running the most basic Git commands.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |