VERSION CONTROL SYSTEM
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
lecture 1 : git init and hidden folder
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
lecture 2