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