Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble following Usage instructions #2

Open
box293 opened this issue Feb 8, 2018 · 0 comments
Open

Trouble following Usage instructions #2

box293 opened this issue Feb 8, 2018 · 0 comments

Comments

@box293
Copy link

box293 commented Feb 8, 2018

I tried following the usage instructions but the git subtree add command fails.

troylea@office_itx_gentoo /tmp $ git init test
Initialized empty Git repository in /tmp/test/.git/
troylea@office_itx_gentoo /tmp $ cd test/
troylea@office_itx_gentoo /tmp/test $ git remote add autoconf-macros [email protected]:NagiosEnterprises/autoconf-macros
troylea@office_itx_gentoo /tmp/test $ ls -la
total 12
drwxr-xr-x  3 troylea troylea 4096 Feb  8 11:19 .
drwxrwxrwt 10 root    root    4096 Feb  8 11:19 ..
drwxr-xr-x  6 troylea troylea 4096 Feb  8 11:20 .git
troylea@office_itx_gentoo /tmp/test $  git subtree add --prefix=macros/ autoconf-macros master
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Working tree has modifications.  Cannot add.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant