GIT - 4.10 History and creation of new orders with alias

We will play a little more with the Git Log command then create an alias Git to shorten a command. In my terminal I am currently in the restitory test I am currently on the Master branch with nothing in Commit as I have a clean work repertoire. If I type the standard git log command, I see that I have two commits, however if I use the Git help control by typing Git Head Log, I see that many options are available to me. I will leave Git Head Log I already know the options I want to use, so let's use the Git Log command - Oneline, which will provide a Commit entry to simplify providing a lot of this information on a single line instead of several lines we will add - Graph, Graph is a graphic representation of the history of the committees then - Decorate which will tell us which commits are part of which branch and other labels in the restitory git. Then finally, - All which will provide the history of all the branches available on this restitory. We now have a radically different view of our Git Log order although Git you do not officially have history orders that does not prevent us from creating one. We will use something called alias Git to do so to create an alias Git which is essentially a new command which is an abbreviated representation of an existing longer command we will use the Git Config command so Git Config -Global alias. Hist in this example which will be the name of our order 2 quotes we enter the log quotes - Oneline - Graph - Decorate and finally - All. The syntax is Git Config Double Droit Global Case We want this alias to be at the level not at the Rep. Then the alias configuration key is the name you want to use for your new order. In my case it's Hist after putting your orders, bringing. We can check this input by reading the Git config inputs with the Git Config - Global - Hist command and all at the end, just here, you can see our alias Hist so now test the. To use an alias, just type Git and the name of your alias. In my case it's Hist so it will be Git Hist, if you have succeeded, you must have the same result as the log command that we have previously seen the use of alias does not prevent you from transmitting additional parameters to the Order, example, git His t - coucou.html Hist will pass that my cuckoo.html file with the command hist.