Fridays With Zell

Your first Git commit

Informações:

Synopsis

The best way to consume this episode is through video because I share things on my screen. Video link: https://youtu.be/nsORVjJTkeI Text version: https://zellwk.com/blog/your-first-git-commit The staging area If you open up Fork from where we left off previously, you'll see the project screen. If you click on changes, the screen will split into two parts. On the left of the screen, you'll see a section that says unstaged files. Below this section, you'll see another another section that says staged files. To the right, you'll see a placeholder that shows Fork's icon. At the bottom, you'll see a few fields: A commit message field A description field An ammend checkbox A commit button This place is called the staging area. This is where you decide what files you want to save into Git. Staging a file Before you save anything, you need to make a change in the Git repository. Open up your Git project in a text editor like VS Code. Create a file called index.html and give it some HTML to start with. Once you s