3
There's a pure Git solution you can use in your global .gitconfig - I use an include.path config for personal stuff by default:
# .gitconfig
# default user email and key
[include]
path = .gitconfig-personal
and that file contains name, personal email (which is used for SSH and identifying my GitHub account), and GPG key ID:
# .gitconfig-personal
[...
2
To open a file when starting a new instance of Emacs you can generally do:
emacs "/ssh:server:file"
as described in man emacs:
SYNOPSIS
emacs [ command-line switches ] [ files ... ]
If you use Emacs daemon and want to open a file within an existing
instance of Emacs you can do emacsclient "/ssh:server:file" as well
but it will ...
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
ssh × 117tramp × 67
remote × 16
magit × 11
terminal-emacs × 10
shell × 8
eshell × 7
x11 × 7
microsoft-windows × 6
spacemacs × 4
org-mode × 3
helm × 3
linux × 3
server × 3
key-bindings × 2
org-babel × 2
python × 2
dired × 2
osx × 2
emacsclient × 2
git × 2
ansi-term × 2
emacs-daemon × 2
environment × 2
org-export × 1