Revert "move garb into git plugins; rename newpost as jknewpost"
This reverts commit d22a4cfa70.
This commit is contained in:
@@ -39,6 +39,13 @@ case $OSTYPE in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# git add remote branch
|
||||||
|
function garb() {
|
||||||
|
echo "Adding remote branch '$1'";
|
||||||
|
git config branch.$1.remote origin;
|
||||||
|
git config branch.$1.merge refs/heads/$1;
|
||||||
|
}
|
||||||
|
|
||||||
function git-help() {
|
function git-help() {
|
||||||
echo "Git Custom Aliases Usage"
|
echo "Git Custom Aliases Usage"
|
||||||
echo
|
echo
|
||||||
|
|||||||
@@ -5,13 +5,6 @@ function git_remote {
|
|||||||
git remote add origin $GIT_HOSTING:$1.git
|
git remote add origin $GIT_HOSTING:$1.git
|
||||||
}
|
}
|
||||||
|
|
||||||
# git add remote branch
|
|
||||||
function garb() {
|
|
||||||
echo "Adding remote branch '$1'";
|
|
||||||
git config branch.$1.remote origin;
|
|
||||||
git config branch.$1.merge refs/heads/$1;
|
|
||||||
}
|
|
||||||
|
|
||||||
function git_first_push {
|
function git_first_push {
|
||||||
echo "Running: git push origin master:refs/heads/master"
|
echo "Running: git push origin master:refs/heads/master"
|
||||||
git push origin master:refs/heads/master
|
git push origin master:refs/heads/master
|
||||||
@@ -99,3 +92,4 @@ else
|
|||||||
echo "you're currently not in a git repository"
|
echo "you're currently not in a git repository"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ editpost() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
jknewpost() {
|
newpost() {
|
||||||
|
|
||||||
# 'builtin cd' into the local jekyll root
|
# 'builtin cd' into the local jekyll root
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user