Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Tarball fork

fearthecowboy edited this page Mar 13, 2012 · 1 revision

based on ideas from:

http://happygiraffe.net/blog/2008/02/07/vendor-branches-in-git/

New fork:

Create project on github

tar xvf openssl-1.0.0d.tar 
ren openssl-1.0.0d openssl
cd openssl 
git init
git add .
git commit -a -m "import snapshot of 1.0.0d from openssl.org"
git tag upstream-1.0.0d
git push -u origin master 
git push --tags 

git branch upstream
mkdir COPKG touch /c COPKG\.buildinfo
git commit -a -m "got working ptk build script. Yay!"
git push 

*** To merge upstream changes ***

git checkout upstream

erase * 
for /d %v in (*) do rmdir /s /q %v
<drop in new content from tarball>
    cd ..
    tar xvf openssl-1.0.0f.tar 
    xcopy /s /e /h openssl-1.0.0f openssl
    rmdir /s /q openssl-1.0.0f
cd openssl
git add .
git commit -a -m "import snapshot of 1.0.0f from openssl.org"
git tag upstream-1.0.0f
git push origin upstream

git checkout master
git merge upstream
git gc 

git push 
git push --tags 
Clone this wiki locally