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

Adjusting the documentation - 1.5 installing git - getopt package #1053

Closed
4wk- opened this issue May 11, 2018 · 4 comments
Closed

Adjusting the documentation - 1.5 installing git - getopt package #1053

4wk- opened this issue May 11, 2018 · 4 comments

Comments

@4wk-
Copy link

4wk- commented May 11, 2018

Small suggestion about compiling git documentation.
URL: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

"Installing from Source" part:

In order to be able to add the documentation in various formats (doc, html, info), these additional dependencies are required (Note: users of RHEL and RHEL-derivatives like CentOS and Scientific Linux will have to enable the EPEL repository to download the docbook2X package):

$ sudo dnf install asciidoc xmlto docbook2X getopt
$ sudo apt-get install asciidoc xmlto docbook2x getopt


On a Debian Stretch 9.4 fresh install:

# apt-get install getopt
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package getopt

I was stucked a bit.
Why? Because package getopt is already installed:

# getopt --version
getopt from util-linux 2.29.2
  • In order to avoid users to panic / loose time finding why we got this error, it might be usefull to add a sentence about this package?

Thanks for your awesome work anyway, great doc.

@4wk- 4wk- changed the title Adjusting the documentation - 1.5 installing git Adjusting the documentation - 1.5 installing git - getopt package May 11, 2018
@4wk- 4wk- changed the title Adjusting the documentation - 1.5 installing git - getopt package Adjusting the documentation - 1.5 installing git - getopt package May 11, 2018
@jnavila
Copy link
Member

jnavila commented May 11, 2018

I guess d35b434 was a bit too generic but only applied to rpm based distros. Dare to submit a PR for this? 👍

@4wk-
Copy link
Author

4wk- commented May 14, 2018

@jnavila sure.

However even if I'm "fluent" with git, I am not with Github. I cloned the repo, create a branch, edit a file, and commit, but I'm not able to push (getting the 403 error through https). I tried with the remote url to https://4wk-@github.com/progit/progit2.git/info/refs and https://git@github.com/progit/progit2.git/info/refs

What did I miss? -_-' I need to push before asking a PR, right?

@ben
Copy link
Member

ben commented May 14, 2018

Yes, but you don't use a username with the HTTPS protocol. Try clicking the "Fork" button at the top right of this repo's screen, then setting your remote to https://github.com/4wk-/progit2.git. After you push to your fork, follow the directions here.

@4wk-
Copy link
Author

4wk- commented May 15, 2018

Thank you @ben for the step I missed ;)

@ben ben closed this as completed in #1055 May 15, 2018
ben added a commit that referenced this issue May 15, 2018
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

3 participants