1. 首先你需要在本地安装 git 工具。你可以从 git 官网下载对应操作系统的安装程序进行安装。 2. 安装 git 完成后,你需要在命令行中输入以下命令,确认 git 工具是否安装成功。 “` git –version “` 如果安装成功,将显示 git 的版本信息。 3. 在你的项目文件夹中,打开命令行终端,使用以下命令克隆 pkg 的...
I tried each piece of advices give here, I am still unable to install git and node. pkg install git# this downloads the archive, but dpkg drops error while trying to access /data/data/com.termux/files
$ git commit -m “Initial commit” “` 现在,我们已经将pkg与git仓库关联起来了。如果想要将pkg上传到远程git仓库,我们需要先在远程git仓库中创建一个新的仓库,并将其与本地git仓库关联。具体操作如下: 1. 在远程git仓库中创建一个新的空仓库,获取其仓库地址(如:https://github.com/username/my_pkg.git)。
Code Issues Pull requests CLI tool and GitHub action to determine the program version based on a git ref. upkg Updated Nov 25, 2024 Shell orbit-online / trap.sh Star 0 Code Issues Pull requests Library for managing bash signal traps upkg Updated Jan 21, 2025 Shell l...
ubuntu22.04下编译ffmpeg-6.0,并且激活x264编码功能。记录一下踩坑(ERROR: x264 not found using pkg-config) 一.编译x264(在编译前确保安装了pkg-config,默认在/usr/share下) 1.下载x264源代码:(我下载到了~/Downloads下,各位随意就好) git clone https://code.videolan.org/videolan/x264.git...
git clone https://github.com/antfu/install-pkg.git # npm i -g pnpm cd install-pkg&&pnpm i # VSCode 直接打开当前项目 # code . 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 看源码一般先看 package.json,再看 script。
git clone https://github.com/antfu/install-pkg.git # npm i-g pnpm cd install-pkg&&pnpm i # VSCode 直接打开当前项目 # code. 看源码一般先看package.json,再看script。 代码语言:javascript 代码运行次数:0 复制 Cloud Studio代码运行 {"name":"@antfu/install-pkg","version":"0.1.0","scripts"...
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 1. 卸载(我觉得安装之后就不需要了卸载了) $ cd `brew --prefix` $ rm -rf Cellar $ brew prune $ rm `git ls-files` $ rm -r Library/Homebrew Library/Aliases Library/Formula Library/Cont...
git apply ..\pkg-fetch\patches\node.v18.12.1.cpp.patch --reject If no rejects, great! you are ready to make your new patch file. git add -A git diff --staged --src-prefix=node/ --dst-prefix=node/ > ..\pkg-fetch\patches\node.v18.13.0.cpp.patch ...
Allow clobbering non-npm files in global installs. Allow the npm version command to work on an unclean git repository. Allow deleting the cache folder with npm cache clean. Allow installing packages that have an engines declaration requiring a different version of npm. Allow installing packages ...