| 2013-10-21 |
| ← milli left | 00:00 |
| → cmpera joined | 00:02 |
| ← penguin42 left | 00:02 |
| → hashpuppy joined | 00:04 |
| → avolz joined | 00:06 |
| ← DonRichie left | 00:07 |
| ← avolz left | 00:07 |
| → DonRichie joined | 00:07 |
| → eaj joined | 00:07 |
| → maestrojed joined | 00:09 |
| ← pfFred left | 00:10 |
| ← bklane left | 00:10 |
| ← kukks left | 00:10 |
| → bklane joined | 00:10 |
| ← bonhoeffer_ left | 00:10 |
| → juvenal joined | 00:11 |
| ← eaj left | 00:12 |
| → bklane_ joined | 00:12 |
| ← bklane left | 00:13 |
| ← SeySayux left | 00:14 |
| ← maestrojed left | 00:15 |
| → jeskola joined | 00:15 |
| → SeySayux joined | 00:16 |
| ← jeskola left | 00:16 |
| → varlog joined | 00:17 |
| → eaj joined | 00:17 |
| → maestrojed joined | 00:18 |
| → elb0w joined | 00:19 |
| → petey_ joined | 00:20 |
| ← calucian left | 00:21 |
| ← eaj left | 00:22 |
| ← rafaqueque left | 00:23 |
| → rhl joined | 00:26 |
| juvenal → juvenal_away | 00:27 |
| ← Davey left | 00:28 |
| → dyng joined | 00:28 |
| ← Ozch left | 00:30 |
| ← raf left | 00:30 |
| ← hyperair left | 00:30 |
| ← dyng left | 00:33 |
| ← elb0w left | 00:34 |
| → [1]JPeterson joined | 00:34 |
| ← JPeterson left | 00:36 |
| → dyng joined | 00:36 |
| → milli joined | 00:36 |
| ← mdiers left | 00:36 |
| → mz` joined | 00:37 |
| → v0n joined | 00:37 |
| ← ZaFrost left | 00:38 |
| ← hashpuppy left | 00:38 |
| → raf joined | 00:38 |
| ← mz` left | 00:41 |
| → mz` joined | 00:41 |
| ← bklane_ left | 00:42 |
| → Davey joined | 00:44 |
| → CKyle joined | 00:45 |
| ← pinage404 left | 00:46 |
| → asQuirreL joined | 00:47 |
| ← harish left | 00:49 |
| ← petey_ left | 00:49 |
| ← ksool left | 00:50 |
| → petey_ joined | 00:50 |
| → sinusss joined | 00:50 |
| → curvedmark joined | 00:51 |
| ← Risto- left | 00:51 |
|
beingbrown
| gebbione: sorry, I was away for a second. | 00:54 |
|
| you still around? | 00:54 |
| ← therealGent left | 00:54 |
|
gebbione
| yep | 00:56 |
|
| i didnt try with that key problem anymore | 00:56 |
|
| i had to use a password to git clone | 00:57 |
| → sswv joined | 00:57 |
| → mizu_no_oto joined | 00:57 |
| ← CKyle left | 00:58 |
| → rchavik joined | 00:58 |
| → AWinterman joined | 00:58 |
| ← asQuirreL left | 00:59 |
| ← sswv left | 00:59 |
| ← varlog left | 01:01 |
|
beingbrown
| hm. | 01:02 |
|
| ssh server info and see if git is in your profile. | 01:02 |
| ← shinnya left | 01:02 |
| ← s00pcan left | 01:05 |
| → s00pcan joined | 01:05 |
| → dhruvasagar joined | 01:05 |
| ← sinusss left | 01:07 |
| → InvidFlower joined | 01:07 |
| ← Freeder left | 01:08 |
| → mribeirodantas joined | 01:08 |
| → lembacon joined | 01:08 |
| ← BSaboia left | 01:10 |
|
gebbione
| i stopped the instance ... i ll check tomorrow, thanks | 01:11 |
| ← herdingcat left | 01:13 |
| ← beingbrown left | 01:13 |
| → Vampire0_ joined | 01:14 |
| → vkz joined | 01:15 |
| ← gebbione left | 01:15 |
| → hyperair joined | 01:16 |
| ← Vampire0 left | 01:17 |
| → dsdeiz joined | 01:19 |
| → eaj joined | 01:19 |
| → harish joined | 01:21 |
| ← stamina left | 01:22 |
| ← LuxuryMode left | 01:22 |
| ← eaj left | 01:23 |
| ← Dougie187 left | 01:24 |
| → LuxuryMode joined | 01:24 |
| → ruskie joined | 01:25 |
| ← LuxuryMode left | 01:25 |
| ← cenuij left | 01:28 |
| juvenal_away → juvenal | 01:28 |
| → tmcmahon joined | 01:29 |
| → intripoon_ joined | 01:29 |
| ← AndreSomers left | 01:30 |
| → AndreSomers joined | 01:32 |
| ← dhruvasagar left | 01:32 |
| → dhruvasagar joined | 01:32 |
| → devoldmx3 joined | 01:33 |
| ← intripoon left | 01:33 |
| ← raf left | 01:33 |
| ← devoldmx left | 01:37 |
| ← Zarthus left | 01:38 |
| ← terminalRepeat left | 01:38 |
| ← chrisss404 left | 01:40 |
| → CKyle joined | 01:41 |
| → chrisss404 joined | 01:42 |
| → daito joined | 01:45 |
| → weiyang joined | 01:45 |
| → Xiti` joined | 01:45 |
| → nicedice_ joined | 01:45 |
| → decimad2 joined | 01:46 |
| → xxpor_ joined | 01:46 |
| → diegoviola joined | 01:46 |
| ← pandeiro left | 01:47 |
| ← harish left | 01:48 |
| ← xxpor left | 01:48 |
| ← pierremb left | 01:48 |
| ← decimad left | 01:48 |
| ← Xiti left | 01:48 |
| ← nicedice left | 01:48 |
| ← staafl left | 01:48 |
| → staafl joined | 01:49 |
| ← tmcmahon left | 01:50 |
| juvenal → juvenal_away | 01:52 |
| ← rhl left | 01:53 |
| ← g0bl1n left | 01:55 |
| → luc__ joined | 02:00 |
| → kcj joined | 02:00 |
| → magu|q joined | 02:01 |
| → CorySimmons joined | 02:02 |
| ← maqr left | 02:02 |
|
CorySimmons
| Hey guys, I just ran `git rm -r` thinking it would remove items from my staging area that had been deleted from my project, but instead it actually removed everything from my project… :( | 02:02 |
|
| I haven't done anything since then. Is there a way to take an immediate step back? | 02:03 |
|
| I have a lot of unsaved work. | 02:03 |
| ← eletuchy left | 02:03 |
| → eletuchy joined | 02:03 |
|
CorySimmons
| Er I did `git rm -r *` | 02:04 |
|
| is there a way to immediately undo that? | 02:04 |
| → fuzzybun_ joined | 02:04 |
|
CorySimmons
| I haven't pushed or anything, but I had a bunch of work I hadn't pushed as well. I'm afraid if I just reset or something it will just pull down the github repo and all my edits will be gone | 02:05 |
|
| Thoroughly freaking out here. :( | 02:05 |
| ← the_cybersphinx left | 02:05 |
| ← redr0ket|DEN left | 02:06 |
| → the_cybersphinx joined | 02:06 |
| → therealGent joined | 02:07 |
| ← fuzzybunny69y left | 02:07 |
|
SamB
| CorySimmons: don't worry! | 02:07 |
|
CorySimmons
| :*( | 02:08 |
| → LuxuryMode joined | 02:08 |
|
CorySimmons
| SamB: Is there hope? :[ | 02:08 |
| → avolz joined | 02:08 |
|
SamB
| "git reset --hard HEAD" will set your index and working tree to match your latest local commit | 02:08 |
|
CorySimmons
| Crap. Tried that and it reset back to where I hadn't made any changes. | 02:10 |
|
SamB
| I guess you forgot to actually commit any of the changes | 02:10 |
|
CorySimmons
| Yeah | 02:10 |
|
| But it's weird because it's showing the commit message | 02:11 |
|
SamB
| but there might still be hope ... | 02:11 |
|
CorySimmons
| Wait | 02:11 |
|
| I did `git add .` when I made the changes | 02:11 |
|
| Then it showed all the deleted stuff | 02:11 |
|
| So before I pushed I ran `git rm -r *` | 02:11 |
|
| Which deleted everything | 02:11 |
|
SamB
| hold on a moment | 02:11 |
|
CorySimmons
| Then I just ran your `git reset —hard HEAD` which says the commit message I made, BUT it reset my local branch to the version before any edits | 02:12 |
| ← mtk left | 02:12 |
| → jon_r joined | 02:12 |
|
CorySimmons
| Could I rebase or something? | 02:14 |
| → tmcmahon joined | 02:14 |
|
SamB
| try "git fsck --unreachable"? | 02:14 |
| ← tmcmahon left | 02:14 |
| ← LuxuryMode left | 02:15 |
| ← avolz left | 02:15 |
| ← vkz left | 02:15 |
|
CorySimmons
| Wait | 02:15 |
|
| Wait | 02:15 |
|
| I think your git reset thing worked | 02:15 |
|
| Nevermind I suck | 02:15 |
|
| It worked right | 02:16 |
|
| I didn't rm the files I rm so they're back | 02:16 |
|
| But I can just rm them and it's fine | 02:16 |
| → yhager joined | 02:17 |
| ← v0n left | 02:17 |
| ← joshsmith left | 02:18 |
| → eaj joined | 02:19 |
|
CorySimmons
| SamB: Awesome. Got it! Thank you. :) | 02:20 |
| ← CorySimmons left | 02:21 |
| ← mizu_no_oto left | 02:21 |
| → LuxuryMode joined | 02:21 |
| → beingbrown joined | 02:22 |
| ← ruskie left | 02:23 |
| → ruskie joined | 02:23 |
| ← beingbrown left | 02:23 |
| → PaulCapestany joined | 02:24 |
| ← eaj left | 02:24 |
| → fairuz1 joined | 02:24 |
| → LuxuryMo_ joined | 02:25 |
| ← fairuz left | 02:25 |
| ← LuxuryMode left | 02:26 |
| → redrocket joined | 02:27 |
| → harish joined | 02:28 |
| → eaj joined | 02:29 |
| → vkz joined | 02:31 |
| ← PeterBooker left | 02:32 |
| ← luke_ left | 02:33 |
| ← eaj left | 02:35 |
| → xxpor__ joined | 02:35 |
| ← petey_ left | 02:35 |
| ← LuxuryMo_ left | 02:35 |
| → lavaman joined | 02:36 |
| ← mobileblue left | 02:37 |
| → Cassiel joined | 02:38 |
| ← xxpor_ left | 02:38 |
| → mobileblue joined | 02:39 |
| ← jday_ left | 02:40 |
| ← Gooder left | 02:42 |
| → Chris____ joined | 02:43 |
| → pasky joined | 02:46 |
| → MoHaX joined | 02:46 |
| ← vkz left | 02:48 |
| → darinm joined | 02:50 |
| darinm → darinm_away | 02:51 |
| ← Davey left | 02:51 |
| ← lavaman left | 02:52 |
| ← breck7 left | 02:53 |
| → breck7 joined | 02:53 |
| → midi joined | 02:53 |
| midi → abdostar | 02:54 |
| ← MoHaX left | 02:56 |
|
abdostar
| hello, I am new to git and I need some help. I created a folder, init it, add., commit, but when I try to push it I get an error message | 02:56 |
| ← dhruvasagar left | 02:57 |
| ← breck7 left | 02:58 |
|
Chris____
| abdostar, what is the error? | 03:00 |
| ← raonyguimaraes left | 03:00 |
|
abdostar
| Chris____: The current branch master has no upstream branch. | 03:01 |
| ← mribeirodantas left | 03:01 |
| ← DonRichie left | 03:02 |
|
Chris____
| abdostar, Does this help? http://stackoverflow.com/questions/16493396/git-master-branch-has-no-upstream-branch | 03:02 |
|
abdostar
| Chris____: gave me a second to try it | 03:03 |
| → rurufufuss joined | 03:04 |
| ← Spyro left | 03:06 |
| → defaultro joined | 03:06 |
| ← InvidFlower left | 03:07 |
| → Spyro joined | 03:07 |
| ← Pyrogerg left | 03:07 |
| → MoHaX joined | 03:08 |
| → varlog joined | 03:10 |
|
abdostar
| Chris____: no luck with this solution | 03:11 |
| → fobius joined | 03:12 |
| ← cannonball left | 03:13 |
| ← germanoak left | 03:17 |
| → sqlnoob joined | 03:17 |
| ← maestrojed left | 03:21 |
| → titou__ joined | 03:23 |
| → j416_ joined | 03:23 |
| ← mitsuhiko left | 03:23 |
| ← _br_ left | 03:23 |
| ← jds left | 03:24 |
| ← twisted` left | 03:24 |
| ← titusjose left | 03:24 |
| → titusjose joined | 03:24 |
| ← j416 left | 03:24 |
| ← Bucciarati left | 03:24 |
| → tdguy joined | 03:24 |
| ← AndreSomers left | 03:25 |
| ← Moult left | 03:25 |
| → Moult joined | 03:25 |
| → Orphis joined | 03:25 |
| ← BombStrike left | 03:25 |
| ← ciaranm left | 03:25 |
| ← chrisirc left | 03:25 |
| → wereHamster joined | 03:25 |
| → Bucciarati joined | 03:25 |
| → charTay joined | 03:25 |
| → jds joined | 03:25 |
|
charTay
| Hello! | 03:26 |
|
gitinfo
| charTay: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 03:26 |
| → chrisirc joined | 03:26 |
| ← MoHaX left | 03:26 |
| ← titou left | 03:26 |
| → _br_ joined | 03:26 |
| → BombStrike joined | 03:26 |
| → twisted` joined | 03:26 |
| → AndreSomers joined | 03:27 |
|
charTay
| Within IRC how do I disable showing me who logged off and on? | 03:27 |
| ← fobius left | 03:27 |
| → mitsuhiko joined | 03:28 |
|
charTay
| How's everyone doing tonight!? | 03:28 |
| ← pasky left | 03:28 |
| → kiffer84 joined | 03:29 |
| → ralf-x joined | 03:29 |
| ← RegEx left | 03:29 |
| → rryoumaa joined | 03:29 |
| gitinfo set mode: +v | 03:29 |
| ← kiffer84 left | 03:29 |
| → eaj joined | 03:31 |
|
rryoumaa
| is git designed mainly for large projects like the linux tree? i find that i have to do "git gc" frequently to make it fast and not take up too much space. setting the gc threshold to a low number doesn't really seem to work well either ime. | 03:31 |
| → Davey joined | 03:32 |
|
SamB
| rryoumaa: do you have a slow filesystem? (is your disk even fuller than mine?) | 03:33 |
|
rryoumaa
| perhaps i am doing something wrong, but i looked up how that works and apparently it looks in one of the subdirectories (like "17" or something) for whether it should gc and is therefore stochastic. so my conclusion is that it's considered normal to have many unpacked files, and that perhaps auto gc works well for large projects. | 03:33 |
| ← oojacoboo left | 03:33 |
|
rryoumaa
| i expected the gc threshold to be deterministic | 03:34 |
|
| SamB: well, it's a space concern too | 03:34 |
| → mizu_no_oto joined | 03:34 |
|
SamB
| rryoumaa: how much space are your unpacked objects taking? | 03:34 |
| ← dyng left | 03:35 |
| ← eaj left | 03:35 |
|
rryoumaa
| SamB: i don't know, i'm doing a ridiculously silly script that does gc on everything now. but on other systems it has been huge. | 03:35 |
|
dsockwell
| could you float a number? | 03:36 |
|
EugeneKay
| sitaram - d'oh! | 03:36 |
| ← CKyle left | 03:36 |
|
rryoumaa
| dsockwell: hmm, well, etckeeper is up to 5 mb already for objects/, and i did gc shortly ago. | 03:38 |
|
| tar files get huge if git is not packed, i found | 03:38 |
| ← preflex left | 03:38 |
| ← Chris____ left | 03:38 |
| → MoHaX joined | 03:39 |
| → pasky joined | 03:39 |
|
rryoumaa
| it seems most people don't really care about this topic, and find a low gc threshold to be "too low | 03:39 |
|
| " | 03:39 |
| → preflex joined | 03:40 |
|
dsockwell
| storage is cheap | 03:40 |
| ← aarwine left | 03:40 |
|
rryoumaa
| dsockwell: not everywhere | 03:40 |
|
| but if that's the philosophy of git, then i will have to accept it | 03:40 |
|
| it's just that i expected a different philosophy | 03:41 |
|
dsockwell
| i'm no authority, please wait to hear it from someone else | 03:41 |
|
rryoumaa
| ok :) | 03:41 |
| → aarwine joined | 03:41 |
| → maqr joined | 03:41 |
| ← dorkmafia left | 03:41 |
|
dsockwell
| what's limiting your storage, if i might ask? | 03:41 |
|
rryoumaa
| well, there are edge cases where you want to just tar up a dir and mail it to people, etc. | 03:42 |
|
| i know i could be argued down on various cases, but that's not really the point | 03:42 |
|
| the point is that to a user, git could in principle do gc auto so that it keeps things reasonably packed | 03:43 |
|
| i'm guessing that git is mostly just used for huge projects, so his problem is not a problem for most people | 03:44 |
| ← raininja left | 03:44 |
|
dsockwell
| well that and people operate through git if they want git content, so the transfer is minimized | 03:44 |
|
| tarring up and trading parts of the git backend is not something i've seen done | 03:45 |
|
rryoumaa
| dsockwell: i could change the edge case. suppose you wanted to store your git on dropbox, and don't feel like paying more for more storage there. | 03:45 |
|
| or your tar | 03:46 |
| ← pasky left | 03:46 |
| ← aarwine left | 03:46 |
|
rryoumaa
| it took me a while to realize that auto gc did nothing | 03:46 |
|
dsockwell
| i really wish i knew more about git | 03:46 |
| ← lbf left | 03:47 |
| ← Gamecubic left | 03:47 |
| → pasky joined | 03:47 |
| → fobius joined | 03:47 |
| → aarwine joined | 03:48 |
| ← Davey left | 03:50 |
| ← Spyro left | 03:50 |
|
sitaram
| EugeneKay: d'oh indeed. But then most of them are ... after the fact! | 03:51 |
|
SamB
| rryoumaa: that is not a usual collaboration method | 03:53 |
|
| rryoumaa: using bitbucket is probably a better plan | 03:53 |
|
rryoumaa
| SamB: again that's not the point | 03:53 |
| → fridim_ joined | 03:53 |
| → Error404NotFound joined | 03:54 |
|
SamB
| if you want a minimal repository, clone into a bare repo | 03:54 |
|
| the day-to-day ones are meant to balance space against time | 03:55 |
| ← FrodoTheHobbit left | 03:55 |
| → FrodoTheHobbit joined | 03:55 |
|
rryoumaa
| SamB: collaboration is not the point | 03:56 |
|
| using git is not the point | 03:56 |
| ← the_cybersphinx left | 03:56 |
|
rryoumaa
| the point is that any directory of any application can be desired to be small | 03:56 |
|
SamB
| using minimal space requires a more time, and that's that | 03:57 |
|
rryoumaa
| and if git is allowing objects/ to grow huge, it's not necessarily "not a problem" | 03:57 |
|
SamB
| hmm, yes, you may have a point about the method used there | 03:57 |
|
rryoumaa
| with a large repo, the gc threshold will actually work as the user expects most of the time. so that is why i think git has a large repo bias. | 03:58 |
|
SamB
| rryoumaa: also see man git-bundle if you do want to move stuff around by archive | 03:58 |
|
gitinfo
| rryoumaa: the git-bundle manpage is available at http://jk.gs/git-bundle.html | 03:58 |
| ← maqr left | 03:58 |
| → maestrojed joined | 03:59 |
|
SamB
| rryoumaa: I'm not sure how the size of the repository is relevant here; isn't it only the volume of changes? | 03:59 |
| ← darinm_away left | 03:59 |
| ← mizu_no_oto left | 03:59 |
|
rryoumaa
| SamB: interesting, but again, not the point. suppose somebody wants to not use git for this? suppose somebody wants to use find and xargs and grep and all sorts of other things and not have to special-case subtrees that are under git control? it's trying to micromanage something that is standard unix. | 03:59 |
| ← aarwine left | 03:59 |
| ← yano left | 03:59 |
|
rryoumaa
| you're still trying to argue me down by saying it's not a problem that objects/ grows huge | 04:00 |
| ← donmichelangelo left | 04:00 |
| → Spyro joined | 04:00 |
|
rryoumaa
| i don't know how you are going to show that a large objects/ is not a problem, because you have to argue down all possible use cases | 04:00 |
|
SamB
| rryoumaa: how big are the blocks on your FS? | 04:00 |
| → aarwine joined | 04:00 |
| → donmichelangelo joined | 04:00 |
|
rryoumaa
| i don't know, or care. i appreciate your willingness to help, but this is going nowhere. i will just conclude that git is designed for huge repos. | 04:01 |
| ← pasky left | 04:02 |
| ← juvenal_away left | 04:02 |
| ← maestrojed left | 04:02 |
| → eaj joined | 04:02 |
| → yano joined | 04:02 |
| → CKyle joined | 04:03 |
|
SamB
| rryoumaa: if "git gc --auto" doesn't actually keep looking at object directories until either it's seen them all or it has reached gc.auto, that seems like a bug? | 04:03 |
| ← Error404NotFound left | 04:03 |
|
rryoumaa
| SamB: it is a design flaw, not a bug | 04:03 |
| → Sigma joined | 04:03 |
|
rryoumaa
| SamB: look up how it works | 04:04 |
|
SamB
| well, the documentation doesn't say anything about that "look in a random subdirectory" thing you mentioned | 04:04 |
|
rryoumaa
| yeah i had to go looking in the mailing list archives or some place for that :( | 04:04 |
|
SamB
| so it is at least a bug in the documentation | 04:04 |
|
rryoumaa
| good point | 04:05 |
| → juvenal joined | 04:05 |
| ← sohail left | 04:05 |
|
SamB
| hmm, the documentation in git-config does say approximately | 04:06 |
| → richgilbank joined | 04:06 |
| ← richgilbank left | 04:06 |
|
SamB
| er, git-config(1) | 04:06 |
|
rryoumaa
| The default value is 6700. that is HUGE | 04:07 |
| → richgilbank joined | 04:08 |
|
thiago
| 6.7 MB? | 04:08 |
|
rryoumaa
| 6700 objects i think | 04:09 |
|
thiago
| that's half the number of objects as my small project has in total | 04:10 |
| ← dougsland left | 04:11 |
|
thiago
| I'm halfway there on repacking: 3361 objects loose | 04:11 |
| ← el3ctron left | 04:11 |
| ← CKyle left | 04:12 |
|
SamB
| rryoumaa: why are your objects so big, anyway | 04:13 |
| → Error404NotFound joined | 04:14 |
| → pasky joined | 04:15 |
| → breck7 joined | 04:16 |
| → mitz joined | 04:19 |
| juvenal → juvenal_away | 04:20 |
| → archdori_ joined | 04:20 |
| ← breck7 left | 04:20 |
| ← eaj left | 04:21 |
| → eaj joined | 04:21 |
| ← Algorithm left | 04:21 |
| ← Spyro left | 04:22 |
| ← Fandekasp left | 04:22 |
| → dougsland joined | 04:23 |
| → Spyro joined | 04:25 |
| ← jnewt left | 04:26 |
| ← Error404NotFound left | 04:27 |
| ← yhager left | 04:27 |
| → SoftwareMechanic joined | 04:27 |
| → Tommy[D] joined | 04:27 |
| ← Tommy[D]_ left | 04:28 |
| → shoshin joined | 04:29 |
| → dyng joined | 04:29 |
|
rryoumaa
| SamB: i don't recall saying my objects were big | 04:30 |
|
| plenty of projects have 20 files | 04:31 |
|
milki
| omg, your objects are tiny? | 04:31 |
| → alsu joined | 04:31 |
|
rryoumaa
| or 5 files | 04:31 |
| ← fairuz1 left | 04:31 |
|
rryoumaa
| or even 1 | 04:31 |
|
alsu
| somehow, every single file in the current directory got added to git. nothing has been committed yet. how do I undo that? | 04:31 |
|
rryoumaa
| and having 6700 objects there is ridiculous imo | 04:31 |
|
| milki: they are? | 04:32 |
|
| or are we playing entendre? | 04:32 |
| ← MoHaX left | 04:32 |
|
SamB
| hmm, actually I guess that does get kind of big with normal-sized files ... | 04:32 |
|
milki
| alsu: you could try a soft reset with the path to the dir | 04:33 |
|
| alsu: or a soft reset to your current HEAD | 04:33 |
|
alsu
| there are other legitimately changed files, which were added in previous commits | 04:33 |
|
| I don't want to undo those changes | 04:33 |
|
rryoumaa
| so you're deciding to just tar up a large tree, and you have a few small projects, and guess what -- you're tarring up 6700 objects for each one | 04:34 |
| juvenal_away → juvenal | 04:34 |
| ← ska-fan left | 04:34 |
| → Davey_ joined | 04:34 |
| → ska-fan joined | 04:34 |
|
rryoumaa
| alsu: you want to change them from being in your index to not being in your index, right? | 04:34 |
| ← jon_r left | 04:35 |
|
alsu
| rryoumaa: but leave them on disk, yes | 04:35 |
| ← abdostar left | 04:35 |
| ← fridim_ left | 04:35 |
|
rryoumaa
| if you do git status what do you see wrt the two classes of files? | 04:35 |
| → Derega joined | 04:35 |
|
SamB
| rryoumaa: so change gc.auto to something reasonable and think about how to make the hueristic more accurate for small values of gc.auto? | 04:36 |
| → gzg joined | 04:36 |
|
alsu
| rryoumaa: all the files which were mistakenly added are listed as "new file: " | 04:36 |
| → yhager joined | 04:37 |
|
alsu
| rryoumaa: all the changes I want to keep are listed as "modified: " | 04:37 |
|
thiago
| rryoumaa: your use-case is not reasonable | 04:37 |
|
| rryoumaa: if you tar up a git repository, you're *expecting* it to be big | 04:37 |
|
| rryoumaa: it's not reasonable to use tar and expect it to be small | 04:38 |
|
SamB
| rryoumaa: also, how big is the REST of each repo? | 04:38 |
|
thiago
| rryoumaa: every checked out file in that tarball would be present at least three times, in the smallest, most packed repository. | 04:38 |
|
SamB
| thiago: three times? | 04:38 |
|
thiago
| SamB: checkout, index, object DB | 04:38 |
|
rryoumaa
| SamB: it is inherently not going to work because of hte way it is designed, if i understand corectly . auto gc does not auto gc unless the repo is large. | 04:38 |
|
thiago
| in different levels of compression, sure, but present three times. | 04:39 |
| → Error404NotFound joined | 04:39 |
|
SamB
| rryoumaa: presumably it would be possible for it to look in more directories to increase accuracy when the limit is smaller? | 04:39 |
|
rryoumaa
| thiago: the difference is orders of magnitude, and after a manual git gc the size is reasonable | 04:40 |
|
thiago
| rryoumaa: but not the smallest | 04:40 |
|
rryoumaa
| thiago: huh? | 04:40 |
|
thiago
| rryoumaa: git was designed with a large space-time trading: lots of space so it reduces time spent in regular operations | 04:40 |
|
rryoumaa
| clearly | 04:40 |
| ← ska-fan left | 04:40 |
| → ska-fan joined | 04:41 |
|
rryoumaa
| but i just said the difference is between packed and non-packed and is reasonable when packed | 04:41 |
|
thiago
| rryoumaa: and I said that your use-case called for the smallest possible. You haven't achieved that. | 04:41 |
| ← ska-fan left | 04:41 |
|
rryoumaa
| no, that's not true. it doesn't have to be the smallest possible. just closer to manual gc. | 04:41 |
|
thiago
| rryoumaa: if you have a better algorithm, the devs are all ears | 04:42 |
|
| rryoumaa: the problem you face is how to determine when to pack: when is the saving large enough to warrant the time spent doing it? | 04:42 |
|
rryoumaa
| i haven't got a clue. but i think i have failed to disconfirm that git is optimized for large repos in its auto gc algorithm. | 04:42 |
|
| afk | 04:43 |
|
thiago
| it's optimised for medium-sized repos | 04:43 |
|
| for small repos, the delta between packed and non-packed will be huge, but the absolute size of the repository will still not be large | 04:43 |
|
| the number puts a cap on the size of medium-sized projects, which is when gc runs most often | 04:44 |
|
SamB
| thiago: multiply it by N, though | 04:44 |
|
thiago
| for really large repos, it becomes annoying and people might disable it altogether. | 04:44 |
|
SamB
| though I wonder why he puts N repos in one tarball | 04:44 |
| → hahuang65 joined | 04:45 |
| → ska-fan joined | 04:46 |
|
thiago
| I can imagine this usecase: "I have a VPS and it has limited storage space available to me" | 04:46 |
|
| so yeah, 100 tiny repositories might actually occupy more disk space than 5 medium-sized ones | 04:46 |
|
| SamB wonders if there are any tools to help find and pack not-lately-used repos in your homedir that could benefit from this ... | 04:49 |
| → _goTAN joined | 04:49 |
| ← gitpicker left | 04:51 |
| → SoftwareMechani1 joined | 04:52 |
| ← mithro-work left | 04:52 |
| ← SoftwareMechanic left | 04:53 |
| ← johnca|home left | 04:53 |
| → jaseemabid joined | 04:54 |
| ← sqlnoob left | 04:55 |
| → sqlnoob joined | 04:56 |
| ← sqlnoob left | 04:57 |
| → gitpicker joined | 04:57 |
| → sqlnoob joined | 04:57 |
| ← bwreilly left | 04:59 |
| → jfoy joined | 05:01 |
| ← cmpera left | 05:01 |
| → Pyrogerg joined | 05:04 |
| ← therealGent left | 05:06 |
| ← irqq left | 05:07 |
| ← Pyrogerg left | 05:08 |
| ← diegoviola left | 05:09 |
| → tough_griff joined | 05:10 |
| ← tough_griff left | 05:12 |
| ← Davey_ left | 05:12 |
| → tough_griff joined | 05:12 |
| ← nicedice_ left | 05:14 |
| → maqr joined | 05:14 |
| ← cite left | 05:14 |
|
rjhunter
| alsu: did you get your files unstaged? | 05:15 |
| → Pyrogerg joined | 05:15 |
| → YoMomma joined | 05:15 |
| ← maqr left | 05:16 |
| ← redrocket left | 05:16 |
| → jon_r joined | 05:16 |
|
alsu
| rjhunter: not really unstaged.. now they're listed as "deleted" (I did "git rm --cached") | 05:16 |
|
| except I think it deleted everything.. | 05:18 |
|
| so this isn't right either. | 05:18 |
| ← tough_griff left | 05:18 |
|
rjhunter
| alsu: `git rm --cached` leaves the files on disk (in your working true), but otherwise acts as if you'd deleted them and then staged that deletion | 05:18 |
|
alsu
| well, it's a mess now. stuff on disk is right and the remote repo is right and I haven't added any commits, but the state of all my files is deleted | 05:19 |
|
rjhunter
| alsu: what state are you in now and where would you like to be? | 05:19 |
|
| ah | 05:19 |
| ← _goTAN left | 05:19 |
|
alsu
| if I did a fresh checkout and copied over all the files I would be where I would like to be | 05:19 |
| ← Error404NotFound left | 05:20 |
| → dmitrygusev joined | 05:20 |
|
alsu
| is there a way to tell git to do that? | 05:20 |
|
rjhunter
| alsu: OK, then a simple `git reset` should do what you want | 05:21 |
| ← ska-fan left | 05:21 |
| → ska-fan joined | 05:21 |
| ← ska-fan left | 05:21 |
| juvenal → juvenal_away | 05:21 |
|
alsu
| yay! that worked great. | 05:22 |
|
| I should have done that earlier instead of the git rm --cached thing | 05:22 |
| ← dyng left | 05:22 |
|
alsu
| "reset" just sounds so destructive | 05:22 |
|
rjhunter
| alsu: `git reset` can be used for several different things, but unstaging is a common use | 05:22 |
|
| it does sound destructive (and it can be, depending on the options you pass) | 05:23 |
|
alsu
| they should break it out into different commands or something then | 05:23 |
| ← Luke-Jr left | 05:25 |
| → ciampix joined | 05:25 |
| → tough_griff joined | 05:25 |
| ← kerrick left | 05:26 |
| → ska-fan joined | 05:26 |
| → kerrick joined | 05:26 |
| ← eletuchy left | 05:27 |
|
rjhunter
| yeah, probably -- you can also unstage with `git checkout` which doesn't sound as destructive :-) | 05:28 |
| → eletuchy joined | 05:28 |
| → Luke-Jr joined | 05:29 |
| ← varlog left | 05:29 |
| ← curvedmark left | 05:29 |
| → longbeach joined | 05:31 |
| → curvedmark joined | 05:31 |
| ← curvedmark left | 05:32 |
| → Error404NotFound joined | 05:32 |
| → dyng joined | 05:32 |
| → eletuchy_ joined | 05:33 |
| ← eletuchy left | 05:33 |
| → koki joined | 05:35 |
| ← freestyl3r left | 05:36 |
| ← Error404NotFound left | 05:37 |
| → cff joined | 05:37 |
| ← eletuchy_ left | 05:38 |
| → Jordan_U joined | 05:39 |
| ← sqlnoob left | 05:39 |
| → kbart joined | 05:39 |
| → ThomasLocke joined | 05:40 |
| ← tough_griff left | 05:40 |
| → objectiveous joined | 05:40 |
| → subhojit777 joined | 05:41 |
| → sqlnoob joined | 05:41 |
| → wafflejock joined | 05:41 |
| ← sqlnoob left | 05:41 |
|
subhojit777
| is there any way to log time in git? | 05:42 |
| → sqlnoob joined | 05:42 |
| → zarubin joined | 05:43 |
| → pr0ton joined | 05:43 |
| ← sqlnoob left | 05:43 |
| → client joined | 05:43 |
|
wafflejock
| subhojit777: you mean like time tracking? | 05:44 |
| gitinfo set mode: +v | 05:44 |
| → sqlnoob joined | 05:44 |
|
subhojit777
| wafflejock, yes | 05:44 |
|
wafflejock
| subhojit777: I don't think so, git doesn't attempt to be a bug management system | 05:44 |
|
| subhojit777: I use bugzilla, it's not my favorite thing though... Jira is a bit nicer but a bit pricy | 05:44 |
|
SamB
| or a personal organizer or what-have-you | 05:45 |
|
wafflejock
| http://www.slimtimer.com is nice | 05:45 |
| → ewnd9 joined | 05:45 |
|
client
| say you want a simple git setup. would having a daily repo and a final branch work? | 05:45 |
| ← sqlnoob left | 05:45 |
|
client
| i know its subjective. but simple would be on a beginner level of simple. | 05:46 |
| → Guest51606 joined | 05:46 |
| ← devoldmx3 left | 05:46 |
| → sqlnoob joined | 05:46 |
| ← frgtn left | 05:46 |
|
subhojit777
| wafflejock, so its kind of an application? Is it available for Linux Ubuntu? | 05:46 |
|
wafflejock
| subhojit777: slimtimer.com is a web app, you just sign up and it's all in browser so OS agnostic | 05:46 |
| → frgtn joined | 05:47 |
|
subhojit777
| ok.. | 05:47 |
| → Dudalus joined | 05:47 |
|
wafflejock
| subhojit777: bugzilla you need to install and is a bit of a pain, it uses MySQL to store the bugs (in my case at least) and needs some Perl stuff to get it going | 05:47 |
| ← sqlnoob left | 05:47 |
| → ezekielnoob joined | 05:47 |
|
wafflejock
| subhojit777: with bugzilla it's more of a full system for multiple developers tracking bugs and multiple projects and other people testing | 05:48 |
| → sqlnoob joined | 05:48 |
|
wafflejock
| subhojit777: I've started a small business and am using it and it's been good for interacting with clients but is a bit of a hurdle to show them the ropes sometimes | 05:48 |
|
subhojit777
| wafflejock, I have created a private repo on github for a project. Now I want to track time for tasks in that project | 05:48 |
| ← tpollard left | 05:48 |
| → Error404NotFound joined | 05:49 |
| ← sqlnoob left | 05:49 |
|
wafflejock
| subhojit777: yeah I hear yah... I'm actually working on a CRM of sorts for dealing with this in part... basically want to take the best of about 6 tools I currently use and integrate | 05:49 |
| ← dmitrygusev left | 05:49 |
|
subhojit777
| wafflejock, sorry what is CRM? | 05:49 |
| → TomyLobo joined | 05:49 |
| → sqlnoob joined | 05:49 |
|
client
| customer relationship management | 05:49 |
|
wafflejock
| client: +1 subhojit777 | 05:50 |
|
| salesforce.com is one of the more popular ones | 05:50 |
| ← jon_r left | 05:50 |
|
client
| i've noticed that git in itself could be made more useful | 05:50 |
| ← sqlnoob left | 05:50 |
|
client
| but i'm sure there are integrated tools for it already | 05:50 |
|
wafflejock
| it's okay and based on the same service layer I'll use PHP/MySQL but want tighter integration with other stuff | 05:50 |
|
iveqy
| wafflejock: hmm there's an interesting topic on this on stackoverflow | 05:50 |
|
subhojit777
| wafflejock, slimtimer is alright but it would be nice if I can directly use time tracking using github | 05:51 |
| → sqlnoob joined | 05:51 |
|
alsu
| rjhunter: git checkout doesn't seem to unstage | 05:51 |
|
wafflejock
| client: yeah there's lots of good tools around git it's just hard to grok initially | 05:51 |
| ← frgtn left | 05:51 |
|
alsu
| git add foo; git checkout foo; git status | grep foo #=> "new file: foo" | 05:51 |
| ← jaseemabid left | 05:51 |
|
client
| subhojit777 what do you by time tracking? | 05:51 |
|
wafflejock
| client: gitk, git merge (kdiff, or some other diff tools), git-gui | 05:51 |
|
client
| i'm on xubuntu. any recommendations? | 05:52 |
|
wafflejock
| client: I think you're just having a hard time understanding some of the terminology | 05:52 |
| ← sqlnoob left | 05:52 |
|
subhojit777
| client, I have created a private repo on github for a project. Now I want to track time for tasks in that project | 05:52 |
|
iveqy
| wafflejock: I don't find it right now, but basically the opinion of the answers is that a bug tracking system is an inhouse tool and nothing you should need to teach your clients | 05:52 |
|
wafflejock
| iveqy: I hear yah and I've thought about that, but I'm working as 2 man shop | 05:52 |
|
client
| subhojit777 you want to see how long people are taking to make commits to the private repo? | 05:53 |
| → sqlnoob joined | 05:53 |
| ← Vile left | 05:53 |
|
wafflejock
| iveqy: if we had dedicated testers I certainly wouldn't do that | 05:53 |
|
subhojit777
| client, yes | 05:53 |
|
SamB
| iveqy: that depends on how transparent you want to be, doesn't it? | 05:53 |
|
iveqy
| wafflejock: http://programmers.stackexchange.com/questions/15528/herding-your-users-to-your-bugtracker/15542#15542 | 05:53 |
|
wafflejock
| iveqy: luckily one of my big clients now is an ex-fortran guy and is super nice | 05:53 |
|
client
| I believe that is built-in to git subhojit777 | 05:53 |
|
iveqy
| wafflejock: lucky you =) | 05:53 |
|
| SamB: no it doesn't. It has nothing to do with openess, read the link I just posted | 05:53 |
|
wafflejock
| good advice | 05:54 |
|
client
| maybe I need to watch a git youtube video intro | 05:54 |
| → pantsman joined | 05:54 |
| ← pantsman left | 05:54 |
| → pantsman joined | 05:54 |
|
iveqy
| client: !talks | 05:54 |
|
gitinfo
| client: Some good video talks about Git: [yt] http://goo.gl/z72s (Linus Torvalds: History&Concepts); [yt] http://goo.gl/R9H2q (Scott Chacon: Git basics, live examples); http://vimeo.com/35778382 (Randal Schwartz: Git basics, descriptional); http://vimeo.com/46010208 (Jesica Kerr: Git basics, descriptional) | 05:54 |
|
iveqy
| client: I recommend Jesica Kerrs | 05:54 |
| ← sqlnoob left | 05:54 |
|
subhojit777
| client, really? there should be some kind of documentation. could you please point them out | 05:54 |
| → rob_w joined | 05:54 |
|
SamB
| iveqy: if that's so, then why do most open source projects use public, not private, bug trackers? | 05:54 |
|
client
| subhojit777 this is what I am using: http://git-scm.com/book/en/ | 05:54 |
|
wafflejock
| well open source is for programmers | 05:54 |
| → sqlnoob joined | 05:54 |
|
wafflejock
| it's true you don't want your clients to feel shoved off on the bug tracker | 05:55 |
| → beautifulmind joined | 05:55 |
|
wafflejock
| I explained to them that it just helps me coordinate e-mails and we can keep conversations going about bugs through the comments on it | 05:55 |
|
client
| what the world needs is more cookbooks. I will try writing one for this once I figure it out myself. | 05:55 |
|
iveqy
| SamB: you're confusing openess with who the bugtracker is for. It's fine to have a public bugtracker, but you shouldn't demand you client to learn how to use a bugtracker for reporting a bug. | 05:55 |
|
wafflejock
| but the option to do it for them should definitely be made clear | 05:55 |
|
SamB
| iveqy: oh, sure | 05:56 |
| → Raging_Hog joined | 05:56 |
| ← sqlnoob left | 05:56 |
| → gverri joined | 05:56 |
|
subhojit777
| client, nothing related to time tracking there. are you saying that we write a git hook for that? | 05:56 |
|
wafflejock
| yeah I'm not pushy about it, but it's nice when they use it | 05:56 |
| ← objectiveous left | 05:56 |
| client → Joe_12345 | 05:56 |
|
SamB
| not unless the minimum level of knowledge needed is sufficiently low, anyway | 05:56 |
|
iveqy
| SamB: that's why a bugtracker is an internal tool. Because it helps you as a developer. Anyone not a developer should not be forced to use it, but be able to report bugs in whatever way is most convinient (email, phone, angry letters, etc.) | 05:56 |
| → sqlnoob joined | 05:56 |
|
SamB
| well, okay, yeah | 05:56 |
|
wafflejock
| iveqy: on the flip side too though I think it shows a certain amount of transparency when they see the bugs I entered in there as well to address and they can see progress | 05:57 |
|
Joe_12345
| it's weird how the development curve forces you to learn a lot more than just what the "learn ruby in 10 minutes" people advertise | 05:57 |
| ← sqlnoob left | 05:58 |
|
Joe_12345
| iveqy couldn't you automate bug tracking via the phone too? | 05:58 |
| → sqlnoob joined | 05:58 |
| ← beautifulmind left | 05:58 |
|
iveqy
| wafflejock: I don't see anything wrong with that at all. That's just good, and I think it's good to allow customers report via a bugtracker too. However forcing it as the only channel of accepting bugs is wrong | 05:58 |
|
wafflejock
| def | 05:58 |
|
iveqy
| Joe_12345: yes you could, and it would be fairly easy to do. But not very service oriented I'm afraid. Most telephone self-serving system sucks | 05:59 |
| ← m0viefreak left | 05:59 |
| ← sqlnoob left | 06:00 |
| → beautifulmind joined | 06:00 |
|
Joe_12345
| iveqy i once phoned my ISP to report an issue, and I could hear the windows "error" sound above their terrible music | 06:00 |
| ← rchavik left | 06:00 |
|
iveqy
| Joe_12345: that's horrible =( | 06:00 |
| → sqlnoob joined | 06:00 |
|
Joe_12345
| let me go watch that video now. thanks guys. ill be back in a little while. | 06:00 |
| ← Joe_12345 left | 06:01 |
|
iveqy
| Joe_12345: the time tracking stuff you're talking about is fairly simple to implement with hooks, but I'm not sure it's a good idea to do | 06:01 |
|
| :( | 06:01 |
|
SamB
| iveqy: okay, I can buy that forcing customers to use the bugtracker is a bad thing | 06:01 |
|
iveqy
| SamB: yeah, as a customer I would want the developer just to be a phonecall away... However as a developer I want the customer to be as far away as possible... It's a hard combination... | 06:02 |
|
wafflejock
| iveqy: haha truth! | 06:02 |
| → Xethron joined | 06:03 |
| ← Xethron left | 06:03 |
| → Xethron joined | 06:03 |
|
wafflejock
| watching this video too now thx, I feel like I know git but then I don't | 06:03 |
| → ZujkisNx joined | 06:03 |
|
SamB
| I was more thinking about cases where I wish there was a public bug tracker but there isn't | 06:03 |
| → eletuchy joined | 06:04 |
|
iveqy
| git, there's actually cases that falls through the cracks... | 06:04 |
|
| on the other hand, bugs that just are reported once by one user tends to be really unimportant | 06:04 |
| ← Goplat left | 06:05 |
| ← richgilbank left | 06:08 |
| → _goTAN joined | 06:08 |
| ← _goTAN left | 06:08 |
| → rath joined | 06:08 |
| → lb1a joined | 06:09 |
| → mishok13 joined | 06:10 |
| → Jackneill joined | 06:10 |
| ← onethfour left | 06:10 |
| ← Sigma left | 06:11 |
| → h0bbit_ joined | 06:13 |
| → takamichi joined | 06:13 |
| → rchavik joined | 06:14 |
| ← _Norm_ left | 06:14 |
| → ThomasCle joined | 06:15 |
| ← ezekielnoob left | 06:15 |
| ← dyng left | 06:16 |
| → dyng joined | 06:18 |
| ← pantsman left | 06:18 |
| → Search12 joined | 06:19 |
| → cbreak-work joined | 06:20 |
| → _nova joined | 06:21 |
| → jargon joined | 06:21 |
| → nova_ joined | 06:23 |
| → ezekielnoob joined | 06:23 |
| → matanya joined | 06:23 |
| ← omnipotent1_ left | 06:24 |
| ← hahuang65 left | 06:24 |
| → omnipotent1 joined | 06:25 |
| ← mishok13 left | 06:25 |
| → ayaz joined | 06:25 |
| → vurma joined | 06:25 |
| ← Xethron left | 06:26 |
| ← dougsland left | 06:26 |
| ← _nova left | 06:26 |
| ← ewnd9 left | 06:27 |
| j416_ → j416 | 06:27 |
| ← kcj left | 06:27 |
| → JustinMac joined | 06:29 |
| → echo-area joined | 06:30 |
| ← PaulCapestany left | 06:30 |
| → wrouesnel joined | 06:31 |
| ← ska-fan left | 06:31 |
| → ska-fan joined | 06:31 |
| → lite_ joined | 06:33 |
| → JustinMa_ joined | 06:33 |
| → saurabh joined | 06:33 |
| → nardev joined | 06:35 |
| ← thiago left | 06:35 |
| ← rjhunter left | 06:35 |
| ← eaj left | 06:36 |
| → dmitrygusev joined | 06:36 |
| → eaj joined | 06:37 |
| ← ezekielnoob left | 06:37 |
| → Zarthus joined | 06:38 |
| ← gzg left | 06:40 |
| → ping__ joined | 06:41 |
| ← ping__ left | 06:41 |
| ← eaj left | 06:41 |
| → devoldmx joined | 06:42 |
| → papegaaij joined | 06:43 |
| → waaadim385 joined | 06:43 |
| → ezekielnoob joined | 06:43 |
| ← JustinMac left | 06:43 |
|
waaadim385
| hello everybody | 06:43 |
|
gitinfo
| waaadim385: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 06:43 |
| → thiago joined | 06:43 |
|
waaadim385
| is there a way to get the last hash_id of a branch ? | 06:43 |
| ← TomyLobo left | 06:44 |
|
iveqy
| waaadim385: the latest hash is the branch | 06:44 |
|
| waaadim385: but: git rev-parse <branchname> | 06:44 |
| ← ItSANgo left | 06:44 |
|
waaadim385
| I need the exact id, I'd like to use it with "cherry-pick" | 06:44 |
|
| something like git cherry-pick <and something to return the hash> | 06:45 |
|
iveqy
| waaadim385: however, cherry-pick in a regular workflow is probably wrong | 06:45 |
| ← pr0ton left | 06:45 |
|
waaadim385
| Is there a better way of doing this ? | 06:46 |
|
iveqy
| waaadim385: I don't know what "this" is... | 06:46 |
|
waaadim385
| I have multiple branches merged into one. and after commiting something to the "original branches" I need to pull merge those changes together | 06:47 |
| ← defaultro left | 06:47 |
|
waaadim385
| something like: br3 = br1+br2 | 06:47 |
| → kcj joined | 06:47 |
|
waaadim385
| and i change something in br1 | 06:47 |
|
iveqy
| waaadim385: just merge br1 into br3 again | 06:48 |
| → pfFredd joined | 06:48 |
| → JohnBat26 joined | 06:49 |
|
waaadim385
| just tried it | 06:49 |
| → mishok13 joined | 06:49 |
|
waaadim385
| it gives me some conflicts | 06:49 |
|
iveqy
| waaadim385: then you would have conflicts with the cherry-pick tooo | 06:50 |
|
waaadim385
| but cherry pick would work fine | 06:50 |
|
| let me try it | 06:50 |
| ← ezekielnoob left | 06:50 |
| → hahuang65 joined | 06:51 |
| → dEPz joined | 06:51 |
| → hoschi joined | 06:51 |
|
waaadim385
| no it didn't give conflicts | 06:52 |
| ← jfoy left | 06:52 |
| → jnavila joined | 06:52 |
|
waaadim385
| maybe it's because of the way I "merged" the branches | 06:52 |
|
iveqy
| waaadim385: this is really strange... | 06:52 |
|
| how did you merge the branches? | 06:52 |
|
waaadim385
| when i was on br1 i did: "git checkout -b BrName" | 06:53 |
|
| then git rebase br2 | 06:53 |
|
iveqy
| are BrName the same as br3? | 06:54 |
|
waaadim385
| and now when i do: "git merge br1 or br2" I'm getting conflicts | 06:54 |
|
| yes | 06:54 |
|
| gut cherry-pick works nice | 06:54 |
| → jnavila_ joined | 06:54 |
|
iveqy
| okay. well it makes more sense | 06:54 |
|
waaadim385
| so it's not done like this ? | 06:55 |
|
iveqy
| if you haven't merged a merge will not be of just two commits but the whole history that differs | 06:55 |
|
| usually not, see !flow | 06:55 |
|
gitinfo
| [!gitflow] The description of the gitflow branch workflow model is at http://nvie.com/posts/a-successful-git-branching-model/ while a tool to help implement this workflow is at https://github.com/petervanderdoes/gitflow See http://sethrobertson.github.com/GitBestPractices/#workflow for other workflow suggestions/references | 06:55 |
|
waaadim385
| hmm. so what's the right way to do this ? | 06:55 |
|
iveqy
| you usually rebase br2 on brName and then merge br2 into brName | 06:55 |
|
waaadim385
| i can remove br3 now | 06:55 |
| ← paulweb515 left | 06:55 |
| → ndim joined | 06:56 |
|
iveqy
| you should define a baseline, start your topic branches from that one, rebase them if the baseline changes and then merge them into the baseline (your baseline would be BrName in this case) | 06:56 |
| ← ThomasCle left | 06:57 |
| ← ndim left | 06:57 |
| ← jnavila left | 06:57 |
| → dsdeiz_ joined | 06:57 |
|
iveqy
| the problem with cherry-pick is just that that you won't get any history. So you can't really use the full power of git branches/merges etc. But you're using git more like a couple of patch-files | 06:57 |
| → germanoak joined | 06:57 |
|
iveqy
| it's fine to do that too, the linux kernel did that before bitkeeper (so I guess it was prior year 2000). | 06:58 |
| ← dsdeiz left | 06:58 |
| → ThomasCle joined | 06:58 |
| → ezekielnoob joined | 06:58 |
|
iveqy
| However, if you want to use the power of git and the advences of SCM the last 13 years I suggest you look at !flow | 06:58 |
|
gitinfo
| [!gitflow] The description of the gitflow branch workflow model is at http://nvie.com/posts/a-successful-git-branching-model/ while a tool to help implement this workflow is at https://github.com/petervanderdoes/gitflow See http://sethrobertson.github.com/GitBestPractices/#workflow for other workflow suggestions/references | 06:58 |
| → juril joined | 06:59 |
| ← hahuang65 left | 07:00 |
| → qt-x joined | 07:00 |
| → harobed joined | 07:00 |
| ← ZujkisNx left | 07:00 |
|
waaadim385
| well, I'm using that model in a way or another | 07:00 |
|
| we have some branches where we keep "modules" that are developed separately | 07:01 |
| ← echo-area left | 07:01 |
|
waaadim385
| and all the modules will be merged into "development" | 07:01 |
| ← Guest51606 left | 07:01 |
|
waaadim385
| let me make sure that I got it. | 07:02 |
|
| I can remove the br3 now because all the code is on br1 / br2 | 07:02 |
|
| so I'd have to create a new branch and rebase br1+br2 ? | 07:03 |
|
| and then if something has changed on br1/br2 I'd make a "merge" | 07:03 |
|
| and I will not get conflicts that way ? | 07:03 |
| → aschepis joined | 07:04 |
| ← aschepis left | 07:04 |
| ← AWinterman left | 07:04 |
| → AWinterman joined | 07:04 |
| → ndim joined | 07:05 |
| ← rue_XIV left | 07:05 |
| ← ezekielnoob left | 07:06 |
| → rue joined | 07:06 |
| → rue_XIV joined | 07:07 |
| ← dmitrygusev left | 07:07 |
| → kewah joined | 07:08 |
| → d3pwnd joined | 07:08 |
| ← d3pwnd left | 07:08 |
| ← AWinterman left | 07:09 |
| ← thiago left | 07:09 |
| → snql joined | 07:09 |
| → SergeyPenkin joined | 07:10 |
| → ItSANgo joined | 07:10 |
| ← rue left | 07:10 |
| → paulweb515 joined | 07:12 |
| → echo-area joined | 07:13 |
| → north joined | 07:13 |
| → h_kon joined | 07:14 |
| ← JohnBat26 left | 07:14 |
| → gua_ould joined | 07:14 |
| → dsdeiz joined | 07:15 |
| ← ska-fan left | 07:15 |
| → ska-fan joined | 07:15 |
|
north
| Hello all. I'm using git behind a proxy on Ubuntu 12.04. I'm able to clone repositories from Github or with http(s) protocol. Problem is git throws fatal error when I try to clone from the git servers. I've configured my environment variables properly but any guesses why this problem persists and how to overcome this problem ? | 07:15 |
| ← trusktr left | 07:15 |
| → subfunq joined | 07:15 |
|
_ikke_
| north: What do you mean with git servers? | 07:16 |
|
SamB
| like, git:// ? | 07:16 |
|
north
| I mean git clone git://url throws a fatal error where as http(s):// doesn't | 07:16 |
|
iveqy
| waaadim385: sounds correct, but still you can get conflicts if there's conflicts. See !conflict | 07:16 |
|
gitinfo
| waaadim385: [!eekaconflict] Merge conflicts are a natural part of collaboration. When facing one, *don't panic*. Read "How to resolve conflicts" in man git-merge and http://git-scm.com/book/ch3-2.html#Basic-Merge-Conflicts then carefully go through the conflicts. Picking one side verbatim is not always the right choice! | 07:16 |
| → MoHaX joined | 07:17 |
|
SamB
| north: talk to the network administrators? | 07:17 |
| ← dsdeiz_ left | 07:17 |
|
iveqy
| north: which ports do your proxy allow you to use? | 07:17 |
| → luke_ joined | 07:17 |
| ← MoHaX left | 07:17 |
|
iveqy
| north: and how did you configure ubuntu to use your proxy? | 07:17 |
|
north
| iveqy: I'm not aware of which ports are allowed to use, but my guess is git ports are definitely not opened | 07:18 |
|
| iveqy: apt.conf and wgetrc and I've changed the curlrc and bashrc too | 07:18 |
|
SamB
| we cannot open the ports for you | 07:18 |
|
north
| haha true, SamB but isn't there any option ? | 07:19 |
| → ping__ joined | 07:19 |
|
SamB
| hmm, but you might try using a more global method of configuring your proxy | 07:19 |
| → JohnBat26 joined | 07:19 |
|
iveqy
| north: you're probably not even told git to use your proxy... | 07:19 |
|
SamB
| !proxy | 07:20 |
|
iveqy
| north: however, what's wrong with http? | 07:20 |
|
north
| Well, there are few projects which doesn't use http | 07:20 |
|
| example osmocomBB | 07:20 |
| → doev joined | 07:20 |
|
north
| SamB can you throw some light on what global method of configuring please ? :) | 07:21 |
| → dsdeiz_ joined | 07:21 |
| ← dsdeiz left | 07:21 |
| → jstemmer joined | 07:21 |
|
north
| also, iveqy how to tell git about the proxy ? | 07:22 |
| → Guest75579 joined | 07:23 |
| → Misan joined | 07:23 |
| → chrob joined | 07:24 |
| → Silex joined | 07:24 |
|
_ikke_
| the git:// protocol doesn't run over a proxy | 07:26 |
| ← LimeBlast left | 07:26 |
| ← SicoWork left | 07:27 |
| ← gua_ould left | 07:27 |
|
north
| :O well, don't I have any option but to ask the admin ? | 07:27 |
|
| SamB wonders if all_proxy would help? | 07:27 |
| ← JohnBat26 left | 07:28 |
| → mdiers joined | 07:29 |
| → gua_ould joined | 07:29 |
| ← Guest75579 left | 07:30 |
| → cenuij joined | 07:30 |
| ← dharrigan left | 07:30 |
| ← mdiers left | 07:30 |
| → dharrigan joined | 07:30 |
|
_ikke_
| If you know how, you can try to create a tunnel through the proxy | 07:32 |
| → JohnBat26 joined | 07:32 |
| → irqq joined | 07:32 |
| → dmitrygusev joined | 07:32 |
|
iveqy
| north: sorry, I don't have any experience with git:// over proxy. I know however that git:// don't look at the places you've configured for settings | 07:33 |
| → alorence joined | 07:33 |
| → jceb joined | 07:33 |
| ← pfFredd left | 07:33 |
| ← ska-fan left | 07:33 |
| → ska-fan joined | 07:33 |
|
north
| iveqy: Thank you :) well, I'll post once I find a solution :) | 07:33 |
| jceb → Guest43848 | 07:33 |
| ← harish left | 07:34 |
| → AWinterman joined | 07:35 |
| → raf joined | 07:35 |
| ← gverri left | 07:36 |
| ← rat_thing left | 07:36 |
|
iveqy
| north: well, in the case of osmocom-BB just use http... | 07:37 |
|
| git clone http://git.osmocom.org/osmocom-bb/ | 07:37 |
| → SicoWork joined | 07:37 |
|
north
| iveqy: thats the problem it won't work with http | 07:37 |
|
iveqy
| north: I just cloned it... | 07:37 |
| ← lite_ left | 07:38 |
|
iveqy
| use the link above | 07:38 |
|
north
| 'm not able to clone it... | 07:38 |
|
iveqy
| north: what command are you using? | 07:39 |
| ← identity left | 07:39 |
| → lite_ joined | 07:39 |
|
north
| iveqy: same I just copy pasted | 07:39 |
| ← lite_ left | 07:39 |
|
north
| but I'm able to clone other repos | 07:39 |
|
| using http protocol | 07:39 |
| → lite_ joined | 07:39 |
| ← cenuij left | 07:40 |
|
iveqy
| north: http://pastebin.com/9isVgaH1 | 07:40 |
| → dsdeiz joined | 07:40 |
|
iveqy
| north: guess you've something wrong with your curl-settings | 07:41 |
|
north
| iveqy: got it | 07:41 |
|
| :) | 07:41 |
|
iveqy
| what was the error? | 07:41 |
| ← fobius left | 07:41 |
|
north
| I changed curlrc | 07:41 |
|
| file | 07:41 |
| → _Norm_ joined | 07:42 |
|
iveqy
| ah =) | 07:42 |
| ← dsdeiz_ left | 07:42 |
|
iveqy
| well, note that that link probably isn't official supported, but it at least works for now (and will probably continue to work as long as they are using cgit) | 07:42 |
| → k_sze[work] joined | 07:43 |
| → Jenser joined | 07:43 |
| ← simesy left | 07:43 |
| → simesy joined | 07:44 |
|
k_sze[work]
| Hello. I know I can make git diff ignore permission changes. How about the other way around. I want to list only files that have changed permissions. | 07:44 |
| ← bandroidx left | 07:44 |
| → dfanjul joined | 07:44 |
| ← AWinterman left | 07:44 |
|
k_sze[work]
| (And I think it would be crazy to set a config option to do that.) | 07:44 |
| ← luke_ left | 07:44 |
|
iveqy
| k_sze[work]: git doesn't know about permissions, just about the executeable bit | 07:44 |
| ← ahri left | 07:45 |
|
k_sze[work]
| iveqy: yes, the mode bits. You know what I mena. | 07:45 |
|
| s/mena/mean/ | 07:45 |
|
SamB
| k_sze[work]: no, really, it only tracks that one bit | 07:45 |
|
iveqy
| k_sze[work]: the way to do this would be to use git diff without ignore-permission, or do I miss something here? | 07:45 |
|
k_sze[work]
| iveqy: but then all the other kinds of changes would be listed as well. | 07:46 |
|
| I don't want to see file content change, just for once. | 07:46 |
| → bandroidx joined | 07:46 |
|
SamB
| k_sze[work]: the way it stores that is kind of deceptive; it was probably originally expected to store more eventually ... | 07:46 |
| ← subhojit777 left | 07:46 |
| → subhojit777 joined | 07:47 |
| → intellix joined | 07:47 |
| ← raf left | 07:48 |
| → psoo joined | 07:48 |
| → Ozch joined | 07:48 |
| → raf joined | 07:48 |
| ← simesy left | 07:48 |
|
iveqy
| k_sze[work]: don't know with git but I would just had done: git diff | grep "mode" -B2 | 07:48 |
| → Balliad joined | 07:50 |
| → simesy joined | 07:50 |
| → harish joined | 07:51 |
| → MrV joined | 07:51 |
| ← psoo left | 07:51 |
| → psoo joined | 07:52 |
| → mastro joined | 07:52 |
| ← germanoak left | 07:52 |
| → gverri_ joined | 07:53 |
| ← dmitrygusev left | 07:53 |
| ← gverri_ left | 07:53 |
| ← raf left | 07:53 |
| → tvw joined | 07:55 |
| → hahuang65 joined | 07:56 |
| → luke_ joined | 07:58 |
| → ezekielnoob joined | 07:58 |
| → ZujkisNx joined | 07:59 |
| → cenuij joined | 07:59 |
| → ciaranm joined | 08:00 |
| → mastroWork joined | 08:01 |
| → jaseemabid joined | 08:01 |
| ← JEEB left | 08:02 |
| ← MrV left | 08:02 |
| → dmitrygusev joined | 08:02 |
| → eaj joined | 08:02 |
| → rendar joined | 08:02 |
| ← dmitrygusev left | 08:03 |
| ← Robert_L left | 08:03 |
| ← fuzzybun_ left | 08:03 |
| → fuzzybunny69y joined | 08:03 |
| ← mastro left | 08:04 |
| ← hahuang65 left | 08:05 |
| → MafooUK joined | 08:06 |
| → Robert_L joined | 08:06 |
| → joel_falcou joined | 08:06 |
| ← SoftwareMechani1 left | 08:09 |
| → terminalRepeat joined | 08:09 |
| ← luke_ left | 08:09 |
| → mastro__ joined | 08:09 |
| ← Georg3 left | 08:09 |
| → AWinterman joined | 08:11 |
| ← joel_falcou left | 08:11 |
| → joel_falcou_ joined | 08:11 |
| ← mastroWork left | 08:12 |
| → Asenar joined | 08:14 |
| ← geomyidae left | 08:14 |
| → bartzy joined | 08:14 |
| → hendry joined | 08:15 |
|
hendry
| is there a way to determine what version a git server is running? for example github.com's? | 08:15 |
|
_ikke_
| hendry: github uses their own implementation | 08:16 |
| → JEEB joined | 08:16 |
|
iveqy
| hendry: yes and no, you can't get the git version, but the git protocoll version should be possible to get | 08:17 |
|
| hendry: however I can't see any use for it, other than for internal git | 08:17 |
| → rat_thing joined | 08:17 |
| ← Jenser left | 08:17 |
|
iveqy
| hendry: what's your goal? | 08:17 |
| → Jenser joined | 08:18 |
| → Stygia joined | 08:18 |
| → reskp joined | 08:19 |
| → nnyk_ joined | 08:19 |
| ← eletuchy left | 08:19 |
| ← harish left | 08:19 |
|
_ikke_
| The servers git version should not matter, as long as the git protocol version used is the same (And I don't think there have been any changes recently) | 08:19 |
| → eletuchy joined | 08:20 |
| → sebrock joined | 08:20 |
| ← ezekielnoob left | 08:21 |
| → frgtn joined | 08:21 |
| ← AWinterman left | 08:21 |
| ← graingert left | 08:21 |
| → sq-one joined | 08:24 |
| → luke_ joined | 08:24 |
| → mastroWork joined | 08:24 |
| ← Dudalus left | 08:26 |
| ← kcj left | 08:26 |
| ← tvw left | 08:26 |
| ← MafooUK left | 08:26 |
| ← mastro__ left | 08:27 |
| ← frgtn left | 08:28 |
| → frgtn joined | 08:28 |
| → ezekielnoob joined | 08:28 |
| → Streward joined | 08:29 |
| ← rat_thing left | 08:29 |
| → Dudalus joined | 08:29 |
| → rat_thing joined | 08:29 |
| → mastro__ joined | 08:31 |
| ← luke_ left | 08:31 |
| → marhaban joined | 08:32 |
| → menace joined | 08:32 |
| ← frgtn left | 08:33 |
| → howlymowly joined | 08:33 |
| → LimeBlast joined | 08:33 |
| ← simesy left | 08:33 |
| ← mastroWork left | 08:33 |
| → mdiers joined | 08:33 |
| → simesy joined | 08:34 |
| ← rat_thing left | 08:34 |
| → kylef joined | 08:35 |
| → rat_thing joined | 08:35 |
| → harish joined | 08:35 |
| → nuclearkitten joined | 08:37 |
| ← waaadim385 left | 08:38 |
| → suy joined | 08:38 |
| ← simesy left | 08:39 |
| → dhilipsiva joined | 08:39 |
|
dhilipsiva
| Whoa! Cool. I just found out that Some Vim shortcuts works with git diff. Like, G, g search and stuff. Handy! :D | 08:39 |
| ← reskp left | 08:40 |
|
_ikke_
| dhilipsiva: You mean less? | 08:40 |
| → quazimodo joined | 08:40 |
| → reskp_ joined | 08:40 |
|
dhilipsiva
| less??? | 08:40 |
|
_ikke_
| less is a so called pager | 08:41 |
|
| git uses less to display it's output | 08:41 |
|
dhilipsiva
| Oh, I see. I did not know that :P | 08:41 |
|
| Thanks to letting me know :) | 08:42 |
| ← mastro__ left | 08:43 |
| ← takamichi left | 08:43 |
| ← beautifulmind left | 08:43 |
|
jast
| technically you could set it to use view, vim's pager mode (basically vim in readonly mode ;)) | 08:44 |
|
| then you can use *all* vim shortcuts! | 08:44 |
| → eletuchy_ joined | 08:44 |
| ← reskp_ left | 08:44 |
|
dhilipsiva
| jast: An other awesome tip. :) Thanks :D | 08:45 |
| ← selckin left | 08:46 |
| ← rat_thing left | 08:46 |
| → takamichi joined | 08:46 |
| → gverri_ joined | 08:46 |
| → yaw joined | 08:46 |
| ← gverri_ left | 08:46 |
| → achadwick joined | 08:47 |
| → rat_thing joined | 08:47 |
| → AWinterman joined | 08:48 |
| ← eletuchy left | 08:48 |
| ← YoMomma left | 08:48 |
| → kris joined | 08:49 |
| → dhruvasagar joined | 08:52 |
| ← yacks left | 08:52 |
| → mlechner joined | 08:52 |
| → simesy joined | 08:54 |
| ← ZujkisNx left | 08:55 |
| → reskp joined | 08:56 |
| → GT4066 joined | 08:59 |
| ← yhager left | 08:59 |
| → mastro__ joined | 08:59 |
| ← rat_thing left | 08:59 |
| → HenryG_ joined | 08:59 |
| ← ezekielnoob left | 09:00 |
| ← charTay left | 09:01 |
| → HicksD joined | 09:01 |
| ← HenryG left | 09:01 |
| ← nnyk_ left | 09:02 |
| ← AWinterman left | 09:02 |
| → glosoli joined | 09:02 |
| → noname001__ joined | 09:04 |
| → ChrisAnn joined | 09:05 |
| ← yaw left | 09:05 |
| ← marhaban left | 09:05 |
| → nnyk_ joined | 09:06 |
| → rat_thing joined | 09:06 |
| ← joel_falcou_ left | 09:06 |
| ← jaseemabid left | 09:07 |
| → Tommy[D]_ joined | 09:08 |
| → ezekielnoob joined | 09:08 |
| ← Tommy[D] left | 09:09 |
| → mastroWork joined | 09:10 |
| → joel_falcou joined | 09:10 |
| → tatsuya_o joined | 09:11 |
| ← rat_thing left | 09:12 |
| ← mastro__ left | 09:12 |
| ← Error404NotFound left | 09:12 |
| → rgr joined | 09:14 |
| → netzmonster joined | 09:14 |
| → calucian joined | 09:14 |
| → Octalot joined | 09:15 |
| → sr78ger joined | 09:16 |
| ← calucian left | 09:16 |
| → joel_falcou_ joined | 09:16 |
| → MrV joined | 09:18 |
| ← joel_falcou left | 09:20 |
| ← simesy left | 09:20 |
| → yaw joined | 09:20 |
| → simesy joined | 09:21 |
| → mastro__ joined | 09:21 |
| ← kris left | 09:22 |
| ← decimad2 left | 09:22 |
| ← mastroWork left | 09:23 |
| ← JustinMa_ left | 09:23 |
| → kris joined | 09:23 |
| → decimad joined | 09:24 |
| → Error404NotFound joined | 09:24 |
| ← amcsi_work_ left | 09:25 |
| ← uhu01 left | 09:25 |
| → amcsi_work joined | 09:25 |
| netsroht_ → netsroht | 09:26 |
| → ewnd9 joined | 09:26 |
| ← simesy left | 09:26 |
| ← shoshin left | 09:26 |
| → geomyidae joined | 09:27 |
| ← takamichi left | 09:27 |
| ← eletuchy_ left | 09:27 |
| → eletuchy joined | 09:28 |
| → mastroWork joined | 09:28 |
| → svector joined | 09:29 |
| → AWinterman joined | 09:29 |
| ← weiyang left | 09:30 |
| → takamichi joined | 09:30 |
| ← kirin` left | 09:30 |
| ← kolarski left | 09:31 |
| ← mastro__ left | 09:31 |
| → gverri joined | 09:31 |
| ← gverri left | 09:31 |
| → kolarski joined | 09:31 |
| ← CodeShark left | 09:32 |
| ← bgerber left | 09:33 |
| ← mastroWork left | 09:35 |
| → mastro__ joined | 09:35 |
| → VictorCL joined | 09:37 |
| → penguin42 joined | 09:37 |
| → threesome joined | 09:38 |
| → mastroWork joined | 09:41 |
| → kcj joined | 09:42 |
| → thierryp joined | 09:44 |
| ← mastro__ left | 09:44 |
| ← AWinterman left | 09:45 |
| ← thierryp left | 09:45 |
| → thierryp joined | 09:46 |
| ← harish left | 09:46 |
| ← germanstudent left | 09:47 |
| → jarr0dsz joined | 09:47 |
| ← GT4066 left | 09:49 |
| ← thierryp left | 09:51 |
| → simesy joined | 09:51 |
| → thierryp joined | 09:52 |
| → babilen joined | 09:52 |
| → kirin` joined | 09:53 |
| ← thierryp left | 09:53 |
| → mastro__ joined | 09:53 |
| → thierryp joined | 09:53 |
| → ZujkisNx joined | 09:54 |
| ← ping__ left | 09:55 |
| ← kolarski left | 09:55 |
| ← thierryp left | 09:56 |
| ← mastroWork left | 09:56 |
| → vince_prignano joined | 09:57 |
| → thierryp joined | 09:57 |
| ← quazimodo left | 09:57 |
| ← vince_prignano left | 09:57 |
| ← grahamsavage left | 09:57 |
| ← thierryp left | 09:57 |
| → mastroWork joined | 09:58 |
| → thierryp joined | 09:58 |
| ← terminalRepeat left | 10:00 |
| ← glosoli left | 10:00 |
| ← simesy left | 10:00 |
| ← thierryp left | 10:00 |
| ← mastro__ left | 10:01 |
| → the_cybersphinx joined | 10:01 |
| → thierryp joined | 10:01 |
| → vince_prignano joined | 10:02 |
| ← thierryp left | 10:02 |
| → eletuchy_ joined | 10:03 |
| → shashin joined | 10:03 |
| ← mitz left | 10:03 |
| → jon_r joined | 10:03 |
| → mastro__ joined | 10:04 |
| ← reskp left | 10:04 |
| → mklappstuhl joined | 10:04 |
| → reskp joined | 10:05 |
| ← reskp left | 10:05 |
| → reskp__ joined | 10:05 |
| ← eletuchy left | 10:06 |
| ← mastroWork left | 10:07 |
| → joelmo joined | 10:07 |
| → ddr2 joined | 10:07 |
| → germanoak joined | 10:07 |
|
joelmo
| i like the short status version better, however this does not thell me if im ahead or behind remote? anoyne know if i also can display this info | 10:08 |
| ← yaw left | 10:08 |
| ← staafl left | 10:09 |
| ← bjescs left | 10:09 |
| → staafl joined | 10:09 |
| → shuaib joined | 10:09 |
| ← reskp__ left | 10:10 |
| → reskp_ joined | 10:10 |
| → khushildep joined | 10:11 |
| ← mattcen left | 10:11 |
| ← mobileblue left | 10:11 |
| → spaceonline joined | 10:12 |
| ← lite_ left | 10:12 |
| → AWinterman joined | 10:12 |
| → mobileblue joined | 10:12 |
| → lite_ joined | 10:12 |
| → raijin joined | 10:13 |
| → mattcen joined | 10:14 |
| → beautifulmind joined | 10:14 |
| ← reskp_ left | 10:15 |
| → curvedmark joined | 10:16 |
| ← beautifulmind left | 10:16 |
| ← h_kon left | 10:17 |
| ← lite_ left | 10:17 |
| → Tabstar joined | 10:19 |
| ← harobed left | 10:20 |
| → mastroWork joined | 10:20 |
|
iveqy
| joelmo: man git status -- no | 10:20 |
|
gitinfo
| joelmo: the git-status manpage is available at http://jk.gs/git-status.html | 10:20 |
| → lite_ joined | 10:20 |
| ← Pyrogerg left | 10:20 |
| → Guest77625 joined | 10:21 |
| ← qt-x left | 10:21 |
| → reskp_ joined | 10:21 |
| ← eletuchy_ left | 10:23 |
| → eletuchy joined | 10:23 |
| ← mastro__ left | 10:23 |
| → rat_thing joined | 10:23 |
| ← curvedmark left | 10:24 |
| → abdses joined | 10:24 |
| → asQuirreL joined | 10:25 |
| ← Tabmow left | 10:25 |
| → beautifulmind joined | 10:25 |
| ← kcj left | 10:26 |
| ← rat_thing left | 10:28 |
| → aChatir joined | 10:28 |
| ← AWinterman left | 10:29 |
| → harish_ joined | 10:29 |
| ← aChatir left | 10:30 |
| → jaseemabid joined | 10:30 |
| ← reskp_ left | 10:30 |
| → reskp_ joined | 10:31 |
| → Pyrogerg joined | 10:32 |
| ← Spockz left | 10:33 |
| → harobed_ joined | 10:33 |
| ← Gizmokid2005 left | 10:33 |
| → alessand2o joined | 10:33 |
| → Gizmokid2005 joined | 10:33 |
| → stamina joined | 10:34 |
| → reskp joined | 10:34 |
| → s0beit joined | 10:35 |
| ← reskp_ left | 10:35 |
| → jkremser joined | 10:38 |
| ← jkremser left | 10:38 |
| → jkremser joined | 10:38 |
| ← babilen left | 10:38 |
| ← hyperair left | 10:39 |
| → _ryxai joined | 10:39 |
| → marhaban joined | 10:39 |
| ← jon_r left | 10:40 |
| ← lembacon left | 10:40 |
| ← HenryG_ left | 10:45 |
| ← mastroWork left | 10:46 |
| → __ryxai joined | 10:46 |
| ← Ozch left | 10:46 |
| → HenryG joined | 10:46 |
| → yaw joined | 10:47 |
| → Ozch joined | 10:47 |
| → thiago_ joined | 10:48 |
| ← thevishy left | 10:49 |
| ← ZujkisNx left | 10:49 |
| thiago_ → thiago | 10:51 |
| ← alsu left | 10:51 |
| ← joelmo left | 10:52 |
| ← dEPz left | 10:53 |
| juvenal_away → juvenal | 10:54 |
| ← sq-one left | 10:55 |
| → AWinterman joined | 10:56 |
| → dougsland joined | 10:56 |
| ← shuaib left | 10:57 |
| → objectiveous joined | 10:57 |
| ← yaw left | 10:58 |
| ← objectiveous left | 11:00 |
| → Gardner joined | 11:01 |
| → glosoli joined | 11:01 |
| ← dhruvasagar left | 11:01 |
| → curvedmark joined | 11:01 |
| ← paulweb515 left | 11:02 |
| ← nardev left | 11:02 |
| → mastroWork joined | 11:02 |
| → raf joined | 11:02 |
| → dhruvasagar joined | 11:02 |
| ← phantomcircuit left | 11:02 |
| ← k_sze[work] left | 11:03 |
| → objectiveous joined | 11:05 |
| ← atrigent left | 11:05 |
| ← AWinterman left | 11:05 |
| → phantomcircuit joined | 11:05 |
| → jazz264 joined | 11:06 |
| ← donmichelangelo left | 11:06 |
| → angelsl joined | 11:06 |
| ← mlechner left | 11:06 |
| → donmichelangelo joined | 11:07 |
| ← angelsl left | 11:07 |
| → angelsl joined | 11:07 |
| ← objectiveous left | 11:07 |
| ← jaseemabid left | 11:08 |
| → atrigent joined | 11:08 |
| → ncopa joined | 11:12 |
| ← HicksD left | 11:12 |
| → bgerber joined | 11:12 |
|
ncopa
| hi, i'd like to do some basic sanity check in a git hook on git server to prevent people push garbage | 11:13 |
|
| i'd like the git push to abort in case some of the files pushed does not pass a simple sanity check | 11:14 |
|
| which hook should be used for that? | 11:14 |
|
_ikke_
| pre-receive | 11:14 |
| → nilg joined | 11:15 |
|
ncopa
| can i access the contents of the files from pre-receive? | 11:16 |
| → dort joined | 11:16 |
| ← bgerber left | 11:16 |
| ← mbjorling left | 11:16 |
|
iveqy
| pre-recieve hook? | 11:16 |
|
| ncopa: man githooks | 11:17 |
|
gitinfo
| ncopa: the githooks manpage is available at http://jk.gs/githooks.html | 11:17 |
| → bgerber joined | 11:17 |
| ← dyng left | 11:17 |
| → dyng joined | 11:18 |
| → mlechner joined | 11:18 |
|
mischief
| what about pre-commit :) | 11:18 |
|
ncopa
| mischief: pre-commit is the proper location yes | 11:20 |
|
cmn
| no, it's not | 11:20 |
|
| that won't prevent anybody from doing anything | 11:20 |
|
ncopa
| the dev shouldnt commit the garbage in first place | 11:20 |
|
| but i need to do it on serverside for those devs that does not have it in pre-commit | 11:20 |
| → Sonderblade joined | 11:21 |
|
cmn
| but if they want to, they will | 11:21 |
| ← Sonderblade left | 11:21 |
| → Sonderblade joined | 11:21 |
|
cmn
| either you do trust the devs not to do it, in which case you don't need anything; or you don't, in which case you need to check it at the point it tries to enter the server's repo | 11:21 |
| → user258467 joined | 11:22 |
| → PeterBooker joined | 11:22 |
|
cmn
| again, a pre-commit isn't going to stop anybody from committing | 11:22 |
|
ncopa
| pre-receive | 11:22 |
| ← dyng left | 11:22 |
|
ncopa
| but i'd like to analyze a checked out file of what they are pushing | 11:22 |
|
cmn
| pre-receive or update would handle this, yes | 11:22 |
|
| grab that blob and look at it, then | 11:23 |
|
iveqy
| ncopa: have you even read the link I gave you? | 11:23 |
| ← luc__ left | 11:23 |
|
ncopa
| ivan: actually i have (before i came here= | 11:23 |
|
iveqy
| ncopa: there's described exactly all the information you get in a pre-recieve hook | 11:23 |
| ← ivan left | 11:24 |
| juvenal → juvenal_away | 11:24 |
|
iveqy
| ncopa: good | 11:24 |
| ← Jenser left | 11:25 |
|
ncopa
| i am unsure which is best to use pre-receive or update | 11:25 |
|
| or if i should just kick out the dev... | 11:25 |
| ← decimad left | 11:25 |
| ← thiago left | 11:25 |
| → _goTAN joined | 11:26 |
| → decimad joined | 11:26 |
| ← magu|q left | 11:26 |
| ← ddr2 left | 11:26 |
|
ncopa
| re trusting devs, i dont even trust myself 100% as i know i can do mistakes - so *I* actually have a pre-commit hook | 11:26 |
|
| but i cannot force others to have it | 11:27 |
| → magu|q joined | 11:27 |
| ← Internet13 left | 11:28 |
|
iveqy
| ncopa: I think booth hooks will work for you | 11:28 |
|
| ncopa: I'm kind of against preventing pushes, this should be handled by code review IMHO | 11:28 |
|
ncopa
| so basically i should kick out the dev as he didnt reviewed the code before pushing | 11:29 |
|
_ikke_
| ncopa: github flow! | 11:30 |
|
| !github_flow | 11:30 |
|
gitinfo
| This is the workflow followed by github: http://scottchacon.com/2011/08/31/github-flow.html | 11:30 |
| ← Error404NotFound left | 11:30 |
|
ncopa
| i kinda dont want do that either because he normally do good, and i dont have time for review/sanitycheck all his stuff | 11:30 |
|
| but mistakes happens | 11:30 |
|
iveqy
| ncopa: no, he should not review his code, an other developer should do it | 11:31 |
|
echo-area
| So the SHA-1 keys of "remote branches" are also stored locally, only in refs/remotes instead of just refs, aren't they? | 11:31 |
|
iveqy
| ncopa: sure you can check for code style errors in a hook, but you can't check for logical errors, and those are much worse | 11:31 |
| ← mklappstuhl left | 11:31 |
|
iveqy
| echo-area: yes | 11:31 |
| → Internet13 joined | 11:31 |
|
ncopa
| iveqy: this particular incident would a very very simple pre check caught | 11:32 |
|
iveqy
| ncopa: this one yes... but the next one? | 11:32 |
|
ncopa
| those are caught by other parts of the process | 11:33 |
|
iveqy
| sure a post recieve hook can do some good, but don't feel safe with it, it shouldn't be instead of proper code review | 11:33 |
|
ncopa
| agree | 11:33 |
|
| its not instead of | 11:33 |
|
| so from 'update' i'd like to checkout the branch, get a list of the files that are modified and send some of them through a check filter, and exit the update with error if it does not pass | 11:35 |
|
| are there any examples for something like that? | 11:35 |
| → jobbmon joined | 11:36 |
| ← skered- left | 11:36 |
| → thiago joined | 11:36 |
| ← jobbmon left | 11:36 |
|
cmn
| look at the examples that come with git | 11:36 |
| → skered- joined | 11:36 |
| → Artpicre joined | 11:36 |
|
cmn
| your .git/hooks/ samples should point you to where they are installed on your system | 11:37 |
|
ncopa
| ok thanks | 11:37 |
| ← ewnd9 left | 11:37 |
| ← abdses left | 11:38 |
| ← north left | 11:39 |
| ← reim left | 11:39 |
| → ewnd9 joined | 11:39 |
| ← user258467 left | 11:40 |
| ← jnavila_ left | 11:41 |
| → baees joined | 11:41 |
| → ddr2 joined | 11:41 |
| juvenal_away → juvenal | 11:42 |
| ← mastroWork left | 11:42 |
| ← ewnd9 left | 11:44 |
| → xobb joined | 11:44 |
| ← tatsuya_o left | 11:44 |
| ← thiago left | 11:45 |
| → tatsuya_o joined | 11:45 |
| → ewnd9 joined | 11:45 |
| ← baees left | 11:45 |
| ← Octalot left | 11:46 |
| → ZujkisNx joined | 11:46 |
| ← dfanjul left | 11:46 |
| → babilen joined | 11:47 |
| ← marhaban left | 11:47 |
| → stodan joined | 11:47 |
| → dhilipsi_ joined | 11:48 |
| → asdcse joined | 11:48 |
| ← tatsuya_o left | 11:50 |
| ← ewnd9 left | 11:50 |
| ← reskp left | 11:50 |
| → ewnd9 joined | 11:50 |
| ← ciampix left | 11:50 |
| ← dhilipsiva left | 11:51 |
| ← ezekielnoob left | 11:51 |
| ← doev left | 11:52 |
| ← angelsl left | 11:52 |
| ← svector left | 11:52 |
| ← ewnd9 left | 11:52 |
| → doev joined | 11:52 |
| → ewnd9 joined | 11:53 |
| → angelsl joined | 11:53 |
| ← twoface88 left | 11:53 |
| → cannonball joined | 11:53 |
| ← ewnd9 left | 11:54 |
| → ezekielnoob joined | 11:54 |
| → ewnd9 joined | 11:54 |
| → svector joined | 11:54 |
| ← drager left | 11:55 |
| → drager joined | 11:55 |
| ← svector left | 11:55 |
| → cmpera joined | 11:56 |
| → svector joined | 11:56 |
| ← svector left | 11:56 |
| → psynor joined | 11:57 |
| → svector joined | 11:57 |
| ← svector left | 11:58 |
| ← Artpicre left | 11:58 |
| → svector joined | 11:58 |
| ← svector left | 11:59 |
| → mastroWork joined | 11:59 |
| → svector joined | 11:59 |
| ← asQuirreL left | 12:00 |
| → m0ltar joined | 12:00 |
| ← harobed_ left | 12:01 |
| ← FrodoTheHobbit left | 12:01 |
| → levine joined | 12:03 |
| → mklappstuhl joined | 12:03 |
| ← levine left | 12:04 |
| ← r0bby_ left | 12:05 |
| → reskp_ joined | 12:06 |
| → rudak joined | 12:07 |
| ← Cassiel left | 12:08 |
| → Artpicre joined | 12:08 |
| ← psynor left | 12:09 |
| ← echo-area left | 12:10 |
| ← janislaw left | 12:11 |
| → h_kon joined | 12:11 |
| → davividal joined | 12:11 |
| ← reskp_ left | 12:11 |
| ← m0ltar left | 12:11 |
| ← mklappstuhl left | 12:12 |
| → m0ltar joined | 12:12 |
| ← cads left | 12:13 |
| ← nnyk_ left | 12:13 |
| → mastro__ joined | 12:13 |
| → nnyk_ joined | 12:14 |
| ← mastroWork left | 12:14 |
| → demiurgo joined | 12:15 |
| → reim joined | 12:15 |
| ← Internet13 left | 12:15 |
| ← ezekielnoob left | 12:15 |
| → grilix joined | 12:16 |
| → harobed joined | 12:16 |
| ← germanoak left | 12:17 |
| ← grilix left | 12:17 |
| → Roots47 joined | 12:18 |
| → Internet13 joined | 12:18 |
| ← dhruvasagar left | 12:19 |
| → cads joined | 12:20 |
| ← svector left | 12:22 |
| → reskp joined | 12:22 |
| ← Guest43848 left | 12:22 |
| → hyperair joined | 12:23 |
| → ezekielnoob joined | 12:23 |
| → mklappstuhl joined | 12:24 |
| ← MrV left | 12:25 |
| ← m0ltar left | 12:25 |
| ← dsdeiz left | 12:25 |
| → mastroWork joined | 12:26 |
| → chuckharmston joined | 12:26 |
| → rudak1 joined | 12:26 |
| → dhruvasagar joined | 12:27 |
| → breakingthings joined | 12:27 |
| ← eregon left | 12:27 |
| ← lite_ left | 12:28 |
| → deuterium joined | 12:28 |
| → eregon joined | 12:28 |
| → lite_ joined | 12:28 |
| → jnavila joined | 12:28 |
| → asQuirreL joined | 12:29 |
| ← mastro__ left | 12:29 |
| ← rudak left | 12:29 |
| → mtk joined | 12:29 |
| ← cads left | 12:30 |
| ← snql left | 12:31 |
| → cmpera_ joined | 12:31 |
| → bulletmark joined | 12:31 |
| ← hyperair left | 12:32 |
| → ojacobson_ joined | 12:32 |
| → dEPz_ joined | 12:32 |
| ← ojacobson_ left | 12:32 |
| ← lite_ left | 12:33 |
| ← Roots47 left | 12:33 |
| ← bulletmark left | 12:33 |
| ← Pyrogerg left | 12:33 |
| ← dvide left | 12:33 |
| ← cmpera left | 12:34 |
| cmpera_ → cmpera | 12:34 |
| ← ezekielnoob left | 12:35 |
| ← ojacobson left | 12:36 |
| ← rgr left | 12:38 |
|
nitrix
| Hi, how do I revert last commit ? | 12:38 |
| ← ewnd9 left | 12:38 |
| → hyperair joined | 12:38 |
|
ciaranm
| define revert | 12:38 |
|
jast
| !revert | 12:38 |
|
gitinfo
| That's a rather ambiguous question... options: a) make a commit that "undoes" the effects of an earlier commit [man git-revert]; b) discard uncommitted changes in the working tree [git reset --hard]; c) undo committing [git reset --soft HEAD^]; d) restore staged versions of files [git checkout -p]; e) move the current branch to a different point(possibly losing commits)[git reset --hard $COMMIT]? | 12:38 |
|
nitrix
| Wait, actually, if I just do a revent, that'd be a problem. | 12:38 |
|
| I staged files I didn't intend to. | 12:39 |
|
ciaranm
| option c) then | 12:39 |
|
nitrix
| And comited. It's not on the remote yet though. | 12:39 |
|
| amazing, thanks | 12:39 |
|
jast
| if you leave out the --soft, it won't keep those versions of the files staged | 12:39 |
| ← dhruvasagar left | 12:39 |
|
nitrix
| I copy-pasted, worked like a charm :> | 12:40 |
|
jast
| so you can start over, staging only the things you want to commit :) | 12:40 |
|
nitrix
| ciaranm: hero of the day (: | 12:40 |
| ← eletuchy left | 12:40 |
| → Pyrogerg joined | 12:40 |
|
nitrix
| $ git reset HEAD client/assets | 12:40 |
| → eletuchy joined | 12:40 |
|
nitrix
| ahah :P that was pretty bad. | 12:40 |
| → svector joined | 12:41 |
|
nitrix
| 2.5GB :( | 12:41 |
| ← svector left | 12:41 |
| → ezekielnoob joined | 12:41 |
| → decotii joined | 12:41 |
| → Pullphinger joined | 12:42 |
| ← irqq left | 12:42 |
| → JeremyWei joined | 12:42 |
| → snearch joined | 12:42 |
| → svector joined | 12:43 |
| → mastro__ joined | 12:43 |
| → pouete joined | 12:44 |
| ← snearch left | 12:44 |
| ← eletuchy left | 12:45 |
| ← mastroWork left | 12:46 |
| → dhruvasagar joined | 12:46 |
| → cads joined | 12:47 |
| → iamjarvo_ joined | 12:47 |
| → badboy4471 joined | 12:47 |
| ← mobileblue left | 12:48 |
| ← badboy4471 left | 12:49 |
| → mobileblue joined | 12:49 |
| → badboy4471 joined | 12:49 |
| → mizu_no_oto joined | 12:50 |
| ← badboy4471 left | 12:50 |
| ← h12o left | 12:51 |
| → h12o joined | 12:51 |
| ← dhruvasagar left | 12:52 |
| ← dort left | 12:52 |
| → pfFredd joined | 12:52 |
| → TheBrainWork joined | 12:52 |
| → dhruvasagar joined | 12:52 |
| ← takamichi left | 12:53 |
| → m0ltar joined | 12:53 |
| → abrkn joined | 12:54 |
| → Sigma joined | 12:54 |
| ← pouete left | 12:54 |
| → takamichi joined | 12:54 |
| → tatsuya_o joined | 12:55 |
| ← dEPz_ left | 12:55 |
| → paulweb515 joined | 12:55 |
| → mastroWork joined | 12:56 |
| ← demiurgo left | 12:56 |
| → freeed joined | 12:56 |
| ← Dudalus left | 12:57 |
| → demiurgo joined | 12:57 |
| → Roots47 joined | 12:58 |
| → rgr joined | 12:58 |
| ← mastro__ left | 12:58 |
| ← svector left | 12:58 |
| ← mklappstuhl left | 12:58 |
| → dvor joined | 12:59 |
| ← glebihan_ left | 12:59 |
| ← glosoli left | 12:59 |
| → glebihan_ joined | 12:59 |
| → mklappstuhl joined | 13:00 |
| ← Sigma left | 13:00 |
| ← paulweb515 left | 13:00 |
| ← __ryxai left | 13:01 |
| ← _ryxai left | 13:01 |
| → tmcmahon joined | 13:01 |
| ← babilen left | 13:02 |
| ← reskp left | 13:02 |
| → svector joined | 13:02 |
| → xeon_ joined | 13:02 |
| → reskp joined | 13:02 |
| ← xeon_ left | 13:03 |
| ← VictorCL left | 13:03 |
| → Sigma joined | 13:03 |
| → marthinal joined | 13:03 |
| → edin joined | 13:03 |
| → FrodoTheHobbit joined | 13:03 |
| → mastro__ joined | 13:04 |
| ← liquidmetal left | 13:05 |
| → liquidmetal joined | 13:06 |
| ← tmcmahon left | 13:06 |
| ← reskp left | 13:07 |
| → HicksD joined | 13:07 |
| ← mastroWork left | 13:07 |
| ← shashin left | 13:07 |
| ← Nibato left | 13:09 |
|
maloik
| I just tried to push a single commit to master and forgot to pull. My colleague had done some commits so they had to be pulled in, but something in my config is making me merge the remote master in local master before I can push. Anyone know what that could be? Config is at https://gist.github.com/hannesfostie/28a434229ab5daf7cc7a | 13:09 |
|
| My colleague has [branch] autosetupmerge = true in his config, could that be it ? Old behaviour (before reinstalling my laptop) was just an error making me pull first before I could push | 13:09 |
| → reskp_ joined | 13:09 |
| → eletuchy joined | 13:11 |
| ← rgr left | 13:11 |
| → MrV joined | 13:12 |
| → shashin joined | 13:13 |
| → psynor joined | 13:13 |
| → ewnd9 joined | 13:13 |
| → deadeyes joined | 13:14 |
| → Guest43848 joined | 13:14 |
| → scampbell joined | 13:14 |
| → paulweb515 joined | 13:14 |
|
deadeyes
| hi all. having a question. I want to have 1 main repo in which all changes come together. And 2 node that connect to this main repo for gettig updates and pushing updates done on themself. | 13:15 |
|
| should I create branches on the "leafs"? and then push those (for each leave another branch) | 13:15 |
| ← archdori_ left | 13:15 |
|
deadeyes
| the code already exists and I commited it in the main repo | 13:16 |
| ← svector left | 13:16 |
| ← iamjarvo_ left | 13:17 |
|
deadeyes
| or do I create git branches on the master, pull these (how? I only get master if I pull), make modifications to those branches and afterwards pushing them to the main repo? | 13:17 |
| → iamjarvo_ joined | 13:17 |
|
grawity
| !pull | 13:17 |
|
gitinfo
| pull=fetch+merge (or with flags/config also fetch+rebase). It is thus *not* the opposite of push in any sense. A good article that explains the difference between fetch and pull: http://longair.net/blog/2009/04/16/git-fetch-and-merge/ | 13:17 |
|
deadeyes
| can I just use the master repo at the leaf? and push to the master on the main node? | 13:17 |
|
grawity
| make sure you understand what gitinfo just said, first | 13:17 |
|
| and, it does not matter which repo gets the branch first | 13:18 |
| → apipkin joined | 13:18 |
| ← takamichi left | 13:18 |
| → mastroWork joined | 13:18 |
|
grawity
| Git only cares about commits in the branches | 13:18 |
| → svector joined | 13:19 |
| ← cads left | 13:20 |
| ← sr78ger left | 13:20 |
| → takamichi joined | 13:20 |
| → mj12albert joined | 13:21 |
| ← mastro__ left | 13:21 |
| ← mj12albert left | 13:21 |
| ← apipkin left | 13:22 |
| → lite_ joined | 13:22 |
| ← iamjarvo_ left | 13:22 |
| → cmpera_ joined | 13:23 |
| → mj12albert joined | 13:23 |
| ← mj12albert left | 13:23 |
| → hashpuppy joined | 13:23 |
| ← cmpera left | 13:24 |
| cmpera_ → cmpera | 13:24 |
| → tvw joined | 13:25 |
| → marhaban joined | 13:25 |
| [emmajane] → emmajane | 13:26 |
| → mastro__ joined | 13:27 |
| ← mastroWork left | 13:29 |
| → tham joined | 13:30 |
| → qt-x joined | 13:30 |
| → ojacobson joined | 13:30 |
| → AaronMT joined | 13:30 |
| → jerius joined | 13:31 |
| → mklappst_ joined | 13:31 |
| ← tvw left | 13:32 |
| ← ddr2 left | 13:33 |
| ← demiurgo left | 13:33 |
| ← Roots47 left | 13:33 |
| ← stodan left | 13:34 |
|
deadeyes
| I read the blogpost. I have my remote branch listed in git branch -r. However not in git branch. So how can I check out this remote branch locally(git fetch done), make modifications to it and then git push. | 13:35 |
| ← mklappstuhl left | 13:35 |
| ← dccc left | 13:35 |
| ← h_kon left | 13:36 |
|
cannonball
| Hi. If I have a github identity, that github id defined in a git remote, and I have created a repo with some content locally on my workstation, can I simply push to github to create the public repo? | 13:36 |
|
moritz
| deadeyes: git checkout -b localbrach origin/remotebranch | 13:37 |
|
cannonball
| Or do I have to create it on github website first and then push content to it? (Dunno if that woudl even work) | 13:37 |
|
moritz
| deadeyes: and then commit your stuff, and push | 13:37 |
| → vkz joined | 13:37 |
| ← mizu_no_oto left | 13:37 |
|
moritz
| cannonball: you have to create it on github website first | 13:37 |
|
| cannonball: and it gives you instructions like the push URL | 13:37 |
|
deadeyes
| moritz: thanks! I'll look into it | 13:38 |
| → mastroWork joined | 13:38 |
|
cannonball
| moritz: thanks. | 13:38 |
| → varlog joined | 13:38 |
| → shuaib joined | 13:38 |
| → Destos joined | 13:39 |
| → Dougie187 joined | 13:39 |
| ← lite_ left | 13:40 |
|
deadeyes
| moritz so I don't have to use git checkout -b --track? (am reading the man page but it isn't totally clear to me :s) | 13:40 |
| → phile joined | 13:40 |
| → lite_ joined | 13:40 |
| → g0bl1n joined | 13:41 |
| ← mastro__ left | 13:41 |
|
moritz
| deadeyes: on moderatly modern git versions, --track is the default for that operation | 13:41 |
|
| deadeyes: and if you name your local branch like the remote branch, and there's just one remote with that brach, you can also just say 'git checkout <thbranch>' | 13:42 |
|
iveqy
| maloik: I don't understand, before you got an error and needed to pull before you push and now you get an error when you push before you pull? | 13:42 |
|
moritz
| (and your version of git isn't ancient) | 13:42 |
| ← hholtmann left | 13:42 |
| → ValicekB joined | 13:42 |
|
maloik
| iveqy: no, when I push now it just seems to pull and do a merge commit | 13:43 |
| → frankstallone joined | 13:43 |
|
maloik
| I don't want the commit if I just have to rebase a little bit | 13:43 |
| ← subhojit777 left | 13:44 |
|
iveqy
| maloik: so when you type: git push, it actually does a git pull? | 13:44 |
| ← lite_ left | 13:45 |
| → babilen joined | 13:45 |
| ← Parnic left | 13:45 |
| → Parnic joined | 13:46 |
| → Roots47 joined | 13:46 |
| ← Roots47 left | 13:47 |
| → mastro__ joined | 13:47 |
| ← kermit left | 13:47 |
|
cannonball
| moritz: I created the repo with the GPL License. When I push to it, it rejects it because it's non-fast-forward. I'm thinking I need to delete and recreate it without the License? | 13:47 |
|
| Or add the remote and pull to merge the remote and then push back... | 13:48 |
| ← jazz264 left | 13:48 |
| → mizu_no_oto joined | 13:49 |
| ← mastroWork left | 13:49 |
|
maloik
| iveqy: to be honest, it all went a bit fast, I just reacted without thinking... it's possible that I pulled manually first, but as soon as I did it opened $EDITOR to commit a merge | 13:49 |
|
| (as opposed to just rebasing and putting my commit on top or whatever) | 13:50 |
|
deadeyes
| moritz: ok, that default is not clearly stated in the git-checkout man-page. Thanks for pointing that out. The latter thing you said don't see to work for me. I tried checking out the remote branch with doing "git checkout excludes". excludes is the remote branch name (shown in git branch -r as "origin/excludes"). I see the branch created, however how can I sure that this is not a local one, and not linked with the remote one? | 13:50 |
|
iveqy
| maloik: if you want it to be rebased you should use git pull --rebase | 13:50 |
|
maloik
| yea but that used to be the default before I threw away my config and started from scratch | 13:50 |
|
iveqy
| cannonball: you probably want to pull and then push | 13:50 |
|
| maloik: then add it as the default again? | 13:51 |
|
maloik
| yea but that's what I'm asking, I'm not sure what used to cause that behaviour | 13:51 |
|
| my colleague thinks its the 'autosetupmerge = true' | 13:51 |
| → dccc joined | 13:51 |
| → LuxuryMode joined | 13:52 |
|
iveqy
| maloik: read man git config or a blog like this: http://stevenharman.net/git-pull-with-automatic-rebase | 13:52 |
|
gitinfo
| maloik: the git-config manpage is available at http://jk.gs/git-config.html | 13:52 |
| → rat_thing joined | 13:53 |
|
maloik
| iveqy: the autosetuprebase it mentions there is already in my config... so what could be going on ? | 13:53 |
| ← asQuirreL left | 13:53 |
| ← ezekielnoob left | 13:55 |
| → sgambino joined | 13:55 |
|
deadeyes
| moritz: did some test and seems like it's working as expected so I'll leave it with that:) thanks for your help! much appreciated! | 13:56 |
|
moritz
| deadeyes: you're welcome | 13:56 |
| → ezekielnoob joined | 13:56 |
| → Roots47 joined | 13:57 |
| ← ZujkisNx left | 13:57 |
| ← mastro__ left | 13:57 |
|
iveqy
| maloik: autosetuprebase only applies for when you creating a tracking branch, if your branch already existed when you did that setting nothing will happen | 13:59 |
| ← donmichelangelo left | 14:00 |
|
iveqy
| maloik: read man git rebase | 14:00 |
|
gitinfo
| maloik: the git-rebase manpage is available at http://jk.gs/git-rebase.html | 14:00 |
| ← qt-x left | 14:00 |
|
cannonball
| iveqy, moritz: Thanks for the guidance. All good now. | 14:00 |
| → donmichelangelo joined | 14:01 |
| ← reskp_ left | 14:01 |
| ← ezekielnoob left | 14:01 |
| → joaoh82 joined | 14:01 |
|
iveqy
| maloik: I mean man git config | 14:01 |
|
gitinfo
| maloik: the git-config manpage is available at http://jk.gs/git-config.html | 14:01 |
| → reskp joined | 14:01 |
| ← Artpicre left | 14:01 |
|
dsockwell
| Is Scott Chacon's 'Pro Git' still current? | 14:02 |
| ← shashin left | 14:02 |
| → jumperswitch joined | 14:02 |
|
iveqy
| dsockwell: afaik yes | 14:02 |
| ← jason237 left | 14:02 |
|
iveqy
| dsockwell: !book !talks | 14:02 |
|
gitinfo
| dsockwell: There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable | 14:02 |
|
| dsockwell: Some good video talks about Git: [yt] http://goo.gl/z72s (Linus Torvalds: History&Concepts); [yt] http://goo.gl/R9H2q (Scott Chacon: Git basics, live examples); http://vimeo.com/35778382 (Randal Schwartz: Git basics, descriptional); http://vimeo.com/46010208 (Jesica Kerr: Git basics, descriptional) | 14:02 |
| ← raf left | 14:02 |
| → thiago_ joined | 14:02 |
| → jason237 joined | 14:03 |
|
dsockwell
| oh, fantastic. | 14:03 |
|
| thank you | 14:03 |
| → sohail joined | 14:03 |
| ← sohail left | 14:03 |
| → sohail joined | 14:03 |
| → juniorsilva7 joined | 14:03 |
| ← mizu_no_oto left | 14:03 |
| ← mlechner left | 14:04 |
| → bitness64 joined | 14:04 |
| → GODDOG joined | 14:04 |
| ← vince_prignano left | 14:05 |
| ← ska-fan left | 14:05 |
| ← reskp left | 14:05 |
| ← ThomasCle left | 14:05 |
| → reskp__ joined | 14:06 |
| → ska-fan joined | 14:06 |
| ← decimad left | 14:06 |
| ← grn left | 14:06 |
| ← Pyrogerg left | 14:07 |
| → shashin joined | 14:07 |
|
maloik
| iveqy: I suppose that was the problem (the branch already existing)... I set it up for the projet now | 14:07 |
|
| thanks | 14:07 |
| ← dvor left | 14:08 |
| ← marhaban left | 14:08 |
| → ezekielnoob joined | 14:08 |
| → epicowl joined | 14:09 |
| → kermit joined | 14:10 |
| ← ValicekB left | 14:10 |
| ← fling left | 14:11 |
| ← juril left | 14:11 |
| → glosoli joined | 14:11 |
| → fling joined | 14:12 |
| → hholtmann joined | 14:12 |
| ← noname001__ left | 14:12 |
| ← Roots47 left | 14:13 |
| → joshbetz joined | 14:13 |
| → mastro__ joined | 14:14 |
| ← chuckharmston left | 14:15 |
| ← kbart left | 14:15 |
| → kesha joined | 14:15 |
| → krixkrax joined | 14:16 |
| → stodan joined | 14:16 |
| → Cromulent joined | 14:17 |
| ← mklappst_ left | 14:17 |
| → dyng joined | 14:18 |
| ← juniorsilva7 left | 14:18 |
| ← mdiers left | 14:18 |
| → Roots47 joined | 14:19 |
| → ValicekB joined | 14:21 |
| ← j416 left | 14:21 |
| → j416_ joined | 14:21 |
| ← ezekielnoob left | 14:21 |
| ← conan left | 14:21 |
| ← dyng left | 14:22 |
| → raf joined | 14:23 |
| ← papegaaij left | 14:23 |
| ← todd_dsm left | 14:23 |
| → eugenejen joined | 14:23 |
| → conan joined | 14:24 |
| → mmitchell joined | 14:24 |
| → mklappstuhl joined | 14:24 |
| → oojacoboo joined | 14:24 |
| → apipkin joined | 14:25 |
| → mastroWork joined | 14:25 |
| ← tatsuya_o left | 14:26 |
| ← beautifulmind left | 14:27 |
| → tatsuya_o joined | 14:27 |
| → lite_ joined | 14:28 |
| ← mastro__ left | 14:28 |
| → snql joined | 14:28 |
| → ezekielnoob joined | 14:28 |
| → echo-area joined | 14:29 |
| → Swayz joined | 14:29 |
| → ag4veNoob joined | 14:30 |
| thiago_ → thiago | 14:30 |
| ← ncopa left | 14:30 |
| ← freeed left | 14:31 |
| ← tatsuya_o left | 14:31 |
| → natechan joined | 14:31 |
| → herdingcat joined | 14:33 |
| ← ag4veNoob left | 14:33 |
| → user258467 joined | 14:34 |
| → mastro__ joined | 14:34 |
| ← lite_ left | 14:35 |
| ← atrigent left | 14:35 |
| → lite_ joined | 14:35 |
| ← cmpera left | 14:35 |
| ← herdingcat left | 14:35 |
| ← rat_thing left | 14:35 |
| → diverdude joined | 14:36 |
| → delianides joined | 14:36 |
| → Nibato joined | 14:36 |
|
diverdude
| Hello, is it possible to see all changes made to a certain file during the repository lifespan? | 14:36 |
|
grawity
| yeah, git log -p <path> | 14:37 |
| ← mastroWork left | 14:37 |
| → troyt joined | 14:37 |
|
grawity
| maybe also --follow, to make it follow renames | 14:37 |
| → guns joined | 14:37 |
| ← bdavenport left | 14:39 |
| ← cwillu_at_work left | 14:39 |
| ← lite_ left | 14:40 |
| ← joaoh82 left | 14:40 |
|
diverdude
| grawity, thx | 14:40 |
| → joaoh82 joined | 14:41 |
| ← sqlnoob left | 14:41 |
| → D4v33 joined | 14:42 |
| → Tumulte joined | 14:42 |
| → tang^ joined | 14:42 |
| ← ValicekB left | 14:43 |
| ← lazers left | 14:43 |
|
Tumulte
| hey ! I got to configure phing's gitpush. In "git push origin branch" is origin <repository> and branch <refspec> ? | 14:43 |
|
| https://www.kernel.org/pub/software/scm/git/docs/git-push.html | 14:43 |
| ← aem34i left | 14:43 |
|
grawity
| Tumulte: yes | 14:43 |
|
Tumulte
| (referring to this ^) | 14:43 |
| → lazers joined | 14:43 |
| → cwillu_at_work joined | 14:43 |
| ← psoo left | 14:44 |
|
Tumulte
| grawity: ok thanks a lot ! | 14:44 |
| → bdavenport joined | 14:44 |
| → cmpera joined | 14:45 |
| ← raf left | 14:45 |
| → raf joined | 14:45 |
| → shinnya joined | 14:46 |
| ← mastro__ left | 14:46 |
| → r0bby_ joined | 14:46 |
| → mastroWork joined | 14:46 |
| → johnnyfuchs joined | 14:47 |
| → robbyoconnor joined | 14:47 |
| ← r0bby_ left | 14:47 |
| → iamjarvo joined | 14:48 |
| → ValicekB joined | 14:48 |
| ← _Norm_ left | 14:48 |
| → paolooo joined | 14:50 |
| ← raf left | 14:50 |
| → acharlieh joined | 14:50 |
| → frgtn joined | 14:50 |
| ← guns left | 14:50 |
| → mizu_no_oto joined | 14:51 |
| → jjasinski joined | 14:51 |
| ← mz` left | 14:52 |
| → Berta45_45 joined | 14:52 |
| → mz` joined | 14:52 |
| ← shashin left | 14:53 |
| ← acharlieh left | 14:53 |
| → ReachingFarr joined | 14:53 |
| → rat_thing joined | 14:54 |
| → YoMomma joined | 14:55 |
| → maleknet joined | 14:55 |
| → shashin joined | 14:55 |
| ← maleknet left | 14:55 |
| ← Misan left | 14:55 |
| ← Tumulte left | 14:55 |
| → acharlieh joined | 14:55 |
| ← dwmw2_gone left | 14:56 |
| → mastro__ joined | 14:57 |
| → chuckharmston joined | 14:57 |
| ← ValicekB left | 14:57 |
| ← Search12 left | 14:57 |
| → tatsuya_o joined | 14:57 |
| ← cmpera left | 14:58 |
| → bwreilly joined | 14:58 |
| ← thiago left | 14:58 |
| ← epicowl left | 14:58 |
| → kenperkins joined | 14:59 |
| → Pyrogerg joined | 14:59 |
| ← mastroWork left | 14:59 |
| → freeed joined | 14:59 |
| → joshsmith joined | 15:00 |
| ← curvedmark left | 15:00 |
|
ReachingFarr
| I have used the `git svn clone` command to import the trunk of an SVN project into Git. I would now like to import two SVN branches, with history. After they are imported, I don't want to push changes to these branches back up to the SVN repo. What should my next step be? | 15:01 |
| ← robbyoconnor left | 15:02 |
|
grawity
| Doesn't `git svn clone` already import everything by default? | 15:02 |
| ← xxpor__ left | 15:02 |
| → King_Hual joined | 15:02 |
| → gverri_ joined | 15:02 |
| ← gverri_ left | 15:02 |
| → robbyoconnor joined | 15:02 |
| → ValicekB joined | 15:02 |
| ← robbyoconnor left | 15:03 |
|
ReachingFarr
| grawity: If you give it a path to the SVN directory that contains the branches. But there are a bunch of branches in there and I only care about two. I also don't want to leave a bunch of old, stale references hanging around once I'm done importing them. | 15:03 |
| ← dhruvasagar left | 15:03 |
|
ReachingFarr
| After they are imported I want to use the exclusively as Git branches. | 15:03 |
| → thiago joined | 15:03 |
| ← rob_w left | 15:04 |
| → herdingcat joined | 15:04 |
| ← saurabh left | 15:06 |
| ← tatsuya_o left | 15:06 |
| → mastroWork joined | 15:06 |
| → dhruvasagar joined | 15:07 |
| ← oojacoboo left | 15:07 |
| → Xethron joined | 15:07 |
| ← Xethron left | 15:07 |
| → Xethron joined | 15:07 |
| ← svector left | 15:08 |
| → kevwil joined | 15:08 |
| ← mastro__ left | 15:09 |
| → ZujkisNx joined | 15:09 |
| ← JohnBat26 left | 15:10 |
| → Tumulte joined | 15:10 |
| → pbujok joined | 15:10 |
|
Tumulte
| hey again : do symlinks end up on the remote repo ? | 15:10 |
| ← TheBrainWork left | 15:10 |
| MrDHat|offline → MrDHat | 15:11 |
|
lov
| if you add a symlink, yes. a symlink is just a little file that the filesystem interprets as "point to this other thing" | 15:12 |
| → Vinnie_win_w joined | 15:13 |
| ← rath left | 15:13 |
| ← Vinnie_win left | 15:13 |
| → asQuirreL joined | 15:13 |
| ← Cromulent left | 15:13 |
| ← iamjarvo left | 15:13 |
| → dsdeiz joined | 15:14 |
| → iamjarvo joined | 15:14 |
| ← takamichi left | 15:14 |
|
Tumulte
| lov: will it end up as an "hard" file ? | 15:14 |
| ← ThomasLocke left | 15:14 |
| ← cbreak-work left | 15:15 |
| → mastro__ joined | 15:16 |
| ← iamjarvo left | 15:16 |
| → breck7 joined | 15:16 |
| ← ezekielnoob left | 15:16 |
| ← SJS left | 15:16 |
| → titosemi3 joined | 15:17 |
| ← rchavik left | 15:17 |
|
titosemi3
| Hi there! | 15:18 |
|
gitinfo
| titosemi3: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 15:18 |
| → takamichi joined | 15:18 |
| ← mastroWork left | 15:18 |
| ← ayaz left | 15:18 |
|
titosemi3
| is there any way to show the conflicted/staged files after running git mergetool? git status doesn't show them | 15:18 |
| ← robinsmidsrod left | 15:19 |
|
titosemi3
| and git ls-files -u neither | 15:19 |
| ← Xethron left | 15:19 |
| → SJS joined | 15:19 |
| ← SJS left | 15:19 |
| → SJS joined | 15:19 |
| → robinsmidsrod joined | 15:20 |
| ← howlymowly left | 15:20 |
| → TheBrainWork joined | 15:20 |
| ← TheBrainWork left | 15:20 |
| → TheBrainWork joined | 15:20 |
|
iveqy
| titosemi3: have you commited them? | 15:21 |
| → dfanjul joined | 15:22 |
| → DonRichie joined | 15:22 |
| ← daito left | 15:23 |
| → dort joined | 15:24 |
| ← deadeyes left | 15:24 |
| ← nova_ left | 15:24 |
| → daito joined | 15:24 |
|
titosemi3
| still not. Usually before committing i like to review what i modified, eventually i do a diff. | 15:24 |
| → joelm joined | 15:25 |
|
titosemi3
| well i suppose that since i choose ours, there is actually no modifications on the file, so git status/diff don't show anything | 15:26 |
| → v0n joined | 15:26 |
| → howlymowly joined | 15:26 |
| → cods joined | 15:27 |
| ← cods left | 15:27 |
| → cods joined | 15:27 |
|
titosemi3
| right, i just tested it by resolving the conflict using theirs and now it's showing the file as modified and staged | 15:27 |
|
| thank you | 15:27 |
| ← mastro__ left | 15:27 |
| → harish joined | 15:27 |
| → ngladitz joined | 15:27 |
| ← Soliton left | 15:27 |
| ← harish_ left | 15:28 |
| ← howlymowly left | 15:28 |
| ← daito left | 15:28 |
| ← phile left | 15:29 |
| → curvedmark joined | 15:29 |
| → phile joined | 15:29 |
| ← curvedmark left | 15:29 |
| ← hyperair left | 15:29 |
| → kaisyu joined | 15:29 |
| ← kaisyu left | 15:29 |
| → lavaman joined | 15:30 |
| → cigarshark joined | 15:30 |
| ← jnavila left | 15:30 |
| ← krixkrax left | 15:30 |
| ← TheBrainWork left | 15:30 |
| → TheBrainWork joined | 15:31 |
| → travisstaton joined | 15:31 |
| → hyperair joined | 15:32 |
| → lite_ joined | 15:32 |
| → Soliton joined | 15:33 |
| ← Streward left | 15:33 |
| → halu joined | 15:33 |
| ← dhruvasagar left | 15:34 |
| ← scampbell left | 15:34 |
| ← SergeyPenkin left | 15:34 |
| ← rc111 left | 15:35 |
| ← subfunq left | 15:35 |
| → ddr2 joined | 15:35 |
| ← takamichi left | 15:36 |
| ← Balliad left | 15:36 |
| ← ZujkisNx left | 15:37 |
| ← dhilipsi_ left | 15:37 |
| → jumperswitch_ joined | 15:38 |
| ← gua_ould left | 15:38 |
| → dhilipsiva joined | 15:39 |
| ← jumperswitch left | 15:39 |
| → takamichi joined | 15:39 |
| → defaultro joined | 15:40 |
| ← linelevel left | 15:40 |
| ← Raging_Hog left | 15:40 |
| → cmpera joined | 15:41 |
| ← reskp__ left | 15:41 |
| → epicowl joined | 15:41 |
| → reskp_ joined | 15:41 |
| → maestrojed joined | 15:41 |
| → _iron joined | 15:41 |
| → m0viefreak joined | 15:42 |
| → linelevel joined | 15:42 |
| ← breck7 left | 15:44 |
| → breck7 joined | 15:44 |
| juvenal → juvenal_away | 15:45 |
| ← lb1a left | 15:45 |
| ← dhilipsiva left | 15:46 |
| ← reskp_ left | 15:46 |
| ← maestrojed left | 15:46 |
| → m7w joined | 15:47 |
| ← GODDOG left | 15:47 |
| ← joaoh82 left | 15:47 |
| → joaoh82 joined | 15:47 |
| ← wrouesnel left | 15:48 |
| → gverri_ joined | 15:48 |
| ← gverri_ left | 15:48 |
| → whunt joined | 15:48 |
| juvenal_away → juvenal | 15:49 |
| ← thiago left | 15:49 |
| ← breck7 left | 15:49 |
| ← ehmatthes left | 15:49 |
| ← Roots47 left | 15:50 |
| → reskp_ joined | 15:50 |
| → maestrojed joined | 15:50 |
| → Roots47 joined | 15:51 |
| → iamjarvo joined | 15:51 |
| → ZujkisNx joined | 15:51 |
| ← pfFredd left | 15:52 |
| → twoface88 joined | 15:52 |
| → zhost joined | 15:53 |
| ← hyperair left | 15:53 |
| ← herdingcat left | 15:53 |
| → nilg` joined | 15:53 |
| → huli_ joined | 15:54 |
| ← joshsmith left | 15:54 |
| ← bwreilly left | 15:55 |
| → breck7 joined | 15:56 |
| ← Guest43848 left | 15:56 |
| → mribeirodantas joined | 15:59 |
| ← stodan left | 16:00 |
| ← joaoh82 left | 16:00 |
| ← menace left | 16:02 |
| ← w0ng left | 16:03 |
| → GODDOG joined | 16:03 |
| ← dsdeiz left | 16:03 |
| ← jargon left | 16:06 |
| → iamjarvo_ joined | 16:06 |
| ← rurufufuss left | 16:06 |
| → BiggFREE joined | 16:07 |
| → _Norm_ joined | 16:07 |
| qsusOFFcs → qsuscs | 16:08 |
| ← frgtn left | 16:09 |
| ← iamjarvo left | 16:09 |
| ← alorence left | 16:09 |
| ← iamjarvo_ left | 16:09 |
| → iamjarvo joined | 16:10 |
| → freestyl3r joined | 16:10 |
| ← chrob left | 16:10 |
| ← huli_ left | 16:10 |
| → SoftwareMechanic joined | 16:11 |
| → infynyxx joined | 16:11 |
| → fobius joined | 16:12 |
| ← iamjarvo left | 16:12 |
| → iamjarvo joined | 16:13 |
| ← lazers left | 16:13 |
|
fobius
| Doesn't "git checkout filename" check out the most recent version of a file? Git is telling me it doesn't know about filename but if I specify a commit number then it lets me check it out. | 16:13 |
|
iveqy
| fobius: man git checkout | 16:14 |
|
gitinfo
| fobius: the git-checkout manpage is available at http://jk.gs/git-checkout.html | 16:14 |
| ← rudak1 left | 16:14 |
|
iveqy
| it should default to the commit in HEAD | 16:14 |
| → pachet joined | 16:14 |
| ← m0ltar left | 16:15 |
|
ojacobson
| fobius: 'git checkout -- filename' (probably equivalent to what you passed, unless there's a branch named 'filename') will check out the *staged* version of a file. If the file isn't staged at all (not added, or with removal staged), then it'll fail. | 16:15 |
| ← harobed left | 16:16 |
| → rudak joined | 16:17 |
|
pachet
| hi all. i have two repos, one on my local machine, one on a vm. they're both up to date. then i create a file on my local machine (we'll call it foo.js). | 16:17 |
| → boombatower joined | 16:17 |
|
fobius
| It should checkout the most recent version in the history though, right? It's started working now. I might have been on the wrong branch or something. But in any case, it's not checking out from HEAD since the file isn't tracked from HEAD. | 16:17 |
|
pachet
| git status on local > 1 untracked file (foo.js) | 16:17 |
| → Guest51606 joined | 16:17 |
| → BSaboia joined | 16:17 |
|
pachet
| when i rsync the repo contents from local to the vm and run git status on the vm, i suddenly have a lot more untracked files | 16:17 |
|
| files that were tracked previously :[ | 16:17 |
| ← iamjarvo left | 16:17 |
|
pachet
| any idea what's going on in the interplay between git + rsync that's causing those files to become untracked? | 16:18 |
| ← natechan left | 16:18 |
|
ojacobson
| fobius: no, you *either* get the staged one (if you ask for it) or a specific commit's copy of the file (if you ask for that) | 16:18 |
|
| it never falls through from one to the other | 16:18 |
| → bwreilly joined | 16:18 |
| ← babilen left | 16:18 |
|
ojacobson
| if a file exists in HEAD but you've git rm'd the file (so it is no longer in the staging area) then 'git checkout -- that-file' will not find anything | 16:18 |
| → gverri_ joined | 16:19 |
| → antoks joined | 16:19 |
| ← gverri_ left | 16:19 |
|
ojacobson
| pachet: did you exclude .git from rsync? | 16:20 |
|
pachet
| ojacobson: yes | 16:20 |
| ← ezrafree left | 16:20 |
| ← ag4ve left | 16:20 |
|
fobius
| ojacobson: I see what you're saying. So, if I checkout a file from a previous revision does it automatically stage that file as well? It seems that that's the case since I can checkout the file now that I've checked it out once with a specific commit id. | 16:20 |
|
ojacobson
| yes | 16:21 |
|
| man git-checkout | 16:21 |
|
gitinfo
| the git-checkout manpage is available at http://jk.gs/git-checkout.html | 16:21 |
| ← takamichi left | 16:21 |
| → ezekielnoob joined | 16:22 |
| → jfoy joined | 16:22 |
| → chrob joined | 16:22 |
| ← mishok13 left | 16:23 |
| ← Tumulte left | 16:23 |
| ← melee left | 16:24 |
| → melee joined | 16:24 |
| ← Guest51606 left | 16:25 |
| → jceb joined | 16:25 |
| jceb → Guest37648 | 16:26 |
| ← melee left | 16:26 |
| → melee joined | 16:26 |
| ← Sonderblade left | 16:26 |
| → lazers joined | 16:26 |
| → chimay joined | 16:27 |
| ← hashpuppy left | 16:28 |
| ← achadwick left | 16:28 |
| → gzg joined | 16:29 |
| ← donmichelangelo left | 16:30 |
| → yhager joined | 16:30 |
| → donmichelangelo joined | 16:30 |
| ← khushildep left | 16:32 |
| → Cromulent joined | 16:32 |
| → ag4ve joined | 16:33 |
|
fobius
| Is there a way to checkout a file without adding it to the index? For instance, if I wanted to base a file on another file. | 16:33 |
| → CodeShark joined | 16:33 |
|
_ikke_
| fobius: I guess git cat-object | 16:33 |
|
| git cat-file*( | 16:33 |
|
| man git cat-file | 16:33 |
|
gitinfo
| the git-cat-file manpage is available at http://jk.gs/git-cat-file.html | 16:33 |
|
fobius
| Okay, thanks | 16:34 |
|
_ikke_
| But that's quite a low level operation | 16:34 |
|
| You'd first need to get the hash of the file | 16:34 |
|
fobius
| I mean I could just check out the commit and copy some text out of the file. But that seems a little bit heavy. | 16:34 |
|
_ikke_
| fobius: another possibility: git show :file > other-file | 16:35 |
|
fobius
| Okay, thanks. | 16:35 |
|
_ikke_
| If you want it form a commit, use git show <commit>:file > other-file | 16:35 |
| → AWinterman joined | 16:36 |
| → ehmatthes joined | 16:37 |
| → dhruvasagar joined | 16:37 |
|
ojacobson
| _ikke_: I spell it 'some-branch:path/to/file' ;) | 16:38 |
|
| oh you got there already | 16:38 |
| → imachuchu joined | 16:38 |
|
ojacobson
| carry on :) | 16:38 |
|
| fobius: !xy | 16:38 |
|
gitinfo
| fobius: Woah, slow down for a bit. Are you sure that you need to jump to that particular hoop to achieve your goal? We suspect you don't, so why don't you back up a bit and tell us about the overall objective... | 16:38 |
| ← JeremyWei left | 16:39 |
| ← lite_ left | 16:40 |
| ← MrV left | 16:41 |
| ← apipkin left | 16:41 |
| → lite_ joined | 16:41 |
| → jasonp joined | 16:42 |
|
fobius
| Sure, I have a file that existed once. I need to extract a method from it but I don't want the whole file. | 16:42 |
| ← mklappstuhl left | 16:43 |
| ← shashin left | 16:43 |
| ← YoMomma left | 16:44 |
| → dorkmafia joined | 16:44 |
| ← GODDOG left | 16:45 |
| srcerer_ → srcerer | 16:45 |
| → iamjarvo joined | 16:45 |
| ← lite_ left | 16:46 |
| ← dhruvasagar left | 16:46 |
| ← ehmatthes left | 16:46 |
| ← cenuij left | 16:46 |
| → mishok13 joined | 16:47 |
| → a-l-e joined | 16:47 |
| → bsilver joined | 16:47 |
| ← jasonp left | 16:47 |
| → dhruvasagar joined | 16:48 |
| ← reskp_ left | 16:48 |
| ← cff left | 16:49 |
| → reskp joined | 16:49 |
| ← doev left | 16:50 |
| ← mizu_no_oto left | 16:50 |
| ← sjmikem left | 16:50 |
| → grilix joined | 16:53 |
| ← reskp left | 16:53 |
| ← bitkid_ left | 16:54 |
| ← raijin left | 16:54 |
| → TomyLobo joined | 16:54 |
| ← netzmonster left | 16:55 |
| → howlymowly joined | 16:56 |
| ← titou__ left | 16:56 |
| ← mishok13 left | 16:56 |
| ← maestrojed left | 16:56 |
| ← sonOfRa left | 16:57 |
| ← BtbN left | 16:57 |
| → mishok13 joined | 16:57 |
| → BtbN joined | 16:57 |
| → sonOfRa joined | 16:57 |
| → tatsuya_o joined | 16:58 |
| ← jkremser left | 16:58 |
| → hyperair joined | 16:59 |
| ← intellix left | 17:00 |
| → SoftwareMechani1 joined | 17:00 |
| → Tumulte joined | 17:00 |
|
Tumulte
| hey again again | 17:00 |
| ← SoftwareMechanic left | 17:02 |
| ← acharlieh left | 17:02 |
|
Tumulte
| I got some troubles figuring out "gitignore". There a " *.jpeg" in a subfolder, but every files and folder are ignored | 17:02 |
| ← rat_thing left | 17:03 |
| ← iderik left | 17:03 |
| → aard_ joined | 17:05 |
| ← marthinal left | 17:05 |
| ← Droolio left | 17:05 |
| ← Stygia left | 17:05 |
| ← ZujkisNx left | 17:06 |
| ← ChrisAnn left | 17:06 |
| ← eaj left | 17:07 |
| ← Vinnie_win_w left | 17:07 |
| ← melee left | 17:07 |
| → Vinnie_win joined | 17:07 |
| → eaj joined | 17:07 |
| ← h0bbit_ left | 17:08 |
| ← ezekielnoob left | 17:08 |
| → raijin joined | 17:09 |
| ← s0ber left | 17:09 |
| → mmlac-bv joined | 17:10 |
| ← cmpera left | 17:10 |
| ← chuckharmston left | 17:10 |
| ← dhruvasagar left | 17:10 |
| ← bgerber left | 17:10 |
| → marhaban joined | 17:11 |
| → maestrojed joined | 17:11 |
| → frgtn joined | 17:12 |
| ← eaj left | 17:12 |
| → DrShoggoth joined | 17:12 |
| ← iamjarvo left | 17:12 |
|
ldlework
| After fetching, how can I find the difference between my local branch the the to-be-merged remote? | 17:13 |
| → iamjarvo joined | 17:13 |
| → marthinal joined | 17:13 |
| ← _goTAN left | 17:14 |
|
osse
| ldlework: git diff HEAD FETCH_HEAD for example | 17:14 |
| ← infynyxx left | 17:14 |
| ← ngladitz left | 17:15 |
|
ldlework
| osse: oh neat | 17:15 |
|
osse
| ldlework: but something like git diff master origin/master probably looks more familiar. depends on on your branch and remote names | 17:15 |
| → cmpera joined | 17:16 |
| → hashpuppy joined | 17:16 |
| → infynyxx joined | 17:16 |
| → tengelic joined | 17:16 |
| ← iamjarvo left | 17:17 |
| ← mribeirodantas left | 17:18 |
| → ZujkisNx joined | 17:18 |
| → lite_ joined | 17:18 |
| → acharlieh joined | 17:19 |
| → bgerber joined | 17:19 |
| ← boblee left | 17:19 |
| ← nnyk_ left | 17:20 |
| → boblee joined | 17:20 |
| → ngladitz joined | 17:20 |
| ← ngladitz left | 17:20 |
| → ngladitz joined | 17:20 |
|
Tumulte
| can you help me understand why gitignore ignores the entire folder and not the provided pattern ? https://github.com/MusiqueLibre/DogmaGoblin/blob/dogmagoblin/mediagoblin/plugins/dogma/static/images/uploaded/.gitignore | 17:22 |
| → dhruvasagar joined | 17:22 |
| → iamjarvo joined | 17:23 |
| → sdrfnord1 joined | 17:23 |
| → maqr joined | 17:23 |
|
tang^
| do you have any non jp[e]g files in that folder? | 17:24 |
| ← iamjarvo left | 17:24 |
|
Tumulte
| tang^: no, but the folders IN that folder are ignored | 17:24 |
|
rohieb
| does git reaqd .gitignores in subfolders, or only in the repo root dir? | 17:24 |
|
tang^
| Tumulte: yes. git does not track folders. | 17:24 |
| → iamjarvo joined | 17:25 |
|
Tumulte
| tang^: I gotta create a dummy file ? | 17:25 |
|
tang^
| Tumulte: yes | 17:25 |
|
rohieb
| git does not track _empty_ folders | 17:25 |
| → wrouesnel joined | 17:25 |
|
Tumulte
| that's a bummer... | 17:25 |
| → cads joined | 17:25 |
|
tang^
| Tumulte: yes it is, if you need the folders to remain | 17:26 |
|
| rohieb: git does not track folders. the only time you see folders is if they contain files that git is tracking | 17:27 |
| ← Vinnie_win left | 17:27 |
| ← cmpera left | 17:27 |
| ← howlymowly left | 17:28 |
| → danman joined | 17:28 |
| ← dort left | 17:29 |
| → leeN joined | 17:30 |
| → d8bhatta joined | 17:31 |
|
d8bhatta
| hi guys | 17:31 |
|
| i have installed into new server | 17:31 |
|
Tumulte
| thanks tang^ and rohieb | 17:31 |
|
d8bhatta
| but when I try to run git command it gives me error like: fatal: unable to access '/usr/local/etc/gitconfig': Permission denied | 17:32 |
| → JustinMac joined | 17:32 |
| ← fobius left | 17:32 |
| → cmpera joined | 17:33 |
|
tang^
| do you have permission to read that file? | 17:33 |
|
d8bhatta
| when i check /usr/local/etc/gitconfig , there is no such gitconfig file/folder | 17:33 |
| → aChatir joined | 17:33 |
| ← Vampire0_ left | 17:33 |
| → LukeKetley joined | 17:34 |
| → Vampire0_ joined | 17:34 |
| ← LukeKetley left | 17:34 |
| → LukeKetley joined | 17:35 |
|
d8bhatta
| tang^ the file doesn't exist there | 17:35 |
| ← matanya left | 17:35 |
|
osse
| d8bhatta: do you have permission to read all the parent directories? | 17:35 |
| ← penguin42 left | 17:35 |
| ← LukeKetley left | 17:35 |
| → matanya joined | 17:35 |
| → LukeKetley joined | 17:36 |
|
d8bhatta
| osse: no..but i can use root | 17:36 |
| ← gerard0- left | 17:36 |
| → gerard0 joined | 17:36 |
|
rohieb
| in any case, sudo touch /usr/local/etc/gitconfig should do it | 17:37 |
|
osse
| d8bhatta: then you'll get that error. Git probably tries to find /usr/local/etc/gitconfig but isn't even allowed to see whether it is there or not | 17:37 |
| ← voiceofgrog left | 17:37 |
| → thegladiator_ joined | 17:37 |
|
thegladiator_
| Can I cherry-pick to another branch ? | 17:37 |
|
osse
| yes | 17:37 |
|
thegladiator_
| I mean another repo :) | 17:38 |
| → ehmatthes joined | 17:38 |
| ← yhager left | 17:38 |
| → hahuang65 joined | 17:38 |
|
d8bhatta
| when do sudo ls /usr/local/etc/ ...there doesn't exist gitconfig file | 17:38 |
|
| strange | 17:38 |
| → dreiss joined | 17:38 |
|
osse
| thegladiator_: if you fetch from it first, yes | 17:38 |
| ← asQuirreL left | 17:38 |
|
joelm
| If I clone a repo and then checkout via a SHA, I end up in a detached HEAD state. That's cool. Let's say the SHA was abcd123. Now, I want to pull code from another repo (https://github.com/other/repo. But when I pull this, I don't want the SHA to change. I want it to stay abcd1234. I have been trying all sorts of combinations of pull/merge/etc, but can't get the right one. Any help? | 17:38 |
|
osse
| d8bhatta: what does 'ls -l /usr /usr/local /usr/local/etc' say? | 17:38 |
| → yhager joined | 17:39 |
|
thegladiator_
| I see ... Its possible that repo can nothing to do with the present repo - still ? Ofcourse file structure is a bit similar | 17:39 |
|
osse
| thegladiator_: technically possible, yes. Doesn't sound very useful though. | 17:39 |
|
d8bhatta
| it list out files and finally gives error : /bin/ls: /usr/local/etc: Permission denied | 17:39 |
|
| osse | 17:39 |
|
thegladiator_
| right , nah its just some legacy vs new thing | 17:39 |
|
osse
| d8bhatta: Yep, that is what I expected. You don't have access to /usr/local/etc, hence Git doesn't have it either | 17:40 |
| → asQuirreL joined | 17:40 |
| → sq-one joined | 17:40 |
| ← asQuirreL left | 17:40 |
| ← aChatir left | 17:40 |
| ← matanya left | 17:40 |
| ← Guest37648 left | 17:40 |
|
osse
| d8bhatta: the permissions for /usr/local/etc should probably be '755' but are in fact '700', but it depends. | 17:41 |
| → nicedice_ joined | 17:41 |
| → chuckharmston joined | 17:41 |
|
osse
| That's my guess at least | 17:41 |
| ← rendar left | 17:41 |
| → apipkin joined | 17:42 |
| → jceb joined | 17:42 |
| jceb → Guest74106 | 17:43 |
| → ZaFrost joined | 17:43 |
| ← rudak left | 17:45 |
| ← nuclearkitten left | 17:46 |
| → diegoviola joined | 17:46 |
| ← ojacobson left | 17:46 |
|
thegladiator_
| right osse | 17:47 |
|
| thats ok I can try it out | 17:47 |
| → tough_griff joined | 17:47 |
| → spike joined | 17:47 |
| ← Guest74106 left | 17:48 |
|
d8bhatta
| osse: its works ..tx | 17:48 |
| ← Guest77625 left | 17:48 |
| ← breck7 left | 17:48 |
| → shoshin joined | 17:49 |
|
osse
| thegladiator_: you can get the equivalent by going to the repo you want to cherrypick from use format-patch there and then apply that patch in your own repo | 17:49 |
| → breck7 joined | 17:49 |
|
thegladiator_
| Right format_patch is interesting | 17:49 |
| → fobius joined | 17:50 |
|
thegladiator_
| I would keep that in mind | 17:50 |
| ← koki left | 17:50 |
| ← BiggFREE left | 17:50 |
|
iveqy
| joelm: !pull | 17:52 |
|
gitinfo
| joelm: pull=fetch+merge (or with flags/config also fetch+rebase). It is thus *not* the opposite of push in any sense. A good article that explains the difference between fetch and pull: http://longair.net/blog/2009/04/16/git-fetch-and-merge/ | 17:52 |
|
iveqy
| joelm: you probably want to fetch | 17:52 |
| ← jfoy left | 17:52 |
| → ojacobson joined | 17:53 |
| → jkremser joined | 17:53 |
| ← jkremser left | 17:53 |
| → jkremser joined | 17:53 |
| ← breck7 left | 17:53 |
| → gebbione joined | 17:54 |
| → mklappstuhl joined | 17:54 |
| → JohnBat26 joined | 17:55 |
| ← dhruvasagar left | 17:55 |
| → homo_vitruvius joined | 17:55 |
|
spike
| hi, someone else an I branched off of master, then I merged back and when he merged back botched the merge and kept a lot of stuff in his branch I had changed in mine. As a result master now has old/wrong code, but if I try to merge back in my branch of course it says those commits are already there | 17:57 |
| ← mklappstuhl left | 17:57 |
| → jfoy joined | 17:58 |
|
spike
| if I diff my branch with master bits that are wrong are all showing with fixes in my brnach | 17:58 |
|
| what's a clean why to get out of this? git patch/apply? | 17:58 |
| ← kesha left | 17:58 |
| ← PeterBooker left | 17:59 |
|
iveqy
| spike: the best way would be to use git rebase to remove the merge commit since it obviously wrong. However !public | 17:59 |
| → juniorsilva7 joined | 17:59 |
|
gitinfo
| spike: [!rewriting_public_history] Rewriting public history is usually bad. Everyone who has pulled the old history have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push -f` to force (and the remote may reject that, anyway). See http://goo.gl/waqum | 17:59 |
| → ncd|leeN joined | 17:59 |
|
iveqy
| spike: try to rebase you branch against master and merge again | 17:59 |
| ← paulweb515 left | 18:00 |
|
iveqy
| spike: but I sense a deeper problem here... how come your partner choosed his changes instead of yours when he did the merge? | 18:00 |
|
joelm
| iveqy: Let's say I do git fetch http://github/other/repo. I will get something like this: * branch HEAD -> FETCH_HEAD | 18:00 |
| ← leeN left | 18:00 |
|
joelm
| Now I need to add that FETCH_HEAD to the main repo without changing the SHA of the main repo. | 18:01 |
|
| I don't need to commit this code or anything. It is for a script I am writing. I just need that other repo code to be in the directory of the main repo. | 18:01 |
|
spike
| iveqy: first time git user, an ocean between us and 8hrs, working at 2am on his end - pretty much a classic | 18:01 |
| ← mmlac-bv left | 18:02 |
| → natechan joined | 18:02 |
| → iamjarvo_ joined | 18:03 |
| ← eletuchy left | 18:03 |
|
iveqy
| joelm: do you know how the sha1 is calculated | 18:04 |
|
joelm
| iveqy: In theory :) | 18:04 |
| ← DolphinDream left | 18:04 |
| → PeterBooker joined | 18:04 |
| → jnavila joined | 18:05 |
|
iveqy
| joelm: good, then you know that you can't add things and keep the sha1... | 18:05 |
|
joelm
| iveqy: Basically my other option is to just git clone the other repo into a temp directory and move the code into the main repo. | 18:05 |
|
| iveqy: A linux mv; not a git mv | 18:06 |
|
| iveqy: Submodules almost worked. But it added one more directory layer underneath the main repo root than I wanted. | 18:06 |
| ← twoface88 left | 18:07 |
| ← iamjarvo left | 18:07 |
|
cbreak
| joelm: impossible. | 18:07 |
| → joevandyk joined | 18:07 |
|
cbreak
| joelm: linux is WAY too IMPOTENT to do something as tremendously difficult as breaking sha1 | 18:08 |
| → pweaver joined | 18:08 |
|
iveqy
| joelm: I think you're doing this harder than it is. What's your goal? | 18:08 |
|
joevandyk
| hi, all. say i have 10 files with different file names but with the same content. will git store that file content 10 times? or 1 time? | 18:08 |
|
cbreak
| joelm: why do you want to add it to the "main repo" (I assume you mean main history line)? | 18:08 |
| ← SamB left | 18:08 |
|
cbreak
| joelm: once per repository, probably less. | 18:09 |
|
joelm
| iveqy: cbreak: Let me lay out the scenario. | 18:09 |
| ← pweaver left | 18:09 |
| → pheaver joined | 18:09 |
| → alazare619 joined | 18:09 |
| ← ewnd9 left | 18:10 |
|
alazare619
| i'm looking for a linux client that also has terminal functionality that when i ssh in i can git pull | 18:10 |
|
cbreak
| alazare619: openssh | 18:10 |
|
alazare619
| basically a gui with dif etc when im at the desktop but basic git functionality for pull when im ssh'd | 18:10 |
| ← chimay left | 18:10 |
|
iveqy
| joelm: one time | 18:10 |
|
joelm
| I am trying to automate phpunit testing of a framework, call it RepoA. I want this testing done against a specific sha1. To do the testing, however, I need code from another repo, call it RepoB. | 18:10 |
|
iveqy
| alazare619: how about git? | 18:10 |
|
alazare619
| does the standard git package have git functionality (still new to git on nix) but i've been using it awhile on windows | 18:11 |
|
iveqy
| alazare619: the "standard git package" _is_ git and is the only client afaik that has _full functionality_ | 18:11 |
| → h0bbit_ joined | 18:11 |
|
cbreak
| joelm: just check it out then. | 18:11 |
|
| you can check out arbitrary commits | 18:11 |
|
joelm
| So I git clone RepoA; git checkout sha1; git <pull/fetch/rebase/merge> RepoB into the root dir of RepoA. That changes the sha1. I don't want that to change. | 18:11 |
| → Jacob2000 joined | 18:12 |
| → hi_ joined | 18:12 |
|
joelm
| Sounds like the sha will change, no matter what I do. | 18:12 |
|
cbreak
| joelm: why waste time with that? | 18:12 |
| ← luxgeek left | 18:12 |
|
iveqy
| joelm: but if you checkout repoB you won't look at repoA anymore, you'll look at repoB | 18:12 |
|
cbreak
| joelm: and why do you care about the hash? | 18:13 |
| ← Dougie187 left | 18:13 |
| → reskp joined | 18:13 |
| ← reskp left | 18:13 |
| → reskp joined | 18:13 |
|
joelm
| cbreak: Because the next time I run the script, I don't want to have to download everything again. I match the hash in my script, with the hash I have downloaded previously. | 18:13 |
| ← daze left | 18:14 |
| MrDHat → MrDHat|offline | 18:14 |
|
joelm
| cbreak: The hash serves as a baseline for my testing. | 18:14 |
|
cbreak
| joelm: so? | 18:14 |
|
| joelm: what do those two things have in common? | 18:14 |
| → rat_thing joined | 18:14 |
|
cbreak
| NOTHING | 18:14 |
|
| after testing you can reset the merge away again. | 18:14 |
| → NAART4C joined | 18:14 |
| ← SoftwareMechani1 left | 18:14 |
|
cbreak
| but it sounds as if your scripts are a bad imitation of submodules | 18:15 |
|
ojacobson
| or subtree merge, or "have two directories" | 18:15 |
| ← spike left | 18:15 |
|
ojacobson
| (stitching two repos together to run tests sounds like a consequence of some pretty dysfunctional engineering further upstream, to me, but I'm not there and you are -- you judge.) | 18:15 |
|
joelm
| cbreak: I am not sure I am explaining myself well. It's a bit difficult to describe. It's fine, there is a brute force way to do this. | 18:16 |
|
cbreak
| joelm: yes. just do what I told you | 18:16 |
|
| and when you're done, reset the stuff out of history | 18:16 |
|
| no need to re-fetch anything. | 18:16 |
|
ojacobson
| If you're going to use HEAD's sha1 to identify things, then stop running commands that either check out (git checkout) or create (git pull/git rebase/git merge) new commits into HEAD, too | 18:16 |
|
| If you have two repos and want to use both, then have two repos | 18:17 |
|
| Don't try to frankenrepo them together and do anything too meaningful with the result | 18:17 |
| → blz joined | 18:17 |
| → shellbackpacific joined | 18:18 |
| ← juniorsilva7 left | 18:18 |
|
ojacobson
| It really does sound like the test scaffolding should either wrap around the outside of the project under test (and expect the test code to be in a subdir, and include glue to clone/check out a specific repo + commit into the right place) or be part of the project under test, though | 18:18 |
|
joelm
| cbreak: git ignorance from me, probably, but -- if I "reset the stuff out of history" at the end, I will lose the RepoB code and have to get that again at least when I run the script again. | 18:18 |
|
ojacobson
| having two completely independent repos that need to be in a coherent combined state to run your tests is eventually going to bite you | 18:19 |
| ← Devastator left | 18:19 |
|
cbreak
| joelm: so? Who cares. | 18:19 |
| → Dougie187 joined | 18:19 |
|
cbreak
| it's just a merge. | 18:19 |
| ← rat_thing left | 18:19 |
|
cbreak
| you don't even need the big bad internet for that. | 18:19 |
|
shellbackpacific
| anyone know off the top how to get all files committed in a branch (not merge commits) ? | 18:19 |
|
cbreak
| just make sure you add the other repository as remote before fetching | 18:20 |
| ← kevwil left | 18:20 |
| → melee joined | 18:20 |
|
cbreak
| shellbackpacific: just git diff between the last and the parent of the first commit | 18:20 |
|
| use --name-status or so | 18:20 |
| → Algorithm joined | 18:20 |
|
shellbackpacific
| cbreak: there are a ton of commits….know how to quickly get the first one from a branch ? :) | 18:21 |
| ← acharlieh left | 18:21 |
|
cbreak
| git merge-base parentbranch | 18:21 |
| → nickpresta joined | 18:21 |
|
cbreak
| also give it your branch | 18:21 |
| ← dreiss left | 18:22 |
| ← Dougie187 left | 18:23 |
| → Dougie187 joined | 18:23 |
| → SamB joined | 18:24 |
| → jkyle joined | 18:25 |
|
jkyle
| In my repositories, git remote prune origin is not removing hte local branches. git remote prune origin -n lists them, and the command says it's removing them. But it doesn't actually remove them | 18:26 |
| → mfulz joined | 18:27 |
| ← boombatower left | 18:27 |
| ← scelis left | 18:28 |
| ← Dougie187 left | 18:29 |
|
cbreak
| jkyle: git branch -a | 18:29 |
|
| and git ls-remote origin | 18:29 |
|
| please pastebin both | 18:29 |
|
jkyle
| crap, I just manually cleaned up the locals | 18:30 |
| → primitive joined | 18:30 |
| → eletuchy joined | 18:30 |
| ← rasto left | 18:30 |
|
jkyle
| cbreak: may I ask what you were going to compare? | 18:31 |
|
cbreak
| jkyle: the contents. | 18:31 |
| ← titosemi3 left | 18:31 |
| → Dougie187 joined | 18:31 |
|
cbreak
| jkyle: I'd likely have told "there are no remote tracking branches that need cleaning, everything's already fine" | 18:31 |
|
blz
| If I'm using an SSH config file to talk to git, should I use my public or private key? I assumed public, but a cursor google search seems to indicate that the private keys should be used... I just wanted to double-check with you guys | 18:31 |
|
| *cursory | 18:31 |
|
cbreak
| or "yeah, branch refs/remotes/origin/foobar should vanish... weird..." | 18:31 |
| → paulweb515 joined | 18:32 |
|
cbreak
| blz: neither | 18:32 |
|
jkyle
| let me see if I can replicate with a dummy branch | 18:32 |
|
cbreak
| blz: you can just use your normal shell | 18:32 |
|
blz
| cbreak, how so? | 18:32 |
|
cbreak
| you don't need network connection or ssh at all | 18:32 |
|
| git is local | 18:32 |
|
blz
| cbreak, this isn't a local repository | 18:32 |
|
cbreak
| why do you think that? | 18:32 |
| → nardev joined | 18:33 |
|
blz
| cbreak, because it's hosted on another machine | 18:33 |
|
cbreak
| that's irrelevant. | 18:33 |
| → rafaqueque joined | 18:33 |
|
blz
| cbreak, then I don't follow... | 18:33 |
|
cbreak
| you clone it, so the clone is local | 18:33 |
|
| you can communicate with it without a config file | 18:33 |
|
blz
| cbreak, okay, but when I want to push to origin it's no longer local... | 18:33 |
|
cbreak
| yeah. | 18:33 |
|
ToxicFrog
| blz: this goes for ssh in general, not just git-over-ssh - you need a matched public/private keypair (generated by ssh-keygen). Once you have that, the remote system gets a copy of your *public* key and the *private* key stays on the machine you're connecting from. | 18:33 |
|
cbreak
| you still don't need to communicate with a config file | 18:33 |
|
ToxicFrog
| It's right there in the name: the public key you publish, the private key you keep. | 18:34 |
|
cbreak
| you use the same protocol as when you cloned | 18:34 |
|
| (typically at least) | 18:34 |
| → Vinnie_win joined | 18:34 |
|
blz
| cbreak, so then I'd like to avoid typing in my passphrase each and every time I push to origin. My understanding was that this involved SSH key pairs | 18:34 |
|
ToxicFrog
| blz: erm | 18:34 |
|
cbreak
| sure, if you use ssh | 18:34 |
| emmajane → emmajane|food | 18:34 |
|
cbreak
| you can put your public key into ~/.ssh/authorized_keys | 18:35 |
|
ToxicFrog
| blz: if SSH is asking you for a "passphrase", you may already be using a keypair; it's asking you for the passphrase for your private key | 18:35 |
|
cbreak
| (on the remote of course) | 18:35 |
|
blz
| cbreak, right, I've done that | 18:35 |
| → dreiss joined | 18:35 |
|
blz
| ToxicFrog, aaah that makes sense | 18:35 |
|
| that would explain why I'm still getting the passphrase prompt =/ | 18:36 |
|
ToxicFrog
| If it's asking you for your password on the remote machine, do as I said - ssh-keygen to generate the key, ssh-copy-id to install it in ~/.ssh/authorized_keys on the remote machine. | 18:36 |
| → germanoak joined | 18:36 |
|
ToxicFrog
| blz: so, you have two options there | 18:36 |
|
blz
| ToxicFrog, yeah that part is already done | 18:36 |
| ← germanoak left | 18:36 |
|
ToxicFrog
| You can remove the passprase from your private key; this means anyone who gets a copy of the keyfile can use it freely, though. | 18:36 |
|
cbreak
| blz: type ssh-add | 18:36 |
|
blz
| cbreak, also done | 18:36 |
|
ToxicFrog
| Or you can use something like ssh-agent to remember the passphrase for the duration of your login. | 18:36 |
| → germanoak joined | 18:37 |
|
ToxicFrog
| (I have no idea how to use ssh-agent, this is the extent of my knowledge on the subject) | 18:37 |
| ← germanoak left | 18:37 |
| ← paolooo left | 18:37 |
|
cbreak
| blz: now you won't need to unlock your private key again (until the agent discards it) | 18:37 |
|
blz
| ToxicFrog, haha well this is already very helpful. Do you happen to know how to remove a passphrase from a key? | 18:37 |
| → germanoak joined | 18:37 |
|
blz
| I'm not too worried about losing it... the drive is encrypted so it's not like physically losing the machine would be the end of the world | 18:37 |
| ← Tumulte left | 18:38 |
|
ToxicFrog
| blz: ssh-keygen is used to edit keys as well as create them. ssh-keygen -p | 18:38 |
| ← davividal left | 18:38 |
|
blz
| ToxicFrog, many thanks | 18:38 |
| ← juvenal left | 18:38 |
| → rat_thing joined | 18:38 |
|
tengelic
| hello! is there any difference between git clone --mirror and a simple shell cp? | 18:38 |
|
ToxicFrog
| It'll ask for the keyfile, old passphrase, and new. Just hit enter to skip the new prompt and you'll get a passphraseless key. | 18:38 |
|
cbreak
| tengelic: many | 18:39 |
|
tengelic
| cbreak: I mean cp on a bare repo | 18:39 |
|
cbreak
| still many. | 18:40 |
|
tengelic
| can you help me explaining it? | 18:40 |
|
cbreak
| git clone --mirror only clones reachable history | 18:40 |
|
| it does not clone configuration such as remotes or hooks | 18:40 |
|
| it does not clone unreachable history, not even the history reachable by the reflog | 18:41 |
|
blz
| ToxicFrog, hmm it's still prompting me for my passphrase. Let me run this by you again... I generated an ssh public/private key pair on my client machine and then copied the contents of id_rsa.pub into the server's ~/.ssh/authorized_keys file | 18:41 |
|
ojacobson
| It happens to repack the repo in the process, whereas rsync/cp/tar do not, too | 18:41 |
|
| and produces a new, empty reflog | 18:41 |
|
cbreak
| it does not clone non-history files that are also in a git repository | 18:41 |
| → thiago joined | 18:41 |
| ← lahwran left | 18:42 |
|
ToxicFrog
| blz: sounds good so far | 18:42 |
|
blz
| ToxicFrog, and that's it... sounds like I missed a step | 18:42 |
|
tengelic
| cbreak: clear, o.k., thanks | 18:42 |
| ← nardev left | 18:42 |
| ← diegoviola left | 18:42 |
| → lahwran joined | 18:43 |
| ← germanoak left | 18:43 |
|
ToxicFrog
| blz: I thought you also removed the passphrase from the private key a moment ago with ssh-keygen -p? | 18:43 |
|
blz
| ToxicFrog, I did | 18:43 |
|
| yes, sorry, I wasn't being very clear | 18:43 |
|
ToxicFrog
| You're sure you're connecting to the server with the key you think you are? | 18:43 |
| → germanoak joined | 18:43 |
| ← germanoak left | 18:43 |
|
blz
| ToxicFrog, server yes, key not at all | 18:43 |
| → Burer joined | 18:44 |
| ← Burer left | 18:44 |
| → Burer joined | 18:44 |
|
blz
| ToxicFrog, well I'm sure that I copied the correct key into authorized_keys on the server | 18:44 |
|
| but I'm not at all sure if the client is attempting to use the right key (then again, there's only one...) | 18:44 |
| → VictorCL joined | 18:44 |
| → rasto joined | 18:44 |
| → germanoak joined | 18:44 |
|
ToxicFrog
| If there's only one there's not a lot of places for it to go wrong | 18:44 |
| → mizu_no_oto joined | 18:45 |
|
cbreak
| blz: ssh -v, it'll show | 18:46 |
|
blz
| cbreak, on the client I assume? It's just dumping some version and usage information | 18:46 |
| → yaw joined | 18:46 |
|
cbreak
| blz: ssh to the server. | 18:46 |
|
ToxicFrog
| Add more vs | 18:47 |
| → pandeiro joined | 18:47 |
|
ToxicFrog
| ssh -vvv user@host, for example | 18:47 |
|
| At some point it'll start giving you way more information than you want about the key files~ | 18:47 |
|
melee
| haha, why do people do that? | 18:47 |
| → kevwil joined | 18:47 |
| ← _davide left | 18:47 |
|
blz
| ToxicFrog, cbreak let me pastebin the output real quick | 18:48 |
| ← shoshin left | 18:48 |
|
blz
| http://paste.ubuntu.com/6278577/ | 18:48 |
|
| is it me or is it offering my private key? | 18:49 |
| ← marhaban left | 18:49 |
| → marhaban joined | 18:49 |
| → guillaum joined | 18:50 |
| ← guillaum left | 18:50 |
|
blz
| Hmm this might be the problem... I did ssh-add on my *private* key. I just tried ssh-add /path/to/key.pub and now I'm getting a very loud warning about how my private key file is uprotected and will be ignored | 18:50 |
|
cbreak
| looks like it's not accepted. | 18:50 |
|
blz
| For clarity: I initially did ssh-add on the private key and just now re-did it on the public key and got the warning | 18:50 |
|
| blz is not very good at explaining things tonight... | 18:51 |
|
cbreak
| ssh-add is supposed to be used on the private key. | 18:51 |
|
blz
| cbreak, okay | 18:51 |
|
| so I just reverted that | 18:51 |
|
cbreak
| blz: check the file system permissions of authorized_keys | 18:51 |
| → dwmw2_gone joined | 18:51 |
| → Shiva joined | 18:51 |
|
blz
| cbreak, -rw-rw-r-- | 18:51 |
|
cbreak
| bad. | 18:52 |
| → Guest74106 joined | 18:52 |
|
cbreak
| make it -rw------ | 18:52 |
|
blz
| what is that in octal again... 500 ? | 18:52 |
| ← Algorithm left | 18:52 |
| → breck7 joined | 18:52 |
|
cbreak
| I have no idea. why do you care? | 18:53 |
|
blz
| cbreak, for chmod | 18:53 |
| ← Shiva left | 18:53 |
|
cbreak
| chmod go= ~/.ssh/authorized_keys | 18:53 |
| → raf_ joined | 18:53 |
| → Algorithm joined | 18:53 |
| → diegoviola joined | 18:53 |
| ← Luke-Jr left | 18:54 |
|
ToxicFrog
| blz: chmod supports symbolic perms - e.g. chmod go-rwx authorized_keys | 18:54 |
| → nardev joined | 18:54 |
| ← omnipotent1 left | 18:54 |
|
blz
| ToxicFrog, huh... the things you learn... | 18:54 |
| → Luke-Jr joined | 18:55 |
| ← Luke-Jr left | 18:55 |
| → Luke-Jr joined | 18:55 |
| → joelmo joined | 18:55 |
|
ToxicFrog
| You can use ugo for user/group/other, rwxs for the actual bits, + to add perms, - to remove perms, = to set exactly those perms | 18:55 |
| ← kevwil left | 18:56 |
|
cbreak
| yes... and you have to go= ... to remove all group and other perms... | 18:56 |
|
ToxicFrog
| And yeah, ssh/sshd will generally refuse entirely to look at files with "bad" permissions. | 18:56 |
|
blz
| hmm this go= flag doesn't seem to be working for me | 18:56 |
| ← Luke-Jr left | 18:56 |
|
blz
| I'm not getting any errors but the perms aren't changing... | 18:57 |
|
cbreak
| ToxicFrog: that's reasonable, because such files could be compromized. | 18:57 |
| → Luke-Jr joined | 18:57 |
|
blz
| ok got it | 18:57 |
|
| it's 600, not 500 | 18:57 |
|
| anyway, let's try again | 18:57 |
|
| still asking for my password on git pull origin master | 18:58 |
|
| this is what's weirding me out, though: debug1: Offering RSA public key: /home/louist/.ssh/id_rsa | 18:58 |
|
| shouldn't that be id_rsa.pub? | 18:58 |
|
cbreak
| no | 18:58 |
| ← pandeiro left | 18:59 |
|
cbreak
| you can't prove that you're you with your public key... | 18:59 |
|
| for obvious reasons... | 18:59 |
|
blz
| ah... derp... | 18:59 |
| ← rat_thing left | 18:59 |
| → burzum joined | 18:59 |
|
blz
| in any case the output of ssh -v hasn't changed | 18:59 |
|
burzum
| hi | 18:59 |
|
cbreak
| blz: you could check the remote's sshd log | 19:00 |
|
| or add more -v :) | 19:00 |
| → ezekielnoob joined | 19:00 |
| → JosephFerano joined | 19:00 |
| ← harish left | 19:00 |
|
burzum
| is there a command to update the remote branches? branches were deleted remotely but they still show up for me when i do "git branch -a" even after a fetch. So how can I update that list? | 19:00 |
|
ToxicFrog
| blz: "id_rsa" is both the name of the key and the name of the file containing the private half. | 19:00 |
|
blz
| I see, ok | 19:00 |
|
| alright, more v's it is | 19:00 |
| → Vinnie_win_p joined | 19:00 |
| → m0ltar joined | 19:01 |
|
ToxicFrog
| And yeah, you may need to look at sshd's log as well. | 19:01 |
| ← spudz left | 19:01 |
| ← stamina left | 19:01 |
| ← hi_ left | 19:01 |
| ← Jacob2000 left | 19:01 |
|
cbreak
| burzum: git fetch --prune will prune them | 19:01 |
| → cmpera_ joined | 19:01 |
|
burzum
| cbreak thanks! sounds like what i was looking for | 19:02 |
| → buibex joined | 19:02 |
| → harish joined | 19:02 |
| → spudz joined | 19:02 |
| ← sq-one left | 19:02 |
|
blz
| any idea where the sshd log is found on an ubuntu system? | 19:02 |
| ← ZujkisNx left | 19:02 |
| ← Algorithm left | 19:03 |
|
blz
| my google fu is failing me... | 19:03 |
| ← Vinnie_win left | 19:03 |
| ← hoschi left | 19:03 |
| → ZujkisNx joined | 19:03 |
| ← cmpera left | 19:03 |
| cmpera_ → cmpera | 19:03 |
|
iveqy
| blz: where are all logs put on a linux system? | 19:03 |
|
| blz: hint: /var/log | 19:03 |
| ← tham left | 19:03 |
|
blz
| iveqy, I checked var/log | 19:03 |
| → MoHaX joined | 19:03 |
| ← Cromulent left | 19:03 |
|
iveqy
| blz: great, and what's the name of your sshd? | 19:04 |
| → pantsman joined | 19:04 |
|
blz
| iveqy, i assumed sshd? | 19:04 |
|
| but I guess not? | 19:04 |
|
ToxicFrog
| It might go in messages, or syslog | 19:04 |
| ← JustinMac left | 19:04 |
| ← ezekielnoob left | 19:05 |
|
ToxicFrog
| On some systems it's in /var/log/secure | 19:05 |
|
cmn
| it typically dumps its info into the auth log | 19:05 |
|
iveqy
| blz: I guessmore opensshd or something. But if you can't find a file or path with that name, it probably just log into the systems general logs | 19:05 |
| → geekbri joined | 19:05 |
| Vinnie_win_p → Vinnie_win | 19:05 |
| → _goTAN joined | 19:06 |
| ← m0ltar left | 19:06 |
|
blz
| hmm I'm not seeing anything ssh related in auth or syslog | 19:07 |
| → acharlieh joined | 19:08 |
|
blz
| alright I'm going to go eat and try to figure this out later... I'm starting to get frustrated, which is inevitably a bad thing | 19:08 |
|
| Thanks for putting up with me =) | 19:08 |
| → reskp__ joined | 19:08 |
| → m0ltar joined | 19:08 |
| ← bartzy left | 19:08 |
| → beastd joined | 19:09 |
| ← _goTAN left | 19:09 |
| → lpapp joined | 19:10 |
| → shashin joined | 19:10 |
| → JGarrido joined | 19:10 |
| ← shashin left | 19:10 |
| → shashin joined | 19:10 |
| → mmlac-bv joined | 19:11 |
| ← buibex left | 19:11 |
| → molten_tar joined | 19:11 |
| → mdiers joined | 19:11 |
| → buibex joined | 19:11 |
| ← reskp left | 19:11 |
| → girishr joined | 19:12 |
|
lpapp
| hi, I am getting this: git log v2.0.0..HEAD | 19:12 |
|
| fatal: ambiguous argument 'v2.0.0..HEAD': unknown revision or path not in the working tree. | 19:12 |
|
| Use '--' to separate paths from revisions | 19:12 |
|
| intention was: get all the commit messages since our latest tag X.Y.Z | 19:12 |
| ← m0ltar left | 19:13 |
|
cmn
| and does that tag exist? | 19:13 |
| → cenuij joined | 19:13 |
| ← cenuij left | 19:13 |
| → cenuij joined | 19:13 |
|
lpapp
| yes | 19:14 |
| → normanrichards joined | 19:14 |
|
lpapp
| git tag | 19:14 |
|
| V2.0.0 | 19:14 |
|
| ah, V, not v | 19:14 |
|
| thanks, and sorry. | 19:14 |
| → pandeiro joined | 19:14 |
| → abdostar joined | 19:14 |
| → Sonderblade joined | 19:15 |
| → BiggFREE joined | 19:16 |
|
abdostar
| is it possible, to start a project locally then push it to github as a new repo? | 19:16 |
| ← shuaib left | 19:16 |
| ← lpapp left | 19:16 |
| ← sohail left | 19:16 |
| ← buibex left | 19:16 |
|
cmn
| that's the typical use-case | 19:16 |
| ← kewah left | 19:17 |
|
cmn
| GitHub doesn't have auto-initialisation, so you'd have to do it over the web interface (or hub) | 19:17 |
| ← iamjarvo_ left | 19:17 |
|
abdostar
| cmn: so I have to go to github.com and create a repo? | 19:18 |
| → iamjarvo joined | 19:18 |
|
cmn
| yeah, or use the hub tool | 19:18 |
| → alvaro_o joined | 19:18 |
|
abdostar
| which tool? | 19:18 |
|
cmn
| hub | 19:18 |
| → sohail joined | 19:19 |
| → eaj joined | 19:19 |
| ← eletuchy left | 19:19 |
|
grawity
| abdostar: https://github.com/defunkt/hub | 19:20 |
| ← raf_ left | 19:20 |
| → btree joined | 19:20 |
| ← ZujkisNx left | 19:21 |
| → kevwil joined | 19:21 |
| → ZujkisNx joined | 19:21 |
| → JohnBat26|2 joined | 19:22 |
|
cmn
| it's at github/hub nowadays | 19:22 |
| ← btree left | 19:22 |
| ← molten_tar left | 19:23 |
|
abdostar
| grawity: thanks I installed it, | 19:23 |
| ← thiago left | 19:23 |
| ← eaj left | 19:23 |
| → aydin joined | 19:23 |
| → thiago joined | 19:23 |
|
abdostar
| do I need to use "git remote add" | 19:23 |
|
cmn
| yes | 19:24 |
| ← flaguy48 left | 19:24 |
| → raf_ joined | 19:24 |
|
aydin
| Anyone know of any articles on how to integreate docs in to git release cycle? When should they be generated? Manually on release branch? Should I store in git repo?, etc etc | 19:24 |
|
cmn
| hub has some shortcuts, but you need to tell git where the other repo will be | 19:24 |
| ← chuckharmston left | 19:24 |
|
iveqy
| aydin: !deploy | 19:25 |
|
gitinfo
| aydin: Git is not a deployment tool, but you can build one around it(in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/the-list-and-irc/deploy.html | 19:25 |
|
cmn
| aydin: auto-generated stuff shouldn't be in the repo; how often depends on what you need as a project | 19:25 |
| → JohnBat26|3 joined | 19:25 |
| → flaguy48 joined | 19:26 |
| ← JohnBat26 left | 19:26 |
|
cmn
| you should be able to adapt the ideas in the link to suit whatever you do for the docs | 19:26 |
| ← flaguy48 left | 19:26 |
| → pen joined | 19:26 |
| → btree joined | 19:27 |
| → flaguy48 joined | 19:27 |
|
aydin
| cmn: thanks, it's for a small internal Magento extension. However, I'm trying to implement some solid build/deploy processes to hopefully make our codebase more professional. Unluckily no one here knows much of it | 19:27 |
| ← flaguy48 left | 19:27 |
| ← d8bhatta left | 19:27 |
| ← btree left | 19:28 |
|
abdostar
| cmn: if i have a directory called dev123, but no repo in github. what command should I use to push this directory as a repo? | 19:28 |
| → flaguy48 joined | 19:28 |
|
luto
| git init | 19:28 |
|
cmn
| the local name is irrelevant | 19:28 |
|
luto
| git remote add ... | 19:28 |
| ← flaguy48 left | 19:28 |
|
luto
| git push | 19:28 |
| ← JohnBat26|2 left | 19:28 |
|
cmn
| git remote add origin [email@hidden.address] | 19:29 |
|
iveqy
| luto: you forgott git remote add ? | 19:29 |
|
luto
| and commit | 19:29 |
|
| and add | 19:29 |
|
cmn
| git push -u origin master | 19:29 |
|
iveqy
| abdostar: !book | 19:29 |
|
gitinfo
| abdostar: There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable | 19:29 |
| → flaguy48 joined | 19:29 |
| ← flaguy48 left | 19:29 |
|
abdostar
| thank you guys, I will try this and report back | 19:30 |
| → flaguy48 joined | 19:30 |
| ← flaguy48 left | 19:30 |
| ← jfoy left | 19:31 |
| → flaguy48 joined | 19:32 |
| ← flaguy48 left | 19:32 |
| ← breck7 left | 19:32 |
| → breck7 joined | 19:32 |
| → pfFredd joined | 19:32 |
| → flaguy48 joined | 19:32 |
| ← flaguy48 left | 19:33 |
| ← diegoviola left | 19:33 |
| → flaguy48 joined | 19:34 |
| ← flaguy48 left | 19:34 |
| ← natechan left | 19:34 |
| → flaguy48 joined | 19:34 |
| ← flaguy48 left | 19:35 |
| → flaguy48 joined | 19:35 |
| ← flaguy48 left | 19:35 |
| → flaguy48 joined | 19:36 |
| ← flaguy48 left | 19:36 |
| ← tough_griff left | 19:36 |
| → flaguy48 joined | 19:37 |
| ← flaguy48 left | 19:37 |
| → omnipotent1 joined | 19:37 |
| → diegoviola joined | 19:37 |
| → flaguy48 joined | 19:37 |
| ← snql left | 19:37 |
| ← BiggFREE left | 19:37 |
| ← flaguy48 left | 19:37 |
| ← breck7 left | 19:38 |
| ← germanoak left | 19:38 |
| ← Luke-Jr left | 19:38 |
| → natechan joined | 19:38 |
| ← reskp__ left | 19:38 |
| → flaguy48 joined | 19:38 |
| ← flaguy48 left | 19:38 |
| → Luke-Jr joined | 19:39 |
| → reskp_ joined | 19:39 |
| → flaguy48 joined | 19:39 |
| → titosemi3 joined | 19:39 |
| ← flaguy48 left | 19:39 |
| ← Vinnie_win left | 19:39 |
| ← sebrock left | 19:40 |
| ← marhaban left | 19:40 |
| → flaguy48 joined | 19:40 |
| ← flaguy48 left | 19:41 |
| → reskp___ joined | 19:41 |
| ← reskp_ left | 19:41 |
| → flaguy48 joined | 19:41 |
| ← flaguy48 left | 19:41 |
| ← Sigma left | 19:42 |
| → peti joined | 19:42 |
| ← ZaFrost left | 19:42 |
| → flaguy48 joined | 19:42 |
| ← flaguy48 left | 19:42 |
| → SHyx0rmZ joined | 19:43 |
|
peti
| Hello, after cloning a repository, how can I get a branch normally, not with remote tracking or any other gimmick? | 19:43 |
| → flaguy48 joined | 19:43 |
| ← sohail left | 19:43 |
| ← spaceonline left | 19:43 |
| ← flaguy48 left | 19:43 |
| ← titosemi3 left | 19:44 |
| → marhaban joined | 19:44 |
| → nnyk_ joined | 19:44 |
| → flaguy48 joined | 19:44 |
| ← flaguy48 left | 19:44 |
| → chuckharmston joined | 19:44 |
| → flaguy48 joined | 19:45 |
| ← flaguy48 left | 19:46 |
| ← DrNick left | 19:46 |
|
jrnieder
| peti "git branch --no-track"? | 19:46 |
| → devbug joined | 19:46 |
| → flaguy48 joined | 19:47 |
| → sohail joined | 19:48 |
| → harobed_ joined | 19:50 |
| ← harobed_ left | 19:50 |
| → buibex joined | 19:51 |
| → harobed_ joined | 19:51 |
| → kcj joined | 19:52 |
| ← abdostar left | 19:52 |
| → jasonp joined | 19:52 |
| → abdostar joined | 19:53 |
| ← deuterium left | 19:53 |
| → tplaner joined | 19:53 |
| ← abdostar left | 19:53 |
| → abdostar joined | 19:53 |
|
peti
| why doesnt $ git fetch origin get all the branches from a remote repo? | 19:54 |
|
ojacobson
| What makes you think it doesn't? | 19:54 |
| → takamichi joined | 19:54 |
| ← buibex left | 19:54 |
| → petey_ joined | 19:54 |
|
peti
| well $git branch only shows master | 19:55 |
|
ojacobson
| Unless you've done something v interesting, 'git fetch' does not create local branches | 19:55 |
| → buibex joined | 19:55 |
|
ojacobson
| it creates local caches of remote branches ("remote-tracking" branches, like 'origin/master', where the local branch would be 'master') | 19:55 |
| → JustinMac joined | 19:55 |
|
ojacobson
| Have a look at 'git branch --remote' or 'git branch --all' | 19:55 |
|
| You can create local branches for each remote branch if you want, but there aren't a lot of good reasons to do so | 19:56 |
|
peti
| ojacobson: hmmm | 19:56 |
|
| thanks for the detailed answer | 19:56 |
|
| so what is the most classical way to get a remote branch ? | 19:56 |
|
ojacobson
| Depends on what you want to do with it once you have it. | 19:57 |
|
peti
| make commits on it and push back to github | 19:57 |
|
ojacobson
| Create a local branch from it, make your commits on that, and push that to github. | 19:57 |
| ← Berta45_45 left | 19:57 |
|
ojacobson
| 'git checkout <branch name>' will create a local branch automatically if there's a remote branch of the same name, and the name is unambiguous | 19:58 |
|
| (if you only have one remote, it's never ambiguous) | 19:58 |
|
| otherwise, 'git checkout <some remote branch> -b <some local name>' will do it, where <some remote branch> comes from 'git branch --remote' and <some local name> is whatever you want (but keeping the name the same as the remote branch's name is wise) | 19:58 |
| emmajane|food → emmajane | 19:58 |
| ← takamichi left | 19:59 |
|
peti
| aokay, i have set up a track-remote branch | 19:59 |
|
| is that ok? | 19:59 |
|
| do I need to do anything else? | 19:59 |
| ← yaw left | 19:59 |
| ← buibex left | 19:59 |
| ← bitness64 left | 20:01 |
| → yaw joined | 20:02 |
| → m0ltar joined | 20:02 |
| ← nickpresta left | 20:02 |
| → DrNick joined | 20:03 |
| ← acharlieh left | 20:03 |
| → Cassiel joined | 20:03 |
| ← wafflejock left | 20:03 |
|
jrnieder
| peti: branches are simple when you get used to them :) | 20:03 |
|
| peti: they're just pointers into history | 20:03 |
|
| peti: "git fetch origin" updates your remote-tracking branches, which point to the tip of those branches according to the remote | 20:04 |
|
| peti: your own local branches can point wherever you want | 20:04 |
|
| peti: usually you what to start with them pointing where the remote ones started, hence "git checkout -b <foo> origin/<foo>" | 20:04 |
|
peti
| ah, i think i got it | 20:05 |
| → germanoak joined | 20:05 |
|
peti
| thanks so much guys | 20:05 |
|
jrnieder
| np | 20:05 |
| → stamina joined | 20:05 |
| ← dreiss left | 20:06 |
| ← zarubin left | 20:06 |
| → Georg3 joined | 20:06 |
| → davividal joined | 20:07 |
| ← yaw left | 20:08 |
| ← infynyxx left | 20:09 |
| ← ehmatthes left | 20:09 |
| ← joki left | 20:10 |
| ← kcj left | 20:10 |
| → carbohydrate joined | 20:11 |
| → acharlieh joined | 20:11 |
| ← tengelic left | 20:13 |
| ← reskp___ left | 20:14 |
| → lbf joined | 20:14 |
| → n0rm joined | 20:14 |
| ← fobius left | 20:14 |
| → reskp joined | 20:14 |
| → reskp___ joined | 20:15 |
| → valgrind joined | 20:16 |
| → joki joined | 20:16 |
| ← apipkin left | 20:16 |
| → breck7 joined | 20:17 |
| ← cebor left | 20:18 |
| ← joelmo left | 20:19 |
| ← tplaner left | 20:19 |
| → dort joined | 20:19 |
| ← h0bbit_ left | 20:19 |
| ← reskp left | 20:19 |
| j416_ → j416 | 20:19 |
| ← carbohydrate left | 20:20 |
| → cebor joined | 20:20 |
| ← reskp___ left | 20:20 |
| → Guest43848 joined | 20:20 |
| → minim joined | 20:21 |
| alessand2o → Spockz | 20:21 |
| ← normanrichards left | 20:21 |
| ← Guest43848 left | 20:22 |
| ← tatsuya_o left | 20:22 |
| → jceb joined | 20:22 |
| jceb → Guest43256 | 20:23 |
| ← Guest74106 left | 20:23 |
| → tatsuya_o joined | 20:23 |
| → |Freeman| joined | 20:24 |
| ← mizu_no_oto left | 20:24 |
| → luxgeek joined | 20:24 |
| ← marthinal left | 20:24 |
| → infynyxx joined | 20:24 |
| ← vocifer left | 20:25 |
| ← pbujok left | 20:25 |
| ← LimeBlast left | 20:25 |
| ← wrouesnel left | 20:26 |
| ← multiverse left | 20:26 |
| ← cenuij left | 20:26 |
| → LimeBlast joined | 20:26 |
| → tplaner joined | 20:26 |
| ← tatsuya_o left | 20:27 |
| ← sdrfnord1 left | 20:28 |
| ← lite_ left | 20:28 |
| ← Guest43256 left | 20:29 |
| → lite_ joined | 20:29 |
| ← lite_ left | 20:30 |
| → tough_griff joined | 20:30 |
| → bamj0rb_ joined | 20:30 |
| → multiverse joined | 20:30 |
| → simesy joined | 20:30 |
| ← mmlac-bv left | 20:31 |
| → vocifer joined | 20:32 |
| → ciampix joined | 20:32 |
| ← jumperswitch_ left | 20:33 |
| ← LimeBlast left | 20:34 |
|
osse
| jrnieder: hi. the other day you said that git invokes the editor (vim in this case) the same as if I do 'vim foo.txt </dev/null'. What did you mean by that exactly? I can't find that in the code. Seems to be to inherits Git's stdin | 20:34 |
| → Artpicre joined | 20:35 |
| → buibex joined | 20:35 |
| → zarubin joined | 20:35 |
| → deuterium joined | 20:36 |
| ← buibex left | 20:36 |
| → LimeBlast joined | 20:36 |
| ← mfulz left | 20:37 |
| ← geekbri left | 20:38 |
| → mfulz joined | 20:38 |
| ← ncd|leeN left | 20:39 |
| ← mfulz left | 20:39 |
| → rat_thing joined | 20:39 |
| → tomnewmann joined | 20:40 |
| ← vurma left | 20:40 |
| ← tomnewmann left | 20:40 |
| ← LimeBlast left | 20:41 |
| → mfulz joined | 20:41 |
| ← mfulz left | 20:41 |
| → mfulz joined | 20:41 |
| → mklappstuhl joined | 20:41 |
| → LimeBlast joined | 20:42 |
| ← cmpera left | 20:43 |
| → de-Vri-es joined | 20:43 |
| → cmpera joined | 20:43 |
| → cenuij joined | 20:43 |
| ← Jackneill left | 20:44 |
| ← abdostar left | 20:45 |
| → ehmatthes joined | 20:45 |
| → abdostar joined | 20:45 |
| ← nnyk_ left | 20:48 |
| → bartzy joined | 20:48 |
| ← AWinterman left | 20:49 |
| → normanrichards joined | 20:49 |
| ← zarubin left | 20:50 |
| ← LimeBlast left | 20:50 |
| ← abdostar left | 20:50 |
|
Sonderblade
| what to do when git reports a conflict when git stash apply:ing? | 20:50 |
|
ojacobson
| same as you would with any other merge conflict | 20:51 |
|
| resolve it | 20:51 |
| → abdostar joined | 20:51 |
| ← johnnyfuchs left | 20:51 |
|
ojacobson
| read the conflicting parts of the merge and apply brainpower to determine the appropriate outcomes :) | 20:51 |
| ← shellbackpacific left | 20:51 |
| ← gzg left | 20:51 |
|
Sonderblade
| i just want the stash' version everywhere | 20:52 |
| → LimeBlast joined | 20:52 |
|
de-Vri-es
| hmm, checkout -p shows hunks to discard from the work tree while git reset -p shows hunks to apply to the index | 20:53 |
|
| seems a bit weird | 20:53 |
|
| can I get reset -p to show hunks to discard like checkout -p does? | 20:53 |
|
ReachingFarr
| I've cloned a SVN repo using `git svn clone`, and when I did so I didn't have commit access so I didn't supply a username. Now I do have commit access but I don't know how to tell git-svn my username. Can anyone help? | 20:53 |
| ← mfulz left | 20:53 |
| ← TheBrainWork left | 20:53 |
| → HicksD_ joined | 20:53 |
|
M-ou-se
| ReachingFarr: --username | 20:54 |
|
| ReachingFarr: (check git help svn) | 20:54 |
|
ReachingFarr
| M-ou-se: Passed to what command? | 20:54 |
| ← HicksD left | 20:54 |
| → mribeirodantas joined | 20:54 |
|
M-ou-se
| ReachingFarr: the command that needs access to the svn repository | 20:54 |
| ← multiverse left | 20:54 |
| ← tplaner left | 20:55 |
| → samholmes joined | 20:55 |
|
samholmes
| Am I the only person who finds it difficult to read the merge conflict files? | 20:55 |
|
Dougie187
| depends on your editor or mergetool. | 20:56 |
| → tinti joined | 20:56 |
|
ToxicFrog
| samholmes: if you mean raw conflict markers? No, it's not just you. This is what git mergetool is for. | 20:57 |
| → jfoy joined | 20:58 |
| ← simesy left | 20:58 |
|
ReachingFarr
| M-ou-se: Thanks. The documentation doesn't make it clear that that option can be passed to commands other than init. | 20:58 |
| ← pandeiro left | 20:59 |
| → simesy joined | 20:59 |
|
M-ou-se
| ReachingFarr: yeah, it's a bit vague. i was in the same situation a few days ago :) | 20:59 |
| ← infynyxx left | 20:59 |
| ← abdostar left | 20:59 |
| → tpollard joined | 20:59 |
| → infynyxx joined | 20:59 |
| → pbujok joined | 20:59 |
|
ReachingFarr
| M-ou-se: Is there a way to make it so I don't have to pass --username to every svn command that needs repo access? | 20:59 |
| ← defaultro left | 20:59 |
| → multiverse joined | 21:00 |
| → richwestcoast joined | 21:00 |
|
M-ou-se
| ReachingFarr: svn should remember your username and password | 21:00 |
|
richwestcoast
| hello | 21:00 |
|
gitinfo
| richwestcoast: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 21:00 |
| ← raf_ left | 21:01 |
| → m8 joined | 21:01 |
|
M-ou-se
| ReachingFarr: possibly you need to remove a file in ~/.subversion to make it forget an old username | 21:02 |
| ← cannonball left | 21:02 |
| → kiku joined | 21:02 |
| ← epicowl left | 21:02 |
|
jrnieder
| osse: when you do "git commit -F -", the -F handling slurps up all of stdin | 21:02 |
|
| osse: so what's left is an EOF | 21:02 |
| → refried_ joined | 21:03 |
|
ReachingFarr
| M-ou-se: Thanks. I hadn't actually tried a second command yet. I'll keep that in mind though. | 21:03 |
| ← simesy left | 21:03 |
| → MattMaker joined | 21:04 |
| ← melee left | 21:04 |
| → melee joined | 21:04 |
| → Fandekasp joined | 21:05 |
| ← Sonderblade left | 21:05 |
|
jrnieder
| samholmes: some tips: | 21:05 |
|
| samholmes: -Xpatience sometimes makes the choice of conflicts a little saner | 21:06 |
| ← MoHaX left | 21:06 |
|
jrnieder
| samholmes: "git checkout --conflict=diff3 <path>" makes the conflict hunks show the common ancestor, too, so you can pick out what each side changed | 21:07 |
|
| samholmes: 'git mergetool' can use a GUI side-by-side conflict resolution tool if you're more used to that | 21:08 |
| ← hholtmann left | 21:08 |
| → goshawk joined | 21:09 |
| ← LimeBlast left | 21:09 |
| ← cenuij left | 21:10 |
| → hholtmann joined | 21:11 |
| ← hholtmann left | 21:11 |
| → hatsune joined | 21:11 |
| → hholtmann joined | 21:12 |
| → mmlac-bv joined | 21:13 |
| → nnyk_ joined | 21:13 |
| ← tinti left | 21:13 |
| ← varlog left | 21:13 |
| → asQuirreL joined | 21:14 |
| → LimeBlast joined | 21:14 |
| → tinti joined | 21:14 |
| ← tough_griff left | 21:15 |
| ← psynor left | 21:15 |
| ← bauruine left | 21:15 |
| ← freeed left | 21:16 |
| → bauruine joined | 21:16 |
| → eletuchy joined | 21:16 |
| ← Pullphinger left | 21:17 |
| → PaulCapestany joined | 21:18 |
| ← breakingthings left | 21:18 |
| → MoHaX joined | 21:18 |
| ← cmpera left | 21:19 |
| ← hholtmann left | 21:19 |
| ← zhost left | 21:20 |
| ← chrob left | 21:20 |
| ← LuxuryMode left | 21:21 |
| ← jnavila left | 21:21 |
| → tough_griff joined | 21:22 |
| ← hatsune left | 21:22 |
| → zenpac joined | 21:22 |
|
zenpac
| Does this channel cover git flow? | 21:23 |
| ← LukeKetley left | 21:23 |
|
bsilver
| what do you mean? | 21:23 |
| ← tinti left | 21:24 |
|
de-Vri-es
| can I get 'git reset --patch' to show hunks to discard from the index (like 'git checkout --patch') rather than hunks to apply to the index? Seems more logical to me. | 21:25 |
|
| also, you can recognize a hunk you mistakenly added with add --patch easier that way | 21:26 |
|
| since it would look exactly the same | 21:26 |
|
ojacobson
| the index doesn't retain chunk boundaries | 21:26 |
|
| so no, it would only look the same in degenerate cases | 21:26 |
|
de-Vri-es
| well, generelly edits that don't belong together are a fair bit apart | 21:27 |
|
ojacobson
| gitx and stash both have fairly nice stage/unstage/reset UIs though | 21:27 |
| → Leffe_ joined | 21:27 |
|
de-Vri-es
| right now I get mostly the same hunks, only inverted | 21:27 |
| ← MoHaX left | 21:27 |
|
zenpac
| The last time I did a "git checkout master" I was on a git flow feature, and it did not delete the feature code from the workspace. Did I do something wrong?? | 21:27 |
| → cenuij joined | 21:27 |
| ← m0ltar left | 21:28 |
|
de-Vri-es
| and git checkout -p shows hunks to discard, so obviously it's possible | 21:28 |
|
ojacobson
| zenpac: had you committed the code to your feature branch? | 21:28 |
| ← LimeBlast left | 21:28 |
|
de-Vri-es
| I just want git reset -p to do it too.. | 21:28 |
|
| might be my memory failing me, but I remember it doing it that way some time ago | 21:29 |
| → tinti joined | 21:29 |
|
zenpac
| ojacobson: yes, ... | 21:29 |
| → LimeBlast joined | 21:29 |
| ← donmichelangelo left | 21:30 |
|
zenpac
| I may have failed to "git flow feature finish xyz", but I have this time. | 21:30 |
| → tplaner joined | 21:30 |
| → lite_ joined | 21:30 |
| → donmichelangelo joined | 21:30 |
| → eaj joined | 21:30 |
|
Leffe_
| Does anyone know a good resource of teaching how to use git to develop a series of patches (that may later be submitted to upstream). Eg. how to do what I would do with hg mq in Git. I have found posts saying that git branches is the way to go, but have problem with simple things like going back to an earlier patch and update it by making source changes and record this into the patch/commit. I've understood that much that I can't update a commit, but not figur | 21:31 |
|
| ed out how to do it instead. | 21:31 |
| ← Burer left | 21:31 |
|
de-Vri-es
| ojacobson: thanks for the tips, but I'm not looking for a gui. Do you know if I can get git reset -p to do what I want? | 21:31 |
| → reskp joined | 21:31 |
|
jrnieder
| Leffe_: the command to learn is "git rebase --interactive" | 21:31 |
| → iderik joined | 21:31 |
|
ojacobson
| de-Vri-es: I only have sarcastic responses to that. | 21:32 |
|
de-Vri-es
| really, why? | 21:32 |
|
ojacobson
| It's just the kind of guy I am? | 21:32 |
|
| Anyways, the blunt answer is "no, and I'd be surprised if you can" | 21:32 |
| → psynor joined | 21:32 |
|
de-Vri-es
| I see, thanks. I think. | 21:32 |
|
ojacobson
| people who declare something to be "obviously possible" are frequently disappointed | 21:32 |
|
| and if the biggest issue is inverted + and - signs then a GUI may actually be useful | 21:33 |
|
de-Vri-es
| I meant technically, not that git reset actually allows it | 21:33 |
|
ojacobson
| in as much as most of them are oriented around "what are you going to commit" | 21:33 |
|
| oh, technically it's trivial; it's just a diff, and that's a long-solved problem | 21:33 |
| ← tplaner left | 21:33 |
|
jrnieder
| de-Vri-es: can you say a little more about the feature request? | 21:33 |
|
Leffe_
| jrnieder: thanks, I'll dig into that command help | 21:33 |
|
jrnieder
| de-Vri-es: do you mean you want the meaning of '+' and '-' to be reversed? | 21:33 |
|
zenpac
| Is therea way to destroy a git flow feature? | 21:33 |
|
ojacobson
| 'diff a b == -diff b a' is even a fundamental principle for at least one DSCM system (darcs) | 21:33 |
| → btree joined | 21:33 |
|
de-Vri-es
| jrnieder: git reset -p shows hunks to apply to the index while git checkout -p shows hunks to discard from the work tree | 21:34 |
|
jrnieder
| de-Vri-es: or do you mean that you want to see both kinds of hunks in the same interactive session, to avoid having to run both commands? | 21:34 |
|
de-Vri-es
| this seems somewhat inconsistent to me | 21:34 |
| → tplaner joined | 21:34 |
|
de-Vri-es
| I prefer the way checkout -p does it, so I wondered if it can be configured | 21:34 |
| ← LimeBlast left | 21:35 |
|
jrnieder
| de-Vri-es: is this about '+' vs '-' or about what hunks are shown? | 21:35 |
| ← eaj left | 21:35 |
|
de-Vri-es
| eh, + vs - I guess | 21:35 |
|
jrnieder
| de-Vri-es: if '+' vs '-', it's probably worth asking about it on git@vger | 21:35 |
| → jday_ joined | 21:35 |
|
ojacobson
| He's got a reasonable UI argument about symmetry with git add --patch, really | 21:35 |
| ← pantsman left | 21:35 |
|
ojacobson
| it's just so far below the noise floor for me that my instinct is to be dismissive :) | 21:35 |
|
| different users, different problems | 21:36 |
| → howlymowly joined | 21:36 |
|
jrnieder
| anything that can be done to make things more intuitive is probably worth it :) | 21:36 |
|
ojacobson
| sure, but there are much larger problems (like 'git checkout' :) | 21:36 |
|
de-Vri-es
| yeah, if I mistakenly added something with add -p and I want to reset -p it, I have to mentally revert the diff to see if it's the one I mistakenly added | 21:36 |
|
jrnieder
| eh, orthogonal problems can be worked on independently at the same time | 21:36 |
|
| de-Vri-es: I think the convention used was basically arbitrary | 21:37 |
| ← ngladitz left | 21:37 |
| → kukks joined | 21:37 |
| ← TomyLobo left | 21:37 |
|
de-Vri-es
| might be nice if we could choose | 21:37 |
| → sea_striker joined | 21:37 |
| → chrob joined | 21:37 |
|
jrnieder
| de-Vri-es: I don't know. you'd still have to remember which one it was when deciding whether to pass --reverse | 21:37 |
| → Guest67497 joined | 21:37 |
| ← tough_griff left | 21:38 |
| ← ojacobson left | 21:38 |
| ← kiku left | 21:38 |
|
jrnieder
| de-Vri-es: I think the best possible first step would be to come up with some good mnemonics (whether for the current way or the opposite, it doesn't really matter) and add them to the documentation | 21:38 |
|
sea_striker
| hello, I was told that I might find help here with a git issue... | 21:38 |
|
| I just get this: msg: Failed to init/update submodules | 21:38 |
| ← lite_ left | 21:38 |
| ← Guest67497 left | 21:39 |
|
de-Vri-es
| jrnieder: yeah, having it documented is a good thing | 21:39 |
| → tough_griff joined | 21:39 |
|
jrnieder
| de-Vri-es: or maybe some symbol other than '+' and '-' would work :) | 21:39 |
|
zenpac
| One of my git flow features needs to be updated to develop... Should I use "git flow feature rebase" ?? | 21:39 |
|
jrnieder
| de-Vri-es: just thinking out loud | 21:39 |
| ← tplaner left | 21:39 |
|
jrnieder
| de-Vri-es: I've still been hoping for a spare moment to try turning on "[diff] mnemonicPrefix" by default again | 21:39 |
| ← cenuij left | 21:40 |
| → twoface88 joined | 21:40 |
|
jrnieder
| de-Vri-es: I always have it enabled here. After a couple of days of it feeling odd, it became comfortable and now I don't want to go back. | 21:40 |
| ← twoface88 left | 21:40 |
| → LimeBlast joined | 21:40 |
| ← psynor left | 21:41 |
|
de-Vri-es
| jrnieder: + and - are fine for me, as long as you're consistent what version is a and b (always the old version a would make sense to me) | 21:41 |
| ← delianides left | 21:41 |
|
de-Vri-es
| jrnieder: but I haven't explored mnemonicprefix, I'll look into that | 21:42 |
|
jrnieder
| de-Vri-es: hm, "git add -p" et al don't respect diff.mnemonicprefix | 21:43 |
|
| de-Vri-es: looks like a bug | 21:43 |
|
de-Vri-es
| jrnieder: hmm, shame, that does sound like a bug | 21:43 |
| ← Pyrogerg left | 21:43 |
| ← howlymowly left | 21:44 |
| ← jkremser left | 21:45 |
| → cenuij joined | 21:46 |
| ← cenuij left | 21:46 |
| → cenuij joined | 21:46 |
|
alazare619
| Hey i have a project im working on on github theres a folder that I cloned off another repo is there a way to keep that folder in sync with the other repo? | 21:46 |
| Tabstar → Tabmow | 21:46 |
| ← grilix left | 21:47 |
| ← rryoumaa left | 21:47 |
| → johnnyfuchs joined | 21:47 |
| ← sea_striker left | 21:47 |
| ← v0n left | 21:47 |
| ← asQuirreL left | 21:47 |
| → mmitchel_ joined | 21:48 |
|
samholmes
| After solving conflicts, is there a git merge --continue command? | 21:48 |
| ← LimeBlast left | 21:49 |
| ← threesome left | 21:50 |
| ← diegoviola left | 21:50 |
|
jrnieder
| samholmes: there should be. but no one made one | 21:50 |
|
| samholmes: "git commit" does the trick | 21:50 |
| ← Gardner left | 21:51 |
|
samholmes
| Will git commit add a message for me by default? | 21:51 |
|
grawity
| Nope. | 21:51 |
| ← mmitchell left | 21:51 |
|
jrnieder
| samholmes: it opens an editor window with a message template | 21:51 |
|
samholmes
| Ah. Thanks | 21:51 |
|
jrnieder
| samholmes: for you to customize and tell the war story of the merge :) | 21:51 |
| ← Dougie187 left | 21:51 |
| ← aydin left | 21:51 |
|
samholmes
| haha | 21:51 |
| → FernandoBasso joined | 21:52 |
| → donpi joined | 21:52 |
| ← mmitchel_ left | 21:52 |
| → LimeBlast joined | 21:53 |
| → Balliad joined | 21:53 |
|
osse
| jrnieder: ahh of course. and that's why Vim *doesn't* create problems when Git does not slurp it all. Thanks! | 21:54 |
| ← bsilver left | 21:54 |
| → Pengoo joined | 21:54 |
| ← Swayz left | 21:54 |
| ← danman left | 21:56 |
| ← refried_ left | 21:56 |
| → Dreadnaught joined | 21:57 |
| ← johnnyfuchs left | 21:58 |
| ← LimeBlast left | 21:58 |
| → refried_ joined | 21:58 |
| → zoli joined | 21:59 |
| → seanz joined | 21:59 |
| ← jdav_gone left | 21:59 |
|
seanz
| Greetings. I've got a question about .gitignore. | 21:59 |
|
| I read on this page: http://git-scm.com/docs/gitignore | 21:59 |
| → iamjarvo_ joined | 21:59 |
|
seanz
| ...that if I include a line like this: | 21:59 |
|
| **/test.file | 21:59 |
|
| Then test.file will be ignored *anywhere* in the repo. Is that understanding correct? | 21:59 |
|
jrnieder
| seanz: sure, depending on what you mean by ignored | 22:00 |
|
| seanz: gitignore is to prevent you from accidentally "git add"-ing a new file | 22:00 |
| ← refried_ left | 22:00 |
| ← mdiers left | 22:00 |
|
seanz
| jrnieder: I'm expecting that test.file will not show up as an untracked file at all. | 22:01 |
|
| Anywhere. | 22:01 |
|
| Is that not what it's for? | 22:01 |
|
jrnieder
| seanz: ok, it's untracked? | 22:01 |
|
seanz
| jrnieder: Yes. | 22:01 |
|
jrnieder
| seanz: if it's currently untracked then your understanding is right | 22:01 |
| → pandeiro joined | 22:01 |
|
jrnieder
| seanz: what's the question? | 22:01 |
| → refried_ joined | 22:01 |
|
seanz
| jrnieder: I have a line similar to what I asked about. Files created one level down are ignored the way I expect. Any more levels down and the files show up in git status. | 22:02 |
|
| That's not what I expected to happen. | 22:02 |
| ← acharlieh left | 22:02 |
|
jrnieder
| seanz: what version of git are you using? | 22:02 |
|
seanz
| git version 1.8.1.5 | 22:02 |
| ← iamjarvo left | 22:02 |
| ← devbug left | 22:03 |
|
jrnieder
| ** handling was added in v1.8.2-rc0~85^2~12 (Support "**" wildcard in .gitignore and .gitattributes, 2012-10-15) | 22:03 |
|
| in older git you just write "test.file" | 22:03 |
|
seanz
| jrnieder: Oh...I see. | 22:03 |
| ← iamjarvo_ left | 22:03 |
|
jrnieder
| as long as the line contains no slashes, it will do the right thing | 22:03 |
| → kcj joined | 22:03 |
|
jrnieder
| that works with newer git, too :) | 22:03 |
|
seanz
| Oh! | 22:04 |
|
| Genius. | 22:04 |
| → grilix joined | 22:04 |
|
seanz
| Thanks for clearing it up. | 22:04 |
|
jrnieder
| sure thing | 22:04 |
| → LimeBlast joined | 22:04 |
|
jrnieder
| https://www.kernel.org/pub/software/scm/git/docs/git.html used to have links to the documentation built for each release | 22:04 |
|
| but it doesn't seem to any more :/ | 22:05 |
|
| https://code.google.com/p/git-core/downloads/list has the HTML docs as a tarball for each release | 22:05 |
|
seanz
| jrnieder: I'll keep that in mind. | 22:05 |
| → delianides joined | 22:06 |
| → travisst1ton joined | 22:06 |
| ← MattMaker left | 22:06 |
| ← kevwil left | 22:08 |
| → epicowl joined | 22:09 |
| ← travisstaton left | 22:09 |
| ← bamj0rb_ left | 22:10 |
| ← aard_ left | 22:11 |
| ← mmlac-bv left | 22:12 |
| → hholtmann joined | 22:12 |
| ← longbeach left | 22:12 |
| ← tough_griff left | 22:12 |
| → AWinterman joined | 22:14 |
| qsuscs → qsusOFFcs | 22:14 |
| → acharlieh joined | 22:14 |
| ← richwestcoast left | 22:15 |
| → richwestcoast joined | 22:15 |
| → Sigma joined | 22:15 |
| ← phile left | 22:16 |
| ← kermit left | 22:16 |
| ← m8 left | 22:17 |
| ← chrob left | 22:17 |
| ← btree left | 22:17 |
| → kermit joined | 22:17 |
| → mdiers joined | 22:18 |
| ← pheaver left | 22:18 |
| ← hholtmann left | 22:19 |
| ← jerius left | 22:19 |
| → DanielHollands joined | 22:19 |
| → ozette joined | 22:20 |
| → rednaks joined | 22:20 |
| ← LimeBlast left | 22:22 |
| ← pandeiro left | 22:22 |
| ← angelsl left | 22:23 |
| → mizu_no_oto joined | 22:24 |
| → tough_griff joined | 22:26 |
|
osse
| jrnieder: found a simply yet somewhat hacky solution. Noticed that use_shell = 1 for the commit editor child process, so I set core.editor to be 'vim </dev/tty' :) | 22:27 |
|
| *simple | 22:27 |
| → ewnd9 joined | 22:27 |
| ← Sigma left | 22:28 |
| ← bgerber left | 22:29 |
| ← infynyxx left | 22:29 |
| → chrob joined | 22:30 |
| ← petey_ left | 22:30 |
| → jdav_gone joined | 22:30 |
| → petey_ joined | 22:30 |
| ← vkz left | 22:30 |
| ← eugenejen left | 22:31 |
| → psynor joined | 22:32 |
| ← rat_thing left | 22:32 |
| ← mklappstuhl left | 22:32 |
| ← normanrichards left | 22:33 |
| → pfFred joined | 22:33 |
| ← Destos left | 22:33 |
| ← kris left | 22:33 |
| ← donpi left | 22:33 |
| ← halu left | 22:34 |
| → robbyoconnor joined | 22:34 |
| ← thiago left | 22:34 |
| ← fling left | 22:34 |
| → lite_ joined | 22:35 |
| ← petey_ left | 22:35 |
| → eugenejen joined | 22:35 |
| → simesy joined | 22:36 |
| ← pfFredd left | 22:36 |
| → fling joined | 22:37 |
| ← DrShoggoth left | 22:37 |
| ← JGarrido left | 22:39 |
| ← lite_ left | 22:39 |
| ← reskp left | 22:39 |
| → JGarrido joined | 22:39 |
| → reskp joined | 22:39 |
| ← SHyx0rmZ left | 22:40 |
| → TGiFallen joined | 22:40 |
| → reskp__ joined | 22:41 |
| ← chuckharmston left | 22:41 |
| → eaj joined | 22:41 |
| ← glosoli left | 22:42 |
| ← sohail left | 22:42 |
| ← harobed_ left | 22:42 |
| ← pachet left | 22:43 |
| ← JGarrido left | 22:43 |
| ← reskp left | 22:44 |
| ← reskp__ left | 22:44 |
| ← chrob left | 22:45 |
| → reskp joined | 22:45 |
| ← blz left | 22:45 |
| → danman joined | 22:46 |
| ← tough_griff left | 22:46 |
| ← danman left | 22:46 |
| ← eaj left | 22:47 |
| ← marhaban left | 22:47 |
| → madewokherd joined | 22:47 |
| ← delianides left | 22:47 |
| → petey_ joined | 22:47 |
| → gzg joined | 22:48 |
| ← albel727 left | 22:48 |
| ← reskp left | 22:49 |
| ← mishok13 left | 22:49 |
| ← epicowl left | 22:49 |
| ← m7w left | 22:50 |
| ← valgrind left | 22:50 |
| → rednaks_ joined | 22:50 |
| ← robbyoconnor left | 22:51 |
| ← rednaks left | 22:51 |
| ← thegladiator_ left | 22:52 |
| → ShooterMG joined | 22:52 |
| ← eugenejen left | 22:53 |
| ← mdiers left | 22:53 |
| ← jasonp left | 22:54 |
| ← ZujkisNx left | 22:54 |
| ← gebbione left | 22:55 |
| → mdiers joined | 22:57 |
| ← mdiers left | 22:57 |
| ← travisst1ton left | 22:57 |
| → albel727 joined | 22:58 |
| ← beastd left | 22:58 |
| → bulletmark joined | 22:58 |
| → mdiers joined | 22:59 |
| → Joshi3s` joined | 23:00 |
| ← Joshi3s` left | 23:00 |
| ← mdiers left | 23:00 |
| ← jarr0dsz left | 23:01 |
| ← Balliad left | 23:01 |
| ← VictorCL left | 23:02 |
| ← germanoak left | 23:03 |
| ← peti left | 23:04 |
| → diegoviola joined | 23:06 |
| ← ewnd9 left | 23:07 |
| → travisstaton joined | 23:07 |
| → ojacobson joined | 23:08 |
| ← iderik left | 23:08 |
| ← natechan left | 23:10 |
| ← pbujok left | 23:11 |
| ← a-l-e left | 23:11 |
| ← King_Hual left | 23:11 |
| ← nicedice_ left | 23:11 |
| → nicedice__ joined | 23:11 |
| ← tang^ left | 23:11 |
| ← raijin left | 23:12 |
| → Vinnie_win joined | 23:13 |
| → reskp joined | 23:17 |
| → pandeiro joined | 23:18 |
| ← earny left | 23:20 |
| → earny joined | 23:20 |
| ← TheFuzzball left | 23:20 |
| ← donmichelangelo left | 23:21 |
| ← pfFred left | 23:21 |
| → donmichelangelo joined | 23:21 |
| ← ndim left | 23:22 |
| ← zenpac left | 23:23 |
| → ndim joined | 23:23 |
| ← nicedice__ left | 23:23 |
| ← Leffe_ left | 23:23 |
| ← awc737 left | 23:24 |
| ← _iron left | 23:25 |
| → awc737 joined | 23:25 |
| ← bwreilly left | 23:25 |
| → therealGent joined | 23:25 |
| ← reskp left | 23:26 |
| ← primitive left | 23:26 |
| ← pilif left | 23:26 |
| → tough_griff joined | 23:28 |
| ← gzg left | 23:29 |
| ← ddr2 left | 23:29 |
| ← ehmatthes left | 23:29 |
| → dsdeiz joined | 23:29 |
| → nicedice_ joined | 23:29 |
| → chuckharmston joined | 23:31 |
| ← rednaks_ left | 23:31 |
| → johnnyfuchs joined | 23:31 |
| ← diegoviola left | 23:31 |
| ← refried_ left | 23:32 |
| ← ReachingFarr left | 23:32 |
| → woollyams joined | 23:32 |
| ← sgambino left | 23:33 |
| ← dsdeiz left | 23:35 |
| ← psynor left | 23:35 |
| → lite_ joined | 23:35 |
| ← cads left | 23:36 |
| → psynor joined | 23:38 |
| ← tough_griff left | 23:39 |
| ← lite_ left | 23:39 |
| → jon_r joined | 23:39 |
| → rednaks_ joined | 23:41 |
| → oojacoboo joined | 23:41 |
| ← Ozch left | 23:41 |
| → eaj joined | 23:43 |
| → rat_thing joined | 23:43 |
| → mmlac-bv joined | 23:43 |
| ← Orbitrix left | 23:43 |
| → pilif joined | 23:44 |
| ← dort left | 23:46 |
| → pheaver joined | 23:46 |
| ← PaulCapestany left | 23:47 |
| ← eaj left | 23:47 |
| ← rat_thing left | 23:48 |
| → Devastator joined | 23:50 |
| ← cenuij left | 23:50 |
| → LuxuryMode joined | 23:51 |
| ← cigarshark left | 23:51 |
| ← frgtn left | 23:53 |
| ← yhager left | 23:53 |
| ← rednaks_ left | 23:53 |
| → PuercoPop joined | 23:53 |
| → frgtn joined | 23:53 |
| ← dwmw2_gone left | 23:53 |
| ← simesy left | 23:54 |
| ← decotii left | 23:54 |
|
PuercoPop
| how do I make a git push/authenticate with a specific key? It doesn't seem to be picking on ~/.ssh/config | 23:54 |
| → simesy joined | 23:54 |
|
Hello71
| git calls ssh | 23:55 |
| ← bartzy left | 23:55 |
| → nutron joined | 23:55 |
| ← nutron left | 23:55 |
| → nutron joined | 23:55 |
| → bwreilly joined | 23:56 |
| ← frgtn left | 23:56 |
| → frgtn joined | 23:57 |
| → tough_griff joined | 23:57 |
| ← simesy left | 23:59 |