How do I avoid typing “git” at the begining of every Git command?

后端 未结 15 1126
醉酒成梦
醉酒成梦 2021-01-29 22:31

I\'m wondering if there\'s a way to avoid having to type the word git at the beginning of every Git command.

It would be nice if there was a way to use the

15条回答
  •  情深已故
    2021-01-29 22:58

    Use a brackets editor, it's easy to use your code and git commands, it also has many features.

    To the top right corner the second binocular icon is used to install extensions.

    Search extension brackets git like the above image and install it.

    Again to the top right corner there will show the fourth icon, so just click and see the changes like the above image.

    If you want to install brackets, use the following commands:

    sudo add-apt-repository ppa:webupd8team/brackets
    sudo apt-get update
    sudo apt-get install brackets
    

    For more information, you can read: How to Install Brackets Code Editor in Ubuntu and Linux Mint on Ubuntupit.

提交回复
热议问题