Farheen-Begum / srkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Version Control System

  • 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"

commmit messages

  1. touch demo.txt
  2. git add demo.txt
  3. git commit -m "first commit"

About


Languages

Language:HTML 100.0%