Git branch not returning any results

That’s because you have not yet committed anything, when you do git checkout -b test, git modifies content of the .git/HEAD file from ref: refs/heads/master to ref: refs/heads/test, which actually points to nothing. Only after you make a commit will git create the test refs for you and you will find a .git/refs/heads/test file, which … Read more

Is there a simple command to convert a branch to a tag?

The answers given are basically correct. As tags and branches are just names for objects, there is a simpler way without touching current work area: git tag <name_for_tag> refs/heads/<branch_name> # or just git tag <name_for_tag> <branch_name> git branch -d <branch_name> Or even do it to remote server without touching local repository at all: git push … Read more

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