Skip to content

Commit

Permalink
Hide output for git pull
Browse files Browse the repository at this point in the history
  • Loading branch information
Carbrex authored Jul 23, 2024
1 parent a1f59ef commit 957da7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pull-all
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ for dir in ./repos/*; do

if [[ $pull_flag == true ]]; then
echo -n "pulling changes..."
git pull 2>/dev/null && echo "✅ done" || echo "❌ failed"
git pull &>/dev/null && echo "✅ done" || echo "❌ failed"
else
echo "🔸 behind by $(git rev-list HEAD...$upstream_or_origin/$main_or_master --count) commits."
fi
Expand Down

0 comments on commit 957da7f

Please sign in to comment.