Git
Commands
git branch
git status
git pull
git push
git checkout -b [branchname]
Remove the history from
rm -rf .git
– recreate the repos from the current content only
git init
git add .
git commit -m "Initial commit"
– push to the github remote repos ensuring you overwrite history
git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git
git push -u --force origin master
Init submodules
git submodule init
git submodule update
git config --global user.email "jasper@duizendstra.com"
git config --global user.name "Jasper Duizendstra"
Git naming conventions
wip Works in progress; stuff I know won't be finished soon
feat Feature I'm adding or expanding
bug Bug fix or experiment
junk Throwaway branch created to experiment