# git-gui and untracked files

2 messages from 2007-06-26 to 2007-06-26. Participants: Guilhem Bonnefille, Johannes Sixt.
Thread: https://gitlist.dev/t/8727

## Guilhem Bonnefille, 2007-06-26 08:02

Subject: git-gui and untracked files
Message-ID: <8b65902a0706260102i25f79375r5e5b419107f6e587@mail.gmail.com>
URL: https://gitlist.dev/e/8b65902a0706260102i25f79375r5e5b419107f6e587%40mail.gmail.com

```
Hi,

On my repos, I have lot of untracked files. In the same time, adding a
file is a really occasional action.

So, most of the time, I'm confused by the git-gui which shows me lot
and lot of files, where only on or two are interesting for me.

Is it possible to hide untracked files in git-gui? (for example an
option available with a right click on the "Changed but not updated"
frame)

Thanks for any tips.
-- 
Guilhem BONNEFILLE
-=- #UIN: 15146515 JID: guyou@im.apinc.org MSN: guilhem_bonnefille@hotmail.com
-=- mailto:guilhem.bonnefille@gmail.com
-=- http://nathguil.free.fr/

```

## Johannes Sixt, 2007-06-26 08:51

Subject: Re: git-gui and untracked files
Message-ID: <4680D379.F891FED0@eudaptics.com>
URL: https://gitlist.dev/e/4680D379.F891FED0%40eudaptics.com
In-Reply-To: <8b65902a0706260102i25f79375r5e5b419107f6e587@mail.gmail.com>

```
Guilhem Bonnefille wrote:
> Is it possible to hide untracked files in git-gui? (for example an
> option available with a right click on the "Changed but not updated"
> frame)

Sure. Add the files to .gitignore (which you itself put under version
control) or to .git/info/exclude.

man 5 gitignore

-- Hannes

```
