You can clone your local repositor somewhere without any authentication, just find out what is your path of the repo.
git clone --no-hardlinks <repo path>
git clone --no-hardlinks <repo path>
git rev-list -n 1 HEAD -- <file_path>
If you want to restore it you can use this simple command and in a few seconds your file/directory will be backgit checkout $(git rev-list -n 1 HEAD -- "$file")^ -- "$file"
sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse("file://"+
Environment.getExternalStorageDirectory())));
Basically the code does a fake action and the gallery will update the pictures.int stringToNumber(String thisString) {
int i, value, length;
length = thisString.length();
char blah[(length+1)];
for(i=0; i<length; i++) {
blah[i] = thisString.charAt(i);
}
blah[i]=0;
value = atoi(blah);
return value;
}