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.
Working with a repository
From the course: Programming Foundations: Version Control with Git (2020)
Working with a repository
- [Instructor] In the last exercise, we added our existing repositories to the Sourcetree app. We can now move between our local repositories by clicking on a project in the bookmarks list. This is basically like changing directories in the command line. We can also create new repositories with Sourcetree as well. Under the new dropdown menu, there are several options. Clone from URL serves the same function as the Git clone command. Source URL refers to the repo's URL. I've already copied one of my remote repositories just for demonstration. Sourcetree now recognizes this as a Git repo. This destination path is where you want to save your projects, so our Git projects folder, and the name just refers to what you'll see in the bookmarks list. It prepopulates to match the remote repo. But the repository folder itself will clone using the same name as the remote directory. I've already cloned this repo so I'll just…
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)
-