Showing posts from January, 2018

Bare minimum Git Bash

The purpose of this guide is to serve as a reference for basic functions that you can do using Git that you will need as a developer on a team. You can install Git here (it will come with Git Bash): Git has an awesome 15-minute tutorial here: Clone down a project git clone <project URL> // Example git clone Commit, check for new changes from repo, then push your committed changes // Stage and commit your changes git add . git commit -m "add comments here for your changeset" // Check for changes in server git fetch // Pull changes from server, may need to resolve merge conflicts at this point git pull // Push your committed changes to server git push Create a new branch and swap to the new branch git checkout -b <branchname> // Example git checkout -b WI123-build-mobile-QR-scanner Swap branches git checkout &l