Onefetch in Termux – Git Repository Information Tool

Onefetch is a command-line Git information tool that displays detailed information about a Git repository in a clean and colorful format. It shows details such as the project name, programming languages, contributors, commit history, license, and repository statistics. You can install and use Onefetch in Termux to quickly view Git repository information using simple commands.

Here’s what you can do with Onefetch in Termux:

  • Display Git repository information.
  • View programming languages used.
  • Show project contributors.
  • Display repository statistics.
  • Customize the output.
  • Export repository information in JSON or YAML format.

Install Onefetch in Termux

Below are the simple commands to install Onefetch in Termux. Copy and run each command one by one to install the tool.

Update Termux packages.

pkg update && pkg upgrade -y

Install Onefetch.

pkg install onefetch -y

Check the installed version.

onefetch --version

Onefetch is now installed and ready to use.

Usage Commands

After installing Onefetch in Termux, you can use different commands to view and customize Git repository information. Below are some useful Onefetch commands that you can run in the Termux terminal.

Move to the Git repository that you want to analyze.

cd (git directory)

Display information about the current Git repository.

onefetch

Show the help menu.

onefetch --help

Display the installed version.

onefetch --version

Display information for another Git repository.

onefetch /path/to/repository

Hide selected information fields.

onefetch --disabled-fields license contributors

Hide the repository title.

onefetch --no-title

Show email addresses of contributors.

onefetch --email

Ignore merge commits.

onefetch --no-merges

Hide the ASCII logo.

onefetch --no-art

Display supported programming languages.

onefetch --languages

Display supported package managers.

onefetch --package-managers

Export repository information as JSON.

onefetch --output json

Export repository information as YAML.

onefetch --output yaml

Use a specific programming language ASCII logo.

onefetch --ascii-language rust

Choose the command you want and Onefetch will automatically analyze the Git repository and display the requested information inside the Termux terminal.

End Note

Onefetch is a simple and useful Git information tool that displays important details about a repository in a clean and colorful format. It helps you quickly view project statistics, programming languages, contributors, and other useful information using simple commands.

SHARE THIS POST: