Sign inSign up

1018808441/git

By 1018808441

•Updated over 7 years ago

Image
0

642

1018808441/git repository overview

⁠单独使用
docker run -ti --rm -v ${HOME}:/root -v $(pwd):/git 1018808441/git --version
⁠全局使用
vim ~/.bashrc

function git () {
    (docker run -ti --rm -v ${HOME}:/root -v $(pwd):/git 1018808441/git "$@")
}

source ~/.bashrc
⁠每次都要输密码解决
git config --global credential.helper store

Tag summary

Content type

Image

Digest

Size

12.3 MB

Last updated

over 7 years ago

docker pull 1018808441/git