Skip to content

Instantly share code, notes, and snippets.

View AYOMITIDE-OAJ's full-sized avatar
🤓

AYOMITIDE OAJ AYOMITIDE-OAJ

🤓
View GitHub Profile
import android.app.LocaleManager
import android.content.Context
import android.os.Build
import android.os.LocaleList
import androidx.appcompat.app.AppCompatDelegate
import androidx.core.os.LocaleListCompat
import java.util.Locale
/// Change Langauage Extenstion
@AYOMITIDE-OAJ
AYOMITIDE-OAJ / repo-reset.md
Created May 11, 2022 14:50 — forked from heiswayi/repo-reset.md
GitHub - Delete commits history with git commands

First Method

Deleting the .git folder may cause problems in our git repository. If we want to delete all of our commits history, but keep the code in its current state, try this:

# Check out to a temporary branch:
git checkout --orphan TEMP_BRANCH

# Add all the files:
git add -A