Posts by Lara Maia • 21 points
2 posts
-
2
votes3
answers297
viewsA: Git alias for the current branch name
You can control this by setting push.default. The option you want is Current. git config --global push.default current Then you can use only git push and you’ll get this behavior. For other possible…
-
0
votes2
answers289
viewsA: How to check if ip latency is greater than 0?
To get the values, you can use the command: ping $1 -c1 | cut -sd '/' -f5 But you still can’t compare a float to an integer, other than the problems that other users cited. If you really want to…
shell-scriptanswered Lara Maia 21