Chapter 5

  1. Version control denotes the process of using a specific system to record and save changes and overall progress in directories and files so that a programmer can come back to it later. If multiple separate changes have been applied to a project that is under version control, you can even switch between these different changes (versions) in the development process.
  2. Version control can offer the following benefits to programmers:
  • Being able to revert projects back to previous versions when a change is not desirable (without having to manually change the project code)
  • Having backups on the cloud, which allows us to avoid losing code when local systems are damaged
  • Being able to collaborate with others in a systematic way
  1. When you are using version control with Git, there is a specific workflow that you need to follow: creating a GitHub repository, initializing a local Git repository and linking it to the one created on GitHub remotely, adding files to be version controlled to Git, committing any changes that have been made to the local repository, and finally pushing the committed changes to GitHub.

    While working with other people, you need to fork the original GitHub repository to your own account. Any changes to be made to that original repository would need to go through the forked one and be done via pull requests.
  2. The Version Control panel in PyCharm offers the same common Git commands (setting up a local repository, add, commit, and push) in an accessible user interface. It also displays a list of files at various stages in the version control process (specifically, unversioned and added, but not yet committed) so that developers can easily keep track of the changes they have made.
  3. The ability to create a UML diagram for local changes in a PyCharm project provides you with a unique method to visualize the progress you have made, which can also be utilized in documentation and reporting processes.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.150.89