Issues with pushing large files through Git

It is possible that you are pushing several commits, one of them including a large file, and another more recent one removing that file. 2020-2022: Use git filter-repo (python-based, to be installed first) And use some content-based filtering: If you want to filter out all files bigger than a certain size, you can use –strip-blobs-bigger-than … Read more

GitHub – HTTPS access

As you did saw yourself in GitHub support, Scott Schacon himself suggested: So I guess your .netrc is incorrect or something? Try removing the info from your .netrc and cloning first (since it’s a public repo). If it isn’t a GitHub server issue, it could be your firewall. And/or your proxy (git config –global http.proxy … Read more

Including js from raw.github.com

You can try using https://rawgit.com/ service. Just replace raw.github.com with rawgit.com UPDATE The Rawgit service (former Rawgithub) has been shutdown. RawGit has reached the end of its useful life October 8, 2018 GitHub repositories that served content through RawGit within the last month will continue to be served until at least October of 2019. URLs … Read more

git clone hangs forever on github

GitHub offers a few different ways to connect to the remote repo. I am behind an onerous firewall. All methods also hang except using http (not https). For example, the JavaHamcrest project offers (anonymously): https://github.com/hamcrest/JavaHamcrest.git git@github.com:hamcrest/JavaHamcrest.git git://github.com/hamcrest/JavaHamcrest.git You may also try: http://github.com/hamcrest/JavaHamcrest.git Finally, prefix your UNIX command with GIT_TRACE=1 and GIT_CURL_VERBOSE=1, and use Git option … Read more

Github API – create branch?

The V3 API mentions branches in its reference page The ref in the URL must be formatted as heads/branch, not just branch. For example, the call to get the data for a branch named sc/featureA would be: GET /repos/:user/:repo/git/refs/heads/sc/featureA Create a Reference POST /repos/:user/:repo/git/refs Parameters ref String of the name of the fully qualified reference … Read more