This article is mainly around so that I can rmemember my current setup and maybe it’ll help you be more productive but it’s essentially a guid on how to setup vscode and GitHub to be able to post to Dev.to
Prerequisites
- Dev.to account
- GitHub account
- git
- vscode
First steps
You need to create a github repo and name it something that makes sense to you. For me that’s DevToArticleRepo. On this repo I just set a simple description and use the MIT license, because it’s easy to do and start as a private repo, just in case
Once you’ve done this you need to pull down the repository using your favourite git tool. I tend to use tortoise git to start off with, then move to using vscode once it’s pulled down
Repository setup
If I’ve not got a .gitignore (because I couldn’t be bothered to search usually!) I add an empty .gitignore ready for me. I also like to add some pre-commits. to my repository to help out. In every repository I make I…