1.

Explain the alias mechanism.

Answer»

To reduce the TIME of REPEATEDLY typing long commands, an alias is used to assign another NAME to that command. Basically, it is a short form of a larger command.
alias gco='git checkout -b'

Here, we added an alias for the checkout command of git which is FREQUENTLY used by devs making it less painless every time typing a long command.



Discussion

No Comment Found