{"thread":{"id":"11362","subject":"more than 20 commands in everyday.txt","startedAt":"2007-12-19T22:56:18Z","lastAt":"2007-12-20T00:15:42Z","messageCount":3,"participants":["Miklos Vajna","Jakub Narebski","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"63811","messageId":"20071219225618.GA7378@genesis.frugalware.org","threadId":"11362","inReplyTo":null,"subject":"more than 20 commands in everyday.txt","fromName":"Miklos Vajna","fromEmail":"vmiklos@frugalware.org","sentAt":"2007-12-19T22:56:18Z","receivedAt":"2007-12-19T22:56:18Z","isPatch":false,"sender":{"key":"vmiklos@frugalware.org","avatar":"https://gravatar.com/avatar/401c1cbbb3a5d13e650c691a2c71d6fd0b80df1a01bc74d9f1972675dd58f2bd?d=mp&s=160"},"body":"hi,\n\nthis might seem to be a bit bikesheding, but i hope it isn't. today i\nteched git to someone who never used any scm so far. i showed him the\n\"everyday with git\" document, as i think it's a great start for newbies.\nactually i read it once but it was in the past, now i did it again and i\nthink there are some commands listed there which is not something we use\n\"every day\". of course it may be only me, that's why i ask. here are the\ncommands i rarely use and are in everyday.txt:\n\n- git-prune and git-repack: usually i use git-gc only. maybe prune and\n  repack could be removed from everyday.txt?\n\n- git-show-branch: what about mentioning gitk instead? i think it's much\n  more used - compared to git-show-branch\n\nwhat do you think about this? maybe i'm wrong, but if i'm right, then i\nwould provide a patch to update everyday.txt according to these\nsuggestions.\n\nthanks,\n- VMiklos\n"},{"id":"63814","messageId":"m34peep8vc.fsf@roke.D-201","threadId":"11362","inReplyTo":"20071219225618.GA7378@genesis.frugalware.org","subject":"Re: more than 20 commands in everyday.txt","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2007-12-19T23:23:09Z","receivedAt":"2007-12-19T23:23:09Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Miklos Vajna <vmiklos@frugalware.org> writes:\n\n> this might seem to be a bit bikesheding, but i hope it isn't. today i\n> teched git to someone who never used any scm so far. i showed him the\n> \"everyday with git\" document, as i think it's a great start for newbies.\n> actually i read it once but it was in the past, now i did it again and i\n> think there are some commands listed there which is not something we use\n> \"every day\". of course it may be only me, that's why i ask. here are the\n> commands i rarely use and are in everyday.txt:\n> \n> - git-prune and git-repack: usually i use git-gc only. maybe prune and\n>   repack could be removed from everyday.txt?\n\nI agree that git-repack should be removed (there is git-gc), and\ngit-prune should be replaced by mentioning --prune option to git-gc.\nThis document is for newbies, and they shouldn't need to run anything\nother than git-gc.\n\nBesides with new enough git the number of generated loose objects\nshould be greatly reduced: git now produces (small) packs if\npossible.\n \nI'm not sure if mentioning git-fsck at all, or at least this early is\na good idea for introductory tutorial. Running git-fsck should be\nrare, very rare.\n\n> - git-show-branch: what about mentioning gitk instead? i think it's much\n>   more used - compared to git-show-branch\n\nI would replace git-show-branch by git-show as command to see where\nyou are. and add gitk (which has now manpage) to view history.\ngit-show-branch output is a bit cryptic...\n\nPerhaps we could add git-reflog / \"git log -g\" somewhere around?\n\n> what do you think about this? maybe i'm wrong, but if i'm right, then i\n> would provide a patch to update everyday.txt according to these\n> suggestions.\n\nI'd like this. At least the first one is unambiguous.\n\n-- \nJakub Narebski\nPoland\nShadeHawk on #git\n"},{"id":"63821","messageId":"7vejdite4x.fsf@gitster.siamese.dyndns.org","threadId":"11362","inReplyTo":"20071219225618.GA7378@genesis.frugalware.org","subject":"Re: more than 20 commands in everyday.txt","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2007-12-20T00:15:42Z","receivedAt":"2007-12-20T00:15:42Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Miklos Vajna <vmiklos@frugalware.org> writes:\n\n> \"every day\". of course it may be only me, that's why i ask. here are the\n> commands i rarely use and are in everyday.txt:\n>\n> - git-prune and git-repack: usually i use git-gc only. maybe prune and\n>   repack could be removed from everyday.txt?\n>\n> - git-show-branch: what about mentioning gitk instead? i think it's much\n>   more used - compared to git-show-branch\n>\n> what do you think about this? maybe i'm wrong, but if i'm right, then i\n> would provide a patch to update everyday.txt according to these\n> suggestions.\n\nI think you would probably get unanimous yes for the former (I don't use\ngc myself but \"repack -a -d\" or \"repack -a -d -f\" regularly, though ---\nI am old fashioned and do not mind being counted as an oddball).\n\nFor the latter it all depends on whether you are in windowed environment\n(I usually don't).\n"}]}