Blog Posts

Heartin's blog posts, lab recipes, books and videos on cloud & analytics are available at CloudMaterials.com. For Java & Javascript notes refer to JavaJee.com. Please submit your tech blogs here, and ideas for innovation lab here


 

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.

Run:

git add README.txt

 

Notes:

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. 

Contact

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