A demo repo for our April Intermediate class.
The outline and much of the material for this course lives here.
- GitHub help docs
- Git help docs
- Pro Git book A thorough introduction to Git and how to use it, including a section on GitHub.
- Mastering Markdown Handy for both learning and quickly looking up Markdown syntax.
To get the pictured behavior, add these lines to your ~/.bashrc
file:
# show current git branch in prompt
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\w\[\033[36m\]\$(parse_git_branch) \[\033[00m\] > "