请有人告诉我这有什么问题吗?
我跑
$ sudo apt-get purge git; sudo apt-get autoremove; sudo apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
git-man liberror-perl
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
git* git-core*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 21.0 MB disk space will be freed.
Do you want to continue? [Y/n] …Run Code Online (Sandbox Code Playgroud) 我最近在 Amazon EC2 上设置了 ubuntu-server。我想将它用作我的 git 服务器,这样我就可以将我的存储库存储在那里。
那么,在哪里可以找到有关如何在 ubuntu 服务器上设置 git 的详细说明?所有这些 SSH 密钥和诸如此类的东西、多个用户等。
我已经git-gui通过sudo apt-get install git-gui. 但是我该如何开始呢?尝试使用搜索或git-gui命令没有找到 Git 的 UI 工具。
我已经进行了大量搜索并测试了不同的解决方案,但没有成功!
当我想推送我的代码时,我收到以下错误:
Warning: the ECDSA host key for 'git.mywebsite.ir' differs from the key for the IP address '164.138.23.11'
Offending key for IP in /home/alireza/.ssh/known_hosts:10
Matching host key in /home/alireza/.ssh/known_hosts:1
Are you sure you want to continue connecting (yes/no)? yes
Run Code Online (Sandbox Code Playgroud)
每次推送更改时,我应该怎么做才能删除此消息?任何的想法?
我想使用 github 备份和同步我的点文件。由于默认情况下所有点文件都驻留在 $home 中,我应该只git init在 $home 文件夹中,还是这是个坏主意?
git init在 $home 中执行后,我的想法是 .gitignore 所有非点文件和非点文件夹。
我已经在库存 Ubuntu 安装上安装了 xubuntu-desktop。
使用 ssh 或更具体地说是 git 时,我总是收到此警告
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-IVaeDO/pkcs11: No such file or directory
Run Code Online (Sandbox Code Playgroud)
我已经做了大量的谷歌搜索来在启动时禁用/启用正确的服务,但到目前为止我总是以这个错误告终。
任何关于完全删除 gnome-keyring 及其失败的见解,或者将 gnome-keyring 集成到 xubuntu/xfce 中都会很棒。
例如,我想下载 PCL 3d_rec_framework。
这是PCL的git仓库:https : //github.com/PointCloudLibrary/pcl.git
怎么下载这个目录?
https://github.com/PointCloudLibrary/pcl/tree/master/apps
我试过这个,但没有用:
sam@sam:~/code/pcl_standalone$ git clone https://github.com/PointCloudLibrary/pcl/tree/master/apps/3d_rec_framework
Cloning into '3d_rec_framework'...
error: The requested URL returned error: 403 while accessing https://github.com/PointCloudLibrary/pcl/tree/master/apps/3d_rec_framework/info/refs
fatal: HTTP request failed
sam@sam:~/code/pcl_standalone$
Run Code Online (Sandbox Code Playgroud)
我不想下载 PCL 的 git 并删除我不想要的所有其他目录。
如何只下载一个目录?
我有公钥。我认为这是到 git repo 所在服务器的 SSH 连接所需要的。
现在我不知道如何获得代码。有人可以告诉我我必须做的完整程序,以便我获得代码吗?
我正在尝试使用安装 Django
sudo apt-get install python-django
Run Code Online (Sandbox Code Playgroud)
但我收到错误
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-django is already the newest version.
The following packages were automatically installed and are no longer required:
bacula-common codeblocks-common enscript g++-4.9 g++-4.9-multilib
geany-common lib32stdc++-4.9-dev libabw-0.1-1 libboost-date-time1.58.0
libboost-filesystem1.55.0 libboost-iostreams1.55.0 libboost-iostreams1.58.0
libcdr-0.1-1v5 libcmis-0.5-5v5 libcodeblocks0 libdb5.3-java
libdb5.3-java-jni libe-book-0.1-1 libeot0 libetonyek-0.1-1 libfreehand-0.1-1
libhogweed2 libinput0 libjavascriptcoregtk-1.0-0 libmirclient8
libmirclient8driver-mesa libmircommon2 libmircommon3 libmirprotobuf0
libmspub-0.1-1 libmwaw-0.3-3 libodfgen-0.1-1 liborcus-0.10-0v5
libpagemaker-0.0-0 libpoppler46 libqjson0 librevenge-0.0-0
libspice-client-gtk-2.0-4 libts-0.0-0 libvisio-0.1-1 libwebkitgtk-1.0-0
libwebkitgtk-1.0-common libwpd-0.10-10 libwpg-0.3-3 libwps-0.3-3 …Run Code Online (Sandbox Code Playgroud)