Hot answers tagged

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