Git - Creating Repository and Adding Files (Local)

Creating Git Repo Locally

Go to an empty directory and run:

git init


Adding files to Git Repo

Create a file README.txt with some test contents

If you do 'git status' the README.txt file will be shown as un-tracked file.


git add README.txt



To add all files in a directory:

git add .


To add only modified files:

git add -u


Committing Messages

You can commit messges as: git commit

It is always a good practice to commit with a meaningful message about the change:

git commit -m "My commit message"


We learn together, do innovations and then document them at

Offline Contact
We connect physically only in Bengaluru currently, but most of our activities happen online. Please follow us here or in social media for more details.
WhatsApp (Primary): (+91) 7411174113
WhatsApp (Secondary): (+91) 7411174114

Business newsletter

Complete the form below, and we'll send you an e-mail every now and again with all the latest news.

About us

Team Cloudericks is a community started by Heartin Kanikathottu to learn about and master cloud computing. Our current focus is on Amazon Web Servivces. aims to document what we learn. We believe that knowledge is useless unless you share it; the more you share, the more you learn.

Recent comments

Photo Stream