01 2023 档案

摘要:1. 添加多个远程仓库,单独push/pull 在添加的原有 origin 远程仓库之后,添加 mirror 远程仓库 git remote add mirror https://url2.com/my_repo.git 对应 .git/config [core] repositoryformatv 阅读全文
posted @ 2023-01-29 10:44 山岚2013 阅读(538) 评论(0) 推荐(0) 编辑
摘要:装饰器:本质是一个闭包 作用:在不改变原有函数调用的情况下,给函数增加新的功能 def wrapper(fn): wrapper: 装饰器, fn: 目标函数 def inner(*args, **kwargs): # 在目标函数执行之前... ret = fn(*args, **kwargs) 执 阅读全文
posted @ 2023-01-02 16:44 山岚2013 阅读(26) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示