我想发布一个我一直在研究的大型软件项目的一个小子集。我已经将整个项目作为压缩档案发布。我现在要发布关于GitHub.com的小子集。
将一个 S 代码的子集包装在 Git 网络主机上并共享该独立子集的 Git 内机制是什么? 我写了一个脚本, 提取整个工程之外的相关文件, 但无需指出, 我不想在提取后将文件置于 Git 之下 。
以“ GitHub. com ” 取代“ gitt 网络主机”, 以便更具体。
我想发布一个我一直在研究的大型软件项目的一个小子集。我已经将整个项目作为压缩档案发布。我现在要发布关于GitHub.com的小子集。
将一个 S 代码的子集包装在 Git 网络主机上并共享该独立子集的 Git 内机制是什么? 我写了一个脚本, 提取整个工程之外的相关文件, 但无需指出, 我不想在提取后将文件置于 Git 之下 。
以“ GitHub. com ” 取代“ gitt 网络主机”, 以便更具体。
您也许应该将您的子集转换为 < a href=> http:// git- scm. com/ book/ en/ Git- Tools- Submodules" rel= “ nofoln noreferr” >submodule a >, 这将是一个已公布的工程( 如果我正确分析“ git web hostorp”) 。 您可以使用 < a href=" https:// github.com/ apenwarr/ git-subtretre" rel= " nofolrer" > > > git-subtretre a > 。 那么您可能需要在您现有的 repo 上运行 < code> git floeral- branch , 才能用 < codead> subgit-subretre 来清除从“ main” 历史中提取的子集; 见 < a href=" < a href= "https://stackfrrent.com/ a/35.9759/7999" > > > > 。
P.S.
Note that since some version git-subtree
is now a part of Git (in its contrib/
directory, IIUC).
Im having some confusion with my git usage. I cloned a repo from one comp to the other, and the new clone is the state of the original that was active some time ago. So its cloning a past version. ...
I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...
I have a svn repo with various apps as subdirectory of a single svn repo. That worked because I could have checked out a partial, repo. As I cant do that with git obviously I need multiple repos. I ...
I understand how to merge branches together in git, and I love how easy it makes it. I have a branch that looks like this: project/ |--subproj1/ | |---(files) | |--subproj2/ |---(files) A ...
We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...
I get this on every git svn command I try. I am using git version 1.6.4.2 on OS 10.6 The initial git svn fetch works, and i can do further fetches after that, but they do not enter the log or update ...
Given I have a master branch and a other branch. In the other branch are files I don t want to commit (e.g. log files) so I ignored them in .gitignore. When I switch to the master branch, these ...
Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...