Last active
February 27, 2020 16:11
-
-
Save pvaviloff/7b97221adbdebe9bc06868bf628ba045 to your computer and use it in GitHub Desktop.
Revisions
-
pvaviloff revised this gist
Feb 27, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,7 +12,7 @@ function gtpush { fi if [ $? -ne 0 ]; then return $? fi git push origin "$1" -
pvaviloff revised this gist
Feb 27, 2020 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,12 +12,12 @@ function gtpush { fi if [ $? -ne 0 ]; then exit $? fi git push origin "$1" if [ $? -ne 0 ]; then git push --set-upstream origin "$1" fi } -
pvaviloff revised this gist
Feb 27, 2020 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,8 +2,8 @@ function dcbash { docker exec -it "$1" /bin/bash; } # test and push branch. # Example: gtpush 3xter-branch # Or: gtpush 3xter-branch path/to/Test.php function gtpush { if [ -z "$2" ]; then php fuel/vendor/bin/phpunit -
pvaviloff revised this gist
Feb 27, 2020 . 1 changed file with 9 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,15 @@ # docker container bash function dcbash { docker exec -it "$1" /bin/bash; } # test and push branch. # Example: gittestpush 3xter-branch # Or: gittestpush 3xter-branch path/to/Test.php function gtpush { if [ -z "$2" ]; then php fuel/vendor/bin/phpunit else php fuel/vendor/bin/phpunit "$2" fi if [ $? -ne 0 ]; then echo "failed test" -
pvaviloff revised this gist
Feb 27, 2020 . 1 changed file with 16 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,2 +1,17 @@ # docker container bash function dcbash { docker exec -it "$1" /bin/bash; } # test and push branch. Example: gittestpush 3xter-branch function gittestpush { php fuel/vendor/bin/phpunit if [ $? -ne 0 ]; then echo "failed test" else git push "$1" if [ $? -ne 0 ]; then git push --set-upstream origin "$1" fi fi } -
pvaviloff created this gist
Jan 29, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ # docker container bash function dcbash { docker exec -it "$1" /bin/bash; }