summaryrefslogtreecommitdiffstats
path: root/site/projects/gitto.org
blob: 257739fe8a1fcba3992f0be5ff2f45e8ee08e611 (plain)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#+TITLE: gitto
#+LINK: src    http://code.ryuslash.org/cgit.cgi/gitto/
#+LINK: tar_gz http://code.ryuslash.org/cgit.cgi/gitto/snapshot/gitto-master.tar.gz
#+LINK: zip    http://code.ryuslash.org/cgit.cgi/gitto/snapshot/gitto-master.zip
#+STARTUP: showall

#+begin_html
  <script src="/keyjs.KS" type="text/javascript"></script>
  <script type="text/javascript">
    keyjs_initialize({ "u": [ "keyjs_goto", "../index.html" ],
                       "h": [ "keyjs_goto", "http://ryuslash.org" ] });
  </script>
#+end_html

#+INCLUDE: "dlmenu.inc"

* About

  ~gitto~ is a utility written in [[http://www.gnu.org/software/guile/][Guile scheme]] to help me keep track of
  the status of my git repositories.

  | Status   | On-hold        |
  | Language | Scheme (Guile) |
  | License  | GPLv3          |

* Features

  - Show a list of how many commits to pull or push and whether or
    not the working directory of that repository is dirty.

* Requirements

  - [[http://www.gnu.org/software/guile/][Guile]] v2.0.x
  - [[http://git-scm.com][git]]

* Download

  There are download links for a ~tar.gz~ and a ~zip~ file of the latest
  development version at the top of this page.

* Install

  To install this should be enough:

  #+BEGIN_EXAMPLE
    $ make && make install
  #+END_EXAMPLE

* Usage

** Register repositories

   First you'll have to register some repositories:

   #+begin_example
     $ gitto -r ~/projects/project1
     $ gitto -r ~/projects/project2
     $ gitto -r ~/projects/project3
   #+end_example

** List status

   Once you have registered some repositories you can list them by
   calling ~gitto~ without any arguments:

   #+begin_example
     $ gitto
     project1:      0 to push, 0 to pull and is dirty
     project2:      5 to push, 2 to pull and is not dirty
     project3:      0 to push, 1 to pull and is not dirty
   #+end_example

** Remove repositories

   When you're fed up with a repository and no longer care about its
   status, you can remove it with the =-R= switch:

   #+begin_src shell-script
     $ gitto -R ~/projects/project1
   #+end_src