Place this in bashrc
function gp() {
if [[ $# -gt 0 ]]; then
git pull ${1} $(git branch | cut -d' ' -f2)
else
git pull origin $(git branch | cut -d' ' -f2)
fi
}
Place this in bashrc
function gp() {
if [[ $# -gt 0 ]]; then
git pull ${1} $(git branch | cut -d' ' -f2)
else
git pull origin $(git branch | cut -d' ' -f2)
fi
}