docs: create dotfiles/mr
This commit is contained in:
parent
2d8513cc7a
commit
59b6d50ea1
38
dotfiles/mr.md
Normal file
38
dotfiles/mr.md
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
title: mr - myrepos
|
||||||
|
description:
|
||||||
|
published: true
|
||||||
|
date: 2026-03-20T05:11:13.239Z
|
||||||
|
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
|
||||||
|
6. `$ exec bash`
|
||||||
Loading…
x
Reference in New Issue
Block a user