Created
April 9, 2019 12:20
-
-
Save marquesm91/f7b2d9f9daf84d70bdadb8043a2eae2a to your computer and use it in GitHub Desktop.
Awesome Line Commands for Awesome Developers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Clean branches except master and develop (nice to use with git flow) | |
git branch -D `git branch | grep -vE 'master|develop'` | |
# Clean cache and reinstall Pods | |
rm -rf ~/Library/Caches/CocoaPods; rm -rf Pods; rm -rf ~/Library/Developer/Xcode/DerivedData/*; pod deintegrate; pod setup; pod install; | |
# Clean gradle caches | |
rm -rf $HOME/.gradle/caches/ | |
# Clean APK in simulator Android (${1} with your package name. e.g com.examplepackage) | |
adb shell "pm uninstall ${1}; rm -rf /data/app/${1}-*; su -c 'rm -rf /data/app-lib/${1}-*'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment