This is a collection of notes for everyday git commands.
Create a new repository on github, then from the projects root:
Check how many commits have been made:
Use that number to tell git how many commits to squash into one:
To create a new branch checkout the branch you want to base your work on:
Then its as simple as doing a pull to make sure you have the latest work and adding the -b tag with your new branches name:
Create a new repo on github then clone the repo you want to copy.
If you are working on a feature and need to pull in the latest changes from the remote