Python for Entrepreneurs Transcripts
Chapter: Digging Further into Git
Lecture: Additional Git resources
0:00 We've gone through a lot in the past two chapters on Git and GitHub,
0:03 let's just take a few minutes to summarize what we went over at high level.
0:06 First we dug into Git commands, such as "git add",
0:09 to add modified files to a staging area,
0:12 "git commit", which actually commits them to the index for Git,
0:16 "git status", which allows us to see what's been modified since our last commit,
0:20 "git log", which shows us all the commits that we have done
0:23 throughout the entire history of our Git repository,
0:25 and "git push" and "git pull" to move files to and from local and remote repositories.
0:31 As I've said a few times throughout the course of these videos,
0:33 these are all the building blocks for using Git
0:35 and while you need to become comfortable with each one,
0:38 they really work together in combination, with Git in our tool belt,
0:41 we're able to use GitHub to collaborate with other users on our projects,
0:45 in some cases, this will just mean that people can file issues tickets
0:48 against bugs they found in your application.
0:51 Other times, you will actually be working with people on code,
0:53 where you will be pushing and pulling from the repository
0:56 and while git and GitHub can be overwhelming for non-developers,
0:58 you can also use GUI tools such as SourceTree to make it easier
1:02 to add and modify files that you're working on others with.
1:06 As I said at the start of this chapter, you really need to have daily practice
1:10 with each of these commands in order to build muscle memory.
1:12 Get in the good habit of making small commits at a time,
1:15 pushing them up to your repositories on GitHub and in general,
1:18 make it a part of your daily workflow as you're building your projects.
1:21 Now what do you do if you get stuck?
1:23 Well, here is some more resources to help,
1:25 there is a couple of pages that I work on constantly on Full Stack Python,
1:27 which are Source Control and Git, and this will provide many more
1:31 tutorials and resources and additional context for what these tools can do for you.
1:35 Now, if either of these pages, or any page on Full Stack Python
1:38 doesn't have what you're looking for, you can file an issue ticket
1:41 at the URL you see here. Whatever questions you have about using git and source control,
1:45 I'd love to be able to answer them on these pages
1:48 so that not only you can get the answer that you need,
1:50 but also anyone else who is reading Full Stack Python and of course,
1:53 you can ask questions on Twitter, either myself
1:56 @fullstackpython or Michael on @talkpython.
1:59 Git can take a while for you to wrap your head around what is happening,
2:02 but once you get comfortable with it, it's a really great safety net for your projects,
2:06 where you know that your code is not only backed up,
2:08 but you can also roll back to earlier versions in case you accidentally introduce bugs
2:12 or just need to see what changed. With that, let's keep working on our projects.