eval $(ssh-agent)
ssh-add ~/.ssh/id_rsaGithub #Add SSH key pair
ssh-add -l # list SSH added keys
git remote set-url origin [email protected]:Crashedmind/MyTechieBits.com.git
git push origin master
git clone https://github.com/Crashedmind/MyTechieBits.com.git
### Make edits
git commit -m commit-message # commit to local Git repo
git status
Download project
# Cloning
git clone https://github.com/Crashedmind/MyTechieBits.com.git OR git clone ssh://[email protected]/Crashedmind/MyTechieBits.com.git
cd MyTechieBits.com
THEN
# Install dependencies
npm i
# Start dev server
gatsby develop
# Build for production
gatsby build
# Format with Prettier
npm format
├──.circleci # Circleci integration
├── config # Theme and site metadata
├── content # Post markdown and images
├── src
│ ├── components
│ ├── layouts
│ ├── pages
│ ├── style
│ └── templates # For Post and Tag page generation
├── static # Images for logo and favicon, and robots.txt
├── gatsby-config.js # Plugin loading and configuration
└── gatsby-node.js # Generate posts/tags and modify webpack