| OSTraining News
Git and Version Control, Part 2

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git can really help your development, but it can be intimidating to set up and use.

Part 1 of this class was published last month.

In Part 2, Brian shows you how to move code between your work environment and the shared Git environment. You'll see how to use Github, Bitbucket and SSH keys. You'll learn to clone, push, move, merge, undo changes and much more.

Outline of Git and Version Control, Part 2

Remote Repositories

  • What are Remote Repositories?
  • Generating an SSH Key  
  • Github and SSH Keys
  • Setting Up a Repository on Github
  • Add an Existing Repository on Github
  • Connecting SourceTree to Github
  • Creating an Account on BitBucket
  • Creating Repositories on BitBucket
  • Connecting SourceTree to BitBucket

Moving Repositories

  • Cloning Remote to Production
  • Pushing a Local Change
  • Configure Git on a Remote Machine
  • Safely Move from Dev to Live
  • Quickly Move Dev to Live
  • Managing Conflicts
  • Undoing Recent Changes
  • Undo Commits, Keeping Files Intact
  • Undo Commits, Including Changes
  • Reverting Commits

About the author

Steve is the founder of OSTraining. Originally from the UK, he now lives in Sarasota in the USA. Steve's work straddles the line between teaching and web development.