Skip to content

Instantly share code, notes, and snippets.

@bogdanbolchis
Created December 11, 2015 14:32
Show Gist options
  • Save bogdanbolchis/fb09538e00f1ca767fd6 to your computer and use it in GitHub Desktop.
Save bogdanbolchis/fb09538e00f1ca767fd6 to your computer and use it in GitHub Desktop.
# Remove Derived Data
rm -rf ~/Library/Developer/Xcode/DerivedData
rm -frd ~/Library/Caches/com.apple.dt.Xcode/*
# Open Gitup at the project’s path
open -a GitUp “$XcodeProjectPath”
# Stash & Pull & Pop, and show results in TextEdit
exec &>/var/tmp/log.txt
git stash && git pull && git stash pop
open -a TextEdit /var/tmp/log.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment