Git refs merge vs head in pull request

The refs/pull/<number>/merge is a reference created by GitHub to keep track of what would happen if a pull request was merged. It references the merge commit between refs/pull/<number>/head and the destination branch (e.g. master). You can think of it as a “future” commit. GitHub (as well as other Git-based collaboration platforms) use this technique to … Read more

Clone specific branch from git

Try: git clone git@bitbucket.org:project/project.git -b develop_one –single-branch For already cloned repos use: git fetch git checkout develop_one # Or more specific: git checkout –track -b develop_one This will track the develop_one branch from the remote.

Exclude specific files from ‘git pull’

This allowed me to tell git to ignore a specific file, even though it was already part of a project. All changes I make to it will be ignored: git update-index –assume-unchanged Localization/el-GR.js Notes It’s ignored by git status, but not by git pull. You can solve it with something like git remote update && … Read more

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