General Flashcards
What is git?
Git is a distributed version control system (DVCS) that allows multiple developers or other contributors to work on a project.
What is GitHub?
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.
What is a repository?
It is a project
What is the ‘cd’ command?
It is a change directory command
What is the ‘ls’ command
It will show the listing of all the files in the directory
What is the clone command?
It a command that copies the repository and put it in a folder called its name
What are the main command on git hub?
Git status Git add Git commit Git push Git pull
What is the terminal?
It is a place where to type commands that cause actions
What is a CUI
Command User Interface
What does the command PWD do?
It shows the path to the folder you are currently in.
What does the command ‘mkdir’ do?
It creates a folder
What is the command ‘cd’?
Change directory command
What is the command to create new file?
‘Touch’ name.html
What does commit do?
It takes a snapshot of the current code
What is the ‘git init’ command for?
It is for creating a folder to hold all the commit