| 2013-04-08 |
| → AaronMT joined | 00:00 |
| ← robottinosino left | 00:00 |
| ← rabellamy left | 00:01 |
| → bytephilia joined | 00:03 |
| ← kcj left | 00:04 |
| ← mikehaas763 left | 00:06 |
| → huoxito joined | 00:07 |
| ← Dreadnaught left | 00:07 |
| → dthorman joined | 00:10 |
| → philips joined | 00:10 |
| → ncd|leeN joined | 00:11 |
| → mikehaas763 joined | 00:11 |
| ← tmcmahon left | 00:13 |
| → fuzzybunny69y joined | 00:13 |
| → jcao219_ joined | 00:13 |
| ← leeN left | 00:14 |
| → jcao219 joined | 00:14 |
| → hwrd|work joined | 00:15 |
| ← etcetera left | 00:17 |
| ← rakl left | 00:18 |
| ← jcao219_ left | 00:19 |
| ← p3lim left | 00:19 |
| → p3lim joined | 00:21 |
| ← justache left | 00:21 |
| ← zacts left | 00:23 |
| ← offby1 left | 00:23 |
| ← fuzzybunny69y left | 00:24 |
| ← huoxito left | 00:24 |
| → offby1 joined | 00:24 |
| → Davey joined | 00:24 |
| → huoxito joined | 00:25 |
| ← offby1 left | 00:25 |
| → offby1 joined | 00:25 |
| ← yshh left | 00:27 |
| → etcetera joined | 00:28 |
| → d2dchat joined | 00:29 |
| ← bytephilia left | 00:29 |
| ← mitz_ left | 00:30 |
| → ryez joined | 00:31 |
| → EasyCo joined | 00:31 |
|
EasyCo
| Before I write one myself, anybody know of a script that extend git commit to do a database export and add it to the commit? | 00:32 |
| → jali_f joined | 00:33 |
|
HedgeMage
| EasyCo: You can just do that as a pre-commit hook. | 00:33 |
| → rchavik joined | 00:33 |
|
HedgeMage
| !hooks | 00:33 |
|
| !hook | 00:33 |
|
| HedgeMage pokes the bot annoyedly | 00:33 |
| → siriuz joined | 00:33 |
|
EasyCo
| Haha, not much luck there. | 00:33 |
| → pur3forlyphe joined | 00:33 |
|
EasyCo
| I'll have a google look. | 00:34 |
|
| Thx | 00:34 |
| → jaequery joined | 00:34 |
|
HedgeMage
| EasyCo: see http://git-scm.com/book/en/Customizing-Git-Git-Hooks | 00:34 |
|
EasyCo
| There's even a nice pre-commit.sample hook | 00:35 |
| → chuckharmston joined | 00:35 |
|
EasyCo
| Beautiful. | 00:35 |
|
Eugene
| man githooks ;-) | 00:35 |
|
gitinfo
| the githooks manpage is available at http://jk.gs/githooks.html | 00:35 |
| → PaulCapestany joined | 00:35 |
| ← eletuchy left | 00:35 |
|
HedgeMage
| Eugene: showoff :P | 00:35 |
|
Eugene
| Well, I am sans shirt today | 00:35 |
| ← spaceships left | 00:36 |
|
Eugene
| But the belly needs work | 00:36 |
|
HedgeMage
| Eugene: Join the club. | 00:36 |
| → Yakko joined | 00:36 |
| → spaceships joined | 00:37 |
| ← chuckharmston left | 00:39 |
| ← Thra11 left | 00:43 |
| → private joined | 00:44 |
| private → Guest72414 | 00:44 |
| ← hyperair left | 00:44 |
| ← freestyler7 left | 00:45 |
| ← siriuz left | 00:46 |
| ← DonRichie left | 00:46 |
| ← scorphus left | 00:46 |
| → DonRichie joined | 00:46 |
| ← jaequery left | 00:47 |
| → siriuz joined | 00:48 |
| Adys_ → Adys | 00:48 |
| → scorphus joined | 00:48 |
| → jaequery joined | 00:50 |
| → Lewoco joined | 00:54 |
| ← Maxdamantus left | 00:55 |
| ← johnflux__ left | 00:59 |
| ← barneybook left | 00:59 |
| → theRealGentleman joined | 01:01 |
| ← theRealGentleman left | 01:01 |
| → simesy joined | 01:01 |
| ← zastern left | 01:01 |
| → therealGent joined | 01:01 |
| ← RaceCondition left | 01:01 |
| ← jaequery left | 01:02 |
| ← perlstein left | 01:04 |
| → therealfakemoot joined | 01:05 |
| → jday_ joined | 01:06 |
|
therealfakemoot
| I'm a bit confused; trying to create a few aliases after reading a nice article about it. https://gist.github.com/therealfakemoot/5333445 Git throws errors saying that "git is not a git command", but removing 'git' from the alias throws a different error. I'm clearly doing something very basic wrong | 01:08 |
| → megha joined | 01:09 |
| ← baba left | 01:10 |
| ← jaimef left | 01:10 |
| ← Immutable left | 01:11 |
|
Eugene
| therealfakemoot - don't put 'git' in the beginning of the alias | 01:11 |
|
therealfakemoot
| Eugene: I have tried that before. | 01:12 |
| → yshh joined | 01:12 |
| ← Vampire0 left | 01:12 |
|
therealfakemoot
| Eugene: Huh. I guess it's just the lg alias that's screwed up | 01:12 |
|
bremner
| well, what is your other error. | 01:12 |
|
Eugene
| ;-) | 01:12 |
|
therealfakemoot
| Damn it | 01:12 |
| → Immutable joined | 01:13 |
| → Vampire0 joined | 01:13 |
| → hyperair joined | 01:15 |
| → stliu joined | 01:15 |
| ← mloskot left | 01:16 |
| → catsup joined | 01:17 |
| ← pastime left | 01:18 |
| ← ncd|leeN left | 01:19 |
| ← snql left | 01:20 |
| → cespare joined | 01:20 |
| ← gregsmith left | 01:23 |
| ← ozette left | 01:23 |
| ← ThePrimeMedian left | 01:24 |
| → xiukun joined | 01:25 |
| ← warthog9 left | 01:27 |
| → zamabe joined | 01:29 |
| ← siriuz left | 01:30 |
| ← therealfakemoot left | 01:31 |
|
zamabe
| Will a rebase fail in the same way that a merge will? or will it refuse to apply? and does it apply many commits from a branch as one appended super-commit or does it rewrite the history in a (time-linear or file-linear) manner? So far RTFM hasn't cleared this up much for me. :/ | 01:31 |
|
offby1
| zamabe: tas. | 01:32 |
|
| Try It And See™, rather. | 01:32 |
|
zamabe
| offby1, mind telling me what to expect? | 01:32 |
| → aartist joined | 01:32 |
| ← simesy left | 01:32 |
|
offby1
| short answer: the former: it gets a merge conflict, which you resolve pretty much the same way you'd resolve any merge conflict. | 01:32 |
|
| and it creates many commits. | 01:32 |
|
| but seriously: Try It And See™. | 01:32 |
|
zamabe
| thx | 01:33 |
|
offby1
| no better way to get a feel for it. | 01:33 |
|
bremner
| but it might get a _different_ merge conflict | 01:33 |
| → RaceCondition joined | 01:33 |
|
offby1
| well, sure. | 01:33 |
|
| and whole bunches of them, one after the other, despite valiant attempts at using git-rerere | 01:33 |
| → edgeuplink joined | 01:33 |
| → dhruvasagar joined | 01:33 |
| → siriuz joined | 01:33 |
| ← alexander__b left | 01:34 |
| ← dhruvasagar left | 01:34 |
| → dhruvasagar joined | 01:34 |
| ← plumpkin left | 01:35 |
| → simesy joined | 01:35 |
| ← msm left | 01:35 |
| → msm joined | 01:35 |
| ← edgeuplink left | 01:36 |
| → edgeuplink joined | 01:38 |
| → mitz_ joined | 01:38 |
| → alexander__b joined | 01:39 |
| ← Sky[x] left | 01:39 |
| → wrouesnel joined | 01:40 |
| → jaimef joined | 01:40 |
| → erkules joined | 01:40 |
| ← siriuz left | 01:40 |
| → zacts joined | 01:41 |
| → normanrichards joined | 01:41 |
| ← edgeuplink left | 01:41 |
| → siriuz joined | 01:42 |
| → yuwang_ joined | 01:43 |
| ← erkules_ left | 01:43 |
| ← yuwang_ left | 01:44 |
| → yuwang_ joined | 01:44 |
| ← yuwang_ left | 01:44 |
| → jaequery joined | 01:45 |
| → nanjj joined | 01:46 |
| ← yuwang left | 01:47 |
| → pastime joined | 01:48 |
| → barneybook joined | 01:49 |
| → setmeaway joined | 01:50 |
| → BSaboia joined | 01:50 |
| ← dhruvasagar left | 01:51 |
| ← tvw left | 01:51 |
| ← siriuz left | 01:51 |
| ← wrouesnel left | 01:51 |
| → cbot_ joined | 01:52 |
| → dsdeiz joined | 01:53 |
| → siriuz joined | 01:53 |
| ← DonRichie left | 01:54 |
| ← Chryyz left | 01:54 |
| → dhruvasagar joined | 01:54 |
| ← brum left | 01:54 |
| → luc_ joined | 01:54 |
| → DonRichie joined | 01:54 |
| → asakura0 joined | 01:55 |
| → flippo joined | 01:57 |
| ← hwrd|work left | 01:58 |
| → R1KRDO joined | 01:58 |
| ← siriuz left | 01:59 |
| → siriuz joined | 02:01 |
| → s00pcan joined | 02:02 |
| → ranmocy joined | 02:02 |
| ← nanjj left | 02:03 |
| ← cbot_ left | 02:07 |
| → herbnerder joined | 02:08 |
| ← BSaboia left | 02:08 |
| → anonymuse joined | 02:08 |
| ← siriuz left | 02:09 |
| ← etcetera left | 02:09 |
| ← huoxito left | 02:10 |
| ← Davey left | 02:11 |
| ← herbnerder left | 02:11 |
| SeoZ-work[AWAY] → SeoZ | 02:13 |
| → siriuz joined | 02:13 |
| ← therealGent left | 02:13 |
| → herbnerder joined | 02:13 |
| ← siriuz left | 02:16 |
| → BiggFREE joined | 02:16 |
| ← aartist left | 02:16 |
| ← [1]JPeterson left | 02:17 |
| → [1]JPeterson joined | 02:17 |
| → sha3 joined | 02:18 |
| ← sha3 left | 02:18 |
| → a1pha joined | 02:18 |
| ← a1pha left | 02:18 |
| → a1phanumrc joined | 02:18 |
| ← [1]JPeterson left | 02:19 |
| → Esa_ joined | 02:20 |
| → JPeterson joined | 02:21 |
| → weiyang joined | 02:23 |
| → Davey joined | 02:23 |
| → solusfaran joined | 02:24 |
| → siriuz joined | 02:24 |
| ← bttf left | 02:28 |
| ← siriuz left | 02:28 |
| ← pastime left | 02:29 |
| → pastime joined | 02:29 |
| ← Cassiel left | 02:31 |
| → paddymahoney joined | 02:31 |
| → hafeez3000 joined | 02:31 |
| ← s0ber left | 02:32 |
| ← redrocket left | 02:32 |
| ← herbnerder left | 02:33 |
| → siriuz joined | 02:33 |
| → s0ber joined | 02:34 |
| ← RigidWig left | 02:34 |
| ← solusfaran left | 02:36 |
| → wald0 joined | 02:37 |
| → pitzips joined | 02:38 |
|
wald0
| i have setup a git repository for work as a fork or another project, i wanted to use the way "one single commit per feature" in order to being easly able to create patches about a specific feature (instead of search a number of different commits over the history), but i dont know how i should do that if i add more features in the future (so they are new commits) | 02:38 |
| → _Harm_B_ joined | 02:39 |
| ← siriuz left | 02:39 |
|
wald0
| in short, more features in teh future means new commits after other ones, but if i rebase in the server, this is bad, so how i should do that ? or is there any better workflow to follow and im wrong ? | 02:39 |
| ← BiggFREE left | 02:39 |
| → siriuz joined | 02:39 |
| → nathanbz joined | 02:40 |
|
pekster
| wald0: You can always consider creating a branch for your features. Then commit as much as you want, and squash the commits together if you really want. But it's often useful to commit more often than for a "complete" feature. Many times partway into a complex feature I've wanted to commit code so I could go back to that point. Maybe I start re-writing a new function, but 30 minutes in decide I liked it the way I had it originally. It's ... | 02:42 |
|
| ... handy to be able to go back | 02:42 |
| ← madewokherd left | 02:43 |
| ← Octalot left | 02:44 |
|
wald0
| pekster: yes, thats part of the idea, but in the end is not so easy because when the feautre is finished, it needs to be moved to the "dev" branch (used for build the software and package it), so the problem occurs when for example a week later is needed to add a minor fix and there was more new commits (different features/topics) | 02:44 |
| ← luc_ left | 02:44 |
|
pekster
| How is that a problem? If complete "features" get merged into a dev branch, what stops you from simply merging the branch with that feature? | 02:45 |
| → luc_ joined | 02:45 |
|
pekster
| It'll have the same effect as would merging a single commit with the same changes | 02:45 |
|
| You simply get more flexibility in the process | 02:45 |
| ← siriuz left | 02:46 |
| ← a1phanumrc left | 02:46 |
|
pekster
| Say you do that and feature "make it more green" gets a bugfix (the original topic branch wasn't green enough, it turns out.) You can then merge it again and get the "proper green" changes you needed | 02:46 |
| ← jaequery left | 02:47 |
| ← paddymahoney left | 02:48 |
|
wald0
| pekster: i think that i have not explained it correctly, lets do an example: i create a feature1 branch, do some commits, feature1 is complete so i rebase it in a single commit and put it on the "dev" branch which is used for compile/package the software (final product), next day i do the same for feature2, and next day i need to add a small fix in feature1, but i think that i cannot rebase it to a "previous" commit (there is feature2 aft | 02:48 |
|
| wald0 wonders if irssi has cut his text, which finished in "..(push) code" | 02:49 |
|
pekster
| (there is feature2 aft... ? | 02:49 |
|
| pekster recommends splitlong.pl | 02:49 |
| → siriuz joined | 02:50 |
| ← orafu left | 02:50 |
| → orafu joined | 02:51 |
|
wald0
| > feature2 after it) in an already-published (push) code | 02:51 |
|
| only that :) | 02:51 |
|
pekster
| Right. You can't rebase it after you've pushed without screwing up history for your team who already pulled it | 02:52 |
|
| Stop trying to "hide" what happens in fixes. Mess with rebasing as much as you'd likely locally, but don't do that to code you've pushed or face angry team mates when they have to pull over their existing copies | 02:52 |
| → preflex_ joined | 02:53 |
| → PixelCrumbs joined | 02:53 |
|
pekster
| If you fix that feature again and you've already rebased the change, you've effectively "hidden" the feature1 branch. You lost that history, and git only knows a single commit. You can't merge a fix from that branch anymore since you destroied it in the rebase | 02:53 |
|
wald0
| pekster: so there comes the problem :) i would like to have all the feature/topics in a single commit (useful for give it back to the original project in the future) but is a mess to try to know/select the "first complete feature" + all the future small fixes | 02:54 |
| ← preflex left | 02:54 |
|
pekster
| Bad mindset. Stop thinking of "commits as features" | 02:54 |
| ← nathanr left | 02:54 |
| preflex_ → preflex | 02:54 |
|
pekster
| That's exactly what git is designed to stop you from having to do | 02:54 |
|
| Use topic branches for "features" | 02:54 |
| → nathanr joined | 02:55 |
|
pekster
| The commit as much as you need to them. Merge them into your dev, or testing, or master, or what-have-you. If you're "done" with a feature, you can delete the branch from HEAD, but it's references will still be there containing the history | 02:55 |
|
wald0
| pekster: on this case, how i should compile/package the final software including all the features ? (packager downloads a git and compile it) | 02:55 |
| ← siriuz left | 02:56 |
|
SamB
| wald0: branches work fine | 02:56 |
| → Cassiel joined | 02:56 |
|
pekster
| huh? Don't you just have them do a git clone and build from some stable release? Maybe a release/1.0 branch (or lightweight tag if you'd prefer)? | 02:56 |
|
| Or a dev branch if that's where your stable packaging happens? | 02:56 |
| ← fireh left | 02:57 |
|
SamB
| wald0: oh, you mean merging | 02:57 |
|
wald0
| oh wait, you mean to always-have and maintain opened a lot of branches (one per feature) where to everytime merge everything on the master one as a final result ? | 02:57 |
|
pekster
| Yes. That's *way* easier than trying to glob together commits | 02:57 |
|
| You can't "fix" a commit you made yesterday (provided you pushed it already) | 02:57 |
|
| It's best to think of it as *uneditable* for eternity. Because that's better than the alternative | 02:58 |
|
| Technically, you can rewrite history. And it really screws up workflow for everyone else who has a copy of the project. Don't do it. | 02:58 |
|
SamB
| you don't *have* to keep using the feature branch for every change you do to a feature, though | 02:58 |
|
pekster
| Right, you can create a new branch if you'd like | 02:59 |
|
| Then merge that | 02:59 |
| → a1phanumrc joined | 02:59 |
|
pekster
| You can remove the branches whenever you're done with them. The history is still there, but the branch doesn't need to be | 02:59 |
| → siriuz joined | 02:59 |
| ← nathanr left | 02:59 |
| ← cirenyc left | 02:59 |
|
wald0
| ooh, i see now, this is much clearer | 03:00 |
|
| so now another question about this new method, what happens if i have a branch for a temporal feature that i want to remove in the future ? | 03:00 |
| → fireh joined | 03:00 |
| ← fireh left | 03:00 |
| → fireh joined | 03:00 |
| ← kakos left | 03:00 |
|
wald0
| i mean, how to remove from master all the commits/code that i have do in a branch for its purpose ? | 03:00 |
|
SamB
| you can't remove the commits | 03:00 |
|
| the code, you can remove, but that isn't really a thing that git is designed to help with | 03:01 |
| ← Khisanth left | 03:02 |
|
wald0
| for example, let's say that i create a branch for a temporal code that i want to give to the author in the future (so in the future if i pull from him, i will need to remove my code?) | 03:02 |
| → kakos joined | 03:02 |
| ← PixelCrumbs left | 03:02 |
| ← anonymuse left | 03:03 |
| → PixelCrumbs joined | 03:03 |
|
wald0
| or another example: it includes a temporal fix for another application, but when the other application has this solved i dont need my code anymore (remove it) | 03:03 |
| → perlstein joined | 03:03 |
|
pekster
| The perform another commit that undoes that change | 03:03 |
|
| Then* | 03:03 |
| ← TheJH left | 03:03 |
| → blaenk joined | 03:04 |
|
pekster
| Since you have the original commit that merged your feature branch fix (or a single commit, whatever it is) just reverse that commit in your working copy, resolve any conflicts that might come up (maybe recent code changes also changed some lines causing a conflict or 2) and then commit that. | 03:04 |
| ← siriuz left | 03:04 |
| → TheJH joined | 03:05 |
|
pekster
| You don't undo history. You just commit another change. Think of it like the 'reverse merge' feature of svn, if that's more familiar to you. You literally commit another commit's inverse. Same as applying a patch in reverse if that's a better analogy. | 03:05 |
| ← scorphus left | 03:05 |
|
wald0
| what is for reverse then on this case ? "git revert" ? | 03:06 |
|
| yeah, i understood, makes sense | 03:06 |
|
blaenk
| asked on #github but curious if anyone here knows. deleted a forked repo of mine and my commits which referenced an issue in upstream are still linked in that issue ('referenced this issue from a commit' messages), any way to get rid of those? | 03:07 |
| → siriuz joined | 03:07 |
| → dsdeiz_ joined | 03:07 |
|
Eugene
| Nope. | 03:08 |
|
blaenk
| what happened was worse: I kept git commit --amend'ing a commit I was workign on and doing push -f to replace that commit in my fork's remote (github), and so now there's like 10 messages there of 'referenced this issue from a commit' because technically they're each different commits | 03:08 |
|
| guess I'll just have to live with it then heh | 03:08 |
|
Eugene
| github actually stores it in a special ref | 03:08 |
| → engkur joined | 03:08 |
|
Eugene
| See !github_pull | 03:09 |
|
gitinfo
| To easily see Github Pull Requests in your local repo, use this fetchspec trick: https://gist.github.com/piscisaureus/3342247 | 03:09 |
| ← dsdeiz left | 03:09 |
| ← Guest72414 left | 03:09 |
| ← dhruvasagar left | 03:09 |
| → smw joined | 03:09 |
|
blaenk
| Eugene: pardon my ignorance but what's the benefit of that? | 03:09 |
|
Eugene
| Easier to merge PRs from outside github's interface | 03:10 |
|
blaenk
| oh okay, thanks | 03:10 |
| ← Chillance left | 03:10 |
|
ranmocy
| Ask for some help. I'm currently operate a huge repo, but when I wish to check the last commit of a certain file, it's extremely slow on my machine. My command: `git log --max-count 1 master -- path/to/file.txt`. | 03:11 |
|
Eugene
| Buy a SSD.. | 03:12 |
|
ranmocy
| I am SSD... | 03:12 |
| ← trungqtran left | 03:12 |
|
ranmocy
| @Eugene Is there may some better ways? | 03:12 |
|
Eugene
| Make your repo smaller | 03:12 |
|
ranmocy
| ... | 03:12 |
|
Eugene
| That's about all I can say, really. | 03:13 |
| → mmlac joined | 03:13 |
| ← siriuz left | 03:13 |
|
ranmocy
| @Eugene so, the time cost is unavoidable? Since I only need the last one commit info | 03:14 |
| ← PaulCapestany left | 03:14 |
|
Eugene
| git has to walk the commit chain backwards until it finds the file, so, yeah. | 03:14 |
| → stewiee joined | 03:15 |
| → Khisanth joined | 03:16 |
| → siriuz joined | 03:16 |
|
ranmocy
| @Eugene i see, thank you for answer~ | 03:17 |
| ← Watabou left | 03:17 |
| ← DonRichie left | 03:19 |
| ← dOxxx left | 03:19 |
| ← siriuz left | 03:22 |
| ← jcao219 left | 03:22 |
| ← Fissure left | 03:23 |
| → siriuz joined | 03:23 |
|
jjore_
| I suppose if you needed to perform that search often, you could create an index. | 03:24 |
| → ThePrimeMedian joined | 03:24 |
| → PaulCapestany joined | 03:25 |
| → Fissure joined | 03:28 |
| ← ThePrimeMedian left | 03:29 |
| ← siriuz left | 03:30 |
| → griotspeak joined | 03:31 |
| → jyp joined | 03:31 |
| → siriuz joined | 03:35 |
| → longbeach joined | 03:38 |
| → hwrd|work joined | 03:38 |
| ← kukks left | 03:39 |
| → fuzzybunny69y joined | 03:39 |
| ← fuzzybunny69y left | 03:39 |
| → fuzzybunny69y joined | 03:40 |
| ← fuzzybunny69y left | 03:40 |
| ← siriuz left | 03:40 |
| ← mitz_ left | 03:40 |
| ← mmlac left | 03:41 |
| → fuzzybunny69y joined | 03:41 |
| → siriuz joined | 03:42 |
| → Jojomofoman joined | 03:44 |
| → aartist joined | 03:45 |
| ← the_cybersphinx left | 03:45 |
| ← Cassiel left | 03:46 |
| → mitz_ joined | 03:47 |
| ← siriuz left | 03:48 |
| → irqq joined | 03:48 |
| ← t-mart left | 03:48 |
| → t-mart joined | 03:49 |
| ← Esa_ left | 03:49 |
| → siriuz joined | 03:49 |
| → Dreamer3 joined | 03:50 |
| ← PixelCrumbs left | 03:50 |
| → Esa_ joined | 03:50 |
| → PixelCrumbs joined | 03:50 |
| ← odin_ left | 03:51 |
| ← mercwithamouth left | 03:54 |
| → DonRichie joined | 03:55 |
| ← siriuz left | 03:56 |
| ← arvind_khadri left | 03:57 |
| ← PixelCrumbs left | 03:59 |
| → PixelCrumbs joined | 03:59 |
| ← Dougie187 left | 04:00 |
| → siriuz joined | 04:00 |
| → Chryyz joined | 04:02 |
| ← griotspeak left | 04:03 |
| ← siriuz left | 04:03 |
| ← jyp left | 04:03 |
| → Tommy[D]_ joined | 04:03 |
| → odin_ joined | 04:04 |
| → siriuz joined | 04:05 |
| → joon joined | 04:06 |
| → jyp joined | 04:06 |
| ← ranmocy left | 04:07 |
| ← Tommy[D] left | 04:07 |
| ← jyp left | 04:07 |
| → luc__ joined | 04:08 |
| ← luc_ left | 04:08 |
| → jyp joined | 04:08 |
| → beautifulmind joined | 04:09 |
| ← flippo left | 04:09 |
| ← blaenk left | 04:10 |
| ← aartist left | 04:14 |
| ← kpreid left | 04:14 |
| ← avinashrbhat left | 04:14 |
| ← Esa_ left | 04:14 |
| → kpreid joined | 04:14 |
| ← siriuz left | 04:15 |
| → luc_ joined | 04:15 |
| ← luc__ left | 04:15 |
| ← hafeez3000 left | 04:15 |
| → hoschi joined | 04:17 |
| → Kulrak joined | 04:17 |
| → mercwithamouth joined | 04:18 |
| → siriuz joined | 04:18 |
| ← seanius left | 04:20 |
| → dermoth_ joined | 04:20 |
| ← a1phanumrc left | 04:21 |
| ← irqq left | 04:21 |
| → siriuz_ joined | 04:22 |
| → a1phanumrc joined | 04:22 |
| ← dermoth|home left | 04:23 |
| → mihamina joined | 04:23 |
| ← siriuz left | 04:24 |
| ← kakos left | 04:28 |
| ← AaronMT left | 04:29 |
| → kakos joined | 04:31 |
| → seanius joined | 04:31 |
| ← pitzips left | 04:33 |
| ← khmarbaise left | 04:35 |
| ← pastime left | 04:35 |
| ← mihamina left | 04:36 |
| → jaequery joined | 04:36 |
| → therealGent joined | 04:36 |
| → pastime joined | 04:40 |
| ← jali_f left | 04:41 |
| ← PixelCrumbs left | 04:41 |
| ← DonRichie left | 04:42 |
| ← siriuz_ left | 04:42 |
| → private joined | 04:42 |
| ← zacts left | 04:43 |
| → dhruvasagar joined | 04:43 |
| private → Guest97521 | 04:43 |
| ← fuzzybunny69y left | 04:44 |
| ← therealGent left | 04:45 |
| → Watabou joined | 04:46 |
| → siriuz joined | 04:47 |
| → fuzzybunny69y joined | 04:48 |
| ← fuzzybunny69y left | 04:48 |
| → fuzzybunny69y joined | 04:49 |
| ← fuzzybunny69y left | 04:49 |
| → fuzzybunny69y joined | 04:50 |
| ← fuzzybunny69y left | 04:50 |
| ← jyp left | 04:50 |
| → fuzzybunny69y joined | 04:50 |
| ← dsdeiz_ left | 04:50 |
| → dsdeiz joined | 04:51 |
| ← PaulCapestany left | 04:52 |
| ← jjore_ left | 04:53 |
| ← Watabou left | 04:54 |
| ← ak5 left | 04:55 |
| ← SirCmpwn left | 04:57 |
| ← siriuz left | 04:57 |
| → pretty_function joined | 05:00 |
| → SirCmpwn joined | 05:02 |
| → siriuz joined | 05:02 |
| ← pyacks left | 05:02 |
| → johnbenz joined | 05:04 |
| ← pretty_function left | 05:04 |
| → wwalker joined | 05:05 |
| ← stewiee left | 05:05 |
|
wwalker
| https://gist.github.com/wwalker/5334340 - a git branch merging question | 05:05 |
| → _Harm_B_1 joined | 05:05 |
| ← siriuz left | 05:06 |
| → pretty_function joined | 05:06 |
|
Eugene
| Merge harder, not smarter | 05:06 |
|
| wwalker - man git-cherry-pick | 05:06 |
|
gitinfo
| wwalker: the git-cherry-pick manpage is available at http://jk.gs/git-cherry-pick.html | 05:06 |
| ← _Harm_B_ left | 05:07 |
| ← Villadelfia left | 05:09 |
| ← SeySayux left | 05:09 |
| → siriuz joined | 05:09 |
| ← d2dchat left | 05:09 |
| ← spaceships left | 05:10 |
| → arvind_khadri joined | 05:10 |
| → Anders_J joined | 05:10 |
|
wwalker
| so I would run "git checkout feature-1; git cherry-pick feature-2-branch-start-tag..feature-2" ? | 05:11 |
|
| Eugene: thank you | 05:11 |
| ← L-Chymera left | 05:11 |
| → jceb joined | 05:12 |
| → spaceships joined | 05:12 |
| ← R1KRDO left | 05:12 |
| → jyp joined | 05:12 |
| ← spaceships left | 05:13 |
| ← knightshade left | 05:13 |
| → jrnieder joined | 05:13 |
|
Eugene
| My karma count is slowly rising. I need to beat that cbreak git. | 05:14 |
|
HedgeMage
| lol | 05:14 |
| → R1KRDO joined | 05:15 |
| → dsdeiz_ joined | 05:16 |
| → avinashrbhat joined | 05:17 |
| ← dsdeiz left | 05:17 |
| ← a1phanumrc left | 05:20 |
| ← ph^ left | 05:21 |
| ← jrnieder left | 05:21 |
| → ph^ joined | 05:22 |
| → elixir joined | 05:22 |
| ← Max-P left | 05:22 |
| ← siriuz left | 05:23 |
| ← ph^ left | 05:24 |
| → siriuz joined | 05:24 |
| → hafeez3000 joined | 05:24 |
| → ph^ joined | 05:24 |
| → dsdeiz joined | 05:25 |
| → h0bbit joined | 05:25 |
| ← donmichelangelo left | 05:25 |
| → donmichelangelo joined | 05:25 |
| ← dsdeiz_ left | 05:26 |
| → pyacks joined | 05:26 |
| ← jyp left | 05:28 |
| → Villadelfia joined | 05:28 |
| → SeySayux joined | 05:29 |
| ← ph^ left | 05:29 |
| ← Galaris_ left | 05:30 |
| → subhojit777 joined | 05:30 |
| ← siriuz left | 05:30 |
| ← gwty left | 05:31 |
| ← Noldorin left | 05:32 |
| → siriuz joined | 05:32 |
| ← zamabe left | 05:32 |
| ← R1KRDO left | 05:35 |
| ← delinquentme left | 05:36 |
| ← Yakko left | 05:36 |
| ← bgerber left | 05:37 |
| → revyd joined | 05:37 |
| ← EasyCo left | 05:37 |
| ← siriuz left | 05:38 |
| ← dhruvasagar left | 05:38 |
| → vedant joined | 05:40 |
| → siriuz joined | 05:40 |
| → newbie999 joined | 05:40 |
| → bgerber joined | 05:41 |
| → Sky[x] joined | 05:41 |
|
_ikke_
| I'm always a few behind cmn | 05:41 |
| ← pastime left | 05:42 |
|
Eugene
| That git. | 05:42 |
|
| HedgeMage probably has no karma in here, not having been around long | 05:42 |
|
HedgeMage
| :P | 05:42 |
|
Eugene
| .karma HedgeMage | 05:43 |
|
gitinfo
| the karma of the given users is shrouded in the mists of uncertainty. | 05:43 |
|
_ikke_
| correct | 05:43 |
| ← hafeez3000 left | 05:43 |
|
HedgeMage
| That, and I spend most of my time sexually harrassing Eugene, which isn't very karma-worthy :P | 05:43 |
|
Eugene
| It isn't harassment until you've found my webcam(s). | 05:44 |
| → Dreadnaught joined | 05:44 |
| ← Dreadnaught left | 05:44 |
| → Dreadnaught joined | 05:44 |
| → Watabou joined | 05:44 |
| → dsdeiz_ joined | 05:44 |
|
HedgeMage
| Eugene: 'found' -- you mean you don't secure that sort of tihng? | 05:44 |
| ← karupanerura left | 05:45 |
| ← Kulrak left | 05:45 |
|
Eugene
| Secure? God, no, it's public. | 05:45 |
| ← dsdeiz left | 05:45 |
|
Eugene
| Though you can't see much right now, I have the lights off. | 05:45 |
| → karupanerura joined | 05:46 |
|
| HedgeMage has the lights on, but is mostly dressed due to being in a shared part of the house and having a kid | 05:46 |
| ← siriuz left | 05:46 |
|
Eugene
| Your poor dress | 05:47 |
|
HedgeMage
| ? | 05:47 |
|
Eugene
| Getting all worn out :-p | 05:47 |
|
HedgeMage
| :P | 05:48 |
| → pppaul joined | 05:48 |
|
HedgeMage
| I don't often dress in actual dresses. I find them to be quite impractical. | 05:48 |
| → siriuz joined | 05:49 |
|
Eugene
| I like them | 05:49 |
| ← rasto left | 05:49 |
|
HedgeMage
| Last time was...about 8 years ago when a dear friend was married (I was in the wedding party). | 05:49 |
| → dsdeiz joined | 05:49 |
| → warthog9 joined | 05:50 |
| ← dsdeiz_ left | 05:50 |
|
Eugene
| Yay party | 05:51 |
| ← beneggett left | 05:51 |
| → beneggett joined | 05:52 |
| → mishok13 joined | 05:52 |
|
HedgeMage
| Though I've kind of considered getting a nice period outfit (yes, that would mean a dress) for swing dancing with P. | 05:52 |
| → jyp joined | 05:54 |
| ← siriuz left | 05:54 |
| → siriuz joined | 05:57 |
| ← Jojomofoman left | 05:59 |
| → Wulf joined | 06:01 |
| ← siriuz left | 06:02 |
| ← jyp left | 06:02 |
| ← beneggett left | 06:03 |
| → PaulCapestany joined | 06:04 |
| → siriuz joined | 06:06 |
| → ThomasLocke joined | 06:08 |
| → hafeez3000 joined | 06:08 |
| → beneggett joined | 06:08 |
| ← johnbenz left | 06:08 |
| ← siriuz left | 06:08 |
| ← Gentlecat left | 06:09 |
| → PixelCrumbs joined | 06:09 |
| ← SirCmpwn left | 06:10 |
| → cbreak-work joined | 06:11 |
| ← corsair__ left | 06:11 |
| → halcyonCorsair joined | 06:12 |
| ← Davey left | 06:12 |
| → SirCmpwn joined | 06:13 |
| ← Sky[x] left | 06:15 |
| → ph^ joined | 06:16 |
| ← ph^ left | 06:16 |
| ← Entomo left | 06:16 |
| → ph^ joined | 06:16 |
| → siriuz joined | 06:16 |
| → Error404NotFound joined | 06:18 |
| → jnavila joined | 06:19 |
| ← beneggett left | 06:19 |
| ← LekeFly left | 06:20 |
| ← siriuz left | 06:20 |
| → jnavila_ joined | 06:20 |
| → beneggett joined | 06:20 |
| ← Error404NotFound left | 06:21 |
| ← cagedwisdom left | 06:21 |
| ← dsantiago left | 06:21 |
| → Error404NotFound joined | 06:22 |
| → dsantiago joined | 06:23 |
| → Sigma joined | 06:24 |
| ← jnavila left | 06:24 |
| ← pppaul left | 06:24 |
| ← Error404NotFound left | 06:24 |
| → soee joined | 06:25 |
| → siriuz joined | 06:25 |
| → Error404NotFound joined | 06:25 |
| ← beautifulmind left | 06:26 |
| ← mishok13 left | 06:27 |
| ← Markvilla left | 06:27 |
| → dsdeiz_ joined | 06:28 |
| → Andromeda joined | 06:28 |
| ← dsdeiz left | 06:28 |
| ← hwrd|work left | 06:29 |
| ← siriuz left | 06:33 |
| ← h0bbit left | 06:33 |
| → rath joined | 06:33 |
| ← jceb left | 06:34 |
| ← Sigma left | 06:34 |
| → siriuz joined | 06:34 |
| → dsdeiz joined | 06:35 |
| → tvw joined | 06:36 |
| → beautifulmind joined | 06:36 |
| → h0bbit joined | 06:36 |
| ← dsdeiz_ left | 06:36 |
| ← Goplat left | 06:36 |
| ← Guest97521 left | 06:37 |
| → rob_w joined | 06:37 |
| → lb1a joined | 06:38 |
| ← lb1a left | 06:38 |
| → lb1a joined | 06:38 |
| ← mercwithamouth left | 06:39 |
| ← siriuz left | 06:40 |
| → pantsman joined | 06:41 |
| → rasto joined | 06:41 |
| ← fuzzybunny69y left | 06:41 |
| ← bulletmark left | 06:42 |
| → siriuz joined | 06:42 |
| → ivar_ joined | 06:43 |
| → netiul joined | 06:44 |
| → fuzzybunny69y joined | 06:46 |
| ← siriuz left | 06:48 |
| ← alexander__b left | 06:48 |
| → siriuz joined | 06:49 |
| → fRAiLtY- joined | 06:50 |
| → tomplast joined | 06:51 |
| → mishok13 joined | 06:51 |
| → marthinal joined | 06:52 |
| → rurufufuss joined | 06:53 |
| ← beautifulmind left | 06:54 |
|
tomplast
| Hi. I have an issue with GIT and I would be very pleased if anyone could help. I work at a company as a programmer but I'm also responsible for the GIT server and usage. Lately we have had a problem where we had two folder with the same name, i.e Folder and folder. So suddenly we have the same file (just different commits) in two different folders. How can I resolve this? And how can I make git be case sensitive? Btw, we work in a Wi | 06:55 |
| ← siriuz left | 06:55 |
| → Raging_Hog joined | 06:56 |
|
nevyn
| tomplast: it is case sensitive. | 06:56 |
|
tomplast
| nevyn: Yes I am well aware of that, how does that help me? | 06:56 |
| → nicolash joined | 06:56 |
|
tomplast
| I mean, I want it to be case insensitive. | 06:56 |
|
nevyn
| oh.. that's different ;) | 06:57 |
|
tomplast
| Sorry, spelled incorrectly | 06:57 |
|
nevyn
| ok I lost everything in your post after: " And how can I | 06:57 |
|
| make git be case sensitive? Btw, we work in a Wi | 06:57 |
|
| " | 06:57 |
|
tomplast
| Okay, but now you see my problem? | 06:58 |
|
nevyn
| tomplast: irc only deals with relatively short messages ~256chars | 06:58 |
| → siriuz joined | 06:58 |
|
tomplast
| amend message: Btw, we work in a Windows environment. | 06:58 |
| → dhruvasagar joined | 06:58 |
| ← boombatower left | 06:58 |
|
tomplast
| :p | 06:58 |
|
nevyn
| tomplast: I think the likely answer is a case insensitive filesystem but given you're programmers working in a case preserving operatingsystem surely you could just fix the work practices | 06:59 |
|
| !case | 06:59 |
|
gitinfo
| [!case_mapping] Git tries its best if you are on a filesystem which does not understand the difference between upper case and lower case, but there are many circumstances, especially when there are two files which only differ by case, that git just cannot cope. Windows and Mac users are especially likely to have such problems. Solution, move to a real filesystem or OS and investigate git-config's core.ignorecase | 06:59 |
|
tomplast
| When we are trying to look at the log we won't find anything, because it's in different folders. | 06:59 |
|
nevyn
| tomplast: so you're pushing a new repo to the remote? | 07:00 |
| → tim joined | 07:00 |
| → jyp_ joined | 07:00 |
|
nevyn
| tomplast: so when you say a "server" what do you mean? | 07:00 |
|
tomplast
| Yeah, on Windows it looks all fine and dandy but on the Git server there are two folders. | 07:00 |
|
cbreak-work
| tomplast: don't worry about it | 07:00 |
| ← barneybook left | 07:00 |
|
cbreak-work
| git is case sensitive | 07:00 |
|
nevyn
| cbreak-work: he wants it to be insensitive clod! | 07:01 |
|
tomplast
| We work with local repositories which we push to a central git server. | 07:01 |
|
nevyn
| how? | 07:01 |
|
| what transport and what runs on the central git server? | 07:01 |
|
cbreak-work
| doesn't sound problematic | 07:01 |
|
tomplast
| Huh? | 07:01 |
|
thiago
| tomplast: enforce that people should use everything lowercase | 07:01 |
| ← nfroidure_ left | 07:01 |
| ← xiukun left | 07:01 |
|
nevyn
| tomplast: what software manages the git repos on your central git server? | 07:01 |
|
cbreak-work
| doesn't matter | 07:02 |
| ← yellah left | 07:02 |
|
nevyn
| or you just have a common account or shared folder and ssh? | 07:02 |
|
| cbreak-work: it sortadoes.. maybe. | 07:02 |
| → yellah joined | 07:02 |
|
cbreak-work
| tomplast: just check local state: git ls-files | 07:02 |
|
| do you see two different directories? | 07:02 |
|
tomplast
| nevyn: Used Gitolite before, now its GitLab-shell. | 07:02 |
|
cbreak-work
| (only differing in case) | 07:02 |
| → jceb joined | 07:03 |
|
tomplast
| Have to come back, there's a meeting here now. Sorry, I will look at your advcies. | 07:03 |
|
cbreak-work
| nevyn: the file names are part of history, no git server can change them unless it breaks sha1 | 07:03 |
|
tomplast
| Thanks for your help. | 07:03 |
|
| afk | 07:03 |
| → eletuchy joined | 07:04 |
| → psoo joined | 07:04 |
| ← siriuz left | 07:04 |
|
nevyn
| cbreak-work: oh right.. course they are. | 07:04 |
|
cbreak-work
| so the different directories are either proper part of history, or they are not history | 07:04 |
|
| if they are proper part of history, then they were probably created on a system that doesn't handle different cases as the same | 07:04 |
| ← dhruvasagar left | 07:04 |
| ← nicolash left | 07:04 |
|
nevyn
| eww... | 07:05 |
|
cbreak-work
| (or on a system that does handle them the same, without git being aware of it) | 07:05 |
| → nicolash joined | 07:05 |
|
cbreak-work
| but I think git is aware of that by default | 07:05 |
| → siriuz joined | 07:05 |
| ← mitz_ left | 07:05 |
| → dhruvasagar joined | 07:05 |
| → mastro joined | 07:05 |
|
cbreak-work
| so it was probably caused by a careless linux user or similar | 07:05 |
| → JosefAssad joined | 07:06 |
|
cbreak-work
| either way, the solution is quite simple I think: git rm -rf --cached directory | 07:06 |
| ← mastro left | 07:06 |
|
cbreak-work
| to remove all varying case versions | 07:06 |
|
| then git add them from the filesystem again | 07:06 |
| → mitz_ joined | 07:06 |
|
cbreak-work
| git should pick up the renames as needed | 07:06 |
| ← fuzzybunny69y left | 07:06 |
| → mastro joined | 07:07 |
| ← gan_ left | 07:08 |
| ← normanrichards left | 07:08 |
| ← Error404NotFound left | 07:09 |
| ← markalanevans left | 07:10 |
| → mastroWork joined | 07:10 |
| → markalanevans joined | 07:11 |
| ← ivar_ left | 07:11 |
| ← siriuz left | 07:12 |
|
lb1a
| setting up a new intern git server box with gitolite. i just love it :) | 07:12 |
| → barneybook joined | 07:13 |
| → Sky[x] joined | 07:14 |
| ← mastro left | 07:14 |
| → suy joined | 07:15 |
| ← thiago left | 07:16 |
| ← revyd left | 07:16 |
| → siriuz joined | 07:17 |
| ← arvind_khadri left | 07:17 |
| → mastro__ joined | 07:18 |
| ← threesome left | 07:18 |
| → timj1 joined | 07:18 |
| → LekeFly joined | 07:18 |
| → Dr4k3 joined | 07:19 |
| ← o] left | 07:20 |
| ← timj left | 07:20 |
| ← dsantiago left | 07:20 |
| ← mastroWork left | 07:21 |
| ← Dr4k3 left | 07:21 |
| → narfnarf joined | 07:22 |
| ← narfnarf left | 07:22 |
| → Error404NotFound joined | 07:22 |
| ← siriuz left | 07:22 |
| → maxmanders joined | 07:23 |
| → dsantiago joined | 07:23 |
| → LeMike joined | 07:23 |
| ← avinashrbhat left | 07:24 |
| → avinashrbhat joined | 07:24 |
| → mitz__ joined | 07:25 |
| ← quazimodo left | 07:25 |
| → _Qman joined | 07:26 |
| ← mitz_ left | 07:27 |
| → siriuz joined | 07:27 |
| ← beneggett left | 07:27 |
| QshelTier → Bombe | 07:28 |
| → Sonderblade joined | 07:28 |
| → BiggFREE joined | 07:29 |
| ← siriuz left | 07:30 |
| ← pyacks left | 07:30 |
| → AdrienBrault joined | 07:31 |
| → alorence joined | 07:32 |
| → smirn0v joined | 07:32 |
| → quazimodo joined | 07:33 |
| ← pigeon left | 07:34 |
| → yacks joined | 07:34 |
| ← jnavila_ left | 07:34 |
| → pigeon joined | 07:34 |
| → vedant_ joined | 07:35 |
| → guns joined | 07:35 |
| ← PaulCapestany left | 07:37 |
| ← stliu left | 07:38 |
| ← vedant left | 07:38 |
| → siriuz joined | 07:39 |
| → flijten joined | 07:39 |
| ← vedant_ left | 07:40 |
| ← yacks left | 07:41 |
| ← markalanevans left | 07:43 |
| ← quazimodo left | 07:44 |
| → vedant_ joined | 07:44 |
| ← siriuz left | 07:45 |
| → threesome joined | 07:45 |
| → siriuz joined | 07:45 |
| → Dr4k3 joined | 07:46 |
| → JohnBat26 joined | 07:48 |
| ← jaequery left | 07:48 |
| blackjack → suaminya | 07:49 |
| ← suaminya left | 07:49 |
| ← guns left | 07:49 |
| → quazimodo joined | 07:49 |
| → jnavila_ joined | 07:50 |
| ← siriuz left | 07:52 |
| → lavong joined | 07:52 |
| → mastroWork joined | 07:54 |
| → ThePawnBreak joined | 07:55 |
| ← quazimodo left | 07:55 |
| → yacks joined | 07:55 |
| → siriuz joined | 07:56 |
| ← dreiss left | 07:57 |
| ← mastro__ left | 07:57 |
| → alexander__b joined | 07:57 |
| ← Raging_Hog left | 07:58 |
| ← alexander__b left | 07:59 |
| → alexander__b joined | 07:59 |
| → Raging_Hog joined | 07:59 |
| → iksik joined | 07:59 |
| ← iksik left | 07:59 |
| → iksik joined | 07:59 |
| → alkino joined | 08:00 |
| ← dregad left | 08:01 |
| ← siriuz left | 08:01 |
| → tjbiddle joined | 08:01 |
| ← elixir left | 08:03 |
| → elixir joined | 08:03 |
| → marhaban joined | 08:04 |
| ← stephan_ left | 08:04 |
| → siriuz joined | 08:06 |
| → stephan_ joined | 08:07 |
| → LimeBlast joined | 08:07 |
| → Sigma joined | 08:09 |
| → dsdeiz_ joined | 08:09 |
| ← iksik left | 08:09 |
| ← dsdeiz left | 08:09 |
| → narfnarf joined | 08:10 |
| → jargon joined | 08:10 |
| ← ThePawnBreak left | 08:10 |
| ← narfnarf left | 08:10 |
| ← Vile left | 08:11 |
| → brocken joined | 08:12 |
| ← siriuz left | 08:12 |
| ← LeMike left | 08:13 |
| → LeMike joined | 08:13 |
| → dsdeiz joined | 08:14 |
| ← pur3forlyphe left | 08:14 |
| ← dsdeiz_ left | 08:15 |
| ← marthinal left | 08:15 |
| → quazimodo joined | 08:16 |
| → narfnarf joined | 08:17 |
| → arvind_khadri joined | 08:17 |
| → siriuz joined | 08:17 |
| → eijk joined | 08:18 |
| ← tjbiddle left | 08:19 |
| → jnavila__ joined | 08:20 |
| ← jnavila_ left | 08:20 |
| ← tirengarfio left | 08:20 |
| → Hail_Spacecake joined | 08:20 |
|
Hail_Spacecake
| how do you tell github to create a repo from an already-extant local git repo? | 08:20 |
| → barq joined | 08:20 |
| ← barq left | 08:20 |
| → barq joined | 08:20 |
|
Hail_Spacecake
| I recall they used to have an option for this, but I can no longer find it | 08:21 |
| ← barq left | 08:21 |
|
_ikke_
| Hail_Spacecake: Just create a new project, and push to it | 08:22 |
| → marthinal joined | 08:22 |
| ← siriuz left | 08:23 |
| ← lausi left | 08:24 |
| → lausi joined | 08:24 |
| ← donmichelangelo left | 08:26 |
| ← Error404NotFound left | 08:27 |
| ← sirdancealot left | 08:27 |
| → spuz_ joined | 08:27 |
| → siriuz joined | 08:27 |
| ← maxmanders left | 08:28 |
| → maxmanders joined | 08:29 |
| → irqq joined | 08:30 |
| → babilen joined | 08:30 |
| → mrwonko joined | 08:31 |
| ← Raging_Hog left | 08:32 |
| → exidl joined | 08:32 |
|
mrwonko
| So I did the impossible and rewrote history. Had to. What step-by-step repair instructions can I give to forkers? | 08:32 |
| → private joined | 08:32 |
| ← siriuz left | 08:32 |
| private → Guest51026 | 08:33 |
| → xiukun joined | 08:33 |
|
exidl
| hey, I need to rebase my fork because the upstream has history rewritten, is the following correct ? git checkout upstream; git fetch upstream; git rebase upstream/master | 08:33 |
|
_ikke_
| mrwonko: man git rebase (section, recover from upstream rebase) | 08:33 |
|
gitinfo
| mrwonko: the git-rebase manpage is available at http://jk.gs/git-rebase.html | 08:33 |
|
_ikke_
| exidl: The same section applies too | 08:33 |
|
exidl
| ah okay there's a special section for that, great thanks | 08:34 |
|
lb1a
| _ikke_: not bad, 2 flies with 1 clap ;) | 08:34 |
|
_ikke_
| :D | 08:34 |
|
| Is that an english proverb too? | 08:34 |
|
mrwonko
| well, he is one of the forkers :D | 08:34 |
|
lb1a
| _ikke_: dont think so, but you got the point ^^ | 08:34 |
|
_ikke_
| lb1a: yeah | 08:34 |
|
dr_lepper
| english is "two birds with 1 stone" | 08:35 |
|
lb1a
| ah thanks dr_lepper | 08:35 |
|
_ikke_
| mrwonko: haha, makes sense | 08:35 |
| ← Hail_Spacecake left | 08:35 |
| ← babilen left | 08:36 |
| → babilen joined | 08:36 |
| → siriuz joined | 08:37 |
| → Error404NotFound joined | 08:39 |
| ← JEEB left | 08:39 |
| → JEEBcz joined | 08:40 |
| ← t-mart left | 08:40 |
| → the_cybersphinx joined | 08:40 |
| ← lavong left | 08:40 |
| → martinklepsch joined | 08:40 |
| → normanrichards joined | 08:40 |
| → t-mart joined | 08:40 |
| → delboy1978uk joined | 08:41 |
| → rudak joined | 08:41 |
| → lavong joined | 08:41 |
| ← elixir left | 08:41 |
| ← BiggFREE left | 08:42 |
| → Markvilla joined | 08:42 |
| → zoresvit joined | 08:42 |
| ← Markvilla left | 08:42 |
| ← siriuz left | 08:42 |
| ← delboy1978uk left | 08:43 |
| ← suy left | 08:43 |
| → Raging_Hog joined | 08:44 |
| → suy joined | 08:44 |
| ← Caelum left | 08:44 |
| ← rudak left | 08:44 |
| → Caelum joined | 08:44 |
| ← Werring left | 08:45 |
| ← simesy left | 08:45 |
| → siriuz joined | 08:46 |
| → samuel02 joined | 08:46 |
| meuh_ → meuh | 08:47 |
| → Vile joined | 08:48 |
| → simesy joined | 08:48 |
| → Werring joined | 08:48 |
| ← JEEBcz left | 08:48 |
| → JEEBcz joined | 08:48 |
| JEEBcz → JEEB | 08:48 |
| ← Learath2_ left | 08:48 |
| → Learath2 joined | 08:49 |
| gitinfo set mode: +v | 08:49 |
| ← siriuz left | 08:50 |
| ← marhaban left | 08:53 |
| ← Raging_Hog left | 08:54 |
| → Raging_Hog joined | 08:55 |
| ← JosefAssad left | 08:55 |
| → JosefAssad joined | 08:55 |
| → stliu joined | 08:55 |
| → Guest88035 joined | 08:56 |
| ← lb1a left | 08:56 |
| → siriuz joined | 08:58 |
| ← LeMike left | 08:59 |
| → pradi joined | 08:59 |
| → snql joined | 08:59 |
| ← Raging_Hog left | 08:59 |
| ← vedant_ left | 09:01 |
| → leeN joined | 09:01 |
| ← marcdel left | 09:01 |
| ← ph^ left | 09:02 |
| → mastro__ joined | 09:03 |
| ← siriuz left | 09:04 |
| ← diegoviola left | 09:04 |
| → ph^ joined | 09:04 |
| → beaky joined | 09:05 |
|
beaky
| hello | 09:05 |
| ← CZer0 left | 09:05 |
|
beaky
| I have a devel branch, and a topic branch off that devel branch; if I make changes in the devel branch, how do I update the topic branch with those changes? | 09:05 |
| ← PixelCrumbs left | 09:06 |
| ← mastroWork left | 09:06 |
| ← dvide left | 09:06 |
|
_ikke_
| beaky: Have you pushed this topic branch? | 09:07 |
| → Hounddog joined | 09:07 |
|
osse
| beaky: either merge them in, cherry-pick them, or rebase the topic branch | 09:07 |
| ← quazimodo left | 09:07 |
|
beaky
| ah | 09:07 |
| → siriuz joined | 09:08 |
|
_ikke_
| beaky: Does that topic branch really need the changes from develop? | 09:08 |
| → Kulrak joined | 09:08 |
|
beaky
| no :( | 09:08 |
|
_ikke_
| You can wait, and merge that topic branch back into master when it's ready | 09:09 |
|
beaky
| ah xlent | 09:09 |
|
_ikke_
| s/master/develop | 09:09 |
| → security joined | 09:09 |
| ← Dreadnaught left | 09:09 |
| ← megha left | 09:10 |
| → dvide joined | 09:11 |
| → shruggar joined | 09:11 |
| mwilkes|away → MatthewWilkes | 09:12 |
| ← Dr4k3 left | 09:12 |
| ← arvind_khadri left | 09:12 |
| ← blami_orcl left | 09:12 |
| → blami_orcl joined | 09:13 |
| ← siriuz left | 09:13 |
| → FernandoBasso joined | 09:13 |
| → arand joined | 09:15 |
| → siriuz joined | 09:16 |
| ← Guest88035 left | 09:16 |
| ← hafeez3000 left | 09:16 |
| ← smirn0v left | 09:17 |
| ← Sigma left | 09:17 |
| → yrrrep joined | 09:17 |
| → L-Chymera joined | 09:17 |
| ← JosefAssad left | 09:18 |
| → CZer0 joined | 09:18 |
| ← stephan_ left | 09:18 |
| → stephanmg joined | 09:19 |
| ← Sky[x] left | 09:19 |
| ← pantsman left | 09:19 |
| → PixelCrumbs joined | 09:19 |
| → maletor joined | 09:20 |
| → kewah joined | 09:21 |
| → Dr4k3 joined | 09:21 |
| → barq joined | 09:22 |
| ← barq left | 09:22 |
| → barq joined | 09:22 |
| ← siriuz left | 09:23 |
| ← irqq left | 09:24 |
| → mastroWork joined | 09:24 |
| ← Dr4k3 left | 09:24 |
| ← maletor left | 09:25 |
| ← TheJH left | 09:26 |
| → siriuz joined | 09:26 |
|
esc
| in case anyone from Berlin would like to join: http://krzz.de/4w | 09:27 |
| → howlymowly joined | 09:27 |
| ← mastro__ left | 09:27 |
|
mrwonko
| I'll be in berlin that day, but that's because it's during A MAZE, so I won't actually have time. bad date to pick :D | 09:28 |
| → TheJH joined | 09:28 |
| ← Guest51026 left | 09:28 |
| ← _iron left | 09:29 |
| ← jyp_ left | 09:29 |
| → arvind_khadri joined | 09:30 |
| → Noldorin joined | 09:30 |
| → JosefAssad joined | 09:31 |
| → KevinSjoberg joined | 09:32 |
| ← hyperair left | 09:32 |
| ← siriuz left | 09:33 |
| → sveajobb joined | 09:33 |
| → smirn0v joined | 09:33 |
| → hafeez3000 joined | 09:34 |
| → herbnerder joined | 09:34 |
| ← beaky left | 09:35 |
|
mrwonko
| huh, how did I mess that up | 09:35 |
|
| wrong chat | 09:35 |
|
sveajobb
| hi, is there a way to get a list of new commits on master from a branch (master is merged into branch at regular intervals), I want to see the new "pending" commits in the master branch | 09:36 |
| → siriuz joined | 09:36 |
| → Dr4k3 joined | 09:37 |
| ← Andromeda left | 09:37 |
|
_ikke_
| git log branch..master? | 09:37 |
|
Eugene
| !lol | 09:37 |
|
gitinfo
| A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all | 09:37 |
|
_ikke_
| That shows branches that are in master, but not in branch | 09:37 |
| ← Error404NotFound left | 09:38 |
| → juril joined | 09:38 |
| ← Dr4k3 left | 09:38 |
| ← s0ber left | 09:38 |
| → Dr4k3 joined | 09:38 |
| ← Dr4k3 left | 09:39 |
|
sveajobb
| _ikke_, ... thanks :) I should have thought of that | 09:39 |
| → Laurenceb_ joined | 09:39 |
| → s0ber joined | 09:40 |
| ← smirn0v left | 09:41 |
| → marhaban joined | 09:41 |
| → rednaks joined | 09:42 |
| ← siriuz left | 09:42 |
| rjc_ → rjc | 09:43 |
| ← weiyang left | 09:43 |
| → mastro__ joined | 09:44 |
|
jast
| esc: we have an "Adalbertstraße" here, too... is it okay if I go there instead? :} | 09:44 |
|
esc
| jast: your welcome to try and hope for quantum entanglement | 09:45 |
| → lalondong joined | 09:45 |
| ← jnavila__ left | 09:46 |
| → Raging_Hog joined | 09:46 |
| → smirn0v joined | 09:46 |
| → lb1a joined | 09:46 |
| ← lb1a left | 09:46 |
| → lb1a joined | 09:46 |
| gitinfo set mode: +v | 09:47 |
| → siriuz joined | 09:47 |
| ← mastroWork left | 09:47 |
| ← lalondong left | 09:47 |
| → jnavila__ joined | 09:48 |
| → dregad joined | 09:48 |
|
sveajobb
| git log ..master was just a tad more elegant than my solution :) P=$( git merge-base HEAD master ); git log $P..master | 09:48 |
| → lalondong joined | 09:48 |
| ← barneybook left | 09:48 |
| ← lalondong left | 09:48 |
| ← _Harm_B_1 left | 09:49 |
| → jlg13 joined | 09:50 |
|
_ikke_
| You didn't even need to find the merge-base | 09:51 |
| → mastroWork joined | 09:51 |
| → Error404NotFound joined | 09:52 |
| ← CZer0 left | 09:52 |
| ← mrwonko left | 09:52 |
| ← yacks left | 09:52 |
| → jkremser joined | 09:52 |
| ← siriuz left | 09:53 |
| → ozette joined | 09:53 |
| ← RaceCondition left | 09:53 |
| ← mastro__ left | 09:54 |
| ← maxmanders left | 09:55 |
| → marhaban1 joined | 09:55 |
| → mastro joined | 09:55 |
| → tonko joined | 09:56 |
| → freestyler7 joined | 09:56 |
| → Sky[x] joined | 09:56 |
| ← sveajobb left | 09:56 |
| → maxmanders joined | 09:56 |
|
_ikke_
| oh, dat gaat nu via het rails commando | 09:56 |
| ← marhaban1 left | 09:57 |
| → siriuz joined | 09:57 |
| ← smirn0v left | 09:58 |
| ← mastroWork left | 09:58 |
| → mastroWork joined | 09:59 |
|
cmn
| was that dutch? | 10:00 |
| → LeMike joined | 10:00 |
| → lalondong joined | 10:00 |
| → Element9 joined | 10:01 |
|
jast
| yes | 10:01 |
|
_ikke_
| yes | 10:01 |
|
| wrong chat window | 10:01 |
| ← lalondong left | 10:01 |
| ← Laurenceb_ left | 10:02 |
| ← siriuz left | 10:03 |
| ← mastro left | 10:04 |
| → hyperair joined | 10:04 |
|
lb1a
| interesting language | 10:04 |
| → smirn0v joined | 10:04 |
| → siriuz joined | 10:04 |
| ← bremner left | 10:04 |
|
jast
| yeah | 10:05 |
| → mastro__ joined | 10:05 |
|
_ikke_
| It's similar to german | 10:05 |
| ← xiukun left | 10:06 |
|
lb1a
| _ikke_: i know ^^ | 10:06 |
| ← cyphase left | 10:06 |
|
_ikke_
| That was for people who didn't know ;) | 10:06 |
| → cyphase joined | 10:06 |
|
lb1a
| i'm able to understand it, but it's still a language that sounds "funny" to me | 10:06 |
|
| it's like the german bavarian accent | 10:06 |
| → angelsl joined | 10:07 |
|
lb1a
| you can guess what they want, but have to stay calm and not laugh publicly ;) | 10:07 |
|
jast
| Dutch is more different from German than Bavarian is, though :} | 10:07 |
| → Fandekasp joined | 10:07 |
| → Dr4k3 joined | 10:07 |
|
lb1a
| of course | 10:07 |
|
jast
| granted, I have to focus quite a bit more than normal for understanding either of them | 10:07 |
|
_ikke_
| Same counts for me for understanding German ;-) | 10:08 |
|
jast
| turns out that spending a lot of time in NL for ~5 years doesn't magically teach you the language | 10:08 |
| ← mastroWork left | 10:08 |
| → bremner joined | 10:08 |
| ← bremner left | 10:08 |
| → bremner joined | 10:08 |
|
_ikke_
| We had a few German class mates which had to learn it in 10 weeks | 10:08 |
|
lb1a
| jast: seems legit. you probably spoke a lot of english that time? ;) | 10:09 |
| ← marhaban left | 10:09 |
|
lb1a
| _ikke_: did it work? | 10:09 |
|
jast
| I did | 10:09 |
|
| it's perfectly possible to learn quickly with German as a background, though | 10:10 |
|
_ikke_
| lb1a: Some better than others, but the spoke quite good dutch | 10:10 |
| ← siriuz left | 10:10 |
| ← simesy left | 10:10 |
| ← mastro__ left | 10:10 |
| → mastroWork joined | 10:10 |
| ← qwertz_ left | 10:11 |
| → achadwick joined | 10:11 |
|
lb1a
| good to know that, i had a work offer in nl some time ago. wasn't so sure about it | 10:11 |
| → Gentlecat joined | 10:12 |
| → siriuz joined | 10:12 |
| ← jceb left | 10:12 |
| → jceb joined | 10:13 |
|
_ikke_
| The most anoying sound for germands is the sch sound | 10:13 |
|
| dutch prononcuation that is | 10:13 |
| → mastro__ joined | 10:13 |
| → beautifulmind joined | 10:14 |
| → elixir joined | 10:14 |
| → simesy joined | 10:14 |
| ← JosefAssad left | 10:14 |
| ← spuz_ left | 10:15 |
| → spuz joined | 10:15 |
| → irqq joined | 10:16 |
| ← mastroWork left | 10:16 |
| ← bremner left | 10:18 |
| → mastroWork joined | 10:18 |
| → Kje10L joined | 10:18 |
| ← FernandoBasso left | 10:19 |
| ← mastro__ left | 10:21 |
| ← yshh left | 10:22 |
| ← siriuz left | 10:23 |
| → mastro__ joined | 10:24 |
| ← mastroWork left | 10:24 |
| → siriuz joined | 10:25 |
| ← L-Chymera left | 10:25 |
| → ifairbairn joined | 10:25 |
| ← ph^ left | 10:25 |
| → Thra11 joined | 10:26 |
| ← ifairbairn left | 10:26 |
| ← simesy left | 10:26 |
| ← normanrichards left | 10:26 |
| ← Thra11 left | 10:27 |
| → toshywos1y joined | 10:28 |
| ← mklappstuhl left | 10:28 |
| → simesy joined | 10:29 |
| → Thra11 joined | 10:29 |
| → bremner joined | 10:29 |
| ← bremner left | 10:29 |
| → bremner joined | 10:29 |
|
_ikke_
| Anecdote: Dutch used that in WWII to tell if someone was dutch or german | 10:30 |
| ← siriuz left | 10:30 |
| ← Thra11 left | 10:30 |
| → chichouw joined | 10:31 |
| → hakunin joined | 10:31 |
| ← toshywoshy left | 10:31 |
| ← maxmanders left | 10:32 |
| → nabdev joined | 10:32 |
| → sonda joined | 10:32 |
| → siriuz joined | 10:32 |
| → jlebar_ joined | 10:32 |
| → wcpan_ joined | 10:32 |
| ← Dr4k3 left | 10:33 |
| → mastroWork joined | 10:33 |
| ← tomek left | 10:33 |
|
nabdev
| hi all , i commit in branch A and i passed to branch B (master ) without push it , i have this message : "Your branch is ahead of 'origin/master' by 1 commit" and the content of branch revesed :/ | 10:34 |
| → kortti_ joined | 10:34 |
| → jMCg_ joined | 10:34 |
| → Gaga joined | 10:34 |
| → thnee_ joined | 10:34 |
| ← stephanmg left | 10:34 |
| → Hamled|Erp joined | 10:34 |
| → bartman` joined | 10:35 |
| → borior_ joined | 10:35 |
| ← borior_ left | 10:35 |
| → borior_ joined | 10:35 |
| → stephan_ joined | 10:35 |
| ← jlg13 left | 10:35 |
|
spuz
| nabdev: that's nice, what's your question? | 10:35 |
| → offbyone- joined | 10:35 |
| → maxmanders joined | 10:36 |
| ← mastro__ left | 10:36 |
| ← snql left | 10:36 |
| → atrus` joined | 10:37 |
| → RobertLaptop_ joined | 10:37 |
| security → fire | 10:37 |
| → alegen_ joined | 10:37 |
| → alip_ joined | 10:38 |
| → LocalPCGuy joined | 10:38 |
| ← siriuz left | 10:38 |
|
nabdev
| haw can i return the content of branch master like want i create my second branch A | 10:38 |
| → cschneid_ joined | 10:38 |
| ← Chaser left | 10:39 |
| ← bartman left | 10:39 |
| ← kortti left | 10:39 |
| ← Guest98887 left | 10:39 |
| ← aboudreault left | 10:39 |
| ← Hamled left | 10:39 |
| ← jlebar left | 10:39 |
| ← wcpan left | 10:39 |
| ← atrus left | 10:39 |
| ← kermit left | 10:39 |
| ← hakunin_ left | 10:39 |
| ← MetaCosm left | 10:39 |
| ← alegen left | 10:39 |
| ← hesco1 left | 10:39 |
| ← chichou left | 10:39 |
| ← RobertLaptop left | 10:39 |
| ← ping-pong left | 10:39 |
| ← guide left | 10:39 |
| ← alip left | 10:39 |
| ← offbyone left | 10:39 |
| ← Maelstrom left | 10:39 |
| ← steven- left | 10:39 |
| ← thnee left | 10:39 |
| ← jMCg left | 10:39 |
| ← Stravy left | 10:39 |
| ← Juri_Agarin left | 10:39 |
| ← cschneid left | 10:39 |
| ← borior left | 10:39 |
| alip_ → alip | 10:39 |
| ← exidl left | 10:39 |
| borior_ → borior | 10:39 |
| ← joon left | 10:39 |
| → steven- joined | 10:39 |
|
spuz
| nabdev: are you asking how you merge your changes from one branch to another? | 10:39 |
| → siriuz joined | 10:39 |
| → exidl joined | 10:39 |
| → tomek joined | 10:39 |
| ← simesy left | 10:40 |
| → ping-pong joined | 10:40 |
| → MetaCosm_ joined | 10:40 |
| → Stravy joined | 10:40 |
| → Chaser joined | 10:40 |
| → Guest98887 joined | 10:41 |
| → mastro__ joined | 10:41 |
| → aboudreault joined | 10:41 |
| → hesco joined | 10:42 |
| → jyp joined | 10:42 |
| ← techlife left | 10:43 |
| ← Error404NotFound left | 10:44 |
| → guide joined | 10:44 |
| ← mastroWork left | 10:45 |
| ← siriuz left | 10:45 |
| → mastroWork joined | 10:46 |
| → siriuz joined | 10:46 |
| → techlife joined | 10:49 |
| ← techlife left | 10:49 |
| ← mastro__ left | 10:49 |
| → techlife joined | 10:49 |
| ← techlife left | 10:49 |
| → Thra11 joined | 10:50 |
| → techlife joined | 10:50 |
| ← techlife left | 10:50 |
| → techlife joined | 10:50 |
| ← techlife left | 10:50 |
| ← Noldorin left | 10:51 |
| → techlife joined | 10:51 |
| ← techlife left | 10:51 |
| → techlife joined | 10:52 |
| ← techlife left | 10:52 |
| → tirengarfio joined | 10:52 |
| → techlife joined | 10:52 |
| ← techlife left | 10:52 |
| ← smirn0v left | 10:52 |
| ← siriuz left | 10:52 |
| ← ojacobson left | 10:53 |
| → edgeuplink joined | 10:55 |
| → Error404NotFound joined | 10:57 |
| → tevio joined | 10:57 |
| → techlife joined | 10:58 |
| ← techlife left | 10:58 |
| ← mastroWork left | 10:59 |
| → techlife joined | 10:59 |
| → DoniRS joined | 10:59 |
| → p3lim_ joined | 11:02 |
| → sqwk joined | 11:02 |
| → sebrock joined | 11:02 |
|
sqwk
| How can I run a post-update hook as a different user? at the moment it checks out all files as root, ideally it should run as the www apache user | 11:03 |
|
_ikke_
| sqwk: Why are you pushing via root? | 11:04 |
| ← p3lim left | 11:04 |
| → nihilista joined | 11:04 |
|
sqwk
| _ikke_: ah, it has to do with the user that pushes into the repo? | 11:04 |
| ← Error404NotFound left | 11:04 |
|
_ikke_
| sqwk: The user you ssh into | 11:04 |
| ← p3lim_ left | 11:06 |
| → pastime joined | 11:08 |
| ← maxmanders left | 11:09 |
| ← robbyoconnor left | 11:11 |
| ← dregad left | 11:11 |
| → Noldorin joined | 11:11 |
| → mastroWork joined | 11:12 |
| → p3lim joined | 11:14 |
| ← exidl left | 11:14 |
|
lb1a
| sqwk: sounds like you're trying to !deploy with git. maybe the tips help | 11:14 |
|
gitinfo
| sqwk: 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 | 11:14 |
| → p3lim_ joined | 11:16 |
| ← p3lim left | 11:18 |
| → gusnan joined | 11:19 |
| ← mitz__ left | 11:20 |
| → Dr4k3 joined | 11:20 |
| → huoxito joined | 11:21 |
| ← TheJH left | 11:22 |
| ← dsirijus left | 11:22 |
| → TheJH joined | 11:22 |
|
sqwk
| _ikke_ thanks, took a bit of reconfiguring but works flawlessly now :D | 11:23 |
| → oehman joined | 11:26 |
| → marhaban joined | 11:27 |
| ← marhaban left | 11:28 |
| → prudniko joined | 11:28 |
| ← tim left | 11:29 |
| ← j416 left | 11:29 |
| → j416 joined | 11:29 |
| → yacks joined | 11:29 |
| → tim joined | 11:29 |
| ← tomplast left | 11:29 |
| → JEEBcz joined | 11:29 |
| ← mh` left | 11:29 |
| ← kennethreitz left | 11:29 |
| ← prudnikov left | 11:29 |
| ← ciaranm left | 11:29 |
| → ciaranm joined | 11:29 |
| → sirdancealo2 joined | 11:30 |
| ← JEEB left | 11:30 |
| → kennethreitz joined | 11:31 |
| → mh` joined | 11:31 |
| → BSaboia joined | 11:31 |
| ← techlife left | 11:32 |
| → yshh joined | 11:32 |
| → aartist joined | 11:32 |
| → maxmanders joined | 11:33 |
| ← PixelCrumbs left | 11:35 |
| ← s0ber left | 11:35 |
| → techlife joined | 11:35 |
| ← ciaranm left | 11:35 |
| → PixelCrumbs joined | 11:36 |
| ← yshh left | 11:37 |
| → ciaranm joined | 11:37 |
| ← ciaranm left | 11:37 |
| → ciaranm joined | 11:37 |
| → ph^ joined | 11:39 |
| ← yacks left | 11:40 |
| → yacks joined | 11:41 |
| ← ph^ left | 11:41 |
| → barneybook joined | 11:42 |
| ← jyp left | 11:42 |
| → mihamina joined | 11:43 |
| ← JohnBat26 left | 11:43 |
|
irqq
| I started and committed some changes in master, but my actual intention was to do it in a new branch. How to fix it now? | 11:43 |
| → chimay joined | 11:44 |
| ← TheJH left | 11:44 |
|
_ikke_
| irqq: Create a temporary branch, reset master to it's original position, rebase the tmp branch to the desired branch, merge desired branch with tmp branch | 11:44 |
| → TheJH joined | 11:45 |
| ← pradi left | 11:45 |
| ← thnee_ left | 11:45 |
| ← Raging_Hog left | 11:46 |
| → w09x joined | 11:48 |
| ← skorgon left | 11:48 |
|
shruggar
| irqq, _ikke_: git branch <new-branch> && git reset --keep <commit-you-want-to-be-in-master> | 11:49 |
| → JohnBat26 joined | 11:49 |
| → ThePawnBreak joined | 11:51 |
| ← Thra11 left | 11:51 |
| ← elixir left | 11:52 |
| → Error404NotFound joined | 11:52 |
| ← mastroWork left | 11:52 |
| → papegaaij joined | 11:52 |
| → qwertz_ joined | 11:53 |
| ← trusktr left | 11:53 |
| → Thra11 joined | 11:53 |
| ← rasto left | 11:55 |
| → cannonball joined | 11:55 |
|
irqq
| it worked. Thank you both. | 11:56 |
| → freeed joined | 11:56 |
| → dsirijus joined | 11:58 |
| ← JohnBat26 left | 11:58 |
| → mitz__ joined | 11:58 |
| ← PixelCrumbs left | 11:58 |
| → rue_XIV joined | 11:59 |
| ← tim left | 11:59 |
| ← j416 left | 11:59 |
| → tbosua joined | 11:59 |
| → pradi joined | 11:59 |
| → j416 joined | 11:59 |
| ← barneybook left | 11:59 |
| → PixelCrumbs joined | 11:59 |
| ← PixelCrumbs left | 12:00 |
| → barneybook joined | 12:00 |
| → elixir joined | 12:00 |
| → PixelCrumbs joined | 12:01 |
| ← rue left | 12:01 |
| → siriuz joined | 12:03 |
| → skorgon joined | 12:04 |
|
lb1a
| oh | 12:05 |
|
| lb1a wasn't aware of git reset --keep. looks quite useful | 12:06 |
| ← PixelCrumbs left | 12:06 |
|
_ikke_
| It's basically a safer version than --hard | 12:06 |
| ← LaunchDirector left | 12:07 |
|
lb1a
| _ikke_: yeah, i usually use a temp branch or stash. but keep looks useful too | 12:07 |
| ← markovh left | 12:07 |
| → vedant_ joined | 12:07 |
|
_ikke_
| lb1a: Well, it just aborts when it would need to delete unstaged changes | 12:07 |
|
lb1a
| _ikke_: so it's preserve you from loosing data, right? | 12:08 |
| → mastroWork joined | 12:08 |
| ← unreal left | 12:08 |
|
_ikke_
| yes | 12:09 |
| ← aartist left | 12:09 |
| ← Noldorin left | 12:09 |
| ← vedant_ left | 12:09 |
| ← mihamina left | 12:09 |
|
lb1a
| i love it without testing or use case so far ^^ | 12:09 |
| → vedant_ joined | 12:10 |
| → Lewoco_ joined | 12:10 |
| SeoZ → SeoZ-work[AWAY] | 12:10 |
| ← skorgon left | 12:10 |
| → kmels_ joined | 12:11 |
| → cristi_ joined | 12:11 |
| ← beautifulmind left | 12:11 |
| cristi_ → Guest77544 | 12:11 |
| → beneggett joined | 12:12 |
| → aartist joined | 12:13 |
| ← ThePawnBreak left | 12:13 |
| ← Lewoco left | 12:14 |
| → jcao219 joined | 12:15 |
| → Mallo joined | 12:15 |
| → LaunchDirector joined | 12:15 |
|
Mallo
| Morning everyone ! Just a quick question. Is it a normal behavior for git to remove the ignored files during a pull ? | 12:16 |
| → smirn0v joined | 12:16 |
| ← siriuz left | 12:16 |
|
Mallo
| I work in a environment with a special config file for each developer, so this config file is specified in the .gitignore file. But when we "pull", this config file disapears | 12:17 |
|
_ikke_
| Mallo: Only when the file has been deleted in the commits thet get 'pulled | 12:17 |
|
| ' | 12:17 |
| → siriuz joined | 12:18 |
|
Mallo
| I see... is there a way to keep it now ? (btw, aren't you working with kohana or something ? I feel like I've seen your username somewhere) | 12:18 |
|
_ikke_
| Mallo: I'm active in #kohana too yeah | 12:18 |
| ← luc_ left | 12:19 |
| → markovh joined | 12:19 |
|
Mallo
| ;-) | 12:19 |
| ← jargon left | 12:20 |
| → rath_ joined | 12:20 |
| ← vedant_ left | 12:20 |
| ← huoxito left | 12:20 |
|
Mallo
| So, let's say I want these file not to be deleted in the future, should I add them to the repository then ? But they're suppose to be ignored so... what's the proper way to do ? | 12:20 |
| → skorgon joined | 12:21 |
| ← pradi left | 12:21 |
| → mastro__ joined | 12:21 |
| ← oehman left | 12:22 |
| → quazimodo joined | 12:22 |
| ← beneggett left | 12:23 |
| → mitz_ joined | 12:23 |
|
_ikke_
| Mallo: It's not deleted everytime you pull | 12:23 |
| ← rath left | 12:23 |
| ← siriuz left | 12:24 |
|
_ikke_
| Mallo: It's just a result of the merge. Git sees that the file has been deletedm, so it deletes it locally. Next time you merge, it doesn't know about the file anymore, so it leaves it alone | 12:24 |
| ← mastroWork left | 12:24 |
| → kristofers joined | 12:24 |
| ← alunduil left | 12:25 |
| ← mitz__ left | 12:25 |
|
Mallo
| so if I pull again, the file should not disappear ? Let's try | 12:25 |
|
_ikke_
| Mallo: correct | 12:25 |
| → ojacobson joined | 12:25 |
| → siriuz joined | 12:26 |
|
Nevik
| unless it gets added and deleted somewhere | 12:26 |
|
_ikke_
| Mallo: though, this will happen for each branch where the 'delete' gets merged in | 12:26 |
| → tinti joined | 12:27 |
|
Mallo
| Well, everything stayed this time. Okay, it was just a one time bad luck. I'll try to merge everything and start from this point then, thanks ! | 12:27 |
|
Nevik
| we should add a disclaimer somewhere saying something like "When we say 'X will happen', we mean 'under normal circumstances, without you doing anything stupid, X will happen.' Don't sue us if you can't follow directions." | 12:27 |
|
| Nevik thinks about adding that as a trigger | 12:28 |
| ← Dr4k3 left | 12:28 |
| ← kewah left | 12:29 |
| → Dr4k3 joined | 12:29 |
| → mastroWork joined | 12:29 |
| ← mastro__ left | 12:29 |
| → gcollum joined | 12:29 |
| → broonie joined | 12:30 |
| → nkr joined | 12:30 |
|
broonie
| Is there any work going on on improving the way that the auto gc triggers? | 12:31 |
| ← gcollum left | 12:31 |
| ← siriuz left | 12:31 |
|
| lb1a smiles about Nevik's humor ;) | 12:31 |
|
Nevik
| lb1a: i have to say. i always feel compelled to include "*usually* X will happen" or "*unless* you mess up Y" | 12:32 |
| → huoxito joined | 12:32 |
|
Nevik
| both for my own OCDish need for completeness, and so people dont come back crying "you said Z wouldnt happen!" | 12:32 |
| → siriuz joined | 12:33 |
|
| lb1a is still smiling ;) | 12:33 |
| → unreal joined | 12:34 |
|
bremner
| Nevik: there is always !refund | 12:34 |
|
gitinfo
| Nevik: If you are not satisfied with git, or the support provided by the volunteers in #git, you are entitled to a full refund of the purchase price, and are invited to use another VCS. Elsewhere. | 12:34 |
| ← Mallo left | 12:34 |
| ← BSaboia left | 12:34 |
|
Nevik
| hah, true | 12:34 |
|
| while this additional info can overload some people who are new to all of git, i am generally grateful for "hearing the whole story" when i do new stuff myself | 12:35 |
|
bremner
| oddly enough the one time a guy was desperate to pay for support, that didn't work out either. | 12:35 |
|
Nevik
| so guess that's kind of a golden rule thing too | 12:35 |
| → chuckharmston joined | 12:36 |
| ← w09x left | 12:36 |
| ← pastime left | 12:38 |
| ← markovh left | 12:38 |
| ← jcao219 left | 12:38 |
| → nathanr joined | 12:38 |
| ← siriuz left | 12:39 |
| ← LaunchDirector left | 12:39 |
| → rideh joined | 12:40 |
| → mastro__ joined | 12:40 |
| → siriuz joined | 12:41 |
| ← eletuchy left | 12:41 |
| ← nathanr left | 12:43 |
| ← mastroWork left | 12:43 |
| → bmac joined | 12:43 |
| ← NiteRain left | 12:44 |
| → JohnBat26 joined | 12:44 |
| → LaunchDirector joined | 12:45 |
| → gregsmith joined | 12:45 |
| → mihamina joined | 12:45 |
| ← gregsmith left | 12:45 |
| ← Error404NotFound left | 12:46 |
| ← ISF left | 12:46 |
| ← p3lim_ left | 12:46 |
| → p3lim joined | 12:47 |
| → Error404NotFound joined | 12:47 |
| → mercwithamouth joined | 12:47 |
| ← siriuz left | 12:47 |
| → thelodger joined | 12:47 |
| ← skoop left | 12:50 |
| ← jab416171 left | 12:50 |
| ← edgeuplink left | 12:51 |
| ← steven- left | 12:51 |
| ← nardev left | 12:51 |
| ← stfn left | 12:51 |
| ← roflin left | 12:51 |
| → ilogger2_ joined | 12:52 |
| → Raging_Hog joined | 12:52 |
| → nardev joined | 12:52 |
| → stfn joined | 12:52 |
| → else- joined | 12:52 |
| → tmcmahon joined | 12:54 |
| → ph^ joined | 12:55 |
| → jali_f joined | 12:55 |
| → nioncode joined | 12:56 |
| → herdingcat joined | 12:56 |
| → marhaban joined | 12:57 |
| → rath joined | 12:57 |
| → siriuz joined | 12:58 |
| ← jali_f left | 12:58 |
| ← marhaban left | 12:58 |
| → kukks joined | 12:58 |
| ← kukks left | 12:58 |
| → kukks joined | 12:58 |
| → skoop joined | 12:59 |
| → ojacobson_ joined | 13:00 |
| → jali_f joined | 13:02 |
| → mastro__ joined | 13:02 |
| → SecretAgent joined | 13:04 |
| → Chikore joined | 13:05 |
| → TBoneCam__ joined | 13:05 |
| → anonymuse joined | 13:06 |
| → jaequery joined | 13:06 |
| ← siriuz left | 13:06 |
| → p3lim joined | 13:07 |
| → kmels__ joined | 13:08 |
| → siriuz joined | 13:09 |
| → eletuchy joined | 13:11 |
| → avinashrbhat joined | 13:12 |
| → hafeez3000 joined | 13:13 |
| ← siriuz left | 13:14 |
| ← tmcmahon left | 13:14 |
| → breakingthings joined | 13:14 |
| ojacobson_ → ojacobson | 13:15 |
| → siriuz joined | 13:15 |
| ← eletuchy left | 13:15 |
| → trungqtran joined | 13:15 |
| → JosefAssad joined | 13:15 |
| → ThePrimeMedian joined | 13:16 |
| → dregad joined | 13:17 |
| ← Chikore left | 13:17 |
| → nathanr joined | 13:18 |
| → R1KRDO joined | 13:18 |
| → oehman joined | 13:19 |
| ← hafeez3000 left | 13:19 |
| → hafeez3000 joined | 13:20 |
| → GarethAdams joined | 13:20 |
| → alunduil joined | 13:21 |
| → elixir joined | 13:21 |
| ← siriuz left | 13:21 |
| → mastroWork joined | 13:22 |
| ← mastro__ left | 13:22 |
|
yac
| git add -p doesnt work on untracked files | 13:23 |
|
Bombe
| Surprise. NOT. | 13:24 |
|
cmn
| use -N | 13:24 |
| → siriuz joined | 13:24 |
| → m0ltar joined | 13:25 |
| → scelis joined | 13:25 |
| → KevinSjoberg joined | 13:27 |
| → AaronMT joined | 13:27 |
| → gkatsev joined | 13:28 |
|
GarethAdams
| is there an easy way to `git config branch.*.rebase true` for all existing branches? | 13:28 |
| ← hafeez3000 left | 13:28 |
| → hkj joined | 13:28 |
| ← hkj left | 13:28 |
| ← siriuz left | 13:28 |
| → Dr4k3 joined | 13:29 |
| → hkj joined | 13:29 |
| → normanrichards joined | 13:29 |
| ← hkj left | 13:29 |
| ← mastroWork left | 13:29 |
| → TeckniX joined | 13:29 |
| → hkj joined | 13:30 |
| → Iszak joined | 13:31 |
| → cirenyc joined | 13:32 |
| → cellardoor joined | 13:32 |
|
cmn
| loop over them | 13:32 |
|
| or are you looking for the config to do it always? | 13:33 |
| → siriuz joined | 13:33 |
|
GarethAdams
| I guess I'm asking in the wrong place, my shellscript-fu isn't hot enough | 13:34 |
| → fooey joined | 13:36 |
| → jonatasnona joined | 13:37 |
| → mmitchell joined | 13:37 |
| ← mmitchell left | 13:38 |
| → thl0 joined | 13:39 |
|
osse
| I though you could actually write what GarethAdams did literally, and it would work as a "default" value | 13:39 |
| ← siriuz left | 13:39 |
| ← normanrichards left | 13:39 |
|
osse
| But the man page doesn't mention it | 13:39 |
| ← ThePrimeMedian left | 13:39 |
|
GarethAdams
| osse: ah, it looks like you can | 13:40 |
|
| osse: I tried that earlier but forgot that zsh would be trying to expand * | 13:41 |
| → mmitchell joined | 13:41 |
| → eletuchy joined | 13:41 |
| → siriuz joined | 13:41 |
| → Error404NotFound joined | 13:41 |
| → cbot_ joined | 13:42 |
| → hafeez3000 joined | 13:42 |
| → mezner joined | 13:43 |
| → ThePawnBreak joined | 13:43 |
| ← thl0 left | 13:44 |
| → thl0 joined | 13:44 |
| ← TBoneCam__ left | 13:44 |
| → mastroWork joined | 13:45 |
| → ThePrimeMedian joined | 13:46 |
| ← siriuz left | 13:46 |
| → yacks joined | 13:48 |
| → macabre joined | 13:48 |
| → siriuz joined | 13:48 |
|
osse
| GarethAdams: does it actually work as expected? | 13:49 |
| → MattStratton joined | 13:49 |
| → jyp joined | 13:49 |
|
osse
| yeah, zsh's defaults are equivalent to bash's failglob | 13:50 |
| → sgambino joined | 13:50 |
| → xalbo joined | 13:50 |
| → revagomes joined | 13:50 |
| → thiago joined | 13:51 |
| → mastro__ joined | 13:51 |
|
GarethAdams
| osse: sorry, seems not. I forgot to come back and say that | 13:51 |
|
| I'm not really *that* bothered about the behaviour and I'm working on other things that need more time | 13:52 |
|
osse
| Damn. I was hoping it would work and that it wasn't documented. That way I could submit a patch and get my name ferever engraved in git.git ^_^ | 13:52 |
|
lb1a
| osse: do the patch that fixes it ;) | 13:53 |
|
| "fixes" | 13:53 |
| ← cbot_ left | 13:53 |
|
osse
| lb1a: heh, I got have a go at it. My C isn't that strong though. Well, I know the basics. But I always think it's hard to "get to know" an existing large codebase | 13:53 |
|
| *I could have | 13:53 |
|
cmn
| you can do something similar if you tell config to use a regex relace | 13:53 |
| → Lefont joined | 13:54 |
| ← mastroWork left | 13:54 |
| → gregsmith joined | 13:54 |
| ← siriuz left | 13:54 |
| → acharlieh joined | 13:55 |
| → mastroWork joined | 13:56 |
| ← Lefont left | 13:56 |
| → BSaboia joined | 13:56 |
| → daniel_- joined | 13:56 |
| ← daniel_- left | 13:56 |
| → daniel_- joined | 13:56 |
| → siriuz joined | 13:57 |
| → micky62g joined | 13:59 |
| ← mastro__ left | 13:59 |
| gitinfo set mode: +v | 13:59 |
| → exidl joined | 14:01 |
|
m1sc
| GarethAdams: you could use for-each-ref, something like "for b in $(git for-each-ref --format '%(refname)' refs/heads/*); do echo ${b#refs/heads/}; done" | 14:01 |
|
osse
| cmn: what do mean? | 14:01 |
| → babilen joined | 14:02 |
|
cmn
| you can do a regex substitution on branch\..*\.rebase = true | 14:02 |
|
| which will write out for each one | 14:02 |
| ← jyp left | 14:02 |
| → Octalot joined | 14:03 |
|
osse
| Awesome. | 14:04 |
| ← siriuz left | 14:04 |
| → bmac joined | 14:04 |
| → siriuz joined | 14:06 |
| → burzum joined | 14:06 |
| → mastro__ joined | 14:06 |
| → barq joined | 14:06 |
| ← barq left | 14:06 |
| → barq joined | 14:06 |
| → beneggett joined | 14:08 |
| → stack joined | 14:09 |
| ← mastroWork left | 14:09 |
| ← barq left | 14:09 |
| ← fooey left | 14:11 |
| → mikecmpbll joined | 14:11 |
| ← siriuz left | 14:11 |
| → ErKa joined | 14:11 |
| → plumpkin joined | 14:11 |
| → barq joined | 14:12 |
| ← barq left | 14:12 |
| → barq joined | 14:12 |
| ← mezner left | 14:12 |
| → mezner joined | 14:12 |
| → natechan joined | 14:13 |
| → siriuz joined | 14:13 |
| ← ph^ left | 14:13 |
| → mastroWork joined | 14:14 |
| → marhaban joined | 14:14 |
| ← jaequery left | 14:14 |
| ← mastro__ left | 14:17 |
| → arvind_khadri joined | 14:17 |
| → plumpkin- joined | 14:17 |
| ← marhaban left | 14:17 |
| ← avinashrbhat left | 14:18 |
| → d2dchat joined | 14:18 |
| → rideh joined | 14:18 |
| ← plumpkin left | 14:18 |
| ← beneggett left | 14:19 |
| ← siriuz left | 14:19 |
| ← arvind_khadri left | 14:20 |
| → v0n joined | 14:20 |
| → Plouj joined | 14:21 |
| → NiteRain joined | 14:21 |
| → smirn0v joined | 14:22 |
| → nihilista joined | 14:22 |
| ← nihilista left | 14:22 |
| → siriuz joined | 14:23 |
| → arvind_khadri joined | 14:23 |
| gitinfo set mode: +v | 14:23 |
| → nihilista joined | 14:23 |
| ChanServ set mode: -v | 14:24 |
| → jaequery joined | 14:24 |
| → mastro__ joined | 14:24 |
| ← trungqtran left | 14:24 |
| ← rideh left | 14:25 |
| → guampa joined | 14:26 |
| ← guampa left | 14:27 |
| ← hafeez3000 left | 14:27 |
| ← mastroWork left | 14:27 |
| ← arvind_khadri left | 14:27 |
| → guampa joined | 14:27 |
| ← siriuz left | 14:28 |
| → Phoenixz joined | 14:29 |
| ← Phoenixz left | 14:29 |
| → Phoenixz joined | 14:29 |
| → AdrienBrault joined | 14:30 |
| → siriuz joined | 14:31 |
| → Liir joined | 14:32 |
| → Katafalkas joined | 14:32 |
| → Lefont joined | 14:33 |
| → rideh joined | 14:33 |
| ← oehman left | 14:34 |
| → surfdue joined | 14:35 |
| ← KevinSjoberg left | 14:35 |
| ← barq left | 14:35 |
| ← siriuz left | 14:36 |
| → pradi joined | 14:36 |
| → AnimeCYC joined | 14:36 |
| → tmiller joined | 14:36 |
| → sgkim126t joined | 14:37 |
| → yrrrep joined | 14:38 |
| → dougsland_ joined | 14:38 |
| ← mastro__ left | 14:38 |
| → siriuz joined | 14:39 |
| → fooey joined | 14:39 |
| → normanrichards joined | 14:40 |
|
stack
| hello, I'm trying to use submodules in a ricorsive manner, I have repoA that contains 3 submodules, one of them (subA) contains another 2 submodules, when I do git clone repoA && git submodule init/update, I get subA in a detached head state and I must do git submodule init git submodule update there, is that a way to have recursive submodules initialized and updated automatically? | 14:40 |
| ← gregsmith left | 14:40 |
| ← smirn0v left | 14:40 |
|
ojacobson
| submodules are normally in the detatched state | 14:41 |
|
| in commit foo of the outer repository, git links to commits in each subrepository *by hash* | 14:41 |
|
| 'git submodule init' and other things that manipulate submodules will check out that exact hash, without regard to branches or tags | 14:42 |
|
stack
| mh probably I'm understanding, that is also the reason I have to git checkout master after having updated all submodules right? | 14:44 |
|
ojacobson
| you don't have to. | 14:44 |
|
| Why do you believe you have to? | 14:44 |
| ← hkj left | 14:44 |
| → mastro joined | 14:45 |
|
ojacobson
| Git's checked out the correct commit in each submodule. That's what submodules do: stitch a specific commit in one repository into another ("outer") repository. | 14:45 |
|
stack
| I had to do that because in that example I was still in a detatched state after having updated all submodules | 14:45 |
|
ojacobson
| There's nothing wrong with being in the "detatched" state, so that doesn't tell me why you think you had to. | 14:45 |
| ← mastro left | 14:45 |
| → Artpicre joined | 14:45 |
|
ojacobson
| Detatched heads are perfectly normal if you're dealing with submodules. If you're trying to add new commits to those submodules, then the detatched head state may cause problems (lost commits, mostly) but you should probably not use submodules for that. | 14:46 |
| → markalanevans joined | 14:46 |
|
ojacobson
| They're really only meant for read-only views, not for concurrent development spanning multiple repos. | 14:46 |
| → ehsan joined | 14:46 |
| → mastro joined | 14:46 |
| → |Freeman| joined | 14:47 |
| → m0viefreak joined | 14:47 |
| ← nihilista left | 14:47 |
| ← yacks left | 14:47 |
| ← m0viefreak left | 14:47 |
| → m0viefreak joined | 14:47 |
| → feider joined | 14:47 |
| → TheJH joined | 14:47 |
| → hkj joined | 14:47 |
| → ph^ joined | 14:47 |
| ← hkj left | 14:47 |
| ← siriuz left | 14:47 |
|
stack
| ojacobson: readonly views? what does that mean? | 14:47 |
| gitinfo set mode: +v | 14:48 |
|
ojacobson
| stack: where you treat the submodules as "Read only" subtrees, except for occasionally updating them to new versions of their parent repo | 14:48 |
| → Dougie187 joined | 14:48 |
| → hkj joined | 14:48 |
| → RoyBellingan joined | 14:48 |
|
ojacobson
| but never make new commits in the submodules | 14:48 |
|
| and never edit files in the submodule | 14:48 |
|
feider
| Hi. This may be a stupid question, but: what command do I have to use, when I want to see if the version of a branch on a server is newer than my version and if yes, update my version? I want to write a script to auto-update a program via git | 14:49 |
| ← Lefont left | 14:49 |
| → mastroWork joined | 14:49 |
| → smirn0v joined | 14:50 |
| ← markalanevans left | 14:50 |
|
ojacobson
| feider: if you have a local branch (refs/heads/foo) tracking some remote branch (refs/remotes/origin/foo), then 'git checkout foo && git pull --ff-only' will do what you most likely want (fetch 'origin', and fastforward refs/heads/foo onto refs/remotes/origin/foo if possible, or fail if they've diverged) | 14:50 |
| → AndroUser2 joined | 14:50 |
|
ojacobson
| You can decompose that into fetch and merge steps if you like, the --ff-only part is the important part | 14:50 |
| → thinkdevcode joined | 14:51 |
| → marthinal joined | 14:51 |
| → jamesez joined | 14:51 |
|
feider
| ok, thank you. I'll try that now | 14:51 |
| → siriuz joined | 14:51 |
| → guns joined | 14:51 |
| → barq joined | 14:51 |
| ← barq left | 14:51 |
| → barq joined | 14:51 |
|
ojacobson
| you'll want to reach man git-fetch and man git-merge | 14:51 |
|
gitinfo
| the git-fetch manpage is available at http://jk.gs/git-fetch.html | 14:51 |
|
| the git-merge manpage is available at http://jk.gs/git-merge.html | 14:51 |
|
ojacobson
| (git-pull is a combination of those two things) | 14:52 |
| → etcetera joined | 14:52 |
| → kermit joined | 14:52 |
|
stack
| ojacobson: could you please explain better why? | 14:52 |
|
ojacobson
| stack: not as well as man git-submodule can, honestly | 14:53 |
|
gitinfo
| stack: the git-submodule manpage is available at http://jk.gs/git-submodule.html | 14:53 |
| → beneggett joined | 14:53 |
| ← v0n left | 14:53 |
| ← mastro left | 14:53 |
| → v0n joined | 14:53 |
|
ojacobson
| the submodule stuff is designed to solve the problem of including other peoples' code in your own repos, by repository inclusion | 14:53 |
|
| the implementation tracks specific commits for each submodule, not branches | 14:53 |
|
| that makes it hard to use them for concurrent development that spans both the outer repo and one or more submodules | 14:54 |
| ← siriuz left | 14:54 |
| → Dr4k3_ joined | 14:56 |
| ← Dr4k3 left | 14:57 |
| → trungqtran joined | 14:57 |
| → luc_ joined | 14:58 |
| → markalanevans joined | 14:59 |
| ← acharlieh left | 14:59 |
| ← bmac left | 14:59 |
| → tonko joined | 15:00 |
|
stack
| ojacobson: ok thanks now I've understanded that, thanks | 15:01 |
| → siriuz joined | 15:01 |
| ← siriuz left | 15:01 |
| → siriuz joined | 15:01 |
|
ojacobson
| !submodule | 15:01 |
|
gitinfo
| git-submodule is ideal to add subsidiary git repositories to a git superproject when you do not control the subprojects or more specifically wish to fix the subproject at a specific revision even as the subproject changes upstream. See http://book.git-scm.com/5_submodules.html | 15:01 |
|
ojacobson
| !slave | 15:01 |
|
gitinfo
| [!gitslave] gitslave (http://gitslave.sf.net) is useful to add subsidiary git repositories to a git superproject when you control and develop on the subprojects at more or less the same time as the superproject, and furthermore when you typically want to tag, branch, push, pull, etc. all repositories at the same time. | 15:01 |
|
ojacobson
| !subproject | 15:02 |
|
gitinfo
| [!subprojects] So, you want to add git repositories inside of other git repositories? Well, you have four main options. First is to just do it, add the repo to the outer project's .gitignore, and treat them entirely separately. Best if they are entirely separate. Otherwise your best options are "!submodule", "!gitslave", and "!subtree". Try those commands in this channel, or in a PM to avoid flooding. | 15:02 |
| ← ThePrimeMedian left | 15:03 |
| → endikos joined | 15:04 |
| ← guns left | 15:04 |
| ← beneggett left | 15:04 |
| → infynyxx joined | 15:04 |
| → system64 joined | 15:05 |
| ← markalanevans left | 15:06 |
| ← Error404NotFound left | 15:06 |
| ← eletuchy left | 15:06 |
| → mossplix joined | 15:06 |
| ← jonatasnona left | 15:07 |
| → mutex joined | 15:07 |
| ← mossplix left | 15:09 |
| → mossplix joined | 15:09 |
| ← siriuz left | 15:10 |
| → PixelCru_ joined | 15:11 |
| ← natechan left | 15:11 |
| ← fooey left | 15:12 |
| ← rath left | 15:12 |
| → siriuz joined | 15:13 |
| → jonatasnona joined | 15:13 |
| → natechan joined | 15:14 |
| → MrNibbles joined | 15:14 |
| → jcarouth joined | 15:15 |
| ← thinkdevcode left | 15:15 |
| → antihero joined | 15:17 |
| → jnavila joined | 15:17 |
| → vpopov joined | 15:17 |
|
antihero
| is there a way to use patience diff with git add -p by default? | 15:17 |
| → yacks joined | 15:17 |
| ← |Freeman| left | 15:17 |
| → Error404NotFound joined | 15:18 |
| → mastro__ joined | 15:19 |
| → flaguy48 joined | 15:19 |
| → spaceships joined | 15:19 |
| → maxandersen joined | 15:19 |
| ← maxandersen left | 15:19 |
| → maxandersen joined | 15:19 |
| → luc__ joined | 15:20 |
| ← tonko left | 15:20 |
| → tonko joined | 15:20 |
| ← siriuz left | 15:20 |
| → rcu joined | 15:20 |
| ← tonko left | 15:20 |
| ← AndroUser2 left | 15:20 |
| ← etcetera left | 15:21 |
| → wedgeV joined | 15:21 |
|
antihero
| til: nop | 15:21 |
| → madduck joined | 15:21 |
| ← madduck left | 15:21 |
| → madduck joined | 15:21 |
| ← mastroWork left | 15:22 |
| → Treggats joined | 15:22 |
| → siriuz joined | 15:22 |
| → mviitanen joined | 15:23 |
| → szx joined | 15:23 |
| ← luc_ left | 15:23 |
| ← mviitanen left | 15:24 |
| → avinashrbhat joined | 15:24 |
|
Remram
| how can I put several commands in a git alias? | 15:25 |
| → knightshade joined | 15:25 |
| → knightshade2 joined | 15:25 |
|
Remram
| it seems to ignore what's after the ; | 15:25 |
| → Davey joined | 15:25 |
| → tjbiddle joined | 15:25 |
| ← trungqtran left | 15:27 |
| → nylinuxhelp joined | 15:27 |
| ← mmitchell left | 15:27 |
| ← nylinuxhelp left | 15:27 |
|
Eugene
| Remram - just write a shell script; drop it in ~/bin/(or other PATH location) as git-foo | 15:27 |
| → fooey joined | 15:28 |
| → mmitchell joined | 15:28 |
| ← knightshade2 left | 15:29 |
| → barneybook joined | 15:29 |
| → scorphus joined | 15:29 |
|
stack
| so , supposing I have two parts of a project that are forked from two other svn/cvs repo, what is the best way to include them as a subdir in my repo/project ? I also need to update them from upstream sometime, rebasing my mods from there | 15:29 |
| ← barneybook left | 15:29 |
| ← fooey left | 15:30 |
| → barneybook joined | 15:30 |
| → beneggett joined | 15:30 |
| ← siriuz left | 15:30 |
| → btree joined | 15:30 |
| ← barneybook left | 15:30 |
|
endikos
| Hey folks, I have a submodule that doesn't seem to want to update to the latest HEAD rev of the project it was pulled from. Is there a way to easily delete teh submodule and start over, or is there a better way to get up to HEAD? | 15:31 |
| → fooey joined | 15:31 |
| ← btree left | 15:31 |
| → barneybook joined | 15:31 |
| ← mastro__ left | 15:31 |
| → shruggar joined | 15:32 |
|
ojacobson
| endikos: this comes up a lot: submodules do not track branches and therefore do not automatically update to new commits on any branch, not even if you created them from a branch in the first place | 15:32 |
|
| they track specific commits | 15:32 |
|
| to update them, check out the commit you want, then git-add and git-commit the submodule *in the outer work tree*. | 15:32 |
| → sonda joined | 15:32 |
| → eletuchy joined | 15:33 |
| ← shruggar left | 15:33 |
| → shruggar joined | 15:33 |
| → siriuz joined | 15:34 |
|
endikos
| ojacobson: OK. Thanks! | 15:34 |
|
ojacobson
| if you want that kind of automatic-tracking behaviour, you don't want submodules | 15:34 |
|
| !subprojects | 15:34 |
|
gitinfo
| So, you want to add git repositories inside of other git repositories? Well, you have four main options. First is to just do it, add the repo to the outer project's .gitignore, and treat them entirely separately. Best if they are entirely separate. Otherwise your best options are "!submodule", "!gitslave", and "!subtree". Try those commands in this channel, or in a PM to avoid flooding. | 15:34 |
| → oakdog8 joined | 15:35 |
| → irqq joined | 15:35 |
| ← mmitchell left | 15:36 |
| ← normanrichards left | 15:37 |
| → eijk_ joined | 15:38 |
| → mmitchell joined | 15:38 |
| → ThePrimeMedian joined | 15:38 |
| ← siriuz left | 15:38 |
| ← ThePrimeMedian left | 15:39 |
| ← Dr4k3_ left | 15:40 |
| → Dr4k3 joined | 15:41 |
| ← ThePawnBreak left | 15:41 |
| ← luc__ left | 15:42 |
| ← smirn0v left | 15:42 |
| → siriuz joined | 15:42 |
| → lun_ joined | 15:43 |
| ← Dr4k3 left | 15:43 |
| → Dr4k3 joined | 15:43 |
| → ThePawnBreak joined | 15:44 |
| → marhaban joined | 15:44 |
|
endikos
| ojacobson: Thanks much. Got it sorted now. I appreciate it! | 15:44 |
| → bmac joined | 15:44 |
| → smirn0v joined | 15:45 |
| → doener joined | 15:45 |
| → kevwil joined | 15:46 |
| → LeMike joined | 15:47 |
| ← Dr4k3 left | 15:48 |
| → Dr4k3 joined | 15:48 |
| → ISF joined | 15:48 |
| ← jaequery left | 15:48 |
| → spaceonline joined | 15:49 |
| ← tjbiddle left | 15:49 |
| → traviscj joined | 15:50 |
| → meLon_ joined | 15:50 |
| ← MattStratton left | 15:50 |
| → robbyoconnor joined | 15:50 |
| → rath joined | 15:50 |
| ← meLon_ left | 15:50 |
| ← siriuz left | 15:50 |
| ← marhaban left | 15:51 |
| ← thiago left | 15:51 |
| ← LeMike left | 15:51 |
| → meLon joined | 15:51 |
| → ScottE joined | 15:51 |
| → heytrav joined | 15:52 |
| → pitzips joined | 15:52 |
| → MattStratton joined | 15:53 |
| → siriuz joined | 15:53 |
| ← robbyoconnor left | 15:54 |
| ← babilen left | 15:55 |
| ← barq left | 15:56 |
| → robbyoconnor joined | 15:57 |
| ← Dr4k3 left | 15:58 |
| ← MattStratton left | 15:59 |
| → Dr4k3 joined | 15:59 |
| → hellopat joined | 16:00 |
| ← siriuz left | 16:00 |
| → MattStratton joined | 16:00 |
| ← ph^ left | 16:01 |
| ← Error404NotFound left | 16:01 |
| → LeMike joined | 16:01 |
| ← beneggett left | 16:01 |
| ← kevwil left | 16:01 |
| → ph^ joined | 16:01 |
| → rakl joined | 16:02 |
| ← AdrienBrault left | 16:03 |
| → siriuz joined | 16:04 |
| → jaequery joined | 16:04 |
| ← rakl left | 16:04 |
| ← spaceonline left | 16:05 |
| ← szx left | 16:05 |
| ← jaequery left | 16:05 |
| → rakl joined | 16:05 |
| → kevwil joined | 16:05 |
| ← kevwil left | 16:06 |
| → AdrienBrault joined | 16:06 |
| ← ISF left | 16:06 |
| ← tmiller left | 16:07 |
| ← rakl left | 16:07 |
| → dhruvasagar joined | 16:07 |
| → Kje10L joined | 16:07 |
| → rakl joined | 16:08 |
| → johnfg joined | 16:08 |
|
johnfg
| hi folks | 16:08 |
| → mitz joined | 16:08 |
| → kevwil joined | 16:08 |
| → acharlieh joined | 16:08 |
| → beneggett joined | 16:08 |
| ← rakl left | 16:08 |
| ← lun_ left | 16:08 |
|
johnfg
| I've been running git bisect for the first time to find a problem with a gentoo kernel. | 16:08 |
| ← dregad left | 16:09 |
| → rakl joined | 16:09 |
|
johnfg
| I'd had a bad bisect, followed by a good. | 16:09 |
|
| Do I now run another good bisect? | 16:09 |
| ← siriuz left | 16:10 |
| → spaceonline joined | 16:11 |
| → psoo joined | 16:11 |
| ← mikecmpbll left | 16:11 |
|
grawity
| What exactly do you mean by "a bad bisect" and "good bisect"? Just the `git bisect bad/good` commands, or something eles? | 16:11 |
| ← Kje10L left | 16:11 |
| → Chikore joined | 16:12 |
|
johnfg
| grawity: I'm following this page: http://wiki.gentoo.org/wiki/Kernel_git-bisect | 16:13 |
| → siriuz joined | 16:13 |
| ← Iszak left | 16:14 |
| → nkr joined | 16:14 |
| → melkor joined | 16:14 |
|
GarethAdams
| johnfg: git bisect will choose a commit for you. You tell it whether the commit it chooses is good or bad, and it goes and chooses another based on that | 16:14 |
| ← PixelCru_ left | 16:14 |
| ← feider left | 16:15 |
|
johnfg
| So, I do mean git bisect good produced a working kernel. the attempt before that kernel was bad. | 16:15 |
|
melkor
| I do not get it. I do git add, git commit, and then git push origin master. It seems like everything works but then when I move to another computer and pull from the repo it says the repo is up to date and doesn't pull anything. | 16:15 |
|
tinti
| hi, is there a git clone --shared option? | 16:15 |
|
johnfg
| GarethAdams: so, based on the good kernel, I do (am right now) another git bisect good, right? | 16:15 |
| → pl0sh joined | 16:15 |
|
GarethAdams
| johnfg: what exact commands have you typed so far that contain 'bisect' | 16:15 |
|
| ? | 16:16 |
| ← Katafalkas left | 16:16 |
| ← psoo left | 16:16 |
|
GarethAdams
| johnfg: (put them in a pastebin if there are more than 2) | 16:16 |
| ← dhruvasagar left | 16:17 |
| ← eletuchy left | 16:17 |
|
GarethAdams
| johnfg: oh I think I see what you mean. Yes, all you have to do is `git bisect good` if git gave you a working commit, and `git bisect bad` if it gave you a broken one | 16:17 |
|
| johnfg: but you don't "*do* a bisect good" | 16:18 |
| → maletor joined | 16:19 |
|
johnfg
| GarethAdams: I'm putting a paste together for you. | 16:19 |
| → rtjure joined | 16:19 |
| ← smirn0v left | 16:20 |
| ← Dr4k3 left | 16:20 |
|
johnfg
| GarethAdams: Ya, my phraseology wasn't too good. | 16:20 |
| → Dr4k3 joined | 16:20 |
|
GarethAdams
| johnfg: as far as I understand it, "doing a bisect" is the entire process from `git bisect start` until you've finished. It just doesn't make sense to say "doing a bisect [good]" for any intermediate step | 16:20 |
|
| so I think you've got the right idea | 16:20 |
| ← siriuz left | 16:20 |
| → Esa_ joined | 16:20 |
| → danishkhan joined | 16:21 |
| → smirn0v joined | 16:21 |
| ← smirn0v left | 16:21 |
| ← Dr4k3 left | 16:22 |
| → mmitchel_ joined | 16:22 |
| → Dr4k3 joined | 16:22 |
| → siriuz joined | 16:23 |
| ← mmitchell left | 16:23 |
| ← jali_f left | 16:23 |
| → etcetera joined | 16:23 |
| → barq joined | 16:24 |
| ← barq left | 16:24 |
| → barq joined | 16:24 |
| ← elixir left | 16:24 |
| → dsdeiz joined | 16:25 |
| → lun_ joined | 16:26 |
| → elixir joined | 16:26 |
| → bartman` joined | 16:26 |
| ← infynyxx left | 16:27 |
| → tjbiddle joined | 16:27 |
|
johnfg
| http://bpaste.net/show/DodFuoUevj5Al5Deqwns/ GarethAdams sorry that took a while. I didn't put in my kernel building steps, and tried to make sure that I haven't missed any good or bad. | 16:27 |
| melkor → odinsbane | 16:27 |
|
GarethAdams
| johnfg: sounds like you're going just fine | 16:28 |
|
ojacobson
| johnfg: every 'git bisect' step from the second one onwards will have checked out a new commit for you to test, in the process | 16:28 |
| → ISF joined | 16:28 |
| → goshawk joined | 16:28 |
|
johnfg
| Here's what the last git bisect good produced: http://bpaste.net/show/B3hFxByQIZFqA8Z7NSTx/ | 16:28 |
|
GarethAdams
| johnfg: every time you type `git bisect [good|bad]` git is getting more information about where in the tree the problem is | 16:28 |
| → jaequery joined | 16:28 |
|
ojacobson
| if you have git-prompt enabled you can easily see that happening; otherwise, git status will tell you about it | 16:28 |
|
johnfg
| I'm glad someone suggested coming over to #git, as I just haven't been sure that I was doing things correctly. | 16:29 |
|
ojacobson
| that looks like reasonable output | 16:29 |
|
GarethAdams
| johnfg: think of playing "Guess a number (1-100)" - you start by guessing '50' and then I say "no, higher". Then you say '75' and I say "no, lower" | 16:29 |
| ← nkr left | 16:29 |
|
GarethAdams
| johnfg: that's basically git bisect | 16:29 |
|
ojacobson
| ^ that, only graph-aware :) | 16:29 |
|
Eugene
| And with bacon | 16:29 |
|
| Don't forget the bacn | 16:29 |
|
johnfg
| I'm gonna go build that latest kernel and see if it's good. | 16:29 |
|
| Eugene: Yum! | 16:30 |
| → thiago joined | 16:30 |
| ← siriuz left | 16:30 |
| → hwrd|work joined | 16:31 |
|
GarethAdams
| johnfg: hopefully "roughly 11 steps" will decrease each time you make a step ;) | 16:31 |
| → nkr joined | 16:31 |
|
ojacobson
| usually, but not always, by one | 16:31 |
| → Noldorin joined | 16:31 |
|
ojacobson
| I've had it show "roughly 0 steps" without having solved the problem, once or twice, too | 16:31 |
| → Chillance joined | 16:32 |
|
ojacobson
| (the following command found the problem commit) | 16:32 |
|
johnfg
| GarethAdams: Yup, I think the start was 14. | 16:32 |
| → siriuz joined | 16:32 |
|
johnfg
| Only because of that 'starting number' you mentioned. | 16:32 |
|
| Hopefully...hope springs eternal...! | 16:33 |
| ← GarethAdams left | 16:33 |
| → cbot_ joined | 16:33 |
| → GarethAdams joined | 16:34 |
| → Trevi joined | 16:36 |
| ← GarethAdams left | 16:36 |
| → sq-one joined | 16:37 |
| ← tjbiddle left | 16:37 |
| ← beneggett left | 16:37 |
| → Kje10L joined | 16:37 |
| → tjbiddle joined | 16:37 |
| gitinfo set mode: +v | 16:38 |
|
Trevi
| Hey guys, i am kind of new to git and i got a error messag that said "Detached Head" and now i cant commit anymore :( | 16:38 |
| → Shusshu joined | 16:38 |
| ← Shusshu left | 16:38 |
|
Trevi
| is there a way to fix this? | 16:38 |
| ← siriuz left | 16:38 |
| → dhruvasagar joined | 16:39 |
|
wald0
| i have a fork for a project, where i have created a branch and imported patches-per-feature, but now im thinking to move this to feature-per-branch, i can export those patches and delete entirely this branch having untouched the original fork ? (so that i can pull from the author's project without problems) | 16:39 |
|
ojacobson
| Trevi: !detached | 16:39 |
|
gitinfo
| Trevi: A detached HEAD(aka "no branch") occurs when your HEAD does not point at a branch. New commits will NOT be added to any branch, and can easily be !lost. This can happen if you a) check out a tag, remote tracking branch, or SHA; or b) if you are in a submodule; or you are in the middle of a c) am or d) rebase that is stuck/conflicted. See !reattach | 16:39 |
|
Trevi
| thanks :) | 16:40 |
| ← Noldorin left | 16:40 |
|
Trevi
| !reattach | 16:41 |
|
gitinfo
| Letters refer to !detached. (a) and (b): 'git checkout branchname' to continue working on another branch, or 'git checkout -b branchname' to start a new one here; (c) git am --continue; (d) git rebase --continue | 16:41 |
|
ojacobson
| 'git status' will also tell you if some detached-causing work ('git rebase', for example) is in progress, and how to continue if so | 16:41 |
| → Steelsouls joined | 16:41 |
| → Yakko joined | 16:42 |
| → siriuz joined | 16:43 |
| → eletuchy joined | 16:43 |
| ← Kje10L left | 16:44 |
|
Trevi
| hmmm is there a spesific command i can use to reatach? | 16:44 |
| ← mossplix left | 16:45 |
| ← Steelsouls left | 16:45 |
|
grawity
| just check out a branch | 16:45 |
| → gwty joined | 16:46 |
| → Noldorin joined | 16:46 |
|
Trevi
| and then? | 16:46 |
|
ojacobson
| Trevi: no, because it's somewhat contextual, and the options all have different side effects. | 16:46 |
|
| If you have commits that you made in the detached state, and you want to keep them, you need to do something different than if you don't. | 16:46 |
| ← Yakko left | 16:46 |
|
ojacobson
| (Or if you have them, but don't care if they go away) | 16:47 |
|
Trevi
| i do have 3 hours of java programming so back them up and then roll back on old commit? | 16:47 |
|
| ow dang i cant roll back :( | 16:48 |
| ← cbot_ left | 16:49 |
| → Katafalkas joined | 16:49 |
| → Thra11 joined | 16:50 |
| → trungqtran joined | 16:50 |
| ← siriuz left | 16:50 |
| ← irqq left | 16:51 |
| ← rcu left | 16:52 |
|
Trevi
| okay, if i check out the branch i get "failed to check out branch" | 16:53 |
| ← jnavila left | 16:54 |
| → siriuz joined | 16:54 |
|
Trevi
| so do i need to create a new one and clone it to there? | 16:54 |
| ← hkj left | 16:54 |
| ← breakingthings left | 16:55 |
| → mossplix joined | 16:55 |
| → zenx joined | 16:55 |
| → engkur joined | 16:56 |
| ← dhruvasagar left | 16:56 |
| ← rtjure left | 16:58 |
| ← Noldorin left | 16:58 |
| ← Davey left | 16:59 |
| ← etcetera left | 16:59 |
|
wald0
| how i can import a set of 32 different patches (complete features) in 32 different new branches ? | 16:59 |
| → HardDisk_WP joined | 16:59 |
| ← shruggar left | 17:00 |
|
milki
| script-fu? | 17:00 |
| → marcdel joined | 17:00 |
| → etcetera joined | 17:00 |
| ← Trevi left | 17:00 |
| → markalanevans joined | 17:00 |
| ← siriuz left | 17:00 |
| ← Chikore left | 17:01 |
|
grawity
| do the patches have 'From:'/'Subject:' headers, or are they just diffs? | 17:01 |
| → Davey joined | 17:01 |
|
wald0
| if i have 30 branches (features) of a forked project, and i update (pull) the code from the author's project, what is the way that i need to update my branches/project exactly ? | 17:02 |
| → mishok13 joined | 17:02 |
| → Saby joined | 17:03 |
| → Galaris_ joined | 17:03 |
|
wald0
| grawity: in fact i have just created them with git (im moving to a better git structure/workflow) so i assume that has everything | 17:03 |
| → cbot_ joined | 17:03 |
| → siriuz joined | 17:03 |
|
frew
| the right way to find the current branch: git rev-parse --abbrev-ref HEAD | 17:03 |
|
| frew got a much more frustrating answer on friday | 17:04 |
|
grawity
| wald0: you said patches; I assumed you have .patch or .diff files | 17:04 |
| → angelsl joined | 17:04 |
| ← MattStratton left | 17:04 |
| ← system64 left | 17:05 |
| → beneggett joined | 17:05 |
| ← herdingcat left | 17:05 |
|
wald0
| grawity: yes | 17:05 |
| ← R1KRDO left | 17:06 |
| → anderse joined | 17:06 |
| → PaulCapestany joined | 17:06 |
| → Error404NotFound joined | 17:07 |
| ← Error404NotFound left | 17:07 |
| ← angelsl left | 17:07 |
| → dc5ala joined | 17:08 |
| → SicoAnimal joined | 17:08 |
| → Error404NotFound joined | 17:08 |
| → Kje10L joined | 17:09 |
| → tekseven joined | 17:09 |
| ← siriuz left | 17:10 |
| → JaredMiller joined | 17:10 |
| → R1KRDO joined | 17:11 |
|
grawity
| wald0: so "I've created them with git" tells ... not much, really | 17:11 |
|
| wald0: did you use `git diff` or `git format-patch` or something else | 17:11 |
| ← robbyoconnor left | 17:12 |
|
grawity
| or actually, I don't care much. for f in *.patch; do git checkout -b "feature/${f%.*}" master && <git-am/git-apply your patch here> && <commit if necessary> || break; done | 17:13 |
| → JaredMiller1 joined | 17:13 |
| → robbyoconnor joined | 17:13 |
| → siriuz joined | 17:13 |
| → traviscj_ joined | 17:13 |
| → travisc__ joined | 17:15 |
| ← eletuchy left | 17:15 |
| ← JaredMiller left | 17:15 |
| ← JaredMiller1 left | 17:15 |
| → draginx joined | 17:16 |
| ← traviscj left | 17:16 |
| → allaire joined | 17:17 |
| ← allaire left | 17:17 |
| → Sicp joined | 17:17 |
| → allaire joined | 17:17 |
| ← allaire left | 17:17 |
| → a1phanumrc joined | 17:17 |
| → hkj joined | 17:18 |
| ← hkj left | 17:18 |
| ← Raging_Hog left | 17:18 |
| ← traviscj_ left | 17:18 |
| → allaire joined | 17:18 |
| → hkj joined | 17:18 |
| ← hkj left | 17:19 |
| → hkj joined | 17:19 |
| ← hkj left | 17:19 |
| → tenmilestereo joined | 17:20 |
| → hkj joined | 17:20 |
| ← siriuz left | 17:21 |
| → baba joined | 17:21 |
| → jali_f joined | 17:21 |
| ← beneggett left | 17:22 |
| → dreiss joined | 17:22 |
| → siriuz joined | 17:23 |
| → kvcrawford joined | 17:23 |
| → mitz_ joined | 17:23 |
| ← trungqtran left | 17:23 |
| → prudnikov joined | 17:23 |
| ← d2dchat left | 17:24 |
| → jdunck joined | 17:25 |
| → ruckerz_ joined | 17:25 |
| ← mitz left | 17:25 |
| → system64 joined | 17:26 |
| → alsdjal joined | 17:26 |
| → s0ber joined | 17:26 |
| ← alsdjal left | 17:27 |
| → Andromeda joined | 17:27 |
| → zakora joined | 17:27 |
| → luksaur joined | 17:27 |
| → Kartonschachtel joined | 17:27 |
| → SicoWork joined | 17:28 |
| ← jali_f left | 17:28 |
| ← SicoAnimal left | 17:28 |
| → Chikore joined | 17:30 |
| ← siriuz left | 17:30 |
| → MattStratton joined | 17:32 |
| ← MattStratton left | 17:32 |
| → siriuz joined | 17:32 |
| → MattStratton joined | 17:33 |
| ← Davey left | 17:33 |
| ← Katafalkas left | 17:33 |
| ← maxandersen left | 17:33 |
|
draginx
| whenever im trying to git stash branch grouping <-- I get this: https://gist.github.com/durango/34289c69dac6996411f4 and idk why because im just trying to stash everything into that branch there shouldnt be any problems in regards to things being overwwritten | 17:34 |
| → Davey joined | 17:34 |
|
milki
| draginx: what does git stash branch grouping mean? | 17:35 |
|
ojacobson
| "stash into (a) branch" is nonsensical | 17:35 |
|
| git-stash doesn't operate on branches and branches don't (usually) operate on stashes, unless you've gone way out of your way | 17:35 |
| ← nardev left | 17:35 |
|
ojacobson
| ah, I see | 17:35 |
|
| the message is clear | 17:35 |
| ← spaceonline left | 17:36 |
|
ojacobson
| you have uncommited modifications in the named file | 17:36 |
|
| they would be destroyed by the 'git checkout' step that happens at the start of 'git stash branch <new-branch-name>' | 17:36 |
|
| git is trying to avoid destroying your work for you | 17:36 |
| ← sgambino left | 17:36 |
|
draginx
| basically what im trying to do is.. i have 4 features for a website right? I want to sepearate out the logic for each of them ... i dont want feature #1 mingled with feature #2, and I want an easy way to show my client changes for JUST ONE feature only, without mangigng 50 stashes in the end :p | 17:36 |
|
milki
| use brancheS? | 17:36 |
|
ojacobson
| ^ | 17:37 |
|
milki
| you dont need to work with stashes at all | 17:37 |
| ← cirenyc left | 17:37 |
|
cbreak
| how about just making a branch, or even a clone? | 17:37 |
|
draginx
| milki: I believe even when 10 branches... they all kind of mingle and mix together as one when viewed in the browser | 17:37 |
| ← engkur left | 17:37 |
| ← ErKa left | 17:37 |
|
draginx
| cbreak: id rather not clone the entire project for each task :/ | 17:37 |
|
ojacobson
| if you've already *got* stashes then 'git stash branch' looks like a reasonable way to convert them into something more manageable | 17:37 |
|
cbreak
| branches don't mingle | 17:37 |
|
draginx
| hmm | 17:37 |
|
ojacobson
| internally 'git stash' and 'git branch' work in very similar ways, so you're not saving any work on git's side by using one over the other | 17:37 |
|
cbreak
| if you keep a stash for more than a minute or two | 17:38 |
|
ojacobson
| the stash is kind of a hack on top of the reflog, too | 17:38 |
|
cbreak
| you are doing it wrong | 17:38 |
|
milki
| draginx: what are you trying to diwht with the browser? | 17:38 |
|
draginx
| cbreak: right im trying to avoid that | 17:38 |
| ← Saby left | 17:38 |
|
draginx
| milki: just show a website with one feature? | 17:38 |
|
| so if I have changes on master right now, how can I move all of those changes to a branch? | 17:38 |
|
milki
| draginx: you only have one website and one directory to worry about? | 17:38 |
|
| draginx: you might want to consider !deploy then | 17:38 |
|
gitinfo
| draginx: 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 | 17:38 |
|
draginx
| milki: for this yeah | 17:38 |
|
| i am not deploying | 17:39 |
|
| this is a dev instance | 17:39 |
|
| pure and simple | 17:39 |
|
milki
| yes you are | 17:39 |
|
draginx
| then git is worthless for web development? O_o | 17:39 |
|
milki
| no... | 17:39 |
|
draginx
| well how so | 17:39 |
|
milki
| a website is a collection of files that can be sourced from a repo | 17:39 |
|
spyroboy
| git is fine as a deployment tool if certain conditions aren't required. | 17:39 |
|
draginx
| so I have to git checkout to a git work tree everytime? O_o | 17:39 |
|
thiago
| git is not a deployment tool | 17:40 |
| → juvenal joined | 17:40 |
|
milki
| isnt that what you are doing already? | 17:40 |
|
thiago
| if you want to deploy files, you can write a deployment tool that uses git | 17:40 |
| → Saby joined | 17:40 |
|
thiago
| for example, by writing a hook script | 17:40 |
|
milki
| this way, you can seperate the way you use git to what is used for the website | 17:40 |
|
| then your worries about "mingling" are gone | 17:40 |
| → spaceonline joined | 17:40 |
|
spyroboy
| well, those are semantics I'm not very sure about. I won't even begin to argue where I'm unqualified to do so. | 17:40 |
| ← siriuz left | 17:40 |
| → penguin1 joined | 17:41 |
| → dorkmafi1 joined | 17:41 |
| → eletuchy joined | 17:42 |
| → siriuz joined | 17:42 |
| ← eletuchy left | 17:42 |
| → jjido joined | 17:42 |
| ← a1phanumrc left | 17:42 |
| → eletuchy joined | 17:42 |
| → ruckerz joined | 17:43 |
| → a1phanumrc joined | 17:43 |
| ← LeMike left | 17:44 |
| → LeMike joined | 17:44 |
| ← ruckerz_ left | 17:44 |
| ← anderse left | 17:46 |
| → tinti joined | 17:46 |
| ← eletuchy left | 17:47 |
| ← rideh left | 17:47 |
| → trungqtran joined | 17:47 |
| ← LeMike left | 17:48 |
| ← a1phanumrc left | 17:48 |
| ← penguin1 left | 17:48 |
| → cirenyc joined | 17:49 |
| → penguin1 joined | 17:49 |
| → Milossh joined | 17:49 |
| ← jjido left | 17:49 |
| → jjido joined | 17:50 |
| → mikef joined | 17:50 |
| kvcrawford → MistuhKurtz | 17:50 |
| → delinquentme joined | 17:50 |
|
delinquentme
| ok so I'm happily devving along ... in my natural habitat | 17:50 |
| ← ISF left | 17:51 |
| ← siriuz left | 17:51 |
|
delinquentme
| and some how I lose a file which I guess i hadn't committed to VC yet | 17:51 |
|
| oh wait. nm | 17:51 |
| → rtjure joined | 17:51 |
| → infynyxx joined | 17:51 |
| → rideh joined | 17:51 |
| → amcsi joined | 17:52 |
|
milki
| o.O | 17:52 |
| → penguin1_ joined | 17:53 |
| → siriuz joined | 17:53 |
| ← sonda left | 17:53 |
| → maxmanders joined | 17:54 |
|
ojacobson
| another successful rubber-ducking | 17:55 |
|
cbreak
| undo! undo! | 17:55 |
| ← penguin1 left | 17:55 |
| ← draginx left | 17:55 |
| ← Kartonschachtel left | 17:56 |
| → elnn joined | 17:57 |
| → rideh_ joined | 17:57 |
| ← zenx left | 17:57 |
| ← rideh left | 17:58 |
| rideh_ → rideh | 17:58 |
| → gregsmith joined | 17:59 |
|
_ikke_
| irl has no ^Z | 18:00 |
| → mstormo joined | 18:00 |
| ← siriuz left | 18:00 |
| → madewokherd joined | 18:00 |
|
ojacobson
| what does SIGTSTP have to do with it | 18:00 |
| ← MattStratton left | 18:00 |
|
_ikke_
| It has nothing to do with it | 18:01 |
| → Uniter joined | 18:01 |
| → rasto joined | 18:01 |
| gitinfo set mode: +v | 18:01 |
|
Uniter
| guys sorry how do you "accept theirs" when you are on a merge branch? | 18:01 |
| → mf_ joined | 18:01 |
|
_ikke_
| Uniter: accept? | 18:01 |
|
| merge branch? | 18:02 |
| mf_ → Guest44475 | 18:02 |
| → MattStratton joined | 18:02 |
|
Uniter
| i did a pull | 18:02 |
|
| i have some conflicts | 18:02 |
|
| I want to do: git checkout . --theirs | 18:02 |
|
ojacobson
| "blindly accept theirs" is a piss-poor merge strategy | 18:02 |
|
Uniter
| but it won't work it says file is unmerged | 18:02 |
|
ojacobson
| unless you like destroying your own work | 18:02 |
| ← rideh left | 18:02 |
|
cbreak
| Uniter: then do git checkout --theirs file | 18:02 |
|
_ikke_
| checkout . and --theirs does not work indeed | 18:02 |
| ← Chikore left | 18:03 |
| → btanaka joined | 18:03 |
|
ojacobson
| (conversely, blindly accepting your own side is also a good way to destroy the incoming changes) | 18:03 |
| → siriuz joined | 18:03 |
|
_ikke_
| Hey, I fixed that yesterday | 18:03 |
|
| Uniter: Just use a merge tool, and try to actually merge the thing | 18:03 |
|
charon
| also !eekaconflict | 18:03 |
|
gitinfo
| Merge conflicts are a natural part of collaboration. When facing one, *don't panic*. Read "How to resolve conflicts" in man git-merge. Carefully go through the conflicts. Picking one side verbatim is not always the right choice! | 18:03 |
|
_ikke_
| Uniter: If you want only their side, why are you actually merging? | 18:04 |
|
charon
| i love this attitude, it's so pervasive | 18:04 |
| → zacts joined | 18:04 |
|
_ikke_
| charon: The attitude of, don't do that, do this instead? | 18:04 |
| ← cirenyc left | 18:04 |
|
Uniter
| thanks =) | 18:04 |
| → aberrant joined | 18:04 |
| ← Saby left | 18:05 |
| ← gwty left | 18:05 |
|
Uniter
| guys thanks I know I can safely accept theirs | 18:05 |
|
charon
| _ikke_: no, the "eek a conflict! i want to discard my work! KILL IT WITH FIRE!" attitude | 18:05 |
|
_ikke_
| Uniter: Then git reset --hard <other_branch> is easier | 18:05 |
| juvenal → juvenal_away | 18:05 |
| → Watabou joined | 18:06 |
|
cbreak
| charon: maybe he's just a bad programmer and knows it? :) | 18:06 |
|
Uniter
| ikke but I had some files I wanted to keep | 18:06 |
|
| only the conflicting ones were irrelevant | 18:06 |
|
cbreak
| then only check out those files :) | 18:07 |
|
| (not .) | 18:07 |
| → Kuukunen joined | 18:07 |
| ← gregsmith left | 18:08 |
| gitinfo set mode: +v | 18:08 |
|
ffualo
| What does the -- in "git checkout -- file.txt" actually stand for? I know it's to prevent file/branch confusion, but does it = HEAD by default? | 18:08 |
| ← nioncode left | 18:08 |
|
jast
| no | 18:08 |
| → knightshade2 joined | 18:09 |
|
_ikke_
| ffualo: It just says, from here on, only expect file paths | 18:09 |
|
jast
| it means "only paths after this" | 18:09 |
| → jali_f joined | 18:09 |
| ← etcetera left | 18:09 |
|
jast
| since you didn't specify any commit, it'll checkout the files from the index | 18:09 |
| ← AdrienBrault left | 18:10 |
| ← kermit left | 18:10 |
|
ffualo
| ah, thanks _ikke_ and jast. But by default, git checkout HEAD file.txt is always the same? | 18:10 |
| → rwestphal joined | 18:10 |
| → aksnot joined | 18:11 |
| ← siriuz left | 18:11 |
|
_ikke_
| ffualo: No | 18:11 |
|
| git checkout HEAD file checks it out from the HEAD commit, git checkout -- file checks it out from the index | 18:12 |
|
ffualo
| oh, I see. So if I've staged a file, it will revert to that staged one? | 18:12 |
| ← wedgeV left | 18:12 |
| → arietis joined | 18:12 |
| → wedgeV joined | 18:13 |
| → siriuz joined | 18:13 |
| ← knightshade left | 18:13 |
| ← knightshade2 left | 18:13 |
| → dhruvasagar joined | 18:14 |
| → erichynds joined | 18:14 |
| Guest44475 → mf_ | 18:14 |
|
_ikke_
| ffualo: aye | 18:14 |
| → beneggett joined | 18:14 |
| ← prudnikov left | 18:15 |
| → ranman joined | 18:15 |
| → dregad joined | 18:15 |
|
ffualo
| thanks _ikke_, that makes sense | 18:15 |
| → BBonifield joined | 18:15 |
| → breakingthings joined | 18:16 |
| ← MrNibbles left | 18:16 |
| ← lun_ left | 18:16 |
|
ranman
| Question, is this a bug or a feature? if you change a global commit hook (or any other hook), then run git init on a repo to get it to pull down the new commit hook, it will not get updated unless you manually remove the hook first | 18:16 |
| juvenal_away → juvenal | 18:16 |
| → meuh joined | 18:17 |
| ← barq left | 18:17 |
| → kermit joined | 18:17 |
| → barq joined | 18:17 |
| ← barq left | 18:17 |
| → barq joined | 18:17 |
|
ojacobson
| ranman: not authoritative, but git-init goes out of its way not to destroy data | 18:17 |
| → khmarbaise joined | 18:17 |
|
ojacobson
| eg. existing refs, commits, config files | 18:17 |
| → gwty joined | 18:18 |
| → gnarf joined | 18:18 |
|
ranman
| ojacobson: I'm aware but I was somewhat hoping that if you had a pre-existing hook and purposefully ran git init again it would pull down the new hook… manually removing every hook is a pain -- mainly because I don't remember where I have it and where I don't | 18:18 |
| → sq-one_ joined | 18:18 |
| ← dreiss left | 18:19 |
| → dreiss joined | 18:19 |
| ← sq-one left | 18:20 |
| → keller joined | 18:20 |
| ← rtjure left | 18:20 |
| ← siriuz left | 18:21 |
| → d2dchat joined | 18:21 |
|
_ikke_
| .version | 18:21 |
|
gitinfo
| _ikke_: .version: still at 1.8.2, not updating topic. | 18:21 |
| → smirn0v joined | 18:21 |
| → ErKa joined | 18:21 |
|
_ikke_
| 1.8.2.1 has been released | 18:22 |
| ← Milossh left | 18:22 |
| → etcetera joined | 18:22 |
| ← ranman left | 18:22 |
| → bindaasomatic joined | 18:22 |
| → siriuz joined | 18:22 |
| ← bindaasomatic left | 18:22 |
| → john2496 joined | 18:22 |
| → rtjure joined | 18:22 |
|
osse
| _ikke_: prove it | 18:23 |
|
cbreak
| ran, just find / -name post-commit --delete? :) | 18:23 |
|
osse
| never mind | 18:24 |
| → _iron joined | 18:25 |
|
_ikke_
| hmmm, gmane doesn't seem to have the e-mail :-/ | 18:26 |
|
osse
| I was a bit confused | 18:26 |
| ← sq-one_ left | 18:27 |
| → Sky[x] joined | 18:27 |
|
_ikke_
| http://article.gmane.org/gmane.comp.version-control.git/214867 | 18:27 |
|
| There it is | 18:27 |
|
osse
| the 1.8.1.6 announce had the same date as the release date of 1.8.2.1 on git-scm.com. Then I realized I could just fetch ^_^ | 18:27 |
| → Saby joined | 18:27 |
|
osse
| hmm? that's 1.8.1.2 | 18:27 |
| → Laurenceb_ joined | 18:27 |
| → gregsmith joined | 18:27 |
| ← etcetera left | 18:28 |
| → AdrienBrault joined | 18:28 |
|
_ikke_
| for arg | 18:28 |
| → fobban joined | 18:28 |
|
_ikke_
| gmane doesn't have the e-mail then | 18:29 |
| ← zacts left | 18:29 |
| ← barq left | 18:30 |
| → MrNibbles joined | 18:30 |
| → barq joined | 18:30 |
| ← barq left | 18:30 |
| → barq joined | 18:30 |
| ← siriuz left | 18:30 |
| → zacts joined | 18:30 |
| ← pradi left | 18:30 |
|
dregad
| gmane is having issues with an mta server since april 5th | 18:32 |
| → alvaro_o joined | 18:32 |
| ← alvaro_o left | 18:32 |
| ← ThePawnBreak left | 18:33 |
| ← Watabou left | 18:33 |
| → rurufufuss joined | 18:33 |
| → Katafalkas joined | 18:33 |
|
_ikke_
| apparently | 18:34 |
| → siriuz joined | 18:34 |
| → JaredMiller joined | 18:34 |
| → etcetera joined | 18:34 |
| ← JaredMiller left | 18:34 |
| → ThePawnBreak joined | 18:34 |
| ← MattStratton left | 18:36 |
|
osse
| Not long after relipse's apology e-mail | 18:36 |
|
_ikke_
| Has that anything to do with it? | 18:36 |
|
osse
| The guy never got a response, so maybe he sabotaged it | 18:37 |
| → MattStratton joined | 18:38 |
| ← etcetera left | 18:38 |
| → huoxito joined | 18:39 |
| ← robbyoconnor left | 18:39 |
| ← rath left | 18:39 |
|
dregad
| http://article.gmane.org/gmane.discuss/15606 | 18:40 |
| → whowantstolivef1 joined | 18:40 |
| ← siriuz left | 18:40 |
| ← infynyxx left | 18:41 |
| ← barq left | 18:41 |
| → barq joined | 18:41 |
| ← barq left | 18:41 |
| → barq joined | 18:41 |
| ← ThePawnBreak left | 18:41 |
| → pantsman joined | 18:42 |
| ← pantsman left | 18:42 |
| → pantsman joined | 18:42 |
| → siriuz joined | 18:43 |
| ← odinsbane left | 18:44 |
| → ThePawnBreak joined | 18:45 |
|
charon
| osse: he pinged me privately on irc, and i flamed him for not following through on advice to read "how to ask questions". haven't heard anything since. so i figure a reply on-list wasn't needed | 18:46 |
| ← zacts left | 18:46 |
|
| bremner missed whatever relipse did to get on the ban list 3 times. | 18:47 |
|
bremner
| but maybe once would be enough? | 18:47 |
| → gusnan joined | 18:47 |
| → ISF joined | 18:48 |
| ← Andromeda left | 18:48 |
| ← johnfg left | 18:49 |
|
osse
| charon: I suppose that's a 'no' from you, then | 18:49 |
| → Melon_Bread joined | 18:49 |
| ← siriuz left | 18:51 |
| ← alunduil left | 18:51 |
| → irqq joined | 18:53 |
| → Weezey joined | 18:53 |
|
cbreak
| this channel has a ban list? interesting :) | 18:53 |
| → siriuz joined | 18:53 |
|
dr_lepper
| heh | 18:54 |
| → WinstonSmith joined | 18:55 |
| ← MattStratton left | 18:55 |
| → LekeFly joined | 18:56 |
| ← dc5ala left | 18:56 |
| → newbie joined | 18:57 |
| newbie → Guest17719 | 18:57 |
|
_ikke_
| bremner: He tried to avoid the ban | 18:57 |
|
bremner
| ah, OK. | 18:58 |
|
_ikke_
| I totally missed that e-mail though | 18:58 |
|
stack
| is that possible to push all references upstream? also svn info , in ordet to do git clone from somewhere else and , git svn fetch && git svn rebase ? | 18:59 |
| ← allaire left | 18:59 |
| → etcetera joined | 19:00 |
|
osse
| _ikke_: http://article.gmane.org/gmane.comp.version-control.git/219982 | 19:00 |
| ← siriuz left | 19:00 |
|
_ikke_
| yeah, found it in my e-mail client | 19:01 |
| → cthuluh joined | 19:01 |
| → nadirvardar joined | 19:01 |
| → sgambino joined | 19:03 |
| ← aksnot left | 19:03 |
| ← zakora left | 19:03 |
| → threesome joined | 19:03 |
| → eletuchy joined | 19:04 |
| → siriuz joined | 19:04 |
| → aksnot joined | 19:04 |
| ← rasto left | 19:04 |
|
cbreak
| stack: no, svn meta data is not part of history | 19:04 |
| → MattStratton joined | 19:04 |
| ← marthinal left | 19:05 |
| → mercwithamouth joined | 19:06 |
| → Belliash joined | 19:07 |
|
Belliash
| hi | 19:07 |
|
gitinfo
| Belliash: 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. | 19:07 |
|
stack
| cbreak: so to the other side I have to repeat git svn init, and then rebase for example from a branch pointing to that svn repo? | 19:08 |
|
cbreak
| stack: if you use git svn, then you have to do so directly | 19:08 |
|
Belliash
| can anyone tell me how can i fetch specific revision/changeset ? i mean w/o any future changes? something like svn checkout svn://sth.here/ -r 43 but in GIT? | 19:09 |
|
cbreak
| you may not tamper with history from git svn, and you may not exchange it with others that use git svn (apart from cherry - picking or similar) | 19:09 |
|
| Belliash: impossible | 19:09 |
|
| Belliash: just fetch all of it | 19:09 |
|
| you can cherry pick locally if you really need to slice history into pieces | 19:09 |
| ← khmarbaise left | 19:10 |
| → Orbitrix joined | 19:10 |
| ← siriuz left | 19:10 |
|
Belliash
| cbreak: lets say i fetched all of them... can i somehow switch to the previous revision, so that any future changes will be available ? | 19:10 |
|
cbreak
| ? | 19:11 |
|
| rephrase please. | 19:11 |
|
stack
| cbreak: ok thanks | 19:11 |
|
grawity
| Belliash: I think you are looking for `git checkout <commit-id>` | 19:11 |
| → infynyxx joined | 19:11 |
| → johnfg joined | 19:11 |
|
cbreak
| Belliash: wether something is available or not is independent from the current commit. | 19:11 |
|
SamB
| know any nice frontend for "git cherry"? | 19:11 |
| ← infynyxx left | 19:12 |
| → infynyxx joined | 19:12 |
|
johnfg
| the last kernel booted fine too! gonna do another git bisect good. | 19:12 |
|
Belliash
| cbreak: lets say someone pushed few changes into tree, i downloaded it... now i would like to revert back to state it was lets say week ago... of course i know its sha - is it possible? | 19:12 |
|
cbreak
| tree? | 19:13 |
| ← mercwithamouth left | 19:13 |
|
cbreak
| do you want to rewrite history? | 19:13 |
|
| or do you just want the state from back then? | 19:13 |
| → john_anderson joined | 19:13 |
| → oracal joined | 19:13 |
| → tianon joined | 19:14 |
|
cbreak
| you can for example git reset --hard SHA | 19:14 |
| → siriuz joined | 19:14 |
|
cbreak
| that would nuke away any changes since | 19:14 |
|
| or you could git revert SHA..HEAD | 19:14 |
| ← Sicp left | 19:14 |
|
cbreak
| that'd make an undo commit | 19:14 |
|
Belliash
| cbreak: just the state... so that any changes made after specified SHA will not be available in local copy | 19:15 |
| ← rakl left | 19:15 |
|
SamB
| Belliash: you just want "git checkout <sha>"? | 19:15 |
|
cbreak
| all changes will be available in the local copy | 19:15 |
|
| for ever | 19:15 |
| ← john_anderson left | 19:15 |
|
cbreak
| use git revert as described above | 19:15 |
|
| it'll create new history, and will not require messing with other people's work | 19:15 |
|
SamB
| cbreak: couldn't he just checkout the sha and make a new branch? | 19:15 |
|
cbreak
| SamB: I don't think so | 19:16 |
|
| he said something about future changes available | 19:16 |
| → prudnikov joined | 19:16 |
|
cbreak
| I have no idea what he meant with that | 19:16 |
|
| and then he said he wanted to revert it, so he wants to actually undo the stuff | 19:16 |
| → gerep joined | 19:16 |
|
cbreak
| and not only visit the past | 19:16 |
|
gerep
| Hello world | 19:16 |
|
gitinfo
| gerep: 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. | 19:16 |
|
Belliash
| cbreak: do you know svn also? | 19:17 |
|
SamB
| wall of text | 19:17 |
|
cbreak
| Belliash: barely. | 19:17 |
|
| what for? | 19:17 |
| → Kamal_ joined | 19:17 |
| → clone1018 joined | 19:17 |
|
cbreak
| svn knowledge is mostly worthless. | 19:17 |
| ← MattStratton left | 19:17 |
| → rasto joined | 19:18 |
| Kamal_ → Guest99848 | 19:18 |
|
Belliash
| cbreak: in svn i can do svn up -r 5 and have revision 5 on disk... while rev 6 could provide some new not working code... so i can still build the one from older revision... | 19:18 |
|
cbreak
| yeah. so? | 19:18 |
|
| you can visit the past too in git. But what's the point? | 19:18 |
|
| it has nothing to do with what you asked | 19:19 |
|
Belliash
| id like to do so with git | 19:19 |
| → anderse joined | 19:19 |
| Guest99848 → Kamal_ | 19:19 |
|
grawity
| you were told *twice* how to do the same with git | 19:19 |
|
ojacobson
| So what happened when you tried that? | 19:19 |
|
cbreak
| if you just want to visit the past, just do as SamB and grawity said above | 19:19 |
| → garbagecollect-1 joined | 19:19 |
|
cbreak
| but if you do that, you of course leave your current branch | 19:19 |
|
garbagecollect-1
| fatal: Not a valid object name: 'thestriving/reskin-geapp-370'. | 19:19 |
|
ojacobson
| If you know how to use svn to obtain the tree from past commits, you know how to use git to do the same thing | 19:19 |
|
cbreak
| and it wouldn't be reverting anything | 19:19 |
|
garbagecollect-1
| I'm just trying to get my current branch to track and push to a branch on another repository with the same name | 19:20 |
|
cbreak
| garbagecollect-1: so git push -u remotename branchname | 19:20 |
|
| garbagecollect-1: done. | 19:20 |
|
garbagecollect-1
| i just want to set upstream first without pushing | 19:20 |
|
cbreak
| garbagecollect-1: man git-branch | 19:21 |
|
gitinfo
| garbagecollect-1: the git-branch manpage is available at http://jk.gs/git-branch.html | 19:21 |
|
cbreak
| take a look at --set-upstream | 19:21 |
|
| (pay attention to the parameter order) | 19:21 |
|
garbagecollect-1
| i did that and it said fatal: Not a valid object name: 'thestriving/reskin-geapp-370'. | 19:21 |
| → Esa|iPhone6 joined | 19:21 |
| ← siriuz left | 19:21 |
|
Belliash
| ok, i got it now... | 19:21 |
|
| thanks! | 19:21 |
|
cbreak
| garbagecollect-1: then you failed to pay attention to the parameter order | 19:21 |
| ← Esa_ left | 19:21 |
|
garbagecollect-1
| i did not | 19:21 |
|
cbreak
| what did you type? | 19:21 |
|
garbagecollect-1
| git branch --set-upstream reskin-geapp-370 thestriving/reskin-geapp-370 | 19:21 |
|
ojacobson
| What part of that looked like 'git push' | 19:21 |
|
cbreak
| and what does git branch -r show? | 19:22 |
|
ojacobson
| you can push and also fix the upstream at the same time, and it's probably easier that way | 19:22 |
|
garbagecollect-1
| don't want to push | 19:22 |
|
ojacobson
| (git branch --set-upstream has a really surprising argument order. In more recent versions use --set-upstream-to/-u instead, which behaves more like most people expect) | 19:22 |
|
garbagecollect-1
| git branch -r shows the branches from origin and from thestriving | 19:22 |
| → captbaritone joined | 19:22 |
| → mastro joined | 19:22 |
|
cbreak
| does it show the one you use? | 19:23 |
| → skorgon joined | 19:23 |
|
ojacobson
| does 'thestriving/reskin-geapp-370' appear in the output of 'git branch -r'? | 19:23 |
| ← mastro left | 19:23 |
|
garbagecollect-1
| no | 19:23 |
|
ojacobson
| if not, you can't tell a local branch to track it | 19:23 |
| ← arietis left | 19:23 |
|
ojacobson
| because it doesn't exist yet | 19:23 |
|
cbreak
| then it's invalid. | 19:23 |
|
| git remote update, that might fetch it | 19:23 |
|
ojacobson
| (you can, but you have to use other mechanisms to do so, and oyu shouldn't) | 19:23 |
|
garbagecollect-1
| so i should push it ? | 19:23 |
|
| with the -u param/ | 19:23 |
|
cbreak
| yes. | 19:23 |
|
ojacobson
| if you *expected* it to exist, git-fetch may help | 19:24 |
| → siriuz joined | 19:24 |
|
ojacobson
| if it doesn't exist in the remote at all, then you'll have to push something first :) | 19:24 |
| → Andromeda joined | 19:24 |
| → mastro joined | 19:24 |
|
cbreak
| I think you could mess around with the .git/config file to make it track non-existing things | 19:24 |
|
garbagecollect-1
| atal: 'thestriving/reskin-geapp-370' does not appear to be a git repository | 19:24 |
|
ojacobson
| you could | 19:24 |
|
cbreak
| but ... if you have to ask in here for advice, you're probably not ready for that :) | 19:25 |
|
ojacobson
| but I'm not going to explain how, because i try not to hand people loaded guns :) | 19:25 |
| → haydenmuhl joined | 19:25 |
| → ivar_ joined | 19:25 |
|
cbreak
| garbagecollect-1: yeah, you have to use the correct syntax | 19:25 |
|
garbagecollect-1
| i did a git fetch -all | 19:25 |
|
cbreak
| duh | 19:25 |
|
ojacobson
| garbagecollect-1: push expects a remote name plus a normal branch name ("thestriving" followed by "reskin-geapp-370"), not a remote-tracking branch name ("thestriving/reskin-geapp-370") | 19:25 |
|
| man git-push for details | 19:25 |
|
gitinfo
| the git-push manpage is available at http://jk.gs/git-push.html | 19:25 |
|
cbreak
| as I said above | 19:26 |
| ← system64 left | 19:26 |
|
cbreak
| just replace remotename with the remote name and branchname with the branch name | 19:26 |
|
garbagecollect-1
| that is not the syntax cbreak offered | 19:26 |
| ← cthuluh left | 19:26 |
|
garbagecollect-1
| i did | 19:26 |
|
cbreak
| what did you type? | 19:26 |
|
garbagecollect-1
| git push -u thestriving/reskin-geapp-370 reskin-geapp-370 | 19:26 |
| ← d2dchat left | 19:26 |
|
ojacobson
| cbreak suggested 'git push -u remotename branchname' | 19:26 |
|
| which is pretty compatible with what I suggested | 19:26 |
|
garbagecollect-1
| and how is that not what i typed? | 19:27 |
| ← Belliash left | 19:27 |
|
cbreak
| garbagecollect-1: the remote name is thestriving | 19:27 |
|
ojacobson
| remotename needs to be the name of a remote ("thestriving", in your case), not the name of a remote-tracking branch | 19:27 |
|
cbreak
| you typed testriving/garbagehere | 19:27 |
|
| delete the garbagew | 19:27 |
|
| which is not part of the remote name | 19:27 |
|
ojacobson
| that these have similar names and similar syntaxes in some contexts is one of the lovely features of git you'll be getting real familiar with soon | 19:27 |
|
cbreak
| it confuses git | 19:27 |
| → MattStratton joined | 19:27 |
| ← elixir left | 19:27 |
|
cbreak
| garbagecollect-1: git remote -v lists remote names you have set up | 19:27 |
|
garbagecollect-1
| ah ok | 19:27 |
|
| it worked | 19:27 |
|
| i think | 19:27 |
|
cbreak
| of course it did. | 19:27 |
| → elixir joined | 19:28 |
|
cbreak
| ojacobson: there are not infinite number of words available | 19:28 |
|
ojacobson
| it's true | 19:28 |
|
cbreak
| so we have to compose them :) | 19:28 |
|
| if we'd use german it might be easier | 19:28 |
| → kit joined | 19:28 |
|
cbreak
| then new words could be formed by gluing others together | 19:28 |
|
ojacobson
| 'peer repository' might be a better term but I'm not sure I want to explain 'git peer add' to people :) | 19:29 |
| → knightshade joined | 19:29 |
|
cbreak
| I'd have called it "other" | 19:29 |
|
Eugene
| The heck is git peer | 19:29 |
|
ojacobson
| Eugene: nonexistant | 19:29 |
|
Eugene
| Good | 19:29 |
|
cbreak
| git other add | 19:29 |
|
ojacobson
| "I'm not sure I _would_ want", perhaps | 19:29 |
|
cbreak
| sounds good, doesn't it? :) | 19:29 |
| ← tianon left | 19:30 |
| ← siriuz left | 19:30 |
| → tianon joined | 19:31 |
| → drizzd joined | 19:32 |
| ← ivar_ left | 19:32 |
| ← Sky[x] left | 19:32 |
| → cthuluh joined | 19:32 |
| → dijonyummy joined | 19:33 |
| → ivar_ joined | 19:33 |
| ← dijonyummy left | 19:34 |
| → siriuz joined | 19:34 |
| → rakl joined | 19:34 |
| ← tenmilestereo left | 19:34 |
| ← ivar_ left | 19:35 |
| → shruggar joined | 19:35 |
| ← dhruvasagar left | 19:35 |
| ← mossplix left | 19:35 |
| ← shruggar left | 19:36 |
| ← etcetera left | 19:37 |
| → dijonyummy joined | 19:37 |
| ← ThePawnBreak left | 19:37 |
| ← danishkhan left | 19:38 |
| ← elixir left | 19:38 |
| ← Melon_Bread left | 19:38 |
| ← smirn0v left | 19:39 |
| ← fooey left | 19:39 |
| → micahf joined | 19:39 |
|
micahf
| hi, how do i commit changes from svn to my git repository after doing 'git svn fetch' | 19:39 |
|
| i tried "git svn rebase" | 19:40 |
|
| but "git status" doesn't show any of the new changes from svn | 19:40 |
| → smirn0v joined | 19:40 |
| ← Uniter left | 19:40 |
| ← siriuz left | 19:40 |
| → jas4711 joined | 19:40 |
|
cbreak
| micahf: it isn't supposed to | 19:41 |
| ← dreiss left | 19:41 |
| → agile joined | 19:41 |
|
cbreak
| micahf: git status will show uncommitted changes | 19:41 |
|
| stuff from svn is committed | 19:41 |
| → Sky[x] joined | 19:41 |
|
cbreak
| micahf: git svn rebase is the correct way to get changes from svn | 19:41 |
|
micahf
| hm | 19:42 |
| → ThePawnBreak joined | 19:42 |
|
Dr4k3
| üü | 19:42 |
|
| sry.. | 19:42 |
| → g0bl1n joined | 19:42 |
| ← g0bl1n left | 19:42 |
| → g0bl1n joined | 19:42 |
| ← barq left | 19:44 |
| → siriuz joined | 19:44 |
|
micahf
| cbreak, when i do "git push" i get " ! [rejected] trunk -> trunk (non-fast-forward)" | 19:44 |
| → _protagoras271_ joined | 19:44 |
|
cbreak
| yes. | 19:44 |
|
| you did a rebase | 19:44 |
|
| that rewrites history | 19:45 |
|
| you will have to force push | 19:45 |
|
| micahf: you can use either git native functionality, or git svn functionality | 19:45 |
|
| if you want to use both, then you'll have to live with constant history rewriting | 19:45 |
| → elixir joined | 19:45 |
|
micahf
| ah | 19:45 |
|
| darn! | 19:45 |
|
cbreak
| git svn dcommit rewrites history | 19:46 |
|
| git svn rebase does | 19:46 |
|
| if you do either, and you already pushed that history, t hen you will have to force push | 19:46 |
| ← thl0 left | 19:46 |
|
micahf
| the svn repository is a big repository that i don't want to commit to but want to keep updated | 19:46 |
|
| the git repository referencing it is hosted on github, and this is something i do want to keep updated | 19:46 |
|
| so what i'm trying to do is fetch updates from svn and get them onto github, along with my local changes | 19:47 |
| → BSaboia__ joined | 19:47 |
| → mossplix joined | 19:47 |
|
micahf
| does this make sense? sorry if i'm being a noob | 19:47 |
|
cbreak
| you'll have to rebase the local changes. | 19:47 |
| → blackjack joined | 19:47 |
| ← blackjack left | 19:47 |
|
cbreak
| every single time | 19:47 |
| → Ryback_ joined | 19:48 |
| ← Ryback_ left | 19:48 |
| → Ryback_ joined | 19:48 |
|
arand
| In that situation I would keep any git changes on separate branches, into which you'd merge the svn mirror branch | 19:48 |
|
micahf
| ahh | 19:48 |
|
cbreak
| that'd also work. and lead to a very train station like history :) | 19:49 |
| → mikef_ joined | 19:49 |
| → etcetera joined | 19:49 |
|
micahf
| so instead of pulling directly from svn i'd pull from another branch that is a direct mirror of the svn repository? | 19:49 |
| → norjor joined | 19:50 |
| ← Dougie187 left | 19:50 |
| ← mikef left | 19:50 |
|
micahf
| trains are on time, so that's good | 19:50 |
| → Dougie187 joined | 19:50 |
| ← siriuz left | 19:50 |
| ← BSaboia left | 19:50 |
|
arand
| If by pulling you mean merging then yeah, that's what i was thinking. | 19:51 |
| ← PaulCapestany left | 19:51 |
|
micahf
| i suppose that's what i meant | 19:52 |
|
| i'm still working on the distinction | 19:52 |
| → siriuz joined | 19:53 |
|
arand
| the svn-mirror branch would never have any changes besides the ones from svn, updated via "git svn rebase" then you would: "git checkout feature; git merge svn-mirror", and push both (or just 'feature') up to the public git repo. | 19:54 |
| ← Ryback_ left | 19:55 |
| → dreiss joined | 19:55 |
|
arand
| you will get a lot of merging, so it depends if you like merges. | 19:55 |
| ← rtjure left | 19:56 |
| → jaseemabid joined | 19:57 |
| → x82_nicole joined | 19:57 |
| → johnfg_ joined | 19:57 |
| gitinfo set mode: +v | 19:58 |
| ← Katafalkas left | 19:58 |
| → PaulCapestany joined | 19:58 |
| ← anderse left | 19:58 |
| ← MattStratton left | 19:59 |
| → jceb joined | 19:59 |
| → hyperair joined | 19:59 |
|
x82_nicole
| Hello all! I'm trying to determine why my Git repo has blown up to 1.2GB. Is there an easy to way to determine what folders are NOT within the .gitignore file? Like, forcing Git to list all directories it's managing? My .gitignore file is huge, and I'm sure there has to be a way to tell. | 19:59 |
|
_ikke_
| x82_nicole: git ls-tree | 20:00 |
| ← smirn0v left | 20:00 |
|
_ikke_
| or ls-index | 20:00 |
| ← siriuz left | 20:00 |
|
_ikke_
| s/index/files | 20:00 |
| ← johnfg left | 20:00 |
| → Jasper joined | 20:00 |
|
Jasper
| Git for Windows is amazing: /libexec/git-core/git-rebase--merge: line 67: git-merge-theirs: command not foun | 20:00 |
|
| d | 20:00 |
| → MattStratton joined | 20:01 |
|
x82_nicole
| Ahh, interesting. I wonder if git ls-files can exclude a folder? Like "list all files git see, except this folder and that folder". | 20:01 |
|
| There are so many git commands, haha. (: | 20:01 |
| → marhaban joined | 20:01 |
| → b1rkh0ff joined | 20:02 |
|
_ikke_
| afaict, it can only exclude untracked files | 20:02 |
| → holodoc joined | 20:03 |
| ← aberrant left | 20:03 |
| → danishkhan joined | 20:03 |
| ← keller left | 20:03 |
|
_ikke_
| x82_nicole: You don't need to know all of them | 20:03 |
| → siriuz joined | 20:03 |
|
x82_nicole
| Alright. Let me try something, and if doesn't work, guess I could ack-grep -v ;) | 20:03 |
| → keller joined | 20:04 |
| ← danishkhan left | 20:04 |
| ← infynyxx left | 20:06 |
|
x82_nicole
| _ikke_, thanks for your help btw. Very much appreciated. | 20:06 |
| ← huoxito left | 20:06 |
|
_ikke_
| yw | 20:06 |
| ← Davey left | 20:07 |
| ← whowantstolivef1 left | 20:07 |
| ← penguin1_ left | 20:07 |
| → Akufen joined | 20:07 |
| ← gerep left | 20:08 |
|
cannonball
| I am doing 'git branch -d -r remote_name branch_name'. It deletes the branch info from my local checkout, but the branch still exists on the remote. What option am I missing to make the change propoage to the remote and delete it there too? | 20:09 |
| → Ziber joined | 20:10 |
|
_ikke_
| cannonball: git push --delete branch-name | 20:10 |
| ← siriuz left | 20:10 |
|
cannonball
| beautiful, thank you. | 20:10 |
| → penguin1 joined | 20:11 |
|
jast
| plus, once again, a remote name :} | 20:11 |
|
_ikke_
| hehe, that always helps | 20:11 |
| → anderse joined | 20:11 |
| → infynyxx joined | 20:12 |
| → aberrant joined | 20:12 |
| ← delinquentme left | 20:13 |
| → siriuz joined | 20:13 |
| ← ISF left | 20:13 |
|
cannonball
| This remote repo contains just a few branches that I have done. There is no 'master' branch. The web browser, when I loaded the summary page, showed the commits for (what I think is) the first branch that I used to create that remote repo. | 20:14 |
| → LeMike joined | 20:14 |
| ← knightshade left | 20:14 |
|
cannonball
| Since I deleted that branch, now the summary page just shows the tags and the branches. | 20:14 |
|
| I should be able to make one of the remaining branches be the default branch that gets show in the summary page, right? | 20:14 |
|
Dougie187
| yeah, it's under settings | 20:15 |
|
cannonball
| I'm checking git push --help right now, looking for something that seems right. | 20:15 |
|
Dougie187
| well, depending on what site you're on | 20:15 |
|
jast
| there's no git command to do it remotely | 20:15 |
|
Dougie187
| on github, it's under settings for the repo. but ionno about other sites. | 20:15 |
| ← dsdeiz left | 20:15 |
| → mabrand joined | 20:15 |
|
cannonball
| It's a repo located in ~/public_git/ (a bare repo). | 20:15 |
|
cbreak
| you have to do git symbolic-ref HEAD blah | 20:16 |
|
jast
| if it's self-hosted, you need shell access | 20:16 |
|
cannonball
| thanks | 20:16 |
|
cbreak
| (in the remote repo) | 20:16 |
|
jast
| specifically, refs/heads/blah :) | 20:16 |
|
cbreak
| shouldn't git resolve that itself? | 20:16 |
|
| maybe not, it's plumbing | 20:16 |
| ← etcetera left | 20:17 |
| ← mabrand left | 20:18 |
|
cannonball
| Fixed, thanks :-) In git, sometimes it's hard to tell when a path is a virtual path (remote/branchname) or a real path (refs/heads/branchname). | 20:18 |
|
| Once I figured out that you meant a real path name, it made very much sense. | 20:18 |
| → etcetera joined | 20:18 |
| ← aksnot left | 20:18 |
| → zakora joined | 20:19 |
|
cbreak
| cannonball: the are all real | 20:20 |
|
| remote/branchname are in refs/remotes/remote/branchname | 20:20 |
| → khushildep joined | 20:20 |
| ← penguin1 left | 20:20 |
| ← kermit left | 20:20 |
| ← siriuz left | 20:20 |
|
cbreak
| (unless they are packed :) | 20:20 |
| ← marhaban left | 20:20 |
|
cannonball
| thanks everybody. | 20:21 |
|
cmn
| they're both the same, but neither are paths | 20:21 |
| → siriuz joined | 20:23 |
| ← irqq left | 20:23 |
| ← prudnikov left | 20:23 |
| ← vpopov left | 20:24 |
| ← g0bl1n left | 20:25 |
| → irqq joined | 20:26 |
| ← jamesez left | 20:26 |
| → fooey joined | 20:27 |
| ← fooey left | 20:28 |
| → fooey joined | 20:28 |
| → nielsbusch joined | 20:29 |
| → vpopov joined | 20:30 |
| ← kevwil left | 20:30 |
| ← jceb left | 20:30 |
| ← Andromeda left | 20:31 |
| ← siriuz left | 20:31 |
| ← ThePawnBreak left | 20:33 |
| → kermit joined | 20:33 |
| → siriuz joined | 20:33 |
| → danishkhan joined | 20:35 |
| → Gitzilla joined | 20:35 |
| → Davey joined | 20:36 |
| → aksnot joined | 20:37 |
| → grbsn joined | 20:37 |
| ← grbsn left | 20:38 |
| ← tinti left | 20:38 |
| → kevwil joined | 20:38 |
| ← fobban left | 20:39 |
| → delinquentme joined | 20:39 |
| → danman joined | 20:40 |
| → mstormo_ joined | 20:40 |
| ← siriuz left | 20:40 |
| → rtjure joined | 20:41 |
| ← mstormo left | 20:41 |
| ← endikos left | 20:42 |
| → Kismet010 joined | 20:43 |
|
Kismet010
| hi | 20:43 |
|
gitinfo
| Kismet010: 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. | 20:43 |
| → siriuz joined | 20:43 |
| ← juvenal left | 20:43 |
| → LuxuryMode joined | 20:43 |
| ← mastro left | 20:44 |
| → beakman joined | 20:44 |
|
Kismet010
| I want to ignore all files under foo, but no foo/bar/taz.txt | 20:44 |
| ← irqq left | 20:44 |
|
Kismet010
| how can I doit? | 20:44 |
|
cbreak
| just add foo to .gitignore | 20:44 |
|
| and force add that file | 20:45 |
|
| (or add it before adding the ignore rule) | 20:45 |
|
Kismet010
| this doesn't not work, I have a foo/.gitignore with a * for ignoring all, 'for/bar/requeriments.txt' and foo/whatever.txt is what a I wnat to mantain | 20:47 |
|
| now I preppend ! to whatever, this work, but no !*/req.txt | 20:48 |
|
ojacobson
| Kismet010: have a *top level* .gitignore with 'foo/' in it | 20:48 |
|
| 'git add --force' the files you wish not to be ignored | 20:48 |
|
cbreak
| Kismet010: the ! is not needed | 20:48 |
|
ojacobson
| ignores do not apply to files git knows about | 20:48 |
|
cbreak
| Kismet010: do what I said above, it'll be enough | 20:48 |
| ← rakl left | 20:48 |
| ← JosefAssad left | 20:49 |
|
ojacobson
| it doesn't matter that "everything" in foo/ is ignored; git-status and friends will continue to report changes to foo/bar/requirements.txt if it's tracked | 20:49 |
|
Kismet010
| but I change files constantly and need "git add ." | 20:49 |
|
cbreak
| so? | 20:49 |
|
| doesn't matter. | 20:49 |
| ← jjido left | 20:50 |
| ← aksnot left | 20:50 |
| ← siriuz left | 20:50 |
| ← vpopov left | 20:52 |
| ← ph^ left | 20:52 |
| → juvenal joined | 20:52 |
| ← AdrienBrault left | 20:53 |
|
Kismet010
| how can I force add a file in a subdirectory name which is variable? | 20:54 |
|
variable
| o.O | 20:55 |
|
Kismet010
| just a wildcard? | 20:55 |
|
cbreak
| Kismet010: git add -f $variable/file | 20:55 |
|
Kismet010
| not a variable, a variable name | 20:55 |
|
cbreak
| yes | 20:55 |
|
variable
| Kismet010: what do you mean by "variable"? | 20:55 |
|
cbreak
| what do you think $ does? | 20:55 |
|
variable
| the file moves around a lot? | 20:55 |
|
Kismet010
| yes | 20:56 |
|
variable
| you need to add it each time | 20:56 |
| → mercwithamouth joined | 20:56 |
|
cbreak
| exactly | 20:56 |
|
variable
| git can not handle wandering files | 20:56 |
|
| why does this file do that | 20:56 |
|
| maybe it should not be tracked | 20:56 |
|
| is it generated? | 20:56 |
|
Kismet010
| it's requeriments.txt inside python virtualenvs owns by a team who create or delete ones | 20:56 |
| ← cthuluh left | 20:56 |
| → cthuluh joined | 20:57 |
|
cbreak
| just don't move it around. | 20:57 |
| → Lefont joined | 20:57 |
| ← daniel_- left | 20:57 |
| → siriuz joined | 20:57 |
|
Kismet010
| so isn't there a way to ignore all foo/* except foo/bar.txt and foo/bar/taz.txt? | 20:58 |
|
cbreak
| sure there is | 20:58 |
|
| ignore foo/ | 20:58 |
|
| and then unignore with !foo/bar.txt | 20:58 |
|
| and so on | 20:58 |
|
Kismet010
| this works | 20:58 |
|
cbreak
| of course it does | 20:58 |
|
Kismet010
| but how for foo/bar/taz.txt? | 20:58 |
|
cbreak
| as does the previous suggestion | 20:59 |
| → DrShoggoth joined | 20:59 |
|
cbreak
| unignore !foo/bar/tax.txt | 20:59 |
|
| same as always | 20:59 |
|
| Kismet010: read man gitignore | 20:59 |
|
gitinfo
| Kismet010: the gitignore manpage is available at http://jk.gs/gitignore.html | 20:59 |
| → daniel_- joined | 20:59 |
|
Kismet010
| !foo/*/taz.txt doesn't work | 20:59 |
|
cbreak
| not * | 20:59 |
|
| bar | 20:59 |
|
Kismet010
| I read manual | 20:59 |
|
| but.. | 20:59 |
|
| this isn't viable for out workflow | 21:00 |
|
| our* | 21:00 |
| ← mmitchel_ left | 21:00 |
| → Andromeda joined | 21:00 |
|
Kismet010
| I need 'bar' to be whatever | 21:00 |
|
ojacobson
| Kismet010: "ask question A, get answer A', respond that it doesn't apply to situation B" is not, historically, a very effective strategy to seeking advice. | 21:01 |
|
m0viefreak
| !taz.txt | 21:01 |
|
| then | 21:01 |
|
ojacobson
| Best of luck. | 21:01 |
| ← ojacobson left | 21:01 |
|
m0viefreak
| oh wait | 21:01 |
| → nickpresta joined | 21:01 |
| ← captbaritone left | 21:02 |
|
Kismet010
| ask A, said I don't know how to do A so I told you I prefer to do B, is a common way to not say "I don't know"... | 21:02 |
|
cbreak
| then unignore !foo/**/tax.txt | 21:02 |
|
Kismet010
| cbreak: I tried and look for ** means | 21:03 |
| ← siriuz left | 21:03 |
| ← AaronMT left | 21:03 |
| → Watabou joined | 21:03 |
|
cbreak
| you should look, yes | 21:03 |
|
Kismet010
| looked | 21:03 |
|
| I'll try again | 21:03 |
| → shruggar joined | 21:03 |
|
cbreak
| Kismet010: honestly, just do what I told you, all of the answers will work | 21:03 |
| → AaronMT joined | 21:03 |
|
charon
| aren't we in the whole ignore-affects-tree-traversal business again? | 21:03 |
| ← nadirvardar left | 21:03 |
|
cbreak
| I gave you like four by now | 21:03 |
| → chuckharmston joined | 21:04 |
| → psoo joined | 21:04 |
|
charon
| Kismet010: there's a catch with ignores, if a directory name is ignored the search for untracked files never descends into that directory, so it won't see any negative ignore patterns inside | 21:05 |
|
Kismet010
| last one doesn't work, ** depends on shell instead fcname (or whatever I just read) | 21:05 |
| ← kit left | 21:05 |
| → drizzd_ joined | 21:05 |
|
charon
| Kismet010: newer gits do support ** | 21:05 |
|
| i'd have to check but it's probably around 1.8.1 or 1.8.0 | 21:05 |
| ← nkr left | 21:05 |
| → siriuz joined | 21:05 |
|
Kismet010
| 1.8.1.4 | 21:05 |
| ← luksaur left | 21:06 |
|
cbreak
| Kismet010: no | 21:06 |
|
| ** is a normal gitignore pattern | 21:06 |
|
Kismet010
| is this what you mean? http://vpaste.net/jcXwp | 21:06 |
|
cbreak
| no | 21:06 |
|
| foo | 21:06 |
|
| not virtualenvs | 21:06 |
|
| it won't work if you missspell the name | 21:06 |
| ← zakora left | 21:06 |
| → jjido joined | 21:06 |
|
Kismet010
| lol | 21:07 |
|
| ok virtualenvs=foo | 21:07 |
|
cbreak
| then it'll work | 21:07 |
| ← nickpresta left | 21:07 |
| → nadirvardar joined | 21:07 |
|
Kismet010
| but it doen't | 21:07 |
|
charon
| cbreak: ** is not supported before v1.8.2 | 21:07 |
|
| it'll still work as a *, of course | 21:08 |
| → rakl joined | 21:08 |
| ← mikef_ left | 21:08 |
| ← drizzd left | 21:08 |
| → babilen joined | 21:08 |
| ← Treggats left | 21:10 |
| ← spaceonline left | 21:11 |
| ← x82_nicole left | 21:12 |
| ← siriuz left | 21:12 |
| ← Watabou left | 21:12 |
| ← v0n left | 21:13 |
|
Kismet010
| so there's no way | 21:13 |
| ← jonatasnona left | 21:13 |
| ← jali_f left | 21:13 |
|
cbreak
| all the ways we gave you should work for some of the questions you asked | 21:14 |
|
| in particular, git add -f will work | 21:14 |
| ← gregsmith left | 21:15 |
| ← skorgon left | 21:15 |
| juvenal → juvenal_away | 21:16 |
| → siriuz joined | 21:16 |
|
Kismet010
| I told you we need git add . | 21:16 |
| ← anderse left | 21:16 |
|
charon
| find -name requirements.txt | xargs git add -f ? | 21:17 |
| ← agile left | 21:17 |
| ← kermit left | 21:17 |
|
cbreak
| find has --exec | 21:17 |
| → pib1998 joined | 21:17 |
| ← hwrd|work left | 21:18 |
| → skorgon joined | 21:18 |
|
cbreak
| that'll handle spaces too if you want :) | 21:18 |
|
Kismet010
| umm I like the idea | 21:18 |
|
charon
| Kismet010: also, your issue is most likely that git doesn't descent into dirs that are ignored | 21:18 |
| → Milossh joined | 21:18 |
|
charon
| (as i already said) | 21:18 |
|
| it would be easier to tell if that is the actual problem, if you gave us !repro | 21:18 |
|
gitinfo
| Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session. This will help immensely with troubleshooting. | 21:18 |
|
charon
| see also !censor | 21:18 |
|
gitinfo
| [!obfuscate] Please do not elide, obfuscate, or otherwise hide information from !repro pastes. This invariably leads to pastes that hide the actual issue or (worse) are not consistent, sending the investigation down false paths. See !secret. | 21:18 |
| ← bmac left | 21:18 |
|
Kismet010
| I know, because of that I'm this solution http://stackoverflow.com/questions/5533050/gitignore-exclude-folder-but-include-specific-subfolder | 21:19 |
|
| for now I have http://vpaste.net/4PwxQ | 21:19 |
| → Treggats joined | 21:20 |
| ← rtjure left | 21:20 |
| juvenal_away → juvenal | 21:20 |
| → zastern joined | 21:21 |
| → bgerber joined | 21:21 |
| ← siriuz left | 21:22 |
| ← khushildep left | 21:22 |
| ← jjido left | 21:22 |
| → jjido joined | 21:22 |
| → hwrd|work joined | 21:23 |
| ← jjido left | 21:24 |
| → jjido joined | 21:24 |
| → siriuz joined | 21:25 |
| → unreal joined | 21:26 |
| ← mossplix left | 21:26 |
| ← MattStratton left | 21:26 |
| → leeN joined | 21:28 |
| → x82_nicole joined | 21:28 |
| ← erichynds left | 21:30 |
| ← fooey left | 21:30 |
| ← drizzd_ left | 21:30 |
| → wrouesnel joined | 21:31 |
| ← etcetera left | 21:31 |
| ← mitz_ left | 21:32 |
| ← siriuz left | 21:32 |
| ← infynyxx left | 21:32 |
| → SteveRyherd joined | 21:32 |
| gitinfo set mode: +v | 21:32 |
| → rockets_ joined | 21:32 |
| ← holodoc left | 21:33 |
| → holodoc joined | 21:33 |
|
SteveRyherd
| I want to deploy to a remote server. My local server does not have static-ip/address -- Should I setup a bare repo on the remote server and push to it, then checkout elsewhere. ... or is there a better method? | 21:33 |
| ← Thra11 left | 21:33 |
| ← psoo left | 21:34 |
| ← zastern left | 21:34 |
| → siriuz joined | 21:34 |
| → Vile joined | 21:35 |
| → sd1074 joined | 21:35 |
| → mitz_ joined | 21:36 |
|
thiago
| SteveRyherd: no, you've pretty much got the idea | 21:36 |
| → etcetera joined | 21:36 |
| → hobodave joined | 21:37 |
|
milki
| SteveRyherd: !deploy | 21:37 |
|
gitinfo
| SteveRyherd: 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 | 21:37 |
|
milki
| SteveRyherd: if you have $$, you can look through the github web hooks and see what kinds of services are available as well | 21:37 |
| ← delinquentme left | 21:38 |
| → redrocket joined | 21:38 |
| → mossplix joined | 21:38 |
|
SteveRyherd
| milki, I'm using fabric for deploy scripts. Just trying to figure out if it would be easier to move my local master git repos to the production server. Or if I could keep them local and just have a bare repo to push to. | 21:38 |
| ← LuxuryMode left | 21:38 |
| → aartist joined | 21:39 |
| ← Lefont left | 21:39 |
|
milki
| i recommend push to bare repo and rely on post-receive hooks, given your two choices | 21:40 |
| → markenranosa joined | 21:40 |
| ← tekseven left | 21:40 |
|
SteveRyherd
| Thanks. | 21:40 |
| → Pentium joined | 21:41 |
| → kermit joined | 21:41 |
|
Kismet010
| charon cbreak thanks! | 21:42 |
| ← Kismet010 left | 21:42 |
| ← doener left | 21:42 |
| ← siriuz left | 21:43 |
| → boombatower joined | 21:43 |
| ← aartist left | 21:44 |
| ← Davey left | 21:44 |
| ← Dougie187 left | 21:45 |
| ← SteveRyherd left | 21:46 |
| → siriuz joined | 21:46 |
| ← RoyBellingan left | 21:47 |
| → hannic joined | 21:48 |
| ← LeMike left | 21:48 |
| ← jjido left | 21:48 |
| ← hannic left | 21:48 |
| → pandeiro joined | 21:48 |
| → sgu joined | 21:48 |
| ← Dr4k3 left | 21:49 |
| ← nielsbusch left | 21:49 |
| ← cbot_ left | 21:49 |
| ← siriuz left | 21:52 |
| → bulletmark joined | 21:52 |
| → ph^ joined | 21:53 |
| → FatDarrel joined | 21:53 |
| ← jaseemabid left | 21:54 |
| → Davey joined | 21:54 |
| ← FatDarrel left | 21:54 |
| → FatDarrel joined | 21:55 |
| → jaseemabid joined | 21:55 |
| → siriuz joined | 21:55 |
| ← Pentium left | 21:55 |
| ← john2496 left | 21:55 |
| ← FatDarrel left | 21:56 |
| ← revagomes left | 21:56 |
| ← mstormo_ left | 21:57 |
| ← elixir left | 21:58 |
| ← mezner left | 21:59 |
| ← avinashrbhat left | 22:01 |
| ← siriuz left | 22:02 |
| ← trungqtran left | 22:02 |
| → alunduil joined | 22:02 |
| ← ph^ left | 22:02 |
| ← m0ltar left | 22:03 |
| → AlexMax joined | 22:03 |
| → ISF joined | 22:03 |
| ← breakingthings left | 22:04 |
| → guy joined | 22:04 |
| ← sgambino left | 22:04 |
|
guy
| If I accidentally did `git commit -m "Renamed to a more generic (suitable) file."` (when I intended `git commit -m "Renamed to a more generic (suitable) file." ./somefile`, will `git stash save --keep-index; git stash drop` lose my changes or just undo the commit? | 22:05 |
| ← acharlieh left | 22:05 |
| ← wrouesnel left | 22:06 |
|
cbreak
| guy: what the hell are you talking about? | 22:06 |
|
| git stash has nothing to do with committed stuff | 22:06 |
|
| guy: man git-commit | 22:06 |
|
gitinfo
| guy: the git-commit manpage is available at http://jk.gs/git-commit.html | 22:06 |
|
cbreak
| look for --amend | 22:06 |
|
guy
| [1] I made changes to files [2] ran `git commit -a -m "foo"` [3] I need to get back to state [1] | 22:07 |
| → delinquentme joined | 22:07 |
| → siriuz joined | 22:07 |
|
cbreak
| then just git reset --soft (or --mixed) <sha> | 22:07 |
|
guy
| cbreak: I don't want to amend the message. I included the wrong (all) files in the message when I intended only one particular file. | 22:07 |
|
cbreak
| yeah? | 22:07 |
|
| so amend the commit | 22:07 |
| → taylorlapeyre joined | 22:08 |
| ← chuckharmston left | 22:08 |
| ← norjor left | 22:08 |
|
guy
| ok.. now. `git commit --amend` only allowed me to change the message. | 22:09 |
|
cbreak
| no | 22:09 |
|
| it amends the commit | 22:09 |
|
| not only the message | 22:09 |
| ← siriuz left | 22:10 |
|
cbreak
| it's like git commit apart from replacing the newest commit instead of making a new one on top of the newest commit | 22:10 |
|
| but if you don't like changing, do what I also recommended and just reset it away... | 22:10 |
|
| both will work. | 22:11 |
| → BSaboia joined | 22:11 |
|
guy
| right, so if instead of all the files that I commited, I want to use the last commit message but with just one file, I could to `git commit --amend ./whateverfile` ? | 22:11 |
|
cbreak
| no | 22:11 |
|
| you'd git reset HEAD~1 -- fileblah | 22:11 |
|
| and then commit that | 22:11 |
|
| that would commit fileblah from the previous commit | 22:12 |
|
| if you do it with --amend, that commit will replace the current one | 22:12 |
|
guy
| right. But thats not what I want. This way I would lose my changes. | 22:12 |
| ← kermit left | 22:12 |
|
cbreak
| no. | 22:12 |
|
| why do you think that? | 22:12 |
|
guy
| "23:12 cbreak: that would commit fileblah from the previous commit" | 22:12 |
|
cbreak
| yeah, and? | 22:12 |
|
| that's what you want | 22:12 |
|
| you want the changes from the previous commit to be there instead of the ones you committed by accident | 22:13 |
|
| it won't change the working dir files | 22:13 |
|
guy
| oh well, I didn't make that many changes to cry if I lose them. Lets try. | 22:13 |
| → chrisgeorge joined | 22:13 |
|
cbreak
| so it will not cause you to lose any changes | 22:13 |
| ← Artpicre left | 22:13 |
| ← BSaboia__ left | 22:13 |
| → kermit joined | 22:13 |
| ← Error404NotFound left | 22:13 |
|
guy
| Ok. I did "git reset --soft", then I look at the `git status`, but it doesn't show the files as modified? | 22:13 |
| ← R1KRDO left | 22:13 |
|
cbreak
| ... | 22:14 |
|
| did you ignore what I wrote? | 22:14 |
|
guy
| ... | 22:14 |
| ← pantsman left | 22:14 |
|
guy
| Clearly we are having communication issues. | 22:14 |
|
cbreak
| I gave you two options, and you only pick half of them | 22:14 |
|
| you can't just leave away half of a command and expect it to work | 22:14 |
|
| guy reads back the log | 22:14 |
|
guy
| oh. I missed <sha> | 22:14 |
| ← oakdog8 left | 22:15 |
|
cbreak
| you have to tell it to which commit to reset to | 22:15 |
|
guy
| and <sha> must literally be <sha> or can it be HEAD~1 (which I am guessing is one commit back) | 22:15 |
|
cbreak
| (in your case the previous one) | 22:15 |
|
| the latter | 22:15 |
|
guy
| what if the former commit wasn't pushed. How do I get its sha? | 22:16 |
|
| oh, nvd | 22:16 |
| ← macabre left | 22:16 |
|
cbreak
| pushing is unrelated. | 22:16 |
|
| git log, git reflog, ... | 22:16 |
|
| or just use HEAD~1 | 22:16 |
|
guy
| Well, sort of, because I am used to check sha from github.com | 22:16 |
|
| though, git log worked | 22:16 |
|
cbreak
| of course it does... | 22:16 |
| → siriuz joined | 22:17 |
|
guy
| https://gist.github.com/anonymous/6dbdc77c3c68580ee80a | 22:17 |
|
| now it says "changes to be commited" | 22:17 |
|
| I am guessing that means that the message is already assigned? | 22:17 |
| → shel3over joined | 22:18 |
|
cbreak
| no | 22:18 |
|
| the message is gone | 22:18 |
|
| the commit is gone | 22:18 |
|
| the changes are still staged for commit | 22:18 |
|
guy
| gotcha. Thanks for your help and patience. : ) | 22:18 |
|
cbreak
| (you can still get the message and commit from the reflog if you care...) | 22:18 |
|
osse
| -C HEAD@{1} | 22:19 |
|
| ooops. | 22:20 |
| → samuel02 joined | 22:20 |
| → hlysig joined | 22:20 |
|
hlysig
| Hi all. I have a branch on github and I wan´t to revert to a specific comment (move the head) and push. How can I do that? | 22:21 |
|
cbreak
| reset and push | 22:21 |
|
hlysig
| git reset commit id && git push ? | 22:22 |
|
cbreak
| reset --hard and push -f, yes | 22:22 |
|
| that will nuke away changes and history | 22:22 |
|
guy
| cbreak: wouldn't --soft work in his case? | 22:22 |
|
cbreak
| be sure this is really what you want | 22:22 |
|
hlysig
| ok | 22:22 |
| ← siriuz left | 22:22 |
|
cbreak
| it would, but it'd leave debries behind | 22:22 |
|
guy
| well, only if he created new files inbetween two commits (?) | 22:23 |
| → ibash joined | 22:23 |
| ← ibash left | 22:23 |
|
cbreak
| it'd leave the state in index and working dir | 22:23 |
| ← maxmanders left | 22:23 |
| → ibash joined | 22:23 |
|
ibash
| hi | 22:23 |
|
| I have a git repo on a filesystem on a remote server, I can push new branches, but whenever I try to push an update to a branch I get ! [remote rejected] adding_processes -> adding_processes (failed to lock) | 22:24 |
|
| I tried modifying the permissions of the whole repo to 775 but still no cigar | 22:24 |
|
cbreak
| is your filesystem broken? | 22:25 |
| ← samuel02 left | 22:25 |
|
ibash
| cbreak: I don't think so? I can ssh in and navigate around | 22:25 |
| → jyp joined | 22:25 |
|
cbreak
| what filesystem? | 22:25 |
|
| FAT16? | 22:25 |
|
ibash
| I'm unsure, it's on a mounted drive in a vm | 22:25 |
| ← taylorlapeyre left | 22:25 |
|
osse
| can there be some lockfile left behind? | 22:26 |
| ← etcetera left | 22:26 |
|
ibash
| osse: would I check that? | 22:26 |
|
| osse: how would I check that? | 22:26 |
|
osse
| ibash: honestly, I don't know. I was just a hunch. | 22:26 |
|
ibash
| cbreak: filesystem is gpfs | 22:27 |
|
cbreak
| never heard of that. | 22:27 |
| ← pandeiro left | 22:27 |
| → siriuz joined | 22:27 |
|
cbreak
| maybe it doesn't support file locking | 22:27 |
| ← beakman left | 22:27 |
|
ibash
| cbreak: would I still be able to push a new repo though? | 22:27 |
| ← guy left | 22:27 |
| ← jaseemabid left | 22:27 |
|
cbreak
| no idea. | 22:28 |
| ← oracal left | 22:28 |
| ← kevwil left | 22:28 |
| ← MrNibbles left | 22:28 |
|
osse
| it supports locking, that's for sure. | 22:28 |
|
cbreak
| well, it failed to lock :) | 22:29 |
| ← leeN left | 22:29 |
| ← rockets_ left | 22:30 |
| → zastern joined | 22:30 |
|
osse
| ibash: this is a long shot, but you mentioned a vm: do you actually mean hgfs? | 22:30 |
| ← rasto left | 22:30 |
|
ibash
| osse: I don't know, df -T says the type if gpfs | 22:31 |
|
osse
| Then it probably is | 22:32 |
| ← siriuz left | 22:32 |
| ← jyp left | 22:32 |
| → pppaul joined | 22:33 |
| → edgeuplink joined | 22:34 |
| → MrNibbles joined | 22:34 |
| → w09x joined | 22:34 |
| ← Milossh left | 22:35 |
| ← TeckniX left | 22:35 |
| ← exidl left | 22:35 |
|
ibash
| osse: …? | 22:36 |
| → siriuz joined | 22:36 |
|
osse
| My hunch was merely that you made a weird typo or something. If df -T says the FS is gpfs, then I won't argue with that. | 22:37 |
|
| But I don't know why you get that error | 22:37 |
|
ibash
| osse: ah, I thought you meant that it was probably hgfs :) | 22:37 |
| → etcetera joined | 22:38 |
|
osse
| Oh, hehe. | 22:38 |
|
| I'm not the overly confident type | 22:38 |
| ← hwrd|work left | 22:39 |
|
ibash
| weird was just able to push -- maybe I fixed it by accident | 22:40 |
| → Yakko joined | 22:40 |
| ← Davey left | 22:40 |
| ← eijk_ left | 22:41 |
| ← siriuz left | 22:42 |
| → hwrd|work joined | 22:42 |
| → rasto joined | 22:43 |
| ← Laurenceb_ left | 22:43 |
| → hiptobecubic joined | 22:44 |
|
hiptobecubic
| Why on earth do git bisect commands have to be issued from the root of the working tree? | 22:44 |
|
SamB
| hiptobecubic: good question | 22:45 |
| ← Yakko left | 22:45 |
|
hiptobecubic
| It feels so arbitrary | 22:45 |
| → Yakko joined | 22:45 |
|
hiptobecubic
| It gets in the way pretty constantly :( | 22:45 |
| ← AnimeCYC left | 22:46 |
|
SamB
| perhaps someone should make a patch to rectify this | 22:46 |
| → siriuz joined | 22:46 |
| ← edgeuplink left | 22:46 |
|
hiptobecubic
| Well is there a reason for it? | 22:46 |
|
SamB
| not that I've heard of | 22:47 |
| ← w09x left | 22:47 |
| ← etcetera left | 22:47 |
|
hiptobecubic
| I wonder why someone wrote that to begin with | 22:48 |
| → edgeuplink joined | 22:48 |
| ← b1rkh0ff left | 22:49 |
| → Esa_ joined | 22:49 |
| ← Saby left | 22:49 |
| ← siriuz left | 22:50 |
|
SamB
| well, it's a shell script ... | 22:50 |
| → kit joined | 22:51 |
|
SamB
| and someone would have to decide about the handling of path arguments (particularly, what they're relative to) | 22:52 |
| ← Esa|iPhone6 left | 22:52 |
|
Weezey
| how I do translate this command to 4.1.0 ? /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/acton/acton-systemvm-02062012.vhd.bz2 -h xenserver -s <optional-management-server-secret-key> -F | 22:53 |
| ← edgeuplink left | 22:53 |
| ← hwrd|work left | 22:53 |
|
SamB
| also there's the PWD for "run" | 22:53 |
|
Weezey
| wrong channel | 22:53 |
|
| my bad | 22:53 |
|
SamB
| hiptobecubic: all in all, it probably isn't too difficult to sort out, but enough work that I can see why someone might have punted long ago ... | 22:53 |
|
hiptobecubic
| git does a perfectly fine job of finding the root in every other case | 22:54 |
| ← BSaboia left | 22:54 |
|
SamB
| yeah, finding the root is surely not the hard part | 22:54 |
| ← Esa_ left | 22:54 |
| → frenchlaf joined | 22:55 |
| → mloskot joined | 22:56 |
| ← mloskot left | 22:56 |
| → siriuz joined | 22:56 |
| ← Kje10L left | 22:57 |
| → jyp joined | 22:58 |
|
hiptobecubic
| wow... git's history is ridiculous | 22:58 |
|
SamB
| hmm, it looks like the first thing to do is try adding SUBDIRECTORY_OK=Yes at the top and messing around | 22:58 |
| ← travisc__ left | 22:58 |
| → pastime joined | 22:58 |
|
SamB
| (obviously in a scratch copy of something) | 22:58 |
| → hwrd|work joined | 22:59 |
| → R1KRDO joined | 23:00 |
| → chamunks joined | 23:01 |
| ← hwrd|work left | 23:01 |
| ← ehsan left | 23:02 |
| ← anonymuse left | 23:02 |
| → Davey joined | 23:02 |
|
SamB
| hiptobecubic: what in particular do you find ridiculous? | 23:02 |
| ← garbagecollect-1 left | 23:02 |
| ← siriuz left | 23:02 |
| juvenal → juvenal_away | 23:02 |
| ← x82_nicole left | 23:03 |
|
hiptobecubic
| not ridiculous in a bad way. just thick | 23:03 |
| → robbyoconnor joined | 23:03 |
| → diegoviola joined | 23:03 |
| → etcetera joined | 23:05 |
| ← pppaul left | 23:05 |
| → siriuz joined | 23:06 |
| ← kmels__ left | 23:08 |
| juvenal_away → juvenal | 23:08 |
| → Tommy[D]_ joined | 23:09 |
|
hiptobecubic
| SamB, it shouldn't give that error unless rev-parse --show-cdup fails... it seems | 23:10 |
| → sgambino joined | 23:10 |
| ← siriuz left | 23:10 |
| ← frenchlaf left | 23:10 |
| ← shruggar left | 23:12 |
| → shruggar joined | 23:13 |
| → frenchlaf joined | 23:15 |
| → robottinosino joined | 23:16 |
| → benjings joined | 23:16 |
| ← scelis left | 23:16 |
| ← R1KRDO left | 23:17 |
| → hwrd|work joined | 23:17 |
| ← amcsi left | 23:17 |
| → trungqtran joined | 23:18 |
| → siriuz joined | 23:18 |
| ← benjings left | 23:18 |
| ← daniel_- left | 23:18 |
| → pur3forlyphe joined | 23:18 |
| → chuckharmston joined | 23:19 |
| ← guampa left | 23:20 |
| ← hlysig left | 23:20 |
| ← shruggar left | 23:20 |
| → khushildep joined | 23:21 |
|
SamB
| hiptobecubic: not when it fails, but when it gives output | 23:23 |
| juvenal → juvenal_away | 23:24 |
| ← danishkhan left | 23:24 |
|
SamB
| which would consist of the requisite number of repetitions of "../" to get to the root | 23:24 |
| ← chuckharmston left | 23:24 |
| → Noldorin joined | 23:24 |
| ← Chillance left | 23:25 |
|
hiptobecubic
| oh yes. I didn't notice the -z for some reason | 23:25 |
|
| i am pretty curious about this now | 23:26 |
| ← mitz_ left | 23:27 |
| ← siriuz left | 23:27 |
| → siriuz joined | 23:31 |
| ← jyp left | 23:31 |
| → marhaban joined | 23:33 |
| → danishkhan joined | 23:33 |
| ← danishkhan left | 23:35 |
| → Gentlecat joined | 23:35 |
| → thin joined | 23:36 |
| ← kit left | 23:37 |
| ← siriuz left | 23:37 |
| gitinfo set mode: +v | 23:38 |
|
thin
| Hi could someone help me figure something out with git in windows | 23:38 |
| → traviscj joined | 23:38 |
| ← spaceships left | 23:38 |
| → x82_nicole joined | 23:38 |
| ← Phoenixz left | 23:39 |
| ← robottinosino left | 23:39 |
| → griotspeak joined | 23:40 |
| → siriuz joined | 23:40 |
| → Phoenixz joined | 23:40 |
| ← Phoenixz left | 23:40 |
| → Phoenixz joined | 23:40 |
|
SamB
| hiptobecubic: any scripts which don't set $SUBDIRECTORY_OK to something likely assumes it's being run from the root, and thus doesn't yet have any logic for translating relative paths between PWD and the root of the working tree | 23:42 |
| ← ISF left | 23:42 |
|
SamB
| hmm, that didn't quite come out grammatical but it's clear enough | 23:43 |
| ← mossplix left | 23:43 |
|
hiptobecubic
| SamB, that was my assumption as well. I don't know all of the nooks and crannies where it will catch you though | 23:43 |
| ← danman left | 23:43 |
|
hiptobecubic
| It's interesting that this is all done in sh | 23:44 |
| ← marhaban left | 23:44 |
|
hiptobecubic
| I suppose it makes sense, I just didn't see it coming. | 23:44 |
| → danman joined | 23:44 |
| ← danman left | 23:46 |
| ← Noldorin left | 23:46 |
| juvenal_away → juvenal | 23:47 |
| ← siriuz left | 23:47 |
| → m0ltar joined | 23:47 |
| ← hobodave left | 23:48 |
| ← x82_nicole left | 23:48 |
| → ehsan joined | 23:48 |
| → rockets joined | 23:48 |
| ← traviscj left | 23:49 |
| → dogarrhea joined | 23:50 |
|
dogarrhea
| what does it mean when the hashes are the same for a particular file? | 23:50 |
|
| resin is complaining when i start a server | 23:51 |
| → danishkhan joined | 23:52 |
| → mitz_ joined | 23:52 |
| ← zastern left | 23:52 |
| → siriuz joined | 23:52 |
| → tekseven joined | 23:53 |
| ← ehsan left | 23:53 |
| ← tekseven left | 23:53 |
| ← rockets left | 23:53 |
| ← NiteRain left | 23:55 |
| ← siriuz left | 23:55 |
| ← etcetera left | 23:56 |
| ← rakl left | 23:56 |
| → spaceships joined | 23:56 |
| ← beneggett left | 23:57 |
| ← mitz_ left | 23:58 |
| → garbagecollectio joined | 23:59 |
| → jefferai joined | 23:59 |