Skip to content

bradshjg/desktop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Desktop fork with experimental support for "virtual repos".

Virtual Repos???

Virtual repos tries to capture the idea of a git repository that exists on an external filesystem.

This could be used when:

  • Editing code over an SSH connection
  • Using GitHub Codespaces

Configuring a virtual repo

Currently only ssh-based virtual repos are supported.

When adding a virtual repo, use

ssh::<host>::<repo-path>, e.g. ssh::cs::/workspaces/desktop

Where in this case ~/.ssh/config includes

Host cs
  User codespace
  Hostname localhost
  Port 2222
  NoHostAuthenticationForLocalhost yes
  StrictHostKeyChecking no
  ControlMaster auto
  ControlPath ~/.ssh/ssh-cs-persist
  ControlPersist 5m

and the git repository is at /workspaces/desktop on the remote host.

It must be the case that ssh <host> (ssh cs in this case) will log in without any need for user input, as this is how commands are run on the remote host. To verify your config you can use:

ssh cs echo howdy

and ensure that howdy is returned without a password prompt or similar.

N.B. The ControlMaster, ControlPath, ControlPersist sections allow multiplexing commands over a single TCP connection, vastly improving the usability!

Release Process

Currently a bit of a mess, but here it is:

  1. yarn build:prod
  2. yarn package
  3. Follow DMG build instructions.

Attach the generated DMG file to the release.

License

MIT

The MIT license grant is not for GitHub's trademarks, which include the logo designs. GitHub reserves all trademark and copyright rights in and to all GitHub trademarks. GitHub's logos include, for instance, the stylized Invertocat designs that include "logo" in the file title in the following folder: logos.

GitHub® and its stylized versions and the Invertocat mark are GitHub's Trademarks or registered Trademarks. When using GitHub's logos, be sure to follow the GitHub logo guidelines.

About

Simple collaboration from your desktop

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 93.6%
  • SCSS 5.6%
  • JavaScript 0.5%
  • CSS 0.2%
  • Shell 0.1%
  • PowerShell 0.0%