Coder Social home page Coder Social logo

creates-and-deletes's Introduction

What's here?

Simple repository to create and delete pull requests from. Used for testing of github-branch-source plugin, among probably other things.

Prerequisites

  1. An up to date Linux system on which to do this. Might work on a Mac - I haven't tried.

  2. You need hub installed and on your path. More on that below.

Installing Hub

I've found that the binaries provided by package managers (like apt-get, dnf, etc) aren't feature complete. In particular the -p switch was often missing or broken. So I decided to follow, exactly, the steps provided by GitHub themselves, here, and unsurprisingly, that worked:

mkdir -p "$GOPATH"/src/github.com/github
git clone \
  --config transfer.fsckobjects=false \
  --config receive.fsckobjects=false \
  --config fetch.fsckobjects=false \
  https://github.com/github/hub.git "$GOPATH"/src/github.com/github/hub
cd "$GOPATH"/src/github.com/github/hub
make install prefix=/usr/local

It'll probably bark at you for not having write access to /usr/local but somehow worked anyway.

kshultz@gigantic-laptop:~/GitHub$ hub version
git version 2.19.1
hub version 2.9.0-7-g2b67d8c3

Using Hub with Github Enterprise

If you want to push this repo onto a GitHub Enterprise server of your own, you'll need to whitelist that server so that hub will talk to it:

git config --add hub.host your.github-enterprise-server.org

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.