On 6/29/11 15:36 , Niclas Hedhman wrote:
I suggest that you create a remote branch 2.0 for now. There is a
script in bin/ for that already...

niclas:qi4j-sdk niclas$ cat bin/git-create-remote-branch.sh
#!/bin/sh
# git-create-remote-branch<branch_name>

if [ $# -ne 1 ]; then
          echo 1>&2 Usage: $0 branch_name
          exit 127
fi

export branch_name=$1
for DIR in core libraries extensions . ; do
   cd $DIR
   git push origin origin:refs/heads/${branch_name}
   git fetch origin
   git checkout --track -b ${branch_name} origin/${branch_name}
   git pull
   cd ..
done

So if I commit all my stuff in "develop", and then run the above with let's say "branch_2.0", will that then take all my changes and put into that branch? Or will it start with the develop branch that is in repo now? I really really don't want to lose my local changes...

/Rickard


_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to