-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
43 lines (30 loc) · 1.21 KB
/
README
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
vi and git combiner editor
Usage: git.vi [-h] [-a] [-m "message"] file <file> ...
Options:
-h Display this message
-a All files will be committed with the same commit message.
This message is the first file to be edited.
-m All files will be committed with the same commit message.
This message should be supplied on the command line.
-e Do not edit the file(s).
This is very usefull for automatic checkins
This program works best when used with git filters, such as the
'gitvi' filter.
In my ~/.gitconfig it says:
[filter "gitvi"]
smudge = /home/tonk/bin/git/git.expand
clean = /home/tonk/bin/git/git.collapse
See my blog on how to use this (http://tonkersten.com)
Examples:
git.vi -m "Changed the version number" *.cfg
or
git.vi -a *.cfg
If both the '-m' and '-a' option are given, the '-m' has precedence.
With "git config gitvi.umask 007" the umask for this development tree can be
set. Of course it's possible to set another umask, this is just an example.
These git config variables are used:
gitvi.owner
gitvi.group
gitvi.umask
# $Id:: README 2 2011-09-21 15:44:49 tonk $:
# $Revision:: 2 $: