Git - clear git bash console

2 points
Asked by:

How can I clean up and remove everything from the git bash console?

1 answer
1 points
Answered by:

To clear console in git bash we just need to type:


and press enter.

Second way is to use keyboard shortcut:

Ctrl + l

Note that clear is not git command console, it is Unix console, we can read more:

Usage example

Usage example of clear command with git bash console:

Screenshot 1 - here we have something in git bash console, after executing git status command:

Scrrenshot 2 - right before we press enter:

Screenshot 3 - here we executed clear command to clean up our git bash console, as the result we have fresh console:

That's all.

0 comments Add comment
Native Advertising
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂