Dotfile for setting up git environment: aliases and git flow on the Hack Reactor computers (or your personal use, really...).
- Download the file
- Navigate to file in Terminal
- Run the script:
$ ./setup-bash.sh
or$ ./setup-zsh.sh
, depending on your shell.
We all love them. For some bizarre reason, they're not included in the dev environment at Hack Reactor. Run this script every morning to fix that problem.
co = checkout
ci = commit
st = status
br = branch
mr = merge
hist = log --pretty=format:'%C(yellow)%h%Creset %Cgreen%ad%Creset | %s%C(magenta)%d%Creset [%Cblue%an%Creset]' --graph --date=short --decorate
type = cat-file -t
dump = cat-file -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit --all
First, read this tutorial. No, seriously, go read it. It will change your git world.
...
Welcome back! So, really useful framework. The kind people of the open-source world created a way to automate many of the actions. This package gets installed.
Then, the dotfile installs the tab completion for commands used in git flow.