【发布时间】:2012-09-27 08:52:45
【问题描述】:
我知道我可以使用以下命令将文件夹和文件配置为被 subversion 忽略:
svn propset svn:ignore build . // Ignores the build folder.
svn propedit svn:ignore . // Opens an editor.
不过,我使用git svn 来签出存储在颠覆服务器上的存储库。我找不到以这种方式进行配置的命令。以下列表显示了由zsh 完成为git svn 建议的所有命令:
$ git svn
blame -- show what revision and author last modified each line of a file:
branch -- create a branch in the SVN repository
clone -- same as init, followed by fetch
commit-diff -- commit diff of two tree-ishs
create-ignore -- recursively finds the svn:ignore property and creates .gitignore files
dcommit -- commit diffs from given head onto SVN repository
fetch -- fetch revisions from the SVN remote
find-rev -- output git commit corresponding to the given SVN revision's hash
info -- show information about a file or directory
init -- initialize an empty git repository with additional svn data
log -- output SVN log-messages
propget -- get a given SVN property for a file
proplist -- list the SVN properties stored for a file or directory
rebase -- fetch revs from SVN parent of HEAD and rebase current work on it
set-tree -- commit given commit or tree to SVN repository
show-externals -- show the subversion externals
show-ignore -- output corresponding toplevel .gitignore file of svn:ignore
tag -- create a tag in the SVN repository
问题:
- 你知道有没有办法通过
git svn编辑颠覆忽略配置?
【问题讨论】:
标签: svn git-svn svnignore svn-propset