mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-22 06:46:33 +00:00
Fix gh commands
This commit is contained in:
parent
285e21a2ee
commit
e6019c238b
@ -12,7 +12,7 @@ if [[ "$1" == "" ]]; then
|
|||||||
echo "This function will convert the URL into an ssh url and"
|
echo "This function will convert the URL into an ssh url and"
|
||||||
echo "then it will execute git pull --edit --no-ff to merge."
|
echo "then it will execute git pull --edit --no-ff to merge."
|
||||||
|
|
||||||
return
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Expects $* to be in the form of htts://github.com/user/repo branch
|
# Expects $* to be in the form of htts://github.com/user/repo branch
|
||||||
|
@ -15,7 +15,7 @@ if [[ "$1" == "" ]]; then
|
|||||||
echo "This function will fetch and clone the pull request as"
|
echo "This function will fetch and clone the pull request as"
|
||||||
echo "a branch."
|
echo "a branch."
|
||||||
|
|
||||||
return
|
exit 1
|
||||||
elif [[ "$2" == "" ]]; then
|
elif [[ "$2" == "" ]]; then
|
||||||
# No remote was supplied
|
# No remote was supplied
|
||||||
PRNUM="$1"
|
PRNUM="$1"
|
||||||
|
Loading…
Reference in New Issue
Block a user