GIT/GITHUB Flashcards

(3 cards)

1
Q

VERSION CONTROL SYSTEM

A

it is system used to save our code as checkpoints
here the checkpoints are reffered as version i.e version of code

these version chnages as we keep going on making commit

track history of code and used to collaborate with others

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

lecture 1 : git init and hidden folder

A

commands learned

git init - insilise a particular repo as git folder
git status - used to track what changes have been made in what file adn what are untracked file
git –v or –version - gives the version of git installed
mkdir folderName - make folder with folder name provided note when creating multiple folder give name separted by , “commas” eg - mkdir one, two, three
ls -force - show all hidden folder in the the current directory

git flow

working directory -> git add -> staging area -> git commit -m “message here” -> repo made -> git push -> github

so simple flow is write -> add -> commit -> push

working directory means current directory where git has been be insilized

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

lecture 2

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