If I want to use git for particle development

I would like to have my particle source files on my local computer so I can use GitHub. What’s the best way to do this now? I saw a 2015 post re using Atom and plugins. Is that still advisable? Thanks.

1 Like

What OS are you using?

Mac

1 Like

Do you prefer Particle Dev or particle-cli?

1 Like

command line preferred but i can go either way

1 Like

Ok. You could make a Particle Project using particle-cli and then initialize it as a git repository. Particle Dev / Atom will recognize the project as a repository.

https://docs.particle.io/reference/cli/#particle-project

http://kbroman.org/github_tutorial/pages/init.html

1 Like