Skip to content

Create a remote forkλ︎

Create or select a local Git repository and run magit status, , g s.

c f to create a remote fork, prompt for the GitHub account or organisation to fork the repository too.

Spacemacs Magit Forge create fork - fork to

Prompt for the name of the new remote repository

Spacemacs Magit Forge create fork - remote name

Hint::Configure owned GitHub accounts and organisationsλ︎

Add (setq forge-owned-accounts '(("practicalli" "jr0cket" ))) to the dotspacemacs/user-config section of .spacemacs to define GitHub accounts and organisations that can be forked to.

Add (setq forge-owned-blacklist '(("bad-hacks" "really-bad-hacks"))) to define accounts and organisations not to include. This over-rides the forge-owned-accounts setting.

practicalli/spacemacs.d repository contains these settings.

GitHub user and organization accounts owned used by @ c f to create a fork

To blacklist specific accounts, over-riding forge-owned-accounts


Last update: December 26, 2022