mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-16 08:10:40 +08:00
This keeps the top level of the repo cleaner, e.g. <https://github.com/radicle-dev/heartwood> scrolls less and <https://app.radicle.xyz/nodes/rosa.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/> might show more files at the top level. This way we also don't have to explicitly name all crates in `Cargo.toml`.
21 lines
757 B
Markdown
21 lines
757 B
Markdown
Let's start by creating a draft patch.
|
|
|
|
``` (stderr) RAD_SOCKET=/dev/null
|
|
$ git checkout -b feature/1 -q
|
|
$ git commit --allow-empty -q -m "First change"
|
|
$ git push -o patch.draft rad HEAD:refs/patches
|
|
✓ Patch 8dfb4dcafc4346158c8160410dd3f2b0616ad4fe drafted
|
|
To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
|
|
* [new reference] HEAD -> refs/patches
|
|
```
|
|
|
|
``` (stderr) RAD_SOCKET=/dev/null
|
|
$ git checkout master -q
|
|
$ git merge feature/1
|
|
$ git push rad master
|
|
✓ Patch 8dfb4dcafc4346158c8160410dd3f2b0616ad4fe merged
|
|
✓ Canonical head updated to 20aa5dde6210796c3a2f04079b42316a31d02689
|
|
To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
|
|
f2de534..20aa5dd master -> master
|
|
```
|