5 lines
115 B
Bash
Executable file
5 lines
115 B
Bash
Executable file
#!/bin/sh
|
|
if git rev-parse @{u} 2>/dev/null >/dev/null
|
|
then git push "$@"
|
|
else git push --set-upstream "$@"
|
|
fi
|