首页 > 其他分享 >git 问题

git 问题

时间:2023-09-09 16:11:18浏览次数:38  
标签:... git paths -- unknown 问题 branch

windows 

gs  修改的文件没有颜色高亮

 

linux:

gs报错


Local  HEAD: 364f01e6e8363c11259e3d22f520de3a2952c127
fatal: ambiguous argument '%C(dim': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
\n
Remote HEAD: 364f01e6e8363c11259e3d22f520de3a2952c127
fatal: ambiguous argument '%C(dim': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

 

 

gl报错

 

 error: unknown option `show-current'
usage: git branch [<options>] [-r | -a] [--merged | --no-merged]
   or: git branch [<options>] [-l] [-f] <branch-name> [<start-point>]
   or: git branch [<options>] [-r] (-d | -D) <branch-name>...
   or: git branch [<options>] (-m | -M) [<old-branch>] <new-branch>
   or: git branch [<options>] (-c | -C) [<old-branch>] <new-branch>
   or: git branch [<options>] [-r | -a] [--points-at]
   or: git branch [<options>] [-r | -a] [--format]

 

 

 gm
fatal: ambiguous argument '%C(dim': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

标签:...,git,paths,--,unknown,问题,branch
From: https://www.cnblogs.com/SaraMoring/p/17689617.html

相关文章

  • shell 执行git 拉取代码并运行jar包
    #!/bin/shecho“正在获取git最新代码,请输入正确的用户名与密码”output=gitpulloriginmastera=$?b=0if[$a=$b];thenecho“代码拉取成功,正在执行打包”mvnclean&&mvncompile&&mvninstallecho“jar包复制到/mydata/app”mv-f/mydata/idg-server/target/a.jar......
  • Windowsapp文件夹权限问题
    MicrosoftStore安装应用提示错误以及Windowsapps权限问题问题描述在Windows10/11MicrosoftStore上安装应用时,提示错误0x80070005,无法安装通过搜索相关问题,尝试手动下载appx程序时,仍然提示错误0x80070005,但相比MicrosoftStore安装,appx程序错误指出了C:\ProgramFiles\Window......
  • 在最新的flutter2解决webview无法访问http问题
    具体操作就是在flutter项目下创建/android/app/src/main/res/xml/network_security_config.xml文件,填上配置内容: <?xmlversion="1.0"encoding="utf-8"?><network-security-config><base-configcleartextTrafficPermitted="true">......
  • WSL 重装系统后 ext4.vhdx 拒绝访问问题
    关键字拒绝访问。[已退出进程,代码为4294967295(0xffffffff)]现在可以使用Ctrl+D关闭此终端,或按Enter重新启动。WSL重装系统后ext4.vhdx拒绝访问问题背景前一段时间重装系统了,重装后准备安装好WSL和Ubuntu后,直接替换下ext4.vhdx文件,就不用重新配置Ubunt......
  • LGHUB打不开一直加载的问题
    这个是罗技的LGHUBUpdaterService的问题,因为开不起来,所以程序起不来。有效的方法是重启电脑,它就正常了!当然,你某次开机要是遇上它更新,大概率又要寄~,还得重启。要是某次非正常关闭程序,它也要寄~不得不说,罗技这么个大厂,写的程序真是个NC。。。嗯,刚才重启了,打开后问我使用体验......
  • 前端使用proxy代理解决跨域的问题
     实现方法:本地向proxy代理服务器发送请求,proxy接收本地请求,转换为目标地址相同IP和端口向目标地址发送请求。配置:(注意:因为我是本地启动的后端服务器,所以使用地址为localhost'一些为/api')vue.config.jsdevServer:{open:true,proxy:{"/localhost":{/......
  • 迁移:mysql迁移dm8问题处理
    问题1表[xxxxx]中不能同时包含聚集KEY和大字段处理方法sp_set_para_value(1,'PK_WITH_CLUSTER',0);将迁移工具退回输入DM用户名密码的页面再继续下一步,或者关闭当前迁移窗口重新打开迁移任务(PK_WITH_CLUSTER是会话级参数,直接重试会因为本会话的参数未生效而依然报错)问题2第......
  • POJ2411 Mondriaan's Dream(多米诺密铺问题)
    不妨设\(n,m\)相等,常规的状压DP做法时间复杂度为\(O(n*2^n)\),但是可以通过套用公式使复杂度变为\(O(n^2)\)。具体地,用\(1*2\)的小长方形覆盖\(n*m\)的棋盘的方案数为\[\Large\prod\limits_{j=1}^{\left\lceil\frac{m}{2}\right\rceil}\prod\limits_{k=1}^{\l......
  • 1213:八皇后问题
    #include<iostream>#include<cstdio>#include<cstdlib>#include<cstring>#defineN100usingnamespacestd;inta[N][N],b[N];intvis[N][N];inttot;intdir[4][2]={{0,1},{0,-1},{1,0},{-1,0}};voiddfs(intstep){if(step==8+1){......
  • pytest运行警告问题解决:DeprecationWarning: pkg_resources is deprecated as an API
    前言最近在运行pytest的时候,经常出现这个警告DeprecationWarning:pkg_resourcesisdeprecatedasanAPISeehttps://setuptools.pypa.io/en/latest/pkg_resources.htmlfrompkg_resourcesimportiter_entry_points从警告上看是方法被弃用,肯定是因为新版弃用了旧版的语法。......