Questions tagged [tig]

Tig is a text mode git repository browser that additionally can act as a pager for output from various git commands.

Tig is a text mode git repository browser that additionally can act as a pager for output from various git commands.

When browsing repositories, it uses the underlying git commands to present the user with various views, such as summarized revision log and showing the commit with the log message, diffstat, and the diff.

Using it as a pager, it will display input from stdin and colorize it.

Source: Tig: text-mode interface for git

54 questions
1
vote
1 answer

Get commit where merged branch forked from (with intermediate merge)

Lets use the latest available git 2.16.2 and tig 2.3.3. cd /tmp && mkdir fit && cd fit git init touch m1 && git add m1 && git commit -m "master 1" touch m2 && git add m2 && git commit -m "master 2" git checkout -b develop touch d1 && git add d1 &&…
puchu
  • 3,294
  • 6
  • 38
  • 62
1
vote
1 answer

Unimportant branches are stuck at the top of my tig view

I am using tig version 2.2.1, and for some reason tig decides to show me a couple of unimportant branches, in addition to the branch I am currently working on. The two additional branches has nothing to do with my currently working branch, they were…
Quaker
  • 1,483
  • 3
  • 20
  • 36
1
vote
1 answer

Browse lost heads with tig

tig is a nice text-mode interface for Git, but it only shows the current branches. How can I see lost heads and stashes in the tree view?
rubo77
  • 19,527
  • 31
  • 134
  • 226
1
vote
1 answer

Track a (once been deleted) file

Here's my case: A file been added, removed and added again (same name). How do I track time stamp prior to it's most recently adding? file: file.c ---> null ---> file.c status: added removed added traceable: ? ? …
Rahn
  • 4,787
  • 4
  • 31
  • 57
1
vote
1 answer

unable to use external command in tig

I use git and gitk a lot. Recently, I found some enthousiastic posts about tig and decided to give it a try. It looks great for viewing the repository, however changing the repo with tig seems difficult if not unworkable. The problem I am facing is…
ruud
  • 743
  • 13
  • 22
1
vote
1 answer

How to install tig docs via Homebrew?

I installed tig via Homebrew and tig works okay, but is there are way to also cleanly install its man pages via brew too instead of from source (i.e. avoiding make install-doc as described at https://github.com/jonas/tig/blob/master/INSTALL.adoc)
k1eran
  • 4,492
  • 8
  • 50
  • 73
1
vote
2 answers

How do I remove the dark blue that is used in tig in cygwin?

I have looked all over google and I am still unable to find the config param to get rid of the dark blue that is used by tig in the cygwin terminal. The Dark Blue just like when it is used in ls can be difficult to read and peruse. Does anyone know…
astaubin
  • 305
  • 2
  • 7
  • 15
1
vote
1 answer

Tig doesn't display colors at all

I'm trying to work with tig to see git database. But it doesn't display colors at all. If I try to set a color in ~/.tigrc it just ignores it. I added a binding and it works, so tig do see my tigrc file. Can any one help me please?
Kamil.Khoury
  • 210
  • 2
  • 9
1
vote
1 answer

Find previous chunk to stage

How do I navigate to the previous chunk to stage when viewing a single file in tig status mode? What I'm looking for is the opposite to stage-next (mapped to @ by default), but there is no stage-previous that I can find. A previous question here at…
joelpet
  • 4,869
  • 3
  • 21
  • 17
1
vote
1 answer

How to display CommitDate instead of AuthorDate in tig main view

The main tig view shows a very useful one-line-per-commit view with the AuthorDate in the first column. Is it possible for this to display the CommitDate instead?
Walter
  • 175
  • 1
  • 6
1
vote
1 answer

How to display full file path in tig view

I use tig to view what's changed. But how to show the full path in the changed file list instead of only part of long file path? for example, I want to see the full path of SpecialAnswList.java, instead of the ... prefix. --- │ …
Jeff Liu
  • 366
  • 2
  • 8
0
votes
0 answers

Creating An InfluxDB Repository using AWS EC2 Server

I am attempting to create an Influx DB Repository to download the TIG Stack onto my AWS EC2 server, but whenever I attempt to install something I keep getting the error: One of the Configured Repository Failed (InfluxDB Repository - RHEL 2), and…
0
votes
1 answer

Is it possible to search for a particular string directly from a key binding, in TIG?

Can you search for a specific string directly from a bound command? I have a super-useful configuration – a bind to that opens up this simple Zsh script on '%(text)' passed as 1st argument: #!/usr/bin/env zsh emulate zsh -o extended_glob if [[ $1…
psprint
  • 349
  • 1
  • 10
0
votes
1 answer

Install Tig with sufficient permissions using `make install`

How can I give the command "make install" sufficient permissions to run the following successfully? [~/tig-0.14.1]# make install mkdir -p /usr/local/bin && \ for prog in tig; do \ install -p -m 0755 "$prog" "/usr/local/bin"; \ done mkdir: cannot…
Léo Léopold Hertz 준영
  • 134,464
  • 179
  • 445
  • 697
0
votes
1 answer

How to bind to multiple keymaps with one line?

I'm trying to remap/bind G in tig to match vim's functionality (move to last line) in all of tig's keymaps. I read the tigrc manpage, here's all that's mentioned about binding to keymaps Keymaps Valid keymaps are: main, diff, log, help, pager,…
Wis
  • 484
  • 7
  • 22