...
Code Block | ||||
---|---|---|---|---|
| ||||
#!/bin/bash echo Please input your commit message below \(blank to put as "bug fix"\) read commit sudo -u apache git pushconfig --fglobal origin master | ||||
Code Block | ||||
| ||||
#!/bin/bash sudopush.default simple #sudo -u apache git branch --set-upstream-to=origin/master master sudo -u apache git pull sudo git add . if [ ! "$commit" ]; then sudo -u apache git fetch origin master commit -m "bug fix" else sudo -u apache git pullcommit origin master --allow-unrelated-histories-m "$commit" fi sudo -u apache git push sudo -u apache git pull if [ "$2"] then sudo chmod 775 $2 fi |
Code Block | ||||
---|---|---|---|---|
| ||||
#!/bin/bash
sudo -u apache git pull |
Code Block | ||||
---|---|---|---|---|
| ||||
#!/bin/bash
sudo -u apache git pull |
Code Block | ||||
---|---|---|---|---|
| ||||
#!/bin/bash sudo -u apache git branch --set-upstream-to=origin/master master sudo -u apache git fetch pullorigin --rebasemaster sudo -u apache git push -fpull origin master --allow-unrelated-histories |
Code Block | ||||
---|---|---|---|---|
| ||||
#!/bin/bash echo Please input your commit message below \(blank to put as "bug fix"\) read commit sudo -u apache git branch --set-upstream-to=origin/master master sudo -u apache git pull sudo -u apache git add . if [ ! "$commit" ]; then sudo -u apache git commit -m "bug fix" else sudo -u apache git commit -m "$commit" fi sudo -u apache git push sudo -u apache git pull |
Code Block | ||||
---|---|---|---|---|
| ||||
#!/bin/bash
sudo -u apache git push -f origin master |
Code Block | ||||
---|---|---|---|---|
| ||||
#!/bin/bash
sudo -u apache git branch --set-upstream-to=origin/master master
sudo -u apache git pull --rebase
sudo -u apache git push -f origin master |
Code Block | ||||
---|---|---|---|---|
| ||||
#!/bin/bash echo Please input your clean up message below \(blank to put as "clean up commit messages"\) read commit sudo -u apache git pull sudo -u apache git branch --set-upstream-to=origin/master master sudo -u apache git checkout --orphan latest_branch sudo -u apache git add -A if [ ! "$commit" ]; then sudo -u apache git commit -am "clean up commit messages" else sudo -u apache git commit -am "$commit" fi sudo -u apache git branch -D master sudo -u apache git branch -m master sudo -u apache git push -f origin master |
...