This repository has been archived by the owner on Jan 20, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
/
INSTALL
50 lines (34 loc) · 1.47 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
TopGit installation
Direct from source
------------------
Although TopGit is essentially a bunch of shell scripts (and their
accompanying documentation), it does require some preprocessing.
Normally you can just do "make" followed by "make install", and that will
install the tg program in your own ~/bin/ directory. If you want to do a
global install, you can do
# make prefix=/usr install ;# as root
(or prefix=/usr/local, of course). Just like any program suite that uses
$prefix, the built results have some paths encoded, which are derived from
$prefix, so "make; make prefix=/usr install" would not work.
The Makefile does not currently install the bash completion support in
contrib/tg-completion.bash. Instructions for installing that file are at the
top of that file.
Other
-----
Alternatively, you can install using OS/distro-specific packages or similar
- which should also pull in git as a dependency if you are installing on
a machine which does not already have git installed.
Note that most such packages have not yet been updated to point to the new
TopGit repo on GitHub. Ones that have are listed below:
Linux
~~~~~
* Fedora/EPEL/QubesOS: yum install topgit
* Exherbo: cave resolve dev-scm/topgit -x
* Nix: nix-env -f nixpkgs-version -i topgit
* OpenSuSE: http://software.opensuse.org/download.html?project=home:arvidjaar:TopGIT&package=topgit [unofficial]
Mac OS X
~~~~~~~~
* Nix: nix-env -f nixpkgs-version -i topgit
FreeBSD
~~~~~~~
none as yet