dev: automated commit
This commit is contained in:
parent
29eb7780bd
commit
20eb437d32
7 changed files with 59 additions and 56 deletions
|
|
@ -6,7 +6,7 @@ function dc() {
|
|||
compdef _dc_completion dc 2>/dev/null
|
||||
_dc_completion_setup=1
|
||||
fi
|
||||
|
||||
|
||||
if [[ "$1" == "-h" || "$1" == "--help" ]]; then
|
||||
echo "Usage: dc [commit_message]"
|
||||
echo "Quickly commit all changes and push to remote"
|
||||
|
|
@ -111,7 +111,7 @@ function zrepo() {
|
|||
compdef _zrepo_completion zrepo 2>/dev/null
|
||||
_zrepo_completion_setup=1
|
||||
fi
|
||||
|
||||
|
||||
if [[ "$1" == "-h" || "$1" == "--help" ]]; then
|
||||
echo "Usage: zrepo <repo-name>"
|
||||
echo "Create a new bare git repository on remote server"
|
||||
|
|
@ -126,8 +126,8 @@ function zrepo() {
|
|||
fi
|
||||
|
||||
local REPO="$1"
|
||||
local SERVER="git@zvps"
|
||||
local PATH_ON_SERVER="/var/git/$REPO.git"
|
||||
local SERVER="git@doom"
|
||||
local PATH_ON_SERVER="~/$REPO.git"
|
||||
|
||||
echo "Creating repository '$REPO' on $SERVER..."
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue