AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Git it done1/31/2024 Step 3: How to create an issue and work on it After clicking on the Commit new file button, the file was created on the repository. Then she added the name of the file, its content, and a meaningful commit message. In order to do so, she created the file using the GitHub web interface by positioning herself in the repository and clicking on the Add file > Create new file buttons. Hermione started the project by creating the initial file the Potionfy SaaS product will use: index.html. NOTE: In case the invitation link does not work (as in my case), Harry needs to go to Hermione's GitHub profile, click on the potionfy repository, and accept the invitation there: Step 2: How to create a file He accepted it, and by doing so, both team members were ready to start working on their project. To do so, she clicked on the Settings tab in the potionfy repository, then in the Manage access option, and finally in the Add people button.īy entering Harry's GitHub username (or email address) in the pop-up window and clicking on the Add Harry(.) to this repository, she managed to send the invitation to Harry.Ī couple of seconds later, Harry received the invitation to his email: She named the repository potionfy and she added a short description and a Readme.md file.Īfter the repository was created, she invited Harry to work on it. To create the repository, she simply used the GitHub web interface and clicked on the Repositories tab, and then on the New button. Hermione is the leader of the team, as she is more experienced in coding, so she has decided to create a new repository to host the code for the SaaS product. How to Get Started Working on the Project Step 1: How to create the repository and build the team (for free) Harry will be the one working locally in our development environment, and Hermione will choose to work directly on GitHub by using an online VSCode (more on this later). In my case, my virtual Ubuntu didn't have it installed, so I ran: sudo apt install git This command should return the version of Git that is installed in your system. We have to make sure Git is installed in our system: git -version I decided to use a virtual machine running Linux, but you can use your own environment (I just want to avoid any kind of configuration problem with Git). We are going to use a local development environment and set up Git on it. Here is how my set-up looks: Step 2: How to set up your local development environment I chose to create two, but you can just use your own and create another one. In order to follow along with this tutorial, you'll need two different GitHub accounts. Step 1: How to create two different GitHub accounts So you may want to start creating two accounts on GitHub for this.īonus: in order to simplify things, if you have a Gmail account you can use your Gmail address with a plus and a string after the first part of it, and all email communications will be centralised in one account, like so: on this here. This project will use two fictional team members – Harry and Hermione – with two separate GitHub accounts. Let's see how they will work together in building the SaaS product and the obstacles they will have to overcome in doing so. They will work their home garage and they expect to have an MVP ready in 4 weeks. Potionfy will be bootstrapped by Harry and Hermione themselves by using their savings. They chose React and Ruby on Rails as the app technology stack. They decided to use GitHub as the central repository in which all their work was going to be stored. They named it Potionfy, and this will be their first start-up. Harry and Hermione had the great idea of building a SaaS app to allow people to build their own potions online and share them with the rest of the world. Bear in mind that there is not just a single way of using Git – so this is just one approach, and it may differ from what you see in your professional career.Ī good read to start working with Git workflows is this Comparing Workflows tutorial. I wrote this tutorial to share how Git is used in professional environments. I don't consider myself an expert on Git, but I have learned a lot about it in my first month working as a software developer. You will work on issues, commits, pull requests, code reviews, and more. In this tutorial, you will learn how to work in a team with a central repository on GitHub.
0 Comments
Read More
Leave a Reply. |