• Skip to primary navigation
  • Skip to main content
  • Skip to footer

WPJohnny

WordPress Performance Guides and Reviews

  • Start a WordPress site
  • Hosting
  • Themes
  • Plugins
  • Blogging
  • Marketing

Github cheatsheet

WordPress plugins Jul 8, 2020 by Johnny

Because I’m tired of relearning how to use Github and looking up long boring videos full of commands I’ll never use. This simple cheatsheat is pretty much all I ever do for git commands.

Pulling/cloning a GitHub repo to your local computer:

Can do it from VScode terminal or with OS terminal. Make sure you’ve navigated to the right directory you want to work in!

  1. git init – initializes Git session.
  2. git clone [email protected]:your-repo-ssh-address.git – clones that repo to your local environment.

Push or update to GitHub repo:

  1. git add . will automatically search for all file changes.
  2. git commit -m "update notes", or you can use the full git commit -m "something" -m "something" to put both update title and description.
  3. git push to push it back up to the GitHub repo.

Other notes:

  • git pull – I almost never use this. I typically clone and then only push. I’m rarely work on a production environment locally.
  • git status – if you’re ever randomly curious what’s matching or not.
  • Repo permissions issues? – I’ve solved it by regenerating SSH keys and using my GitHub email address.

Share this post:

Share on FacebookShare on X (Twitter)Share on LinkedInShare on WhatsAppShare on EmailShare on SMS

Read all my posts on WordPress plugins

About Johnny

Right on the edge of WordPress development! 10+ years of WordPress design, development, hosting, speed optimization, product advisor, marketing, monetization. I do all that.

More WordPress Guides

Hosting Multiple Sites in ONE Webhosting Account, is it INSECURE? (NO, it’s not)

Mounting Linode storage volumes

Comment Reply Email (WPJ Plugin)

WP Fluent Forms – WordPress plugin review

Should you offer FREE CONSULTATIONS on your website?

LittleBizzy REVIEW by WPJohnny – Jesse Nickles (fraud / slander alert)

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Footer

More links

  • Gadget reviews
  • Try my free WPJ plugins
  • Join the WPJ FB Group
  • WPJ YouTube & newsletter
  • Become a WPJ Affiliate

Popular Reviews

  • Best WordPress Hosting
  • Best WordPress Themes
  • Best WordPress Plugins
  • Best WordPress Cache Plugins

Services

  • Speed optimization
  • Speed optimization courses
  • WordPress hosting
  • Hire me or other experts
  • Client login

About Johnny

10+ years of WordPress design, development, hosting, speed optimization, marketing.
Contact me.

newsletter block

Copyright 2025 | WordPress guides by Johnny Nguyen

Click to Copy