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

Add git-ignore-io #448

Merged
merged 25 commits into from
Oct 28, 2015
Merged

Add git-ignore-io #448

merged 25 commits into from
Oct 28, 2015

Conversation

Lee-W
Copy link
Contributor

@Lee-W Lee-W commented Sep 17, 2015

Add git ignore-io to generate sample gitignore file from gitignore.io
(Sorry, I accidentally closed previous pull requests)

echo " [-l|--list-in-table] Print available types in table format"
echo " [-L|--list-alphabetically] Print available types in alphabetical order "
echo " [-s|--search] <word> Search word in available types"
echo " [-t|--show-update-time] Show the last modified time of ~/.gi_list (where the list of available types stored)"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where the list of available types is stored

@nicolaiskogheim
Copy link
Collaborator

I think this will be really usefull to have, and I'm looking forward to if this is merged.

Can you take a look at the other man-pages and try to mimic them more? I want you to review the synopsis and options sections.

@nicolaiskogheim
Copy link
Collaborator

-e or --export to replace .gitignore with the result

Maybe this option should be -r and --replace. I don't think export really says what it does.

@Lee-W
Copy link
Contributor Author

Lee-W commented Sep 19, 2015

@nicolaiskogheim
I'm working on the man-pages.
The replace option is great. I think export is weird, but cannot figure out a better name. Thanks!

@nicolaiskogheim
Copy link
Collaborator

How about changing export to replace?

@Lee-W
Copy link
Contributor Author

Lee-W commented Sep 20, 2015

That's great. I updated it.

@Lee-W
Copy link
Contributor Author

Lee-W commented Sep 21, 2015

@nicolaiskogheim I updated the manual.

@nicolaiskogheim
Copy link
Collaborator

👍

Question: Will the gitignore be placed in whatever directory is the current one when you run git ignore-io?

@Lee-W
Copy link
Contributor Author

Lee-W commented Sep 21, 2015

@nicolaiskogheim
Sorry for my English.
I'm not quite understand your question.
The git ignore-io will create or append content to ./.gitignore.
Did I answer you question?

@nicolaiskogheim
Copy link
Collaborator

Hey! I'm so sorry, I forgot about this. I have been using your command the last month or so, and I find it really usefull.

I have tested this on OSX 10.9 with zsh, and FreeBSD. No problems here

@Lee-W
Copy link
Contributor Author

Lee-W commented Oct 27, 2015

Glad that you like this command~

@hemanth
Copy link
Collaborator

hemanth commented Oct 28, 2015

Let us merge this for now!

hemanth added a commit that referenced this pull request Oct 28, 2015
@hemanth hemanth merged commit 1d8534b into tj:master Oct 28, 2015
@qw3rtman qw3rtman mentioned this pull request Dec 27, 2015
tardypad pushed a commit to tardypad/git-extras that referenced this pull request Jul 13, 2016
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

Successfully merging this pull request may close these issues.

3 participants