summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/5/pkg.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/man/5/pkg.conf b/man/5/pkg.conf
index f3b4dbe..9394481 100644
--- a/man/5/pkg.conf
+++ b/man/5/pkg.conf
@@ -45,6 +45,15 @@ Operate in debug mode if 1
If 1, automatically execute 'pkg update' before 'pkg push'
and 'pkg remote-update' before 'pkg upgrade'
+=item B<GIT_USE_ORIGIN>=I<boolean> (1)
+
+By default, pkg will simply issue a git push/pull, so that git will use the
+repository's origin to determine where to push/pull.
+
+If you regularly change your PKG_ROOT, are too lazy to properly configure your
+git repos or whatever, set this to 0. Then, pkg will always call git pull/push
+with both the remote repo and the branch as arguments.
+
=item B<function pkg_hook_>I<hook> {I<content>}
Define the global hook I<hook>, its I<content> will be executed