;;
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() {
echo "Git Custom Aliases Usage"
echo
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 {
echo "Running: git push origin master:refs/heads/master"
git push origin master:refs/heads/master
echo "you're currently not in a git repository"
fi
}
-