This file contains hidden or 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
| # Script to upload file to Google Drive using Device Authorization | |
| # https://developers.google.com/identity/protocols/oauth2/limited-input-device | |
| # Authorization is granted by entering the User_Code and accepting via https://google.com/device | |
| # this is a manual step that must be completed | |
| # Prerequisite - Google Project Device Credentials Client_id and Client_Secret and google.drive API Enabled | |
| #!/bin/bash | |
| # https://developers.google.com/identity/protocols/oauth2/limited-input-device |
This file contains hidden or 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
| ### This fully erases git hub history | |
| ### Make sure to backup/copy files to a safe place before running | |
| SET GIT_AUTHOR_DATE="2024-11-18 16:44:44" | |
| SET GIT_COMMITTER_DATE="2024-11-18 16:44:44" | |
| git clone https://github.com/BitKind/repo-to-reset.git | |
| cd repo-to-reset | |
| git checkout --orphan datafreedom | |
| git rm -rf . | |
| copy C:\Users\projects\original-repo-to-reset C:\Users\projects\repo-to-reset |
OlderNewer