This video introduces the Git panel in Dreamweaver, which lists the status of files that are currently untracked or modified, and explains the process of registering changes in the Git repository. In Git, this is a two-step process—staging and committing. Dreamweaver simplifies this process by automatically staging files when they're selected in the panel. Learn how to commit changes to the repository with a suitable message, and how to inspect the repository history.
- [Narrator] In this chapter, we'll look…at the basics of working with a local…Git repository. Before you can start…tracking changes, you need to add your files…to Git's database, a process that's known as…"staging". I've opened index.html from the…exercise files. It contains just the heading…and several paragraphs of dummy text.…The attached style sheet, styles.css,…contains some very basic styles…for the body element. The content and…look of the page aren't important.…I'm just going to make some simple…changes to help identify the different…versions of the files that will be…tracked by Git. In the previous chapter,…we initialize the Git repository for our site…and told Git to ignore all the files in the…images folder. So in the files panel,…make sure that "Show Git View" is selected…and we can see that the images folder…and all of its contents are grayed out,…indicating that they won't be tracked.…
But the other file names are green.…That indicates they are files we want to track,…but Git doesn't yet know about them.…
- Why use Git in Dreamweaver CC?
- Installing Git on Windows and macOS
- Setting Git preferences
- Working with a local repository
- Staging and committing files
- Modifying files
- Creating a branch
- Rolling back
- Working with remote repositories