git-archive Questions
3
I'm trying to checkout part of remote git repository. As recommended here, with help of command
git archive --format=zip --remote=http://path_to_repository
But I'm getting error message:
fatal...
Lunula asked 29/6, 2012 at 8:41
2
Solved
I'm using git-archive to archive a subdirectory in a git repo, like so:
git archive -o ../subarchive.zip HEAD subdir/*
However the resulting archive maintains the subdir/ directory structure, i....
Gastric asked 27/6, 2013 at 18:46
7
Solved
I have a website directory versioned with git. I use submodules for required libraries like Twitter Bootstrap, colorbox and lessjs because I should not track the sourcecode but only the version of ...
Kilian asked 8/2, 2013 at 23:37
5
Solved
Given a simple test repository with a single commit with two files, a and b, I can get a list of specific files:
$ git ls-files a
a
Or a list of all files excluding specific files:
$ git ls-fil...
Dorie asked 3/8, 2016 at 8:1
6
Solved
When I know I won't use a branch any more is it possible to close or lock it? Actually I would like to close a branch but I don't think it is possible to close a branch with GIT. what about the del...
Castor asked 2/3, 2016 at 4:53
7
Solved
I'm building my own rpm's. Usually I use git archive to get a tarball from the commit or tag I'm interested in (suppose I have put a tag 1.0):
git archive --format=tgz --prefix=product-1.0 1.0 >...
Processional asked 16/4, 2014 at 17:3
6
Solved
I'm very confused about how to use git archive.
I have a git repository with folder Foo, Bar and Baz at the top level. I need to export folder Foo in a SVN-ish sort of way for quick test deploymen...
Nudicaul asked 28/10, 2010 at 15:25
31
Solved
I've been wondering whether there is a good "git export" solution that creates a copy of a tree without the .git repository directory. There are at least three methods I know of:
git clo...
Copal asked 2/10, 2008 at 2:21
0
TL;DR: The git archive command seems to only either archive a single subdirectory or adhere to .gitattributes and exclude files/directories from the resulting ZIP, but cannot do both.
Say I have t...
Barbed asked 14/10, 2018 at 15:39
1
Solved
Can git archive include the directory that the .git project lives in?
For example, let's say my directory structure is like this:
-- /my-project-dir
----- /.git
----- /css
----- index.html
----- ...
Twit asked 6/2, 2015 at 15:22
2
Solved
I have a git repository with this .gitattributes:
my_script.py export-subst
Makefile export-ignore
README.md export-ignore
.gitattributes export-ignore
.gitignore export-ignore
hooks/ export-ignor...
Hoopoe asked 17/2, 2014 at 14:51
1
© 2022 - 2024 — McMap. All rights reserved.