Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 4024ebd7 authored by dleurs's avatar dleurs
Browse files

resolving problem

parent 16e85bb7
No related branches found
No related tags found
No related merge requests found
......@@ -4,12 +4,13 @@ alias gof="cd /Users/dle/Documents/Flutter"
# FUNCTIONS
push() {
if [ $# -eq 0 ];
then
echo "No arguments supplied. You should use push \"initial commit\" [origin by default, else origin-froggit for both]";
echo "No arguments supplied. Example : push \"initial commit\" [remote : origin and froggit by default]";
else
commitMessage=$1
if [ "$commitMessage" = "" ];
if [ "$commitMessage" = "" ];
then
echo "No commit message";
else
......@@ -17,7 +18,7 @@ else
git add -A;
echo "\ngit commit -m \"${commitMessage}\";\n";
git commit -m $commitMessage;
if [ $# -eq 1 ];
if [ $# -eq 1 ];
then
echo "\ngit push origin master;\n";
git push origin master;
......@@ -28,12 +29,14 @@ else
then
echo "\ngit push origin master;\n";
git push origin master;
fi
fi
fi
fi
}
# PATH
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment