Your gonna need some basic necessities like
Here is a good link to get you started with setting up your git config -l
:
Github and Git
* Disregard the ruby stuff. Also for the record, I dont recommend using homebrew
to install node/npm. Things can get messy.
Using sudo
isn't recommended so:
sudo chown -R `whoami` /usr/local
While you're at it:
git config --global push.default simple
- Copy/Paste the git aliases from CodeRED.aliases into your ~./gitconfig
- See ALIASES for more info
git bl
git blr
git co
git fe
git fi
git mi
git up
git cm
git sync
git bdone
Make your prompt look like:
me@my-pc ~/some/repo (branch-name) $
Add CodeRED.bash_profile to your ~./bash_profile
Commits must follow CONVENTIONS
-
You can clean up commits messages with:
git rebase master -i
then using
squash
(merge commit msg) orreword
followed with:git push -f
-
If your branch falls behind master then use (see note about conflicts):
git sync
if no conflicts:
git push -f