-
VCS
- Distributed VCS Git and Mercurial
- Centralised VCS(remote) Github and SNS
-
cd
-
ls
-
ls -a ---> shows hidden files
-
mkdir
-
cd.. ---> to navigate root folder
-
touch filename ---> creates files
-
nano filename --->creates and opens files
-
ctrl+x --->to exit from editor
-
click on enter --->to save code in file
-
cat filename ---> reads content in a file
-
vim filename ---> opens unix editor
-
i ---> for insert
-
ctrl+c ---> :wq--->saves and exits
-
rm filename ---> removes file
-
git add filename
-
git add . or git add --all
-
git status
-
git rm --cached filename
-
git config --global user.name
-
git config --global --unset user.name "name"
-
git config --global user.email
-
git config --global --unset user.email "email"
- touch demo.txt
- git add demo.txt
- git commit -m "first commit"