A bunch of git and github scripts
Pull request Compare This branch is 141 commits behind lennartcl:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
git-get-branch
git-info
git-is-current
git-keep-alive
git-l
git-out
git-pull-request
gitl-setup

README.md

gitl

gitl is a collection of command-line git/github scripts.

Configuration

Please run gitl-setup to create a github API key and get a list of settings to add to the .profile file in your home directory.

Commands

git-get-branch

Show the current branch.

git-info

Show information about the current repository.

git-is-current

Determine if the current branch is up-to-date compared to the current branch.

Arguments:

  • -f Don't fetch
  • -q Be quited
  • origin/BRANCH Compare to branch origin/BRANCH instead of origin/master

git-keep-alive

Maintains an open connection to speed up github access. See http://coderrr.wordpress.com/2011/10/31/github-hack-speed-up-git-push-and-git-pull/.

git-l

Quick log of the current branch, compared to origin/master.

git-pull-request

Submit a github pull request of the current or specified branch. Opens your browser.

git-out

Show an overview of all outgoing branches.

License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.