How to Renew Lets Encrypt SSL Certificate
Introduction to problem This post is applicable for those who has already an SSL…
July 07, 2020
In this guide, We will learn on how to create some handy command alias.
In previous post Git log commands, we see how we can try various git commit history output.
git log --oneline --graph --decorate
Lets try to create our git command alias, so that we don’t need to type this long command again and again.
Lets create git command alias globally for system.
git config --global alias.nicelog "log --oneline --graph --decorate"
In above command, the keyword alias.
, is a special keyword. Anything after that will become git alias name after the command.
So, we created a git alias with name nicelog
. See, how we can use it.
git nicelog
Now, this will give me output same as if I’m running: git log --oneline --graph --decorate
Open ~/.gitconfig
file in an editor.
You will see a section something like:
[alias]
nicelog = log --oneline --graph --decorate
Just change the command in that file, save it. Exit.
And, now if you run the command. It will reflect the changes you made.
Introduction to problem This post is applicable for those who has already an SSL…
Introduction There are some cases, where I need another git repository while…
For programmers, who want to write about their codes. Its often the first…
Introduction I had to develop a small automation to query some old mysql data…
Introduction This post has the complete code to send email through smtp server…
Introduction If you working on a github project in a team. Consider you have…
Introduction In this post we will see following: How to schedule a job on cron…
Introduction There are some cases, where I need another git repository while…
Introduction In this post, we will see how to fetch multiple credentials and…
Introduction I have an automation script, that I want to run on different…
Introduction I had to write a CICD system for one of our project. I had to…
Introduction Java log4j has many ways to initialize and append the desired…