AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Git workflow diagram12/23/2023 ![]() Believe it or not, changes could have been made by a team member in the time it took you to clone down the repository to your computer.Ĭreate your own branch! If you’re working in a group project like I was, you will probably want to create a new branch for the feature you are working on. Next, pull down from the remote repository (reminder, this lives on GitHub) to make sure you have up to date information. Be sure to clone the project in a working directory that makes sense so you can easily remember where your local project lives. The very first step (not included on diagram) is to clone the repository to your local machine. This diagram most closely represents the flow of my group project. ![]() Below is a diagram of a workflow including Git & Github. ![]() Let's review a simple project workflow and the CLI commands that help us move from one step to the next. Therefore, in the case of a mistake the code can efficiently and quickly be rolled back to its previous state prior to the error. The partnership between Git and GitHub grant teams an invaluable asset - any and every modification to code is tracked through the two tools. The repository for your project consists of all branches, commit, merge history, any licensing or readme files, rake/gem files, etc. Think of GitHub like the cloud server that hosts your source code. GitHub is the service that will host your Git repositories. Merging - the process of joining your branch with the original source code after complete testing. You will then work on your own branch so your edits do not immediately affect the original source code. I worked through two main components of version control throughout my project:īranching - allows you to duplicate the source code for yourself. Git is a version control system that will help you keep track of the changes and history of your project throughout its lifestyle. ![]() In this post, I hope to help explain the workflow we utilized as well as share some commonly used commands at each stage in the process. One of the largest hurdles throughout the group project was navigating Git and GitHub. In the project I used my knowledge of programming with Ruby to create a CLI application which helps users discover new breweries across the United States. This past week I completed my first group project at Flatiron School. ![]()
0 Comments
Read More
Leave a Reply. |