[SOLVED] What is the Correct URL and command to git clone SlackBuilds Current ?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
would this work as well to keep my local up-to-date without unnecessarily re-downloading the entire branch ?
Code:
cd /home/dld/slackbuilds/current
git pull
Or does it leave 'cruft' ?
Here's an example:
Code:
]$ git pull
Already up-to-date.
no, it won't work because the current branch diverges, getting deleted and recreated each time, it's not like the master branch of SBo that has incremental changes.
you are free to try, a few days from now, when you will find a newer tag here.
1. To set up a local SlackBuilds Current repository in say, /home/dld/slackbuilds/ as /home/dld/slackbuilds/current:
Code:
# Step 1: set up a local directory according to your tastes:
mkdir -m /home/dld/slackbuilds/current
cd /home/dld/slackbuilds/current
git clone git://github.com/Ponce/slackbuilds.git .
2. To periodically refresh the SlackBuilds Current Directory:
Code:
# remove and replace the old current directory"
cd /home/dld/slackbuilds/
rm -fR current
git clone git://github.com/Ponce/slackbuilds.git current
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.