How do I configure GitHub to use non-supported Jekyll site plugins?

Depending if you deal with a User/Organization (UO) site or a Project site (P), do : from your working folder git init git remote add origin [email protected]:userName/userName.github.io.git (UO) or git remote add origin [email protected]:userName/repositoryName.git (P) jekyll new . creates your code base in _config.yml, set the baseurl parameter to baseurl: ” (UO) or baseurl: ‘/repositoryName’ … Read more

How to work on personal GitHub repo from office computer whose SSH key is already added to a work related GitHub account?

You can add as many public:private key you want, the idea being to register them in %HOME%/.ssh/config file, in order for you to define remote with ssh addresses like: workgh:Work persgh:Personal See “change github account mac command line” as an example of an ssh/config file. In your case: #Personal GitHub Host persgh HostName github.com User … Read more

Authenticate with GitHub using a token

Your curl command is entirely wrong. You should be using the following curl -H ‘Authorization: token <MYTOKEN>’ … That aside, that doesn’t authorize your computer to clone the repository if in fact it is private. (Taking a look, however, indicates that it is not.) What you would normally do is the following: git clone https://scuzzlebuzzle:<MYTOKEN>@github.com/scuzzlebuzzle/ol3-1.git … Read more

Custom domain for GitHub project pages

1/23/19 UPDATE: Things have changed quite a bit (for the better) since my last answer. This updated answer will show you how to configure: Root apex (example.com) Sub-domain (www.example.com) HTTPS (optional but strongly encouraged) In the end, all requests to example.com will be re-directed to https://www.example.com (or http:// if you choose NOT to use HTTPS). … Read more

Github “Updates were rejected because the remote contains work that you do not have locally.”

This happens if you initialized a new github repo with README and/or LICENSE file git remote add origin [//your github url] //pull those changes git pull origin master // or optionally, ‘git pull origin master –allow-unrelated-histories’ if you have initialized repo in github and also committed locally //now, push your work to your new repo … Read more

Syncing with github

You need to at least set an HTTP_PROXY variable environment. set HTTPS_PROXY=http://<login_internet>:<password_internet>@aproxy:aport set HTTP_PROXY=http://<login_internet>:<password_internet>@aproxy:aport Or, for bash session: export http_proxy=http://<login_internet>:<password_internet>@aproxy:aport export https_proxy=http://<login_internet>:<password_internet>@aproxy:aport Make sure %HOME% (or $HOME) is set to a directory where you did store your .ssh config Then, for git commands: git config –system http.sslcainfo \\bin\\curl-ca-bundle.crt git config –global http.proxy http://<login_internet>:<password_internet>@aproxy:aport git config … Read more

How to commit clone to my GitHub as a new project?

If the other code is also on github I’d recommend to fork it there and then clone your fork. If you have alredy started working on your clone you can add another remote repository. The original source you cloned is normally called “origin”, you can name yours like you want: git remote add <name-of-remote> git://github.com/user/repo.git … Read more