我试图在我的Linux计算机上使用git p4.但由于某些原因,git-p4似乎存在问题.当我运行git p4命令时,我得到:
fatal: git was built without support for git-p4 (NO_PYTHON=1)
Run Code Online (Sandbox Code Playgroud)
知道为什么要显示这条消息吗?无论如何我能解决它吗?
我使用内核版本3.11.0的Ubuntu发行版.
先感谢您.
使用 git,我在 master 分支上工作并且有一些未添加和未提交的文件。我不想添加它们或将它们提交给主人。相反,我试图隐藏文件并移动到一个新分支以添加它们并在那里提交它们。但是,这失败并显示错误消息:“未找到藏匿处。”。请看下面的日志:
$git status
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: Makefile
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# newfile.c
no changes added to commit (use "git add" and/or "git commit -a")
Run Code Online (Sandbox Code Playgroud)
然后当我尝试使用 git stash
$git stash branch …Run Code Online (Sandbox Code Playgroud)