Git basic commands

Kathiravan
1 min readFeb 25, 2018

--

  1. git init — To initialize git repo.it creates .git folder
  2. git add * — To stage changes.This will add a cache of files to be committed
  3. git commit -m <msg> — To create a commit.This create a hash tag for files added
  4. git push — publish to remote repo. This will take your local changes and publish to remote repo.. note that you need a remote repo for this.

This article will be continued with more commands and crisp details

--

--

Kathiravan
Kathiravan

No responses yet