What are the differences between git remote prune, git prune, git fetch –prune, etc

I don’t blame you for getting frustrated about this. The best way to look at is this. There are potentially three versions of every remote branch: The actual branch on the remote repository (e.g., remote repo at https://example.com/repo.git, refs/heads/master) Your snapshot of that branch locally (stored under refs/remotes/…) (e.g., local repo, refs/remotes/origin/master) And a local … Read more

How do you remove an invalid remote branch reference from Git?

You might be needing a cleanup: git gc –prune=now or you might be needing a prune: git remote prune public prune Deletes all stale tracking branches under <name>. These stale branches have already been removed from the remote repository referenced by <name>, but are still locally available in “remotes/<name>”. With –dry-run option, report what branches … Read more

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