26 lines
376 B
Bash
26 lines
376 B
Bash
#!/bin/bash
|
|
|
|
function acp() {
|
|
git add -A
|
|
NAME=$(git branch | grep '*' | sed 's/* //')
|
|
git commit -a -m "$NAME: $1"
|
|
git push
|
|
}
|
|
|
|
function pd() {
|
|
git pull origin develop:develop
|
|
}
|
|
|
|
function pdm() {
|
|
git pull origin develop:develop
|
|
git merge develop
|
|
}
|
|
|
|
function pm() {
|
|
git pull origin master:master
|
|
}
|
|
|
|
function pmm() {
|
|
git pull origin master:master
|
|
git merge master
|
|
} |