How do I remove all stale branches from Github?

You can right click on the browser after opening the stale branches and run this in the browser java script console. To delete all the stale branches. i.e) this script automatically clicks to the next page and proceeds to delete stale branches in the next page. async function deleteStaleBranches(delay=500) { var stale_branches = document.querySelectorAll(‘[aria-label=”Delete branch”]’); … Read more

“Warning: the ECDSA host key for ‘github.com’ differs from the key for the IP address” issue

If you are getting the following error: Warning: the ECDSA host key for ‘github.com’ differs from the key for the IP address ‘IP_ADDRESS’ I would recommend to do the following: $ ssh-keygen -R github.com If that does not work then remove the IP itself from known-host: $ ssh-keygen -R IP_ADDRESS This should would fix your … Read more

git stash apply @stash{x} not working for me

You need to quote the string, because your shell is eating the content of the {} as an expansion. So use git stash apply ‘stash@{2}’. Alternatively you can use the SHA of the stash, or next time when you apply it, you can name the stash yourself.

‘credential-manager’ is not a git command

I started getting the same error messages for every service after my last upgrade. I made them go away by creating an alias for credential-manager. git config –global alias.credential-manager “credential-manager-core” Other than the error messages, the credential-manager seems to have been working correctly both before and after creating the alias.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)