list of repos
parent
c0351c71f0
commit
f2539a2b9b
|
@ -1 +1,8 @@
|
|||
# migrate
|
||||
|
||||
find a list of git repo urls
|
||||
add them to a list in a file
|
||||
sync between installs, push and pull the list
|
||||
allow cloning of all repos
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
#program should retrieve a list of installed packages and cloned repos, add them to a list and allow the syncing of them between installs, will be for arch so pacman package manager to install packages. Of course git will be used for the syncing of repos
|
||||
|
||||
|
||||
#thanks to SBRL for this handy git repo url finder
|
||||
find /home/ctome/git/ -mount -type d -name '.git' -print0 | xargs -0 -I {} bash -c 'dirgit="{}"; dir="$(dirname "${dirgit}")"; cd "${dir}" && echo -e "$(git remote -v | tr " " "\t" | cut -f 2 | head -n1)";' |grep .com > repos.txt && mkdir -p repos;
|
||||
|
||||
cd repos && cat ../repos.txt |xargs -0 git clone;
|
|
@ -0,0 +1,17 @@
|
|||
git@github.com:University-of-Hull-CST/441101-2122-lab-10-CrimsonTome
|
||||
git@github.com:CrimsonTome/PD-report.git
|
||||
git@github.com:CrimsonTome/PD-personal-report.git
|
||||
git@github.com:chrrel/latex-report-template
|
||||
https://git.starbeamrainbowlabs.com/Demos/latex-templates
|
||||
git@github.com:chrrel/latex-report-template
|
||||
git@github.com:CrimsonTome/AOSC-report
|
||||
git@github.com:University-of-Hull-CST/441101-2122-t2-lab2-CrimsonTome.git
|
||||
git@github.com:University-of-Hull-CST/441101-2122-lab-7-CrimsonTome
|
||||
git@github.com:CrimsonTome/crimsontome-blog.git
|
||||
git@github.com:CrimsonTome/FreesideWeb
|
||||
git@github.com:dylanaraps/pure-bash-bible
|
||||
git@github.com:CrimsonTome/migrate.git
|
||||
git@github.com:CrimsonTome/StudentResources
|
||||
git@github.com:CrimsonTome/config.git
|
||||
git@github.com:CrimsonTome/templ
|
||||
git@github.com:solokeys/solo-python
|
Loading…
Reference in New Issue