FreeBSD 13-CURRENT(2020年12月)ぐらいにあったsubversion→git切り換えのメモ
詳しい説明等はなんとなく理解してから。
ソースコードのコミッターではなく、CURRENTなソースをコピーして使用するユーザ向け。
■subversion時代のsrcは削除。
# cd /usr/src
# rm -dRv ./* ./.arc* ./.git* ./.c*
■FreeBSD CURRENTのコピー(svnliteコマンドで言うところのsvnlite checkout https://svn.freebsd.org/src/head/)
# cd /usr/src
# git clone https://git.freebsd.org/src.git .
# cd /usr/src
# git clone https://git.freebsd.org/src.git .
# git config --global pull.ff only
■初回のコピー以降の更新(svnliteコマンドで言うところのsvnlite update)
# cd /usr/src
# git pull
関係URL等
https://wiki.freebsd.org/git
# git pull
関係URL等
https://wiki.freebsd.org/git
https://github.com/bsdimp/freebsd-git-docs/blob/main/URLs.md
https://github.com/bsdimp/freebsd-git-docs/blob/main/doc-cvt.md
https://github.com/bsdimp/freebsd-git-docs/blob/main/doc-cvt.md
→ Keeping currentを参照
■参照するブランチの切り換え
■参照するブランチの切り換え
https://qiita.com/sunstripe2011/items/53ae4184d021e927b3f3
コメント
コメントを投稿