How to pull a specific branch from Github

If you did a clone, then all branches should be available to you. You need to checkout the branch. git checkout todo-mvvm-databinding If the branch isn’t available for whatever reason, then you can create it and then pull it: git checkout -b todo-mvvm-databinding (-b specifies “create branch”) git pull origin todo-mvvm-databinding will fetch and merge this branch into … Read more

How to fix HTTP 404 on Github Pages?

Four months ago I have contacted the support and they told me it was a problem on their side, they have temporarily fix it (for the current commit). Today I tried again I deleted the gh-pages branch on githubgit push origin –delete gh-pages I deleted the gh-pages branch on localgit branch -D gh-pages I reinitialized … Read more

Create a tag in a GitHub repository

You can create tags for GitHub by either using: the Git command line, or GitHub’s web interface. Creating tags from the command line To create a tag on your current branch, run this: If you want to include a description with your tag, add -a to create an annotated tag: This will create a local tag with the current state … Read more

Git master branch has no upstream branch

Instead of creating a new repository on Github, cloning that, or reinitializing your local repository, the following command would have been sufficient: origin stands for the remote name (default is origin),master is the branch you want to push, in your case it’s master, otherwise you would have to change that in the command.-u means, that your local branch … Read more

fatal: The current branch master has no upstream branch

You fixed the push, but, independently of that push issue (which I explained in “Why do I need to explicitly push a new branch?“: git push -u origin master or git push -u origin –all), you need now to resolve the authentication issue. That depends on your url (ssh as in ‘[email protected]/yourRepo, or https as in https://github.com/You/YourRepo) For https … Read more

Pushing to Git returning Error Code 403 fatal: HTTP request failed

I just got the same problem and just figured out what’s cause. Github seems only supports ssh way to read&write the repo, although https way also displayed ‘Read&Write’. So you need to change your repo config on your PC to ssh way: edit .git/config file under your repo directory find url=entry under section [remote “origin”] change it from url=https://[email protected]/derekerdmann/lunch_call.git to [email protected]/derekerdmann/lunch_call.git. that … Read more

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