Technology

FullStack 2016,London : Day 3

Second day of FullStack, 2016 London was full of knowledge, great workshops and more amazing people. It felt so good to meet people who have developed some awesome products that we have been using since long and provide an experience to our customers. I got a chance to talk with Heroku and twillio and they explained their future vision to...

by Komal Jain
Tag: git
03-Aug-2016

AWS, DevOps

Python Borrowing Resources using Fabric

In my previous blog post, I wrote about Cost Optimizations for the various AWS resources. The script consisted of six methods and the overall time required for the script to execute was roughly about 15-20 mins. While the script is running, it used to slow down my system. Also, there was a time consumption due to many reasons like...

by Aman Jain
Tag: git
18-Jul-2016

AWS, DevOps

6 Tips for AWS Cost Optimization

As we know AWS provides a good edge in terms of cost over the on-premises data center or in a co-location environment with its On Demand and Reserved pricing. As it is rightly said "Reducing the overall cost is a high priority" and it is true for any organization whether big or small. By using AWS we can lower the IT costs, compute...

by Aman Jain
Tag: git
30-Jun-2016

AWS, DevOps

AWS CodeCommit

AWS has recently launched a new service which is now available generally. AWS CodeCommit is the service we would be talking briefly about in this blog. AWS CodeCommit hosts private Git repositories. You can Store code & any other type of file with AWS CodeCommit. It follows Git standards & can be used with other  tools for...

by Ranvijay Jamwal
Tag: git
25-Jul-2015

Git

Finding authors of all remote branches in a git repository.

Git is a widely adopted Version Control System known for its branching support. Recently I was required to find out all the remote branches with their author names. Upon browsing over the web I found that command git-for-each-ref can help me. Here is how I combined it with grep to get the desired output: [code] git for-each-ref...

by Manish Kapoor
Tag: git
16-Jun-2015

Grails, Java

Migrating Code Base from SVN to GIT

Hi all, I have a use case where I need to migrate the code base from svn to git while preserving all the commits of different committers. For migration I have used an utility tool git-svn. In order to install git-svn we can use below command in linux box : sudo apt-get install git-svn After that you can follow the...

by madhav.khanna
Tag: git
25-May-2015

Technology

Why are atomic commits a best practice in Git?

Atomic means all or nothing - either everything succeeds or all fails. Git is known to have atomic operations i.e. an environment issue will not cause git to commit half of the files into the repository and leave the rest. So what are we doing talking about atomic commits when all operations are already atomic in git? When we talk...

by Aseem Bansal
Tag: git
15-Feb-2015

AWS

AWS CodeCommit

Amazon has come up with loads of eye-popping services that reduces our workload in re:invent 2014, one such astounding service that it has launched on Day 1 of re:invent is CodeCommit. We've been investing loads of our time in managing our own source control system,  which can be reduced by using CodeCommit. It's a secured service...

by Tejprakash Sharma
Tag: git
14-Nov-2014

Grails

Grails ‘integrate-with’ command

While reading the Grails docs I came across a useful Grails command i.e. integrate-with. In this short blog I just want to present some of the uses of this command. By using this command we can create Git's .gitignore file: [java] grails integrate-with --git [/java] The above command will create a .gitignore file in the root of...

28-Apr-2014

AWS

Automating deployment of a static website hosted on Amazon S3

Most of us know how to host a static website on Amazon S3, but to deploy the website you would need to run the AWS Cli command everytime manually. In this blog I'll show you how to automatically deploy your website while maintaining version control of your project using server side hook provided by Git. Prerequisite : Git Aws...

by ravi
Tag: git
25-Feb-2014

Technology

Modify promt to make it GIT specific.

We use git a lot, and one of the most used commands is "git branch". Few Months back we found a script that enabled us to modify our prompt so that it shows our current branch. We have modified it further to add extra functionality, and our modified script enables prompt to show number of files modified, number untracked files, and also...

by Hitesh Bhatia
Tag: git
24-Sep-2012

Technology

Git Bisect : Find that DAMN Commit!!!

While working on a project with a team, there is a chance that once in a while erroneous pieces of code (bad programming, wrong conflict resolution etc) creep in. Now wading thorugh individual commits looking for a specific line in a file that looks suspicious can be hard work and takes a lot of time. I was in one of these...

by Manoj Mohan
Tag: git
24-Sep-2012