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 and keeping up to date
From the course: Programming Foundations: Version Control with Git (2020)
Adding changes and keeping up to date
- [Instructor] We've gone over how to add and commit changes with the command line. Let's look at how to do it with Sourcetree. I've already added a bunch of different types of changes to the personal site files to show how it's represented in Sourcetree. It's okay if you don't have these exact changes in your project. This is just for demonstration. In the repository list, we can see a notification which shows the number of file changes. Double click the bookmark to open the project. Here is a list of all the modified files. The yellow box with the ellipses represent a modified file. We can see what's been changed on the right side of the app. The red represents the deletion, green is the new addition. I renamed the styles.css file to main.css. So now, main is showing with a purple question mark, which indicates a new, untracked file. Styles.css is showing with a minus sign, and is used for deleted files. I also created a…
Contents
-
-
-
-
-
(Locked)
Using GUIs1m 11s
-
(Locked)
Install GUI4m 52s
-
(Locked)
Working with a repository2m 45s
-
(Locked)
Adding changes and keeping up to date3m 43s
-
(Locked)
What is Git branching?1m 19s
-
(Locked)
Working with branches4m 31s
-
(Locked)
Merging branches3m 47s
-
(Locked)
Challenge: Putting it all together54s
-
(Locked)
Solution: Putting it all together2m 39s
-
(Locked)
-