$ git --version# Git version$ git init # Initialize Local Git Repo$ git add <file/files/. ># Adding file/files/all to the staging area or index$ git rm--cached <file/files/. ># Remove file or files from the staging area$ git status # Check Status of Working Tree ( show differences between working tree and the staging area)$ git commit # Commit Changes to the Index$ git push # push to remote repos$ git pull # pull latest from remote repo$ git clone # Clone repo into new directory
Top comments (0)