Python Flashcards
What is Gitbuh?
Github is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.
What is a repository and what is it used for?
A repository is usually used to organize a single project. Repositories can contain folders and files, images, videos, spreadsheets, and data sets - anything your project needs.
What is branching?
What is branching used for?
Branching is a the way to work on different versions of a repository at one time.
By default your repository has one branch named master which is considered to be the definitive branch. We use branches to experiment and make edits before committing them to master.
When you create a branch in your project, you’re creating an environment where you can try out new ideas. Changes you make on a branch don’t affect the master branch, so you’re free to experiment and commit changes, safe in the knowledge that your branch won’t be merged until it’s ready to be reviewed by someone you’re collaborating with.
On GitHyb, saved changes are called ____?
Commits
Each commit has an associated _______ ______ , a description explaining why a particular change was made.
Commit message
What is a pull request?
When you open a pull request, you’re proposing your changes and requesting that someone review and pull in your contribution and merge them into their branch. Pull requests show diffs, or differences, of the content from both branches
What is the process of adding commits good for?
The process of adding commits keeps track of your progress as you work on a feature branch.
Commits also create a transparent history of your work that others can follow to understand what you’ve done and why.