Remove tracking branches no longer on remote

git remote prune origin prunes tracking branches not on the remote. git branch –merged lists branches that have been merged into the current branch. xargs git branch -d deletes branches listed on standard input. Be careful deleting branches listed by git branch –merged. The list could include master or other branches you’d prefer not to … Read more

How do I fix a Git detached head?

Detached head means you are no longer on a branch, you have checked out a single commit in the history (in this case the commit previous to HEAD, i.e. HEAD^). If you want to delete your changes associated with the detached HEAD You only need to checkout the branch you were on, e.g. git checkout … Read more

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