2018-01-21 21:16:45 -06:00
|
|
|
# Clone from IPv6: git clone git://ping.wit.com/git/witcom
|
|
|
|
# Clone with ssh keys: git clone ssh://root@ping.wit.com/var/lib/git/witcom
|
2018-01-21 04:01:52 -06:00
|
|
|
|
|
|
|
all:
|
2018-01-29 00:52:10 -06:00
|
|
|
./clone-witcom.sh
|
2018-01-21 04:01:52 -06:00
|
|
|
|
2018-01-29 01:12:50 -06:00
|
|
|
pull:
|
|
|
|
./clone-witcom.sh update
|
|
|
|
|
2018-01-21 04:01:52 -06:00
|
|
|
setup:
|
|
|
|
echo put stuff here
|
|
|
|
|
|
|
|
push:
|
|
|
|
git add --all
|
2018-01-21 08:02:06 -06:00
|
|
|
-git commit -a
|
2018-01-21 04:01:52 -06:00
|
|
|
git push
|
|
|
|
|
2018-01-21 07:21:48 -06:00
|
|
|
# git submodule add git://ping.wit.com/git/witcoredns witcoredns
|
|
|
|
update:
|
2018-01-21 08:02:06 -06:00
|
|
|
git pull
|
2018-01-21 07:02:39 -06:00
|
|
|
git submodule update --init --recursive
|
|
|
|
|
2018-01-21 04:01:52 -06:00
|
|
|
# use this allow a new tree on the git server
|
|
|
|
resetgit:
|
|
|
|
mkdir myrepo
|
|
|
|
cd myrepo && touch .git/git-daemon-export-ok
|
|
|
|
cd myrepo && git config --bool core.bare true
|