This command updates the global git config to show color coding for file state:
git config --global color.ui true
git config --global color.ui true
git diff --name-status <branch-name-1>..<branch-name-2>This gives list of all the files Modified/Added or Deleted:
git tag -a <tag name> -m "<message to identify tag>"
git tag -a <tag name> -m "<message to identify tag>" ed26815
git push origin <tagname>
git push origin --tags
export PATH=$PATH:/Users/PTyagi/Developer/android/sdks/android-sdk-macosx/tools:/Users/PTyagi/Developer/android/sdks/android-sdk-macosx/platform-tools
export ANDROID_HOME=/Users/PTyagi/Developer/android/sdks/android-sdk-macosx
Close the Terminal session and open new one and try echo $ANDROID_HOME to check. It should print the path to SDK home.
git clone https://github.com/<user>/RobolectricSample.gitStep-3: cd RobolectricSample/
git remote add upstream https://github.com/pivotal/RobolectricSample.gitNote: You can bring original repository's changes in your working space by this command:
git fetch upstreamMerge changes from upstream (original repo) into your forked repo:
git merge upstream/masterStep-5: Pushing changes to forked repo:
git push origin master
git config --global user.name "Your Name"
git config --global user.email "Your email"
Step-2: Run command "ant" from command line. This build script will generate a new jar commons-codec-1.6-jarjar.jar, which you can add in your build path and use this new jar to import from.<project name="generate-jarjar"><property name="jarjarfile" value="commons-codec-1.6-jarjar.jar"/><path id="classpath"><pathelement location="jarjar-1.4.jar"/><pathelement location="asm-2.2.3.jar"/></path><taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpathref="classpath"/><delete file="${jarjarfile}"/><jarjar destfile="${jarjarfile}"><zipfileset src="commons-codec-1.6.jar"/><rule pattern="org.apache.**" result="org.jarjar.apache.@1"/></jarjar></project>
Learn about Scheduling Repeating Local Notifications using Alarm Manager in this post .