GIT Flashcards

1
Q

What does SCM stand for?

A

Source Control Management

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Source Control Management?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Git?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe a local repository:

A

will refer to a repository located on the computer you are using.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Describe a remote repository:

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is one thing we should always do when creating a new repo?

A

Remember to create a .gitignore file for every git repo you’re working with.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In the following commit: git commit -m ‘Add first project files’ what does the -m tag do?

A

-m tag allows for a message and the message should have enough information for the changes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Branching?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly