Skip to content

Commit

Permalink
Merge branch 'feature/update-before-push'
Browse files Browse the repository at this point in the history
  • Loading branch information
laughedelic committed Nov 19, 2014
2 parents 1363aed + db67159 commit da9ee5f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gtm
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,10 @@ function gtm_push() {
"
case $1 in -h|--help) echo "$help_msg" && exit ;; esac

echo "Pulling timetracker notes: "
git fetch origin "+refs/notes/timetracker:refs/notes/remotes/origin/timetracker"
gtm merge

echo "Pushing timetracker notes: "
git push
failed $? "Some issues with pushing timetracker notes.$trst Maybe you should first run '`blue 'git pull'`' (+ '`blue 'gtm merge'`' if needed)"
Expand Down

0 comments on commit da9ee5f

Please sign in to comment.