Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 755 Bytes

git.md

File metadata and controls

32 lines (24 loc) · 755 Bytes

git cheat sheet

修改remote git 访问url

  • git remote set-url origin git@github.com:yijxiang/Cisco_IOS_XE_rogue.git

显示git设置

  • git config --list credential.helper=osxkeychain filter.lfs.clean=git-lfs clean -- %f filter.lfs.smudge=git-lfs smudge -- %f filter.lfs.process=git-lfs filter-process filter.lfs.required=true user.name=user user.email=user@email.com core.excludesfile=.gitignore core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=true core.ignorecase=true core.precomposeunicode=true submodule.active=. remote.origin.url=git@github.com:yijxiang/Cisco_IOS_XE_rogue.git remote.origin.fetch=+refs/heads/:refs/remotes/origin/ branch.main.remote=origin branch.main.merge=refs/heads/main