Skip to content

Commit

Permalink
Merge pull request #18 from Prajeshpuri/master
Browse files Browse the repository at this point in the history
Update pull request
  • Loading branch information
Bhupesh-V authored Oct 24, 2020
2 parents 5643070 + 212f6e7 commit 8982680
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dotman.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ dot_pull() {
printf "\n%s\n" "${BOLD}Pulling dotfiles ...${RESET}"
dot_repo="${HOME}/${DOT_DEST}/$(basename "${DOT_REPO}")"
printf "\n%s\n" "Pulling changes in $dot_repo"
git -C "$dot_repo" pull origin master
GET_BRANCH=$(git remote show origin | awk '/HEAD/ {print $3}')
printf "\n%s\n" "Pulling from ${BOLD}${GET_BRANCH}"
git -C "$dot_repo" pull origin "${GET_BRANCH}"
}

diff_check() {
Expand Down

0 comments on commit 8982680

Please sign in to comment.