[Freedombox-discuss] How to Contribute
Leni Kadali Mutungi
lenikmutungi at gmail.com
Wed Oct 24 18:15:31 BST 2018
Hi again.
Thanks so much for the warm welcome. I have a question about obtaining
source code: if I'm cloning the Plinth source code, is it okay to do a
shallow clone i.e `git clone --depth=1` just to get started?
I have a slow connection that is likely to make it difficult to download
everything in one go. So far my workaround would be the following:
3. Add the repository URL as a remote
`git remote add plinth https://salsa.debian.org/freedombox-team/plinth.git`
4. Then checkout a `master` branch in the folder:
`git checkout -b master`
5. Then set upstream branch of local master to be upstream `master`
`git branch --set-upstream-to=plinth/master master`
6. The do `git fetch origin --depth=1` and keep running `git fetch
plinth --deepen=5` continuously till I have the entire history of the
repository.
I don't know if there is a better way that I could use. Feedback on my
approach is welcome.
--
-- Kind regards,
Leni Kadali Mutungi
More information about the Freedombox-discuss
mailing list