Java

Git Rebase and Cherrypick

Introduction Git is a powerful version control system that developers rely on to manage their codebases efficiently. Two essential Git techniques that every developer should be familiar with are "cherry-picking" and "rebasing." In this blog, we'll delve into both of these techniques, explaining what they are, how they work, and when to...

by anuj.dhami
Tag: git
10-Oct-2023

DevOps, Technology

Git: Add multiple repositories(Bitbucket, Github) to the same project.

In this blog, we are going to learn about an important feature (migration across repositories providers) of one of the most common technologies we came across in our day-to-day development, GIT. I mainly used to do R&D work on my private repositories, on bitbucket, as it supports unlimited private repositories space. But after some...

by Dheeraj Gupta
Tag: git
12-Mar-2023

Technology

A classic mistake faced by every git user

Learning from mistakes will teach us a lifelong lesson, similarly here we are discussing a classic mistake that every git user made at least once i.e. committing code in the wrong branch.  If you identify the mistake at the right time this can be easily managed, but it gets more tricky if you start committing code in the wrong branch....

by harsh.gupta
Tag: git
02-Feb-2022

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

Technology

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