Skip to content
Switch branches/tags

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?
Go to file
Cannot retrieve contributors at this time
executable file 32 lines (31 sloc) 770 Bytes
# Simple script to rebase quickly my personal fork of rear to rear/rear/ master branch
# alias rebase='~/bin/' in .bashrc
echo " Rebase my forked ReaR directory with the master rear/rear branch"
echo "=================================================================="
cd $mydir
if [[ $? -ne 0 ]] ; then
echo "Error: Directory $mydir not found - please update in script \$mydir variable"
exit 1
echo "
Show current branch - should be master"
git branch
echo "
Fetch upstream
git fetch upstream
echo "
Rebase now
git rebase upstream/master
echo "
Show status
git status
echo "
Push to my personal master fork of rear
git push origin master
echo "
==== Rebase with master-rear finished ===="