GIT Flashcards
What does SCM stand for?
Source Control Management
What is Source Control Management?
Also known as version control system, SCM tools keep a historical record of the files in your codebase, as well as manage SCM workflows that allow large teams to work on large, complex codebases with hundreds or thousands of file.
What is Git?
Git is one of the most popular SCM tools. It can be used for projects large and small, and is agnostic to the types of content in the projects. Git is a software that tracks changes to a project. The info is saved to a database called a repository
Describe a local repository:
will refer to a repository located on the computer you are using.
Describe a remote repository:
A remote repository, on the other hand, refers to a repository that is located on another computer or server. Repositories created on github.com, for example, are considered remote because they are located on GitHub’s servers.
What is one thing we should always do when creating a new repo?
Remember to create a .gitignore file for every git repo you’re working with.
In the following commit: git commit -m ‘Add first project files’ what does the -m tag do?
-m tag allows for a message and the message should have enough information for the changes.
What is Branching?
Branching is a copy of all your files in your codebase Each branch has an identifying name and its own set of version or commit history