Former-commit-id:6c95a4db02
[formerly4d2baf48d9
] [formerlyaa46aa3713
] [formerlya2c88aee12
[formerlyaa46aa3713
[formerly 44388508c45f2c560301558c4fb297b806ba55a7]]] Former-commit-id:a2c88aee12
Former-commit-id: 05e4bb28fa76f6cf166544e27f172c99b046f856 [formerlybc15e39e5e
] Former-commit-id:927fd978b4
15 lines
232 B
Bash
Executable file
15 lines
232 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Get current branch name
|
|
branch=`git branch | grep "*"`
|
|
branch="${branch:2}"
|
|
|
|
# Set remote push repo to branch
|
|
git config remote.origin.push $branch:refs/for/$branch
|
|
|
|
git pull --rebase
|
|
|
|
# Push now
|
|
git push
|
|
|
|
git status
|