42 lines
901 B
Markdown

---
title: mr - myrepos
description:
published: true
date: 2026-03-20T06:09:17.367Z
tags:
editor: markdown
dateCreated: 2026-03-20T05:11:13.239Z
---
# myrepos
## Upstream
https://myrepos.branchable.com/
## Quick Bootstrap
1. Install `~/.ssh/p.gitea` with `600` perms in the target machine
2. Put the following in `~/.ssh/config`:
```
Host git.thurstylark.com
IdentityFile ~/.ssh/p.gitea
```
3. Make sure that `mr` and `vcsh` are installed
4. Run the following command in `~`:
```
git init && \
git remote add origin https://git.thurstylark.com/dotfiles/mr.git && \
git fetch && \
git checkout -t origin/master -f && \
rm -rf .git && \
mr update
```
5. Check output, and do appropriate cleanup as necessary
For instance, to override any file that is currently tracked in a repo but already has a local version:
```
vcsh [repo] reset --hard origin/master
```
6. `$ exec bash` to use new bashrc