Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
osc-osd/gituptodate
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
38 lines (31 sloc)
1.02 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
#del all tags | |
git tag -d `git tag -l` >/dev/null 2>&1 | |
# update | |
git remote update >/dev/null 2>&1 | |
git remote prune origin | |
git checkout origin/master >/dev/null 2>&1 | |
git submodule update | |
git branch -f osc origin/osc | |
git branch -f master origin/master | |
git checkout master | |
git update-server-info | |
echo =========================================================================== | |
git branch -a -v | |
echo =========================================================================== | |
cd tgt | |
#del all tags | |
git tag -d `git tag -l` >/dev/null 2>&1 | |
#Update | |
git remote update >/dev/null 2>&1 | |
git remote prune origin | |
git branch -f osd-old origin/osd-old | |
git branch -f from-tomo origin/from-tomo | |
git branch -f osd origin/osd | |
git branch -f osd-next origin/osd-next | |
git update-server-info | |
echo =========================================================================== | |
git branch -a -v | |
echo =========================================================================== | |
cd .. |