heartin's blog

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

Configuring Git (Local Machine)

System Level Configuration

git config --system

Stored in etc/gitconfig in Mac / Linux. Similar structure in Windows, usually within usually within Program Files.


User Level Configuration

git config --global

Stored in ~/.gitconfig in Mac / Linux. Similar structure in Windows, within user home folder.


Repository Level Configuration

git config

Stored in .git/config in each repo.


History of Version Control Systems

Single File Systems 

Users could make their own revisions of a document, commit changes, and merge them together. However, these systems (e.g. TCS) operates only on single files. It has no way of working with an entire project, so it does not support atomic commits affecting multiple files. 

Examples include SCCS, RCS etc.


Multifile Centealized Systems

These systems follow a client server model.

Which Is Your Favourite Open Source License?

We have decided to create and participate in more open source projects. Please comment your favorite open source license that you feel will be good for our projects (in general). You may also question others on their suggestions.

Best suggestions will be added to the page and you will also be receiving a BuddyTutor merchandise gift at your preferred address. 

FET - Raw Notes

  1. Created a private repo in bitbucket.

    1. Installed HipChat connector from pop up.

    2. Added Sneha as a user. 

  2. Logged into stride using atlassian linked account.

    1. Created a room for FET and made it private (for now).

Git - Overview and Getting Started Guide

Git is a Distributes Version Control System for tracking changes in computer files and coordinating work on those files among multiple people.

It is primarily used for source code management in software development,[8] but it can be used to keep track of changes in any set of files. 


Git Cloud Providers - GitHub, GitLab or BitBucket

You can create remote repositories on a Git cloud provider such as GitHub, GitLab or BitBucket, and keep your code safe. This will also enable multiple developers to collaborate and work. 


We learn together, do innovations and then document them at cloudericks.com.

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.

Cloudericks.com 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