Timeline for Git Push Bash script
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 27, 2022 at 16:16 | history | edited | Loki Astari | CC BY-SA 4.0 |
added 283 characters in body
|
| Jun 25, 2022 at 15:04 | comment | added | iBug |
Depending on common invocation patterns, #!/bin/bash -e might not be a good idea if you want to (to some extent) enforce the -e flag, as it's just bypassed if the script is invoked with bash ./script.sh. Use set -e on the following line may be better.
|
|
| Jun 24, 2022 at 20:19 | comment | added | Logan | Also, I have not really done a whole lot with bash scripts... Do you know how to set a default variable? | |
| Jun 24, 2022 at 20:10 | comment | added | Loki Astari | You could have an option to ask for user input. But by default you should provide all the parameters on the command line to the script. | |
| Jun 24, 2022 at 19:56 | comment | added | Logan | You are saying that, in order to make it automatic, one would have to not include user prompts, correct? | |
| Jun 24, 2022 at 18:54 | history | answered | Loki Astari | CC BY-SA 4.0 |