added small doc on how to include EWF git repo in another git repository
This commit is contained in:
15
doc/how-to-include-ewf-in-my-git-repository.txt
Normal file
15
doc/how-to-include-ewf-in-my-git-repository.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
GOAL: include EWF into your own git repository
|
||||
For instance, let's put it under lib/EWF
|
||||
|
||||
git remote add -f _ewf https://github.com/EiffelWebFramework/EWF.git
|
||||
git merge --squash -s ours --no-commit _ewf/master
|
||||
git read-tree --prefix=lib/EWF/ -u _ewf/master
|
||||
git commit -m "Imported EWF into subtree lib/EWF/"
|
||||
|
||||
Then to update lib/EWF
|
||||
git pull -X subtree=lib/EWF _ewf master
|
||||
|
||||
From another git clone, reconnect this "import"
|
||||
git remote add -f _ewf https://github.com/EiffelWebFramework/EWF.git
|
||||
git merge -s ours --no-commit --squash _ewf/master
|
||||
and then update lib/EWF as described before
|
||||
Reference in New Issue
Block a user