drainpixie/fern
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
Repository files navigation
FERNBEDIENUNG
A command-line interface to manage Git remotes
INSTALL
CARGO
$ cargo install --git https://github.com/drainpixie/fern.git
NIX
DECLARATIVE
environment.systemPackages = [ inputs.fern.packages.<arch>.fern; ];
IMPERATIVE
$ nix profile install github:drainpixie/fern
USAGE
INITIALISE A REPOSITORY
$ fern init
ADD YOUR REMOTES
$ fern add github git@github.com:username/repo.git
$ fern add codeberg git@codeberg.org:username/repo.git
DO SOME GIT OPERATIONS
$ echo "console.log('Hello, World');" > fern.mjs
$ git add fern.mjs
$ git commit -m 'feat: we do some ferning'
PUSH WITH FERN
$ fern push
ATTRIBUTIONS
This project was born out of my own frustration with managing repositories
across different forges, but also from mugi [1] by Fuwn [2], although with a
different mental model; `mugi` prefers operating over a global registry of
repositories via a configuration file, `fern` is much more git-centric and
prefers operating inside individual repositories.
[1] https://github.com/Fuwn/mugi
[2] https://github.com/Fuwn