[projects/git-slug: 41/170] Small HOWTO

glen glen at pld-linux.org
Mon Sep 21 21:42:15 CEST 2015


commit f2a034f78b2fc5e294a3cb77cf99554ccd51c466
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Thu Sep 22 17:23:55 2011 +0100

    Small HOWTO

 HOWTO | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
---
diff --git a/HOWTO b/HOWTO
new file mode 100644
index 0000000..bd9da52
--- /dev/null
+++ b/HOWTO
@@ -0,0 +1,50 @@
+How to work with slug.py
+========================
+
+*. Configuration
+
+Add your name and email to git configuration:
+
+  git config --global user.email "you at example.com"
+  git config --global user.name "Your Name"
+
+If you have and RW access to PLD repositories please use
+<your_login>@pld-linunx.org as email.
+
+
+*. Get initial copy of repositories
+
+   slug.py clone <package>
+
+It will clone the chosen package to the ~/PLD_clone directory . You can clone more
+then one package in one go. For example to get all perl and python packages:
+
+   slug.py clone perl\* python\*
+
+If you are interested in all existing packages:
+
+   slug.py clone
+
+However be afraid that it will take some time to clone all of them. 
+
+
+* Update all existing repositories
+
+If you have already cloned some repositories and you want to update them:
+
+  slug.py fetch 
+
+It will fetch all branches and will store them in 'origin' remote. You can look
+at it as an faster version of executing 'git fetch' for every local repository. 
+
+
+* Advanced usage
+
+If you want to save some disk space and potentially also some time (for large
+repositories like kernel), 'slug.py update' enables to work with only some of
+the branches and shallow clones. See
+
+   slug.py update --help
+
+for more details.
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/git-slug.git/commitdiff/4ed64f73960519a2f4fd04c42950b2c96ae795c5



More information about the pld-cvs-commit mailing list