Command to clear the Git Bash screen

后端 未结 6 926
广开言路
广开言路 2021-01-30 03:28

Is there any command in Git, that clear the screen. for example in window command line after execute a lot of code, if you type cls, then it will clear all the previous code. so

6条回答
  •  离开以前
    2021-01-30 04:29

    Another option is modify (or create in your user folder) your .bash_profile and add this:

    alias cls='clear';
    

    With this you can clear the bash with a 'Windows' command.

提交回复
热议问题