Reputation: 1554
Is there a command to open a cloned repo/directory in Atom via Terminal? Basically, the same function as "Open in Atom" in the GitHub app.
Upvotes: 1
Views: 242
Reputation: 12882
I'm not sure why you're specifically asking for a cloned repository, since it's no different from a normal directory:
# Open current directory
atom .
# Open specific directory
atom /path/to/any/directory/under/the/sun
If you want to add a folder to an already open Atom session, you can use atom -a <dir>
. See atom --help
for more options.
Upvotes: 4