General Flashcards

1
Q

What is git?

A

Git is a distributed version control system (DVCS) that allows multiple developers or other contributors to work on a project.

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

What is GitHub?

A

GitHub is a cloud platform that uses Git as its core technology. It simplifies the process of collaborating on projects and provides a website, command-line tools, and overall flow that allows developers and users to work together.

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

What is a repository?

A

It is a project

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

What is the ‘cd’ command?

A

It is a change directory command

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

What is the ‘ls’ command

A

It will show the listing of all the files in the directory

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

What is the clone command?

A

It a command that copies the repository and put it in a folder called its name

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

What are the main command on git hub?

A
Git status
Git add
Git commit
Git push 
Git pull
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the terminal?

A

It is a place where to type commands that cause actions

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

What is a CUI

A

Command User Interface

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

What does the command PWD do?

A

It shows the path to the folder you are currently in.

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

What does the command ‘mkdir’ do?

A

It creates a folder

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

What is the command ‘cd’?

A

Change directory command

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

What is the command to create new file?

A

‘Touch’ name.html

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

What does commit do?

A

It takes a snapshot of the current code

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

What is the ‘git init’ command for?

A

It is for creating a folder to hold all the commit

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

What is the ‘git status’?

A

It is a command that let you see all the files that are waiting in the “the staging are” before being committed

17
Q

What is the git branch command for?

A

It shows you in what branch you are currently working

18
Q

How do you create a new branch?

A

git branch name-of-new-branch

19
Q

How do you move to a different branch

A

git checkout name-of-branch

20
Q

git pull?

A

It ‘pulls’ all the your updates from master to your branch