Skip to content

Commit

Permalink
Merge pull request #3 from 8percent/170111_fix_failed_push
Browse files Browse the repository at this point in the history
170111 fix failed push
  • Loading branch information
nalssing authored Jan 12, 2017
2 parents 8a4b7f4 + 68d6d1c commit 8934025
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion git-feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ BR_MASTER="master"

if [ $# -ne 1 ]
then
echo "usage: git feature FEATURE_NAME"
echo "usage: $0 FEATURE_NAME"
exit 1
fi

Expand Down
8 changes: 7 additions & 1 deletion git-pr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

if [ $# -ne 0 ]
then
echo "usage: git pr"
echo "usage: $0"
exit 1
fi

Expand All @@ -25,6 +25,12 @@ else
git push -u origin $CURRENT
fi

if [ $? -ne 0 ]
then
echo "Push failed"
exit 1
fi

# Compare url 만들고 브라우저로 열기

GITHUB_ID=$(git config --get remote.origin.url | sed -e 's/^[^:]*://' | sed -e 's/.git$//')
Expand Down
2 changes: 1 addition & 1 deletion git-release
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

if [ $# -ne 0 ]
then
echo "usage: git release"
echo "usage: $0"
exit 1
fi

Expand Down

0 comments on commit 8934025

Please sign in to comment.