Command to clear the Git Bash screen

后端 未结 6 1070
广开言路
广开言路 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:23

    Actually you are looking for a Unix user environment command

    clear
    

    or you can use the keyboard shortcut

    ctrl+l
    

    http://en.wikipedia.org/wiki/Clear_(Unix)

    To clear entire command history in Git Bash.

    history -c
    

提交回复
热议问题