---
name: "gitinternal"
section: "1"
platform: "linux"
package: "gnuit"
version: "4.9.5-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gitinternal"
---

# gitinternal(1)

Helper programs for gnuit

## NAME

gitwhich, gitmkdirs, gitxgrep - Helper programs for gnuit

## SYNOPSIS

**gitwhich** *file ...*\
 **gitmkdirs** *path ...*\
 **gitxgrep** *grepcmd args ...*

## DESCRIPTION

This manual page documents briefly the **gitwhich**, **gitmkdirs** and **gitxgrep** commands. These commands are internal to gnuit and should generally not be run directly.

- **gitwhich** *file ...*

  gitwitch returns with an exit status of 0 if any of its **file** arguments exist in the PATH, otherwise it returns 1.

- **gitmkdirs** *path ...*

  Creates the directory **path** and any required parent directories.

- **gitxgrep** *grepcmd args ...*

  Used as a helper script by [**gitrgrep**(1)](/gitrgrep/1.md), [**gitregrep**(1)](/gitregrep/1.md), and [**gitrfgrep**(1)](/gitrfgrep/1.md). Calls *grepcmd*, passing *args* to it.

**gitwhich**, **gitmkdirs** and **gitxgrep** are part of **gnuit**, the GNU Interactive Tools.

## SEE ALSO

[**gitfm**(1)](/gitfm/1.md)

**These tools are documented fully in** *GNU Interactive Tools*, **available via the Info system.**

## BUGS

**Please send bug reports to:**\
 *gnuit-dev@gnu.org*

## AUTHORS

*Tudor Hulubei \<tudor@cs.unh.edu\>*\
 *Andrei Pitis \<pink@pub.ro\>*\
 *Ian Beckwith \<ianb@erislabs.net\> (Current maintainer)*
