From the course: Programming Foundations: Version Control with Git (2020)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Adding changes with Git add and commit

Adding changes with Git add and commit

From the course: Programming Foundations: Version Control with Git (2020)

Start my 1-month free trial

Adding changes with Git add and commit

- After creating a repository, the basic git workflow is mostly making, adding, and committing changes. Let's start by making a change to the readme file in the project B folder. I already have the project open in Atom, but you can use whatever text editor you prefer. This file extension is md, because this is a markdown file, which is a markup language used to add formatting to elements in a plain text document. This first line is enclosed by two asterisks on each end. This is markdown syntax for bolded text. One asterisk is italicized text. And these two number signs will format this line as an H2 heading. If we look at the refill on Bitbucket, we can see how the readme file looks with formatting. Readme's can be written in any text file format, but markdown is commonly used. To learn more about markdown, check out markdownguide.org. I'm going to go back to my text editor so we can make a change to the readme…

Contents