Welcome to PhYsiX Space

Try to set up a place to store notes

0%

Git 命令及其他

git init
git remote -v
git remote add origin https://github.com/用户名/仓库.git
git add . (git add -A 更全,包含删除文件)
git commit -m "提交信息"
git push -u origin main

删除branch,查看提交历史,回滚

git push origin --delete 分支名称
git log
git checkout 历史代码

断网设置本地账户

net user NewUser /add
net localgroup Administrators NewUser /add
net user defaultuser0 /delete
net localgroup Administrators
OOBE\BYPASSNRO
shutdown -r -t 0

重新下载Microsoft store

Get-AppxPackage -AllUsers *Microsoft.WindowsStore* | ForEach { Add-AppxPackage -Register -DisableDevelopmentMode "$($_.InstallLocation)\AppXManifest.xml" }

显卡工作情况,网络适配器设置

nvidia-smi
ncpa.cpl
ipconfig /all
ping 8.8.8.8
netsh interface ipv4 show interfaces
Get-SmbConnection