Permalink
Browse files

Add headers

  • Loading branch information...
1 parent eb27b38 commit a9daec49ddf32bbe1914cae468586be1814ea0c3 @lennartcl committed Aug 27, 2012
Showing with 56 additions and 2 deletions.
  1. +5 −0 git-branch-from-cherry
  2. +5 −0 git-get-branch
  3. +5 −0 git-info
  4. +5 −0 git-is-current
  5. +5 −2 git-keep-alive
  6. +6 −0 git-l
  7. +5 −0 git-list-pull-requests
  8. +5 −0 git-out
  9. +5 −0 git-pull-branch
  10. +5 −0 git-pull-request
  11. +5 −0 git-push-branch
@@ -1,4 +1,9 @@
#!/bin/bash -e
+#
+# git-branch-from-cherry
+#
+# License: MIT
+# Copyright (c) 2012 Lennart C. L. Kats
STASH=
CURRENTBRANCH=`git-get-branch`
View
@@ -1,4 +1,9 @@
#!/bin/bash
+#
+# git-get-branch
+#
+# License: MIT
+# Copyright (c) 2012 Lennart C. L. Kats
RESULT=`git branch --no-color 2>/dev/null | grep '\* ' | grep --color=never -Eo '(\(|\w).*'`
View
@@ -1,4 +1,9 @@
#!/bin/bash -e
+#
+# git-info
+#
+# License: MIT
+# Copyright (c) 2012 Lennart C. L. Kats
while [ ! -d .git ] && [ ! `pwd` = "/" ]; do
cd ..
View
@@ -1,4 +1,9 @@
#!/bin/bash -e
+#
+# git-is-current
+#
+# License: MIT
+# Copyright (c) 2012 Lennart C. L. Kats
# Internal config
USE_BETA=0
View
@@ -1,6 +1,9 @@
#!/bin/bash -e
-
-# http://coderrr.wordpress.com/2011/10/31/github-hack-speed-up-git-push-and-git-pull/
+#
+# git-keep-alive
+#
+# License: MIT
+# Copyright (c) 2012 Lennart C. L. Kats
PINGHOST=google.com
View
@@ -1,4 +1,10 @@
#!/bin/bash -e
+#
+# git-l
+#
+# License: MIT
+# Copyright (c) 2012 Lennart C. L. Kats
+
if [ "$1" == "" ]; then
BRANCH=head
else
@@ -1,4 +1,9 @@
#!/bin/bash -e
+#
+# git-list-pull-requests
+#
+# License: MIT
+# Copyright (c) 2012 Lennart C. L. Kats
function getPulls() {
curl --compressed -s https://api.github.com/repos/$1/pulls?access_token=$GITHUB_TOKEN > /tmp/.git-list-i-$2
View
@@ -1,4 +1,9 @@
#!/bin/bash -e
+#
+# git-out
+#
+# License: MIT
+# Copyright (c) 2012 Lennart C. L. Kats
QUIET=
if [ "$1" == "-q" ]; then
View
@@ -1,4 +1,9 @@
#!/bin/bash -e
+#
+# git-pull-branch
+#
+# License: MIT
+# Copyright (c) 2012 Lennart C. L. Kats
OPTIONS=
while [ $# != 0 ]; do
View
@@ -1,4 +1,9 @@
#!/bin/bash -e
+#
+# git-pull-request
+#
+# License: MIT
+# Copyright (c) 2012 Lennart C. L. Kats
NO_FETCH=
View
@@ -1,4 +1,9 @@
#!/bin/bash -e
+#
+# git-push-branch
+#
+# License: MIT
+# Copyright (c) 2012 Lennart C. L. Kats
OPTIONS=
while [ $# != 0 ]; do

0 comments on commit a9daec4

Please sign in to comment.