Olson CloudWorks 🚀

: All Posts

Does deleting a branch in git remove it from the history

Does deleting a branch in git remove it from the history

Coming from svn just starting to become familiar with git When a branch is deleted in git is it removed from the history In svn you can easily recover a branch

Read more →

Failed to execute btoa on Window The string to be encoded contains characters outside of the Latin1 range

Failed to execute btoa on Window The string to be encoded contains characters outside of the Latin1 range

The error in the title is thrown only in Google Chrome according to my tests Im base64 encoding a big XML file so that it can be downloaded thisloadersrc

Read more →

Find duplicate records in MongoDB

Find duplicate records in MongoDB

How would I find duplicate fields in a mongo collection Id like to check if any of the name fields are duplicates name ksqn291 v 0 id

Read more →

git command to move a folder inside another

git command to move a folder inside another

I have created a folder common with a bunch of source files and folders Now I want to move the common folder into the include folder so it looks like

Read more →

git command to show all lightweight tags creation dates

git command to show all lightweight tags creation dates

Is there a one liner that shows me the dates where all git lightweight tags where created Something like git show tags

Read more →

Git doesnt work on MacOS Catalina xcrun error invalid active developer path LibraryDeveloperCommandLineTools missing duplicate

Git doesnt work on MacOS Catalina xcrun error invalid active developer path LibraryDeveloperCommandLineTools missing duplicate

This question already has answers here Git is not working after macOS update xcrun error invalid active developer path LibraryDeveloperCommandLineTools 41

Read more →

Git Remove committed file after push

Git Remove committed file after push

Is there a possibility to revert a committed file in Git Ive pushed a commit to GitHub and then I realized that theres a file which I didnt want to be pushed I

Read more →

How can I change the color of my prompt in zsh different from normal text

How can I change the color of my prompt in zsh different from normal text

To recognize better the start and the end of output on a commandline I want to change the color of my prompt so that it is visibly different from the programs

Read more →

How can I find which tables reference a given table in Oracle SQL Developer

How can I find which tables reference a given table in Oracle SQL Developer

In Oracle SQL Developer if Im viewing the information on a table I can view the constraints which let me see the foreign keys and thus which tables are

Read more →