| 2012-05-12 |
| → v0n joined | 00:01 |
|
Vinnie_win
| If the remote master has new commits, how do I bring my local master forward? | 00:03 |
|
| (and preserve my new local commits) | 00:03 |
| ← anth0ny_ left | 00:03 |
| ← madewokherd left | 00:03 |
| ← amalloy left | 00:03 |
| → madewokherd joined | 00:04 |
|
sayd
| git pull --rebase | 00:04 |
| → kukks joined | 00:04 |
|
Vinnie_win
| cool! Worked | 00:04 |
| → warthog9 joined | 00:04 |
|
Vinnie_win
| Absolutely amazing, not even a merge conflict | 00:04 |
|
sayd
| cool, im sure there are reasons not to do it that way | 00:04 |
|
| but i always forget why | 00:05 |
| → imMute joined | 00:05 |
| ← imMute left | 00:05 |
| → imMute joined | 00:05 |
| ← LazyTown left | 00:05 |
| ← tyatpi left | 00:05 |
| → jfischoff joined | 00:05 |
| → ehsan joined | 00:06 |
| ← txomon|nqas left | 00:06 |
| ← yitz_ left | 00:08 |
| → txomon|nqas joined | 00:08 |
| ← txomon|nqas left | 00:08 |
| → txomon|nqas joined | 00:08 |
|
sayd
| another way, if you just want all your changes in one big commit. you can make sure youre work is in a branch, checkout master, then git merge --squash branch | 00:08 |
|
diegoviola
| how do i send a pull request via git? without the github stuff | 00:09 |
| → williamcotton joined | 00:11 |
| ← Goplat left | 00:12 |
| ← shruggar left | 00:13 |
| → Zenith77|2 joined | 00:13 |
| → yhager joined | 00:14 |
| ← tharkun left | 00:14 |
| ← aselder left | 00:14 |
| → Destos joined | 00:15 |
| ← kenperkins left | 00:15 |
| ← macmartine left | 00:15 |
| ← tewecske left | 00:15 |
| ← yoklov left | 00:16 |
| ← Zenith77 left | 00:16 |
| → tharkun joined | 00:16 |
| → irqq joined | 00:16 |
| ← jaseemabid left | 00:17 |
| ← eletuchy left | 00:18 |
| ← tharkun left | 00:20 |
| ← yuriks left | 00:22 |
| → yuriks joined | 00:22 |
| ← jfischoff left | 00:22 |
|
yuriks
| diegoviola: send an email to the other guy? | 00:22 |
| → francisfish joined | 00:22 |
| ← fuzzybunny69y left | 00:23 |
|
diegoviola
| yuriks: will he have to add my repo as a remote? | 00:23 |
|
| in order to pull | 00:23 |
| → fuzzybunny69y joined | 00:23 |
| ← psoo left | 00:24 |
| ← ehsan left | 00:24 |
| ← thelazydeveloper left | 00:26 |
| → gavin_huang joined | 00:26 |
| → tharkun joined | 00:26 |
| ← maletor left | 00:26 |
| ← gerard0 left | 00:27 |
| → gerard0 joined | 00:27 |
|
yuriks
| you can pull directly from url, iirc | 00:27 |
|
| but it makes things a bit easier, I guess | 00:27 |
| ← irqq left | 00:28 |
|
diegoviola
| cool, thanks | 00:28 |
|
| if i can pull directly from a url that's even easier | 00:29 |
|
| ty | 00:29 |
| ← wilmoore left | 00:30 |
| ← soulcake_ left | 00:32 |
| ← JohnyBaby left | 00:32 |
| → Lord_DeathMatch joined | 00:36 |
| ← Xunie left | 00:36 |
| → `Assassin joined | 00:36 |
| → mritz joined | 00:37 |
| ← tharkun left | 00:37 |
| → HyperNerdV2 joined | 00:40 |
| → chihjen joined | 00:41 |
| → pdtpatrick joined | 00:41 |
| → tharkun joined | 00:43 |
| ← joaoh82 left | 00:43 |
| ← Araxia left | 00:47 |
| ← tharkun left | 00:49 |
| → Per4u3e joined | 00:51 |
| → QaDeS_ joined | 00:52 |
| → Evanlec joined | 00:52 |
| → tharkun joined | 00:53 |
| ← robotmay left | 00:53 |
| → cilly joined | 00:54 |
| ← QaDeS left | 00:55 |
| → soulcake_ joined | 00:56 |
| ← fuzzybunny69y left | 00:57 |
| ← soulcake_ left | 00:57 |
| → soulcake_ joined | 00:58 |
| ← soulcake_ left | 00:58 |
| → fuzzybunny69y joined | 00:58 |
| ← martinjlowm left | 00:58 |
| ← tbird72 left | 00:59 |
| → tmcmahon joined | 01:01 |
| ← fwg left | 01:01 |
| → carlosgaldino joined | 01:03 |
| → xiangfu joined | 01:04 |
|
mikepack
| Can someone define "upstream" and "downstream" concisely? | 01:04 |
| → elliottcable joined | 01:04 |
| ← fuzzybunny69y left | 01:05 |
| ← thearthur left | 01:06 |
| → krzkrzkrz joined | 01:06 |
|
CareBear\
| mikepack : it depends a bit on context | 01:06 |
|
mikepack
| CareBear\: Not a good start :) | 01:06 |
|
CareBear\
| mikepack : in general the terms are used to describe a repository you clone, and a repository which has been cloned from yours | 01:06 |
| → thiago joined | 01:06 |
|
CareBear\
| does that make sense? | 01:07 |
| ← ColKurtz left | 01:08 |
| ← krz left | 01:08 |
| krzkrzkrz → krz | 01:08 |
| ← tharkun left | 01:08 |
|
mikepack
| CareBear\: Not really :-/ | 01:08 |
| → tharkun joined | 01:08 |
|
mikepack
| CareBear\: I thought there was more coming... | 01:08 |
|
CareBear\
| let's talk specifics in stead | 01:09 |
|
| what do you have and why are you asking? :) | 01:09 |
|
mikepack
| maybe "concisely" is too much of a restriction | 01:09 |
| → chihjen_ joined | 01:09 |
|
sayd
| downstream == local; upstream == remote? | 01:09 |
|
CareBear\
| no | 01:09 |
|
| no good | 01:09 |
|
| mikepack : talk about your situation | 01:09 |
| ← chihjen left | 01:10 |
|
mikepack
| CareBear\: I have no specific situation. I also mostly understand the terms. My understanding is a newly cloned repo or newly created branch are "downstream" because changes made to it are created after the origin/master. | 01:11 |
|
CareBear\
| there are very few rules | 01:11 |
|
| which means that git allows you to mess up badly if you tell it to | 01:11 |
|
| this is a feature | 01:11 |
| thiago → thiago_LAX | 01:12 |
|
CareBear\
| because it allows to do awesome stuff once you can tell it to :) | 01:12 |
| ← pdtpatrick left | 01:12 |
|
mikepack
| CareBear\: You're being too elusive | 01:12 |
| → intripoon_ joined | 01:12 |
|
CareBear\
| you are being too unspecific :\ | 01:13 |
| → Vampire0_ joined | 01:13 |
| → Zenith77 joined | 01:13 |
|
mikepack
| This isn't specific? "Can someone define "upstream" and "downstream" concisely?" | 01:13 |
|
CareBear\
| no | 01:13 |
|
mikepack
| If not, what can make it more specific? | 01:13 |
|
CareBear\
| context | 01:13 |
|
mikepack
| Ok, what possible contexts are there? | 01:13 |
|
CareBear\
| lots | 01:13 |
|
mikepack
| So the terms differ based on context? | 01:14 |
|
CareBear\
| it depends on how anal you are about meanings | 01:14 |
|
mikepack
| Well, I'm more of less looking for a good "rule of thumb" | 01:14 |
|
CareBear\
| if you have a fuzzy matcher and can extrapolate then you can get a good feel for what is intended | 01:15 |
|
| sometimes the meaning of upstream is more specific than other times | 01:15 |
| ← avinashhm left | 01:15 |
| ← intripoon left | 01:15 |
| ← Zenith77|2 left | 01:16 |
|
CareBear\
| the second hit on google "git upstream" looks relevant too.. http://stackoverflow.com/questions/2739376/definition-of-downstream-and-upstream | 01:16 |
|
| oh right | 01:16 |
|
| GitHub uses "upstream" as a recommended standard name of a remote in their tutorials | 01:16 |
| ← Vampire0 left | 01:17 |
| → nrichards joined | 01:17 |
|
CareBear\
| so in the context of those github instructions it has a quite specific meaning | 01:17 |
|
mikepack
| That's what I do as well. If I fork, I call the primary repo "upstream" | 01:17 |
|
CareBear\
| "fork" is a bad word imo | 01:17 |
|
| in general I'm rather adverse to github | 01:17 |
|
mikepack
| Github calls it fork...that's why I used the term. | 01:18 |
|
CareBear\
| yes | 01:18 |
|
| fork is however not a git term | 01:18 |
|
| fork is rather a social term | 01:18 |
|
mikepack
| What's the purists analog? | 01:18 |
|
CareBear\
| it depends on what you do | 01:19 |
|
mikepack
| I'm actually never really "forked" a repo locally | 01:19 |
|
CareBear\
| there are several ways to do the analogous of github fork on the git commandline | 01:19 |
|
mikepack
| such as? | 01:19 |
|
CareBear\
| one way is simply git clone | 01:19 |
| ← Lgb left | 01:20 |
|
CareBear\
| that assumes you don't have any of the repository already | 01:20 |
|
| if you *do* have some of the repository already then you will instead add a remote, fetch commits from there, and do something with those commits. possibly first create a branch, then merge or rebase or cherry-pick commits in one or the other direction | 01:21 |
| ← ymasory left | 01:21 |
|
CareBear\
| this is what I do for my Linux kernel | 01:21 |
| ScottNYC → ScottNYC|away | 01:21 |
| ← sayd left | 01:21 |
|
CareBear\
| I have several different Linux kernel trees as remotes in my worktree | 01:21 |
|
| and I mix them together in order to get the kernel code I want to run | 01:21 |
|
imMute
| CareBear\: I like to clone from another local repo, but setup the new repo's origin to be the real origin | 01:22 |
| ← h0h0h0 left | 01:22 |
|
CareBear\
| imMute : no problem | 01:22 |
| → Lgb joined | 01:22 |
|
CareBear\
| imMute : cd /tmp && git clone /var/lib/git/anotherlocal.git && cd anotherlocal && git remote origin set-url ssh://another.org/therepo.git | 01:22 |
|
imMute
| yeah, that | 01:23 |
|
CareBear\
| or you can even edit .git/config manually | 01:23 |
| → elijah joined | 01:23 |
| → Ecesis joined | 01:24 |
| ← Ecesis left | 01:24 |
|
mikepack
| Ok, so if I clone a repo, I'm now downstream and origin is upstream. Does my clone always remain "downstream"? | 01:24 |
| ← tmcmahon left | 01:24 |
|
thiago_LAX
| mikepack: no | 01:25 |
|
| mikepack: there's no downstream or upstream, aside from social convention | 01:25 |
|
| mikepack: the repositories are equal as far as Git is concerned. The label is something you apply. As such, you can change at any time. | 01:25 |
|
CareBear\
| mikepack : git by default remembers where you cloned from but you can change that as you like at any time | 01:25 |
|
mikepack
| thiago_LAX: I understand it's a social convention. But if I were discussing the current status of something, I would likely need to be using either "upstream" or "downstream" | 01:26 |
|
CareBear\
| not neccessarily | 01:26 |
|
| but let's keep going here | 01:26 |
|
mikepack
| Let me ask this | 01:26 |
|
thiago_LAX
| mikepack: if you want to use it, you can. | 01:27 |
|
CareBear\
| yes! :) | 01:27 |
|
mikepack
| Given I'm "downstream" after a clone, when would I no longer be considered "downstream" | 01:27 |
| ← elijah left | 01:27 |
|
mikepack
| ? | 01:27 |
|
| :) | 01:27 |
|
CareBear\
| you aren't neccessarily downstream after a clone | 01:27 |
|
mikepack
| When do I become downstream? | 01:28 |
|
CareBear\
| again, clone is a git term, downstream is a social term | 01:28 |
|
mikepack
| FWIW, the stack overflow question you linked me to describes it as such :) | 01:28 |
|
| So, when I clone, I'm just "stream" | 01:28 |
|
| :) | 01:28 |
|
CareBear\
| when you clone you have a clone | 01:28 |
|
mikepack
| lol | 01:29 |
|
| TOOOO ELUSIVE! | 01:29 |
|
| :) | 01:29 |
|
CareBear\
| have you used other version control? | 01:29 |
|
mikepack
| svn | 01:29 |
|
CareBear\
| nod | 01:29 |
|
| do you know crypto? | 01:29 |
|
mikepack
| What I'm gathering is that there really is no good definition for the terms | 01:29 |
|
| Which is why I don't fully understand them | 01:29 |
|
| and the reason you're being elusive is because the terms themselves are elusive | 01:30 |
|
CareBear\
| "clone" is not at all elusive | 01:30 |
|
imMute
| mikepack: when you clone a repository, your clone is *exactly* the same as the original. one of them being "upstream" of the other is purely a management/social construct | 01:30 |
| → makeawish joined | 01:30 |
|
| imMute thinks English isn't mikepack's native language | 01:30 |
|
CareBear\
| mikepack : I'll add to what imMute just said that it's exactly the same content-wise | 01:30 |
|
mikepack
| Guys, I understand what a clone is, I use it quite frequently (given I did just learn about "forks") | 01:31 |
|
CareBear\
| mikepack : but settings can and will be different, including the URL of the origin remote, which is created when git creates a repository by clone as opposed to init | 01:31 |
|
mikepack
| I understand "clone" is a command while "upstream" and "downstream" are social terms | 01:31 |
|
imMute
| okay, lets put it this way. you've got 3 people, all working on the same project. guyA starts it and makes his git repo publicly available. guyB clones it and starts helping. guyA could be considered "upstream" of guyB. guyC then clones guyA's as well. guyC (and guyB) are downstream of guyA. | 01:33 |
|
mikepack
| imMute: That's my current understanding. | 01:33 |
|
imMute
| now, suppose guyA goes off to college and stops working on the project and guyB 'takes over' managing the project. guyC would then pull-from/push-to guyB and guyB would be "upstream" of guyC | 01:33 |
|
| OR | 01:34 |
|
| guyB clones from guyA and guyC clones from guyB. guyB is downstream of A but upstream of C (assuming C doesn't interact with A) | 01:34 |
|
| given that you can pull from and push to just about anywhere you damn well please, it really only makes sense to relate it to how code flows into a project | 01:35 |
| → Ecesis1 joined | 01:35 |
|
imMute
| for instance, Linus is upstream of *everybody* because it's generally accepted that his git.kernel.org repo is the Golden Master that everyone bases their work off of | 01:35 |
| → nOStahl joined | 01:36 |
|
mikepack
| imMute: Understood. | 01:36 |
|
imMute
| another way to think of it is projects that have dependancies (such as shared libraries). "upstream" would be projects that you base yours on, and "downstream" would be projects that use your library | 01:36 |
| ← Lord_DeathMatch left | 01:36 |
| ← Dave^| left | 01:37 |
|
mikepack
| imMute: Interesting, "downstream" and "upstream" can be used a means of describing dependencies, no? | 01:37 |
| ← tharkun left | 01:38 |
| → tharkun joined | 01:38 |
|
imMute
| sure. they're not concretely defined words | 01:38 |
| → Goplat joined | 01:38 |
|
mikepack
| If I branch off master, I'm not dependent on master and considered "downstream" of master | 01:38 |
| ← Ecesis1 left | 01:38 |
|
mikepack
| not dependent on master...not sure that's the best verbiage | 01:39 |
|
imMute
| if master is where "all the real work happens" then yes you'd probably be considered downstream of work happening on master | 01:39 |
|
| why are you dwelling so much on these two words anyway? | 01:39 |
|
mikepack
| imMute: Does it seem like I'm dwelling or just being inquisitive? :) | 01:39 |
|
imMute
| inquisitive would be "I've never heard these terms before, lets go look them up on wiktionary or google.", what you're doing borders on OCD. | 01:40 |
|
SethRobertson
| upstream/downstream are normally used in the context of repositories, not branches | 01:40 |
|
mikepack
| imMute: I must be considered always dwelling by my peers then :) | 01:40 |
|
thiago_LAX
| especially since we told you that it's a social convention. They mean what you want them to mean. | 01:40 |
|
| if you want them to change, they change. | 01:40 |
|
mikepack
| but it's a convention none-the-less, and conventions shouldn't just magically change | 01:41 |
|
CareBear\
| ? | 01:42 |
|
| conventions change every day | 01:42 |
|
imMute
| mikepack: move on with your life. seriously. | 01:42 |
| ← jstout24 left | 01:42 |
|
CareBear\
| +1 | 01:42 |
|
mikepack
| imMute: this is clearly not the place for intellectual questions, apparently... | 01:42 |
| → Ecesis joined | 01:43 |
|
imMute
| uh, this is #git not ##philosophy... | 01:43 |
| → josefig joined | 01:43 |
| ← josefig left | 01:43 |
| → josefig joined | 01:43 |
|
mikepack
| So I should only really pose dry, easy to answer questions with straightforward answers? | 01:43 |
|
| This conversation went south for no reason... | 01:44 |
| ← Ecesis left | 01:44 |
|
mikepack
| Good day gents, I appreciate you at least humoring me...honestly | 01:44 |
|
CareBear\
| mikepack : please ask about concrete problems, be it with understanding models, technical terminology, or actual commands not working | 01:45 |
|
mikepack
| CareBear\: my question doesn't fall into "technical terminology"? | 01:46 |
|
CareBear\
| mikepack : no, it doesn't | 01:46 |
|
| mikepack : again, upstream and downstream are not neccessarily technical terms, only in some contexts, and you did not really have a particular context in mind | 01:47 |
|
mikepack
| CareBear\: Why ask only concrete questions? Seriously, how boring is that? | 01:47 |
|
CareBear\
| it's a very efficient way to learn | 01:47 |
|
| it's also a very efficient way to teach | 01:48 |
| neersighted → neersighted|AFK | 01:48 |
| ← Chillance left | 01:48 |
|
mikepack
| Well, I guess I just prefer being inefficient. | 01:48 |
| ← notVert left | 01:49 |
| ← francisfish left | 01:49 |
| ← SegFaultAX left | 01:49 |
| infogulch → infogulch|afk | 01:50 |
| ← Macca- left | 01:51 |
| ← r126t left | 01:53 |
| ← hachque left | 01:53 |
| ← tharkun left | 01:54 |
| → luke-jr joined | 01:57 |
|
luke-jr
| is there a way to grep through all git's objects, even unreachable from refs? | 01:58 |
|
thiago_LAX
| not easily | 01:58 |
| ← chihjen_ left | 01:58 |
|
luke-jr
| how about list all objects? (then I can do a loop of git-show..) | 01:59 |
|
thiago_LAX
| git fsck, maybe | 01:59 |
| → tharkun joined | 01:59 |
| → iamjarvo joined | 02:00 |
| → apok_ joined | 02:02 |
| ← apok_ left | 02:02 |
| ← tharkun left | 02:03 |
|
yuriks
| can you just ls the object store? | 02:03 |
|
imMute
| except for packed objects. | 02:04 |
| → lonewulf` joined | 02:04 |
|
yuriks
| oh | 02:04 |
| ← apok left | 02:05 |
| ← alanp left | 02:06 |
| → rudrab joined | 02:08 |
| → alanp joined | 02:08 |
| → kenperkins joined | 02:09 |
| ← iamjarvo left | 02:09 |
| ← btanaka left | 02:09 |
| → hachque joined | 02:09 |
| → tharkun joined | 02:09 |
|
rudrab
| Dear friends, as svn can store all my different programs vc in one place , say repo | 02:10 |
|
| is there any such thing in git? or it creats different repo for different program? | 02:10 |
| ← kenperkins left | 02:11 |
|
imMute
| rudrab: it's entirely up to you. most people would prefer to have a separate repository for different projects | 02:12 |
| ← hwrdprkns left | 02:12 |
| ← p3rror left | 02:12 |
| → hwrdprkns joined | 02:12 |
| → Zenith77|2 joined | 02:13 |
|
rudrab
| imMute: actually as it is there in http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository I cannot figure out how to make a central repo | 02:14 |
|
imMute
| you make a git repository with 'git init' | 02:14 |
| ScottNYC|away → ScottNYC | 02:15 |
|
rudrab
| say, I want all my projects A,B,C etc git in a central dir | 02:15 |
|
| imMute, here it says " you need to go to the project’s directory and type $ git init " | 02:15 |
| ← ScottNYC left | 02:16 |
|
imMute
| 'git init' creates a git repository. there is no "central/master" repository like in svn | 02:16 |
|
rudrab
| so the git repo will be created in the same dir as my source dir. is it correct? | 02:16 |
| ← Zenith77 left | 02:16 |
|
rudrab
| or I may make the repo outside the sourcedir? | 02:17 |
|
imMute
| yes, similar to the .svn folders in svn (except there's only one at the root) | 02:17 |
|
| you might want to read http://git.or.cz/course/svn.html | 02:17 |
| ← gerard0 left | 02:18 |
| → igotnolegs joined | 02:18 |
| → davidbanham joined | 02:18 |
| ← osmosis left | 02:20 |
|
rudrab
| imMute, I found that the .git file is placed in the working directory itself. | 02:24 |
|
yuriks
| yes, that's the repo | 02:24 |
|
rudrab
| can you please let me know your strategy if you accidentally delete the source dir? | 02:25 |
|
CareBear\
| mikepack : I didn't say you are inefficient. I think it's more a question of what you want to learn. the upstream/downstream stuff that can be learned in #git should be the technical ones in order to reach success | 02:25 |
|
imMute
| rudrab: have it mirrored somewhere else | 02:25 |
|
| or keep it backed up like you should have your $HOME anyway | 02:25 |
|
rudrab
| imMute, may be i am not explaining correctly | 02:26 |
|
| I have a $HOME/ABC project | 02:26 |
|
| when i do a git init , the repo is created inside the $HOME/ABC , correct? | 02:27 |
|
imMute
| yes | 02:27 |
|
rudrab
| as $HOME/ABc/.git | 02:27 |
| → Macca- joined | 02:27 |
| → p3rror joined | 02:27 |
| ← Goplat left | 02:27 |
|
rudrab
| so you are advicing to "push" the mirror at some other place as well, right? | 02:28 |
|
imMute
| correct | 02:28 |
|
rudrab
| ok | 02:28 |
|
| I got it | 02:28 |
|
imMute
| if you really only need the project on that one machine, it's just a really simplified backup strategy | 02:29 |
|
rudrab
| that is "clone" in git i guess | 02:30 |
|
| ok | 02:30 |
| → BiggFREE joined | 02:30 |
|
imMute
| clone is more like pull than push | 02:31 |
| → TheShagg joined | 02:31 |
| gitinfo set mode: +v | 02:31 |
|
TheShagg
| *sigh* how does one make sense of a git rebase 3-way-diff | 02:31 |
| ← orafu left | 02:32 |
|
TheShagg
| actually, maybe I know my problem | 02:32 |
|
rudrab
| ok.... | 02:32 |
| → orafu joined | 02:32 |
|
TheShagg
| for some background, I went back in time, and split a commit into about 6 commits, and now trying to rebase the old head onto the head of my new commits | 02:33 |
|
| normally this works fine, but thats because I split off one extra commit, not 5 | 02:33 |
|
| i think its choking on the 5 | 02:33 |
|
| i need to cherry pick | 02:33 |
|
rudrab
| imMute, thanks for your clarification. | 02:33 |
|
SethRobertson
| TheShagg: The number of commits doesn't matter. You'd have to use the three argument version of rebase for your usage model | 02:34 |
|
| cherry-pick is fine too | 02:34 |
|
TheShagg
| cherry-pick vs rebase, in this case, is like a push vs pull sorta | 02:35 |
|
| ? | 02:35 |
| ← vervic left | 02:35 |
|
SethRobertson
| But honestly, your probably is probably that you reset to put yourself back in time instead of using `git rebase -i` (or you have merge/branches, in which case you are hosed) | 02:35 |
|
| No, the three argument version of rebase and cherry-pick are essentially implemented in terms of each other | 02:36 |
| ← berserkr left | 02:36 |
|
SethRobertson
| It doesn't matter which you use | 02:36 |
|
| ignoring merges of course | 02:36 |
| ← Eridius left | 02:36 |
| ← machty left | 02:37 |
|
TheShagg
| i am familiar with using rebase -i to squash/fixup, but can you use it to split a commit? | 02:37 |
| → vervic joined | 02:37 |
|
TheShagg
| what I have been doing is reset -> reset --mixed -> git add -p -> git add -p -> .... | 02:37 |
| → gerard0 joined | 02:39 |
| ← klj613 left | 02:40 |
| ← Destos left | 02:40 |
| → JohnyBaby joined | 02:40 |
| ← williamcotton left | 02:40 |
|
CareBear\
| you can combine rebase -i with reset && add -p | 02:41 |
| ← txomon|nqas left | 02:42 |
| → Chib joined | 02:42 |
| → txomon|nqas joined | 02:43 |
| ← txomon|nqas left | 02:43 |
| → txomon|nqas joined | 02:43 |
| ← Zyrkon_ left | 02:44 |
| ← rudrab left | 02:45 |
| → Zyrkon joined | 02:45 |
| → kenperkins joined | 02:45 |
|
TheShagg
| CareBear\: can you elaborate a touch | 02:46 |
| → iamjarvo joined | 02:47 |
| ← alvaro_o left | 02:47 |
| ← carlosgaldino left | 02:53 |
|
TheShagg
| SethRobertson: BOOM, 3 argument rebase seems to be the ticket | 02:53 |
| → carlosgaldino joined | 02:53 |
| ← _huoxito left | 02:53 |
|
SethRobertson
| Using it with -p is probably a best practice | 02:53 |
| → dcorbin joined | 02:54 |
|
SethRobertson
| TheShagg: See also !perfect for how to use rebase-i to split commits | 02:54 |
|
gitinfo
| TheShagg: [!postproduction] So, you want to make your commit history look pretty before pushing? http://sethrobertson.github.com/GitPostProduction talks you through how to use 'rebase -i' to do this. | 02:54 |
| → ScottNYC joined | 02:55 |
| ← kenperkins left | 02:55 |
| ← SkAzZ left | 02:56 |
| → Yuuhi` joined | 02:59 |
| ← Yuuhi left | 03:01 |
|
TheShagg
| SethRobertson: thanks, this looks tasty, hopefully I will read it sometime tonight | 03:01 |
| → _huoxito joined | 03:02 |
| ← ScottNYC left | 03:03 |
| ← davidbanham left | 03:03 |
| → benbergman joined | 03:03 |
|
benbergman
| hello all; i just started playing with hooks and i noticed that when i push to origin and then clone, my hooks are not cloned | 03:04 |
|
| is there a way to keep this synchronized? | 03:05 |
| → tiglog joined | 03:06 |
|
imMute
| benbergman: not automatically | 03:07 |
| → ScottNYC joined | 03:07 |
| → dr0id joined | 03:08 |
|
benbergman
| imMute: hmm... ok | 03:09 |
|
| seems to me it could be useful to optionally sync scripts (i can see a desire to not always sync them) | 03:09 |
|
| oh well, not a deal breaker | 03:09 |
|
imMute
| it's a security hole to have them automatically installed | 03:10 |
| ← v0n left | 03:10 |
| ← ben225 left | 03:11 |
|
benbergman
| fair enough | 03:12 |
| → quazimodo joined | 03:12 |
| → ben225 joined | 03:13 |
| → Zenith77 joined | 03:13 |
| ← dcorbin left | 03:13 |
| ← madewokherd left | 03:14 |
| thiago_LAX → thiago | 03:14 |
| ← txomon|nqas left | 03:15 |
| ← nOStahl left | 03:16 |
| ← thiago left | 03:16 |
| ← Zenith77|2 left | 03:17 |
| → txomon|nqas joined | 03:17 |
| ← txomon|nqas left | 03:17 |
| → txomon|nqas joined | 03:17 |
| ← tiglog left | 03:23 |
| ← hachque left | 03:24 |
| → ymasory joined | 03:26 |
| ← marhaban1 left | 03:26 |
| → s0ber joined | 03:28 |
| ← Orphis left | 03:32 |
| → Orphis joined | 03:32 |
| ← drizzd left | 03:33 |
| ← QaDeS_ left | 03:33 |
| → pdtpatrick joined | 03:33 |
| ← pdtpatrick left | 03:34 |
| ← edude03 left | 03:35 |
| → jfischoff joined | 03:36 |
|
quentusrex_
| is there a way to have git show changed files on a git pull? | 03:36 |
| → project2501a joined | 03:36 |
| ← joeytwiddle left | 03:37 |
| nb → i | 03:37 |
| ← leonardotartari left | 03:38 |
| → khmarbaise_ joined | 03:39 |
| → pdtpatrick joined | 03:39 |
| ← ScottNYC left | 03:39 |
|
quentusrex_
| I'm trying to configure my local git repo to show stats and a summary of changed files on a merge? | 03:40 |
|
| s/?/\./ | 03:40 |
| i → nb | 03:40 |
| ← BiggFREE left | 03:40 |
| ← khmarbaise left | 03:41 |
| khmarbaise_ → khmarbaise | 03:41 |
| ← pdtpatrick left | 03:42 |
|
quentusrex_
| Found it: git config --global merge.stat true | 03:42 |
| ← btree_ left | 03:42 |
| ← redShadow left | 03:42 |
| → btree_ joined | 03:43 |
| ← btree_ left | 03:43 |
| → btree_ joined | 03:43 |
| ← krz left | 03:44 |
| ← kukks left | 03:47 |
| → pdtpatrick joined | 03:47 |
| → SegFaultAX joined | 03:49 |
| → Vooloo joined | 03:50 |
|
Vooloo
| I cant add new code to my new repo: error: src refspec master does not match any. | 03:50 |
| ← TonkaTruck left | 03:50 |
| → joeytwiddle joined | 03:50 |
| ← pdtpatrick left | 03:50 |
| → munichlinux joined | 03:51 |
| → pdtpatrick joined | 03:51 |
| ← lonewulftp left | 03:52 |
| ← az left | 03:54 |
| ← SegFaultAX left | 03:55 |
| → az joined | 03:56 |
| ← fisted left | 03:58 |
| ← mikepack left | 03:58 |
| → mikepack joined | 03:59 |
| → angelsl joined | 04:01 |
| ← _huoxito left | 04:01 |
| → SegFaultAX joined | 04:01 |
| ← munichlinux left | 04:03 |
| ← mikepack left | 04:03 |
| ← dzonder left | 04:03 |
| → xsbeats joined | 04:04 |
| → dv310p3r joined | 04:05 |
| → pjn_oz joined | 04:08 |
| ← jpalmer left | 04:08 |
| ← JohnyBaby left | 04:08 |
| → jpalmer joined | 04:08 |
| → kukks joined | 04:09 |
| ← cilly left | 04:11 |
| → cilly joined | 04:13 |
| → Zenith77|2 joined | 04:13 |
| → Goplat joined | 04:13 |
| → davidbanham joined | 04:14 |
| ← Zenith77 left | 04:17 |
| ← unreal left | 04:17 |
| ← pjn_oz left | 04:17 |
| ← tharkun left | 04:21 |
| ← HyperNerdV2 left | 04:21 |
| → pjn_oz joined | 04:22 |
| → chihjen joined | 04:22 |
| → tharkun joined | 04:27 |
| ← Per4u3e left | 04:27 |
| → maleknet joined | 04:28 |
| → davidban_ joined | 04:30 |
| ← davidban_ left | 04:30 |
| ← davidbanham left | 04:31 |
| ← SeySayux left | 04:35 |
|
jameslord
| why git revert failed:( | 04:35 |
|
| http://iyanwu.com/pastebin/showthread.php?tid=52 | 04:36 |
| ← tharkun left | 04:37 |
| → tharkun joined | 04:37 |
| ← Goplat left | 04:38 |
| → jceb joined | 04:38 |
| ← PerlJam left | 04:39 |
|
sp3ctum
| jameslord, it says you have unmerged files. do they show up on git status? | 04:39 |
| → PerlJam joined | 04:40 |
| → fisted joined | 04:43 |
|
jameslord
| sp3ctum yes, there are huge number of conflictions, how to fix it? | 04:47 |
| ← brokenshakles left | 04:48 |
| ← kukks left | 04:49 |
| → brokenshakles joined | 04:50 |
| → SeySayux joined | 04:50 |
| ← tharkun left | 04:50 |
|
sp3ctum
| jameslord, do you know where they came from? if yes, you can fix them with e.g. git mergetool | 04:54 |
| → QF-MichaelK joined | 04:55 |
| → tharkun joined | 04:56 |
| ← QF-MichaelK left | 04:58 |
| ← EyesIsMine left | 04:59 |
| ← tharkun left | 04:59 |
| bryanmv`away → bryanmv | 05:06 |
| → wilmoore joined | 05:07 |
| ← hexa2k9 left | 05:07 |
| → hexa2k9 joined | 05:07 |
| → Prime1309 joined | 05:11 |
| ← mritz left | 05:12 |
| → Zenith77 joined | 05:13 |
| ← kadoban left | 05:14 |
| → tharkun_ joined | 05:16 |
| ← Zenith77|2 left | 05:17 |
|
jameslord
| sp3ctum it is imposibble to resolve such conflictions, since this merge is done between two branches from git svn | 05:20 |
| → macmartine joined | 05:20 |
| → teotwaki_ joined | 05:20 |
| → mrsrikanth joined | 05:22 |
| ← btree_ left | 05:26 |
| ← TheShagg left | 05:27 |
| ← ThunderChicken left | 05:30 |
| → ThunderChicken joined | 05:30 |
| ← rockband left | 05:33 |
| → xunie-laptop joined | 05:34 |
| → btree joined | 05:34 |
| ← OOPMan left | 05:34 |
| ← xunie-laptop left | 05:39 |
| → xunie-laptop joined | 05:39 |
|
xunie-laptop
| So, I have made 2 changes to one file and I'd like to commit one change but not the other. | 05:39 |
| → ScottNYC joined | 05:40 |
|
xunie-laptop
| When I stash, git automatically resets. Is stashing the way to go? | 05:40 |
| ← subbyyy left | 05:40 |
| ← txomon|nqas left | 05:40 |
|
jameslord
| how to cancel git merge, | 05:41 |
|
| git revert failed since conflict happened | 05:41 |
|
CareBear\
| xunie-laptop : no. use git add -p file | 05:42 |
| → txomon|nqas joined | 05:43 |
| ← txomon|nqas left | 05:43 |
| → txomon|nqas joined | 05:43 |
|
CareBear\
| jameslord : look at git reset, but be mindful that it will delete your work if you tell it to | 05:43 |
|
nibalizer
| xiangfu: i mean, it kinda worksm but really cp /tmp is awesome until you're a git pro | 05:43 |
|
| (i am not a git pro yet) | 05:44 |
| ← tharkun_ left | 05:49 |
| → tharkun_ joined | 05:49 |
| → michaelgamble joined | 05:50 |
|
michaelgamble
| heyo | 05:50 |
|
| lets say i have a repo with 25 checkins, how do i revert the repository back to the 20th checkin eliminating 21 - 25 (reverting) | 05:51 |
|
ivan
| man git-reset | 05:51 |
|
gitinfo
| the git-reset manpage is available at http://jk.gs/git-reset.html | 05:51 |
| ← mrsrikanth left | 05:51 |
|
ivan
| if you want a new commit that undoes 21-25, git-revert | 05:52 |
| → Sigma joined | 05:52 |
|
michaelgamble
| no i want to back track eliminating the commits from the history | 05:53 |
| ← txomon|nqas left | 05:54 |
|
xunie-laptop
| So, I'm an idiot for thinking I should add .o's to git, and thankfully I haven't uploaded my git repo. Any great ways to fix this? | 05:55 |
|
ivan
| http://sethrobertson.github.com/GitFixUm/fixup.html | 05:57 |
|
| might be more complicated if you added .o's in many commits | 05:57 |
|
xunie-laptop
| Thanks, you people are like so awesome. | 05:58 |
| ← xiangfu left | 05:59 |
|
michaelgamble
| man this stuff is confusing when your new to the terminology | 06:02 |
| ← stkrzysiak left | 06:02 |
| ← smw left | 06:05 |
| → smw joined | 06:05 |
| → gebbione joined | 06:09 |
| ← tharkun_ left | 06:10 |
| → tharkun_ joined | 06:10 |
| → solofight joined | 06:11 |
| ← macmartine left | 06:12 |
| → Zenith77|2 joined | 06:13 |
| ← solofight left | 06:14 |
| ← Zenith77 left | 06:17 |
| → OOPMan joined | 06:17 |
| → giallu joined | 06:19 |
| ← neurodrone left | 06:21 |
|
michaelgamble
| ok got another question | 06:23 |
| ← angelsl left | 06:23 |
|
bob2
| michaelgamble, did you push your branch anywhere? | 06:23 |
| ← xunie-laptop left | 06:23 |
|
michaelgamble
| yeah i got my master reset to the revision number | 06:23 |
|
| sh thingy | 06:24 |
|
bob2
| if oyu pushed, reset is of no use | 06:24 |
|
jameslord
| git stash failed, why? | 06:24 |
|
| http://iyanwu.com/pastebin/showthread.php?tid=53 | 06:24 |
|
michaelgamble
| i did a git push --force | 06:24 |
|
| now i look at the history and its where i want it to be | 06:24 |
|
bob2
| jameslord, why are you in the middle of a merge | 06:24 |
| → Araxia joined | 06:24 |
|
jameslord
| bob2 i want to cancel that erroneous merge:( | 06:25 |
|
michaelgamble
| ok so new question.. have repoA all the old history of the past 3 years of a project, and repoB is every checkin from where repoA ends and forward | 06:25 |
|
| how do i merge repoB into repoA so that i have one repo with all history to date | 06:25 |
|
bob2
| jameslord, 'git checkout -f' iirc, throws away all local changes | 06:26 |
|
| michaelgamble, depends | 06:26 |
|
| a) don't do silly things like that in the future | 06:26 |
|
| b) do you want a hacky splice, or do you want to rebase the B branch on top of A's branch? | 06:26 |
|
michaelgamble
| a) migrating svn repos that have history prior to trunk branch structure and then part way through switched to a trunk branch structure | 06:27 |
|
| b) I'm not sure which i want | 06:28 |
|
| A is nothing but trunk | 06:28 |
|
bob2
| not sure what a means or why it matters | 06:28 |
|
michaelgamble
| B is trunk with a new branch | 06:28 |
|
bob2
| well, think about whether you want to invalidate all existing branches based on B or not | 06:28 |
| → nowhere_man joined | 06:29 |
|
jameslord
| bob2 git checkout -f not works:( | 06:29 |
|
bob2
| jameslord, it's useless to say that on irc, you need to bpaste.net what you ran and what the output was | 06:29 |
|
michaelgamble
| i want to end up with B's master and branch | 06:29 |
|
bob2
| I'd suggest rebasing all of B | 06:29 |
|
michaelgamble
| but with A's master back history merged into the B's master | 06:29 |
|
bob2
| since that leads to sanity in the future | 06:29 |
| ← Vooloo left | 06:30 |
| ← MestreLion left | 06:30 |
|
michaelgamble
| hmm | 06:30 |
|
bob2
| it just replays every commit from B/whocares on top of A/whatever | 06:31 |
|
michaelgamble
| hmm | 06:32 |
|
| i guess i don't understand why i can't just plunk B into A | 06:32 |
|
bob2
| sure you do | 06:32 |
|
| because every commit's ID is a hash, and part of the hashed data is the ID of the previous commit | 06:33 |
|
| so obviously you can't just append B onto A, since it means changing the id of /every single past commit/ | 06:33 |
|
michaelgamble
| damn | 06:33 |
|
bob2
| rebasing means making new commits, that just happen to have identical content to the ones in B | 06:34 |
|
| except the descend from commit(s) in A | 06:34 |
|
michaelgamble
| know where i might find a walkthrough on doing that? | 06:35 |
|
bob2
| no | 06:35 |
|
michaelgamble
| got a git command i can look up? | 06:35 |
|
bob2
| rebase | 06:35 |
|
michaelgamble
| so just to be clear, I'm rebasing B's repo with A's content? | 06:35 |
|
bob2
| no | 06:36 |
| → Dave^| joined | 06:36 |
|
bob2
| you're rebasing B/whocares on top of A/whatever | 06:36 |
|
| you need to be more careful about "branches" vs "repositories" - repositories are red herring here | 06:36 |
| → _sundar_ joined | 06:37 |
| → leavittx joined | 06:37 |
| → jceb_ joined | 06:38 |
| → angelsl joined | 06:40 |
| ← jceb left | 06:41 |
|
michaelgamble
| my problem started with not having a good way to migrate old svn repos over to git if they had a history that preceded a trunk branch structure | 06:41 |
| ← ben225 left | 06:42 |
|
bob2
| suspect you could have done it, but that does sound terrible | 06:43 |
|
| svn encourages people to fuck up | 06:43 |
|
michaelgamble
| yeah lol now I'm left cleaning it up | 06:43 |
|
bob2
| since it's just a versioned file system, branches and tags are just policy | 06:43 |
| ← jceb_ left | 06:43 |
| → n2diy joined | 06:43 |
|
michaelgamble
| i may just say too bad on the history prior to the proper structure | 06:43 |
|
bob2
| well, you can do the above | 06:43 |
|
| it's one command to fix it in git | 06:43 |
|
michaelgamble
| to be honest i wish i could just hire someone to do it :) | 06:44 |
| → fukushima joined | 06:45 |
|
michaelgamble
| the other problem I'm having is my git server is only doing pull and push's at 1mb/s on a gigabit lan | 06:45 |
|
jameslord
| git checkout -f , but there is still lots of files unmerged, why? | 06:46 |
|
| http://iyanwu.com/pastebin/showthread.php?tid=54 | 06:46 |
|
bob2
| why on earth are you using a git server for this | 06:46 |
|
| you do all this locally | 06:46 |
|
michaelgamble
| you talking to me or james? | 06:47 |
|
bob2
| michaelgamble, you | 06:47 |
|
jameslord
| bob2 yes, i do all this locally:) | 06:47 |
| → robotmay joined | 06:48 |
| ← anildigital_ left | 06:48 |
|
michaelgamble
| software development company with 10 developers working out of svn repos, sometimes from home | 06:48 |
|
| want to switch the office over to git | 06:48 |
| ← Araxia left | 06:48 |
| → anildigital joined | 06:48 |
| ← anildigital left | 06:48 |
| → anildigital joined | 06:48 |
| ← madduck left | 06:48 |
| → Araxia joined | 06:49 |
|
michaelgamble
| not certain if i really need the back history migrated, but id rather not have to maintain our crappy svn server anymore | 06:49 |
|
bob2
| I'm lost | 06:49 |
|
| anyway | 06:49 |
|
| clone A | 06:50 |
|
| fetch the branches from B into A | 06:50 |
|
| rebase all the branches you care about in B on top of A | 06:50 |
|
| done | 06:50 |
|
| only the clone and fetch involve a network at all | 06:50 |
| → ThomasLocke joined | 06:50 |
|
michaelgamble
| oh yeah sorry | 06:51 |
|
| i got more reading to do :) | 06:52 |
|
| git is proving to be quiet difficult to wrap my head around | 06:52 |
| ← Slix` left | 06:52 |
| ← brokenshakles left | 06:53 |
| ← tharkun_ left | 06:53 |
|
michaelgamble
| doesn't help that its 3 in the morning | 06:53 |
| → tharkun_ joined | 06:53 |
| ← ScottNYC left | 06:54 |
|
michaelgamble
| hey do these instructions seem correct to you? | 06:54 |
|
| http://stackoverflow.com/questions/2428137/how-to-rebase-one-git-repository-onto-another-one | 06:54 |
|
bob2
| remember that the difference between 'repository' and 'branch' is critical | 06:55 |
| ← Textmode left | 06:55 |
|
bob2
| but yes, that first answer is the gist of what you want | 06:55 |
|
michaelgamble
| i think I'm clear on it | 06:55 |
|
| I'm thinking i need to follow the instructions of "A and B are not the same repo" | 06:56 |
|
| because i don't think my SHA1 would be common? | 06:56 |
|
bob2
| nothing to do with that | 06:56 |
|
michaelgamble
| oh ok ill try the first instructions :) | 06:56 |
|
bob2
| the important thing to realise is that the repository crap is unrelated, except insomuch as you need everything in one repo to rebase | 06:56 |
|
| so it's a huge red herring, and you just need to use 'git remote add' and 'git fetch' before starting the actual work | 06:57 |
| → HyperNerdV2 joined | 06:58 |
| → brokenshakles joined | 06:58 |
| → project2501b joined | 06:59 |
| ← tharkun_ left | 06:59 |
| ← igotnolegs left | 06:59 |
| ← jfischoff left | 07:01 |
| → madduck joined | 07:02 |
| ← khmarbaise left | 07:03 |
| → tharkun_ joined | 07:04 |
| ← cilly left | 07:05 |
| → fanno joined | 07:06 |
| → cilly joined | 07:07 |
| ← Radium left | 07:08 |
| ← tharkun_ left | 07:08 |
| ← gavin_huang left | 07:11 |
| → Radium joined | 07:12 |
| ← cilly left | 07:12 |
| → Zenith77 joined | 07:14 |
| → thelazydeveloper joined | 07:14 |
| → mcluskydodallas joined | 07:14 |
| → tharkun_ joined | 07:14 |
| ← pjn_oz left | 07:17 |
| ← Zenith77|2 left | 07:17 |
| ← Lgb left | 07:20 |
| → kvda joined | 07:20 |
| ← Zenith77 left | 07:20 |
|
kvda
| Is there any reason why my .gitmodules submodule url is getting ignored? | 07:21 |
| → Lgb joined | 07:22 |
|
kvda
| ie git submodule update --init . fails as the url is pointing to git instead of https on github | 07:22 |
| → ToBeFree joined | 07:23 |
| → whitman joined | 07:23 |
| ← michaelgamble left | 07:23 |
|
kvda
| ah you have to use 'git module sync' | 07:26 |
| ← HyperNerdV2 left | 07:27 |
| ← joeytwiddle left | 07:27 |
| → Jackneill joined | 07:28 |
| ← Jackneill left | 07:28 |
| → Jackneill joined | 07:28 |
| ← hwrdprkns left | 07:31 |
| ← mcluskydodallas left | 07:35 |
| → francisfish joined | 07:37 |
| ← tharkun_ left | 07:37 |
| → tharkun_ joined | 07:37 |
| → HyperNerdV2 joined | 07:39 |
| → w09x joined | 07:39 |
| → matzbitz joined | 07:40 |
| ← matzbitz left | 07:40 |
| ← tharkun_ left | 07:42 |
| ← kvda left | 07:44 |
| ← Karmaon left | 07:44 |
| → tharkun_ joined | 07:48 |
| → fanno1 joined | 07:48 |
| ← fanno left | 07:51 |
| → joeytwiddle joined | 07:51 |
| ← josefig left | 07:52 |
| → josefig joined | 07:53 |
| → ill1cit joined | 07:53 |
| ← josefig left | 07:53 |
| → josefig joined | 07:53 |
| → blacktulip joined | 07:53 |
| → d0k joined | 07:54 |
| ← Silowyi left | 07:55 |
| → arvind_khadri joined | 07:57 |
| → gavin_huang joined | 07:58 |
| ← robotmay left | 07:59 |
| ← quazimodo left | 08:00 |
| ← wilmoore left | 08:00 |
| → sq-one joined | 08:01 |
| ← tharkun_ left | 08:01 |
| ← wbednarski left | 08:02 |
| → mishok13 joined | 08:03 |
| → tqmz joined | 08:03 |
| → gasbakid__ joined | 08:05 |
| ← gasbakid left | 08:06 |
| → tharkun_ joined | 08:07 |
| → rchavik joined | 08:08 |
| → sshres15 joined | 08:08 |
| ← rchavik left | 08:08 |
| → rchavik joined | 08:08 |
| → _md joined | 08:09 |
| → stkrzysiak joined | 08:10 |
|
jameslord
| hi | 08:10 |
| ← _md left | 08:11 |
| → robbyoconnor joined | 08:13 |
| → __CA__ joined | 08:14 |
| → r0bby_ joined | 08:14 |
| ← robbyoconnor left | 08:18 |
| → eijk joined | 08:20 |
| → martinjlowm joined | 08:21 |
| ← gasbakid__ left | 08:21 |
| → gasbakid joined | 08:21 |
| ← p3rror left | 08:23 |
| → kmels joined | 08:23 |
| ← ThunderChicken left | 08:23 |
| → ThunderChicken joined | 08:24 |
| ← ThunderChicken left | 08:24 |
| → ThunderChicken joined | 08:24 |
| ← tharkun_ left | 08:24 |
| → tharkun_ joined | 08:24 |
| ← Vile left | 08:24 |
|
kmels
| hello, I'm trying to serve a new git repo, I've one "initial commit" but when I do `git clone` I get a warning: cloned an empty repository. Is there a step I'm missing? | 08:24 |
| → demi` joined | 08:25 |
|
muep
| did you expect the repo you cloned to not be empty? | 08:25 |
| ← diegoviola left | 08:26 |
|
kmels
| yes. | 08:28 |
| ← blacktulip left | 08:28 |
|
kmels
| I expected it to have the files i had added | 08:28 |
|
muep
| I guess you did not push the commits where you added the files | 08:29 |
|
| git commit will only modify the local repository | 08:29 |
| ← Cros79 left | 08:29 |
| ← sq-one left | 08:29 |
|
kmels
| where should I push them? I'd like to pull from there | 08:30 |
| → kpreid joined | 08:30 |
| r0bby_ → robbyoconnor | 08:30 |
| ← giallu left | 08:30 |
|
muep
| kmels: you should have pushed (or directly created) some commits into the repo you cloned from | 08:32 |
| ← tharkun_ left | 08:32 |
|
muep
| kmels: or did you just add, but not commit some files? | 08:32 |
| ← robbyoconnor left | 08:32 |
|
kmels
| muep, it is a new repo, I'm trying to serve from it | 08:32 |
| → robbyoconnor joined | 08:33 |
|
kmels
| i.e. git init , add some files, git add *, git commit -a -m "initial commit". Then, tried to clone it, but.. I get it empty | 08:33 |
| ← eijk left | 08:33 |
| ← stkrzysiak left | 08:34 |
| → j416 joined | 08:34 |
| → resmo joined | 08:35 |
| ← chihjen left | 08:35 |
| ← __CA__ left | 08:35 |
| → superdmp joined | 08:36 |
|
muep
| kmels: how did you clone it? | 08:36 |
| → __CA__ joined | 08:36 |
|
kmels
| I didn't clone it :) I did a new dir and initialized a new repository with "git init" | 08:36 |
| → tharkun_ joined | 08:38 |
|
muep
| kmels: I mean, how did you "...tried to clone it, but.. I get it empty" | 08:38 |
|
kmels
| muep, ah, sorry! I did `git clone <url>` | 08:39 |
| ← arvind_khadri left | 08:39 |
|
kmels
| it might be something with the apache setup, i'm re checking | 08:39 |
| → arvind_khadri joined | 08:41 |
| ← __CA__ left | 08:41 |
|
jameslord
| hi all | 08:42 |
|
| how to commit to svn using git svn? | 08:42 |
|
| what is the command to do this? | 08:42 |
| → cesc joined | 08:43 |
| ← osX64 left | 08:44 |
|
muep
| jameslord: dcommit | 08:44 |
| ← josefig left | 08:44 |
|
mastro
| jameslord, http://bit.ly/JIl32U | 08:44 |
|
jameslord
| muep git svn dcommit, right? | 08:44 |
|
muep
| jameslord: I guess yes, but I do not remember exactly because it has been a while since I last used git-svn to work on something | 08:45 |
| ← ill1cit left | 08:46 |
| → sirdancealot2 joined | 08:46 |
|
jameslord
| muep should i git commit first before i use git svn dcommit? | 08:48 |
| → Lord_DeathMatch joined | 08:48 |
| ← iheffner left | 08:48 |
|
muep
| jameslord: afaik yes | 08:49 |
| ← mishok13 left | 08:50 |
| → Evanescence joined | 08:52 |
| ← kcj left | 08:53 |
| → kcj joined | 08:54 |
|
Evanescence
| how to "only" add and commit deleted files changes ? here is a screenshot of my git repo status: http://ompldr.org/vZHBxbw . use git add file... one by one is very slow. I want to know is there some tricks ? | 08:54 |
| ← tharkun_ left | 08:54 |
|
Evanescence
| And I can't now use Zsh to complete those deleted files. | 08:54 |
| → tharkun_ joined | 08:54 |
| → _md joined | 08:55 |
| → resmo__ joined | 08:55 |
| → bulletmark joined | 08:57 |
| ← Mowsh left | 08:57 |
| ← resmo left | 08:58 |
| → osX64 joined | 08:58 |
|
wizbit
| how can i revert back a file to a previous version? | 08:59 |
|
| i cannot see any commands like git revert | 08:59 |
| → ph^ joined | 09:00 |
| → MestreLion joined | 09:00 |
|
raek
| wizbit: that depends on what you mean by revert? do you want to undo a commit or reset some files to the state of another commit? | 09:00 |
|
wizbit
| from git log | 09:00 |
|
| i can see: commit c708f602d etc do i use those numbers to revert back | 09:00 |
|
MestreLion
| I'm getting the following error when trying git push --mirror upstream: error: unable to push to unqualified destination: HEAD | 09:00 |
|
| The destination refspec neither matches an existing ref on the remote nor... etc etc | 09:01 |
|
wizbit
| raek: i would like to be able to go back in time, commit by commit until i finish at the original file | 09:01 |
|
raek
| wizbit: a single file or all files? | 09:01 |
|
wizbit
| single | 09:01 |
|
MestreLion
| ordinary pushes work fine. I've used push --mirror before on other remotes. Any idea what might be going on? | 09:01 |
|
raek
| wizbit: use "git checkout <commit> -- <filepath>" | 09:01 |
|
wizbit
| ohh checkout | 09:02 |
|
raek
| generally you use checkout or reset for these activities. it's not always very intuitive which one to use | 09:02 |
|
wizbit
| <commit> = 951a52343243243 blah ? | 09:02 |
|
raek
| exactly | 09:02 |
|
wizbit
| the special code | 09:02 |
|
| ok | 09:02 |
|
| excellent | 09:03 |
|
| wizbit tets | 09:03 |
|
j416
| the special code.. is a hash. | 09:03 |
|
raek
| wizbit: this is explains this pretty well: http://git-scm.com/2011/07/11/reset.html | 09:03 |
| → simplechat joined | 09:03 |
| ← simplechat left | 09:03 |
| → simplechat joined | 09:03 |
| → josefig joined | 09:03 |
| ← josefig left | 09:03 |
| → josefig joined | 09:03 |
|
j416
| the git main website has been updated I realised the other day | 09:04 |
|
| very nice! | 09:04 |
|
| good job whoever made it! :) | 09:04 |
| ← Evanescence left | 09:04 |
|
wizbit
| IT WORKS!!!! | 09:04 |
|
raek
| Evanescence: one way is to add the directory that contains the files: "git add .weechat/python" | 09:04 |
|
| oh, he left | 09:05 |
|
wizbit
| there are 2 more basic things i need to learn then ill read the whole docs | 09:05 |
|
| reset _all_ files back to a previous state | 09:06 |
|
| and creating a new branch, ie v2 of the whole project | 09:06 |
|
raek
| wizbit: as you probably have noticed there is acutally a "git revert" command, but it does not do the same thing as "svn revert" | 09:06 |
|
wizbit
| git branch shows me the version im on | 09:06 |
|
| oh | 09:06 |
|
raek
| (it makes a new commit that undoes the diff of a previous commit) | 09:07 |
|
wizbit
| right o | 09:07 |
|
| k | 09:07 |
|
| git is powerful | 09:07 |
|
raek
| indeed! | 09:07 |
| ← josefig left | 09:08 |
|
raek
| so, to wipe the state of the working tree | 09:08 |
| → josefig joined | 09:08 |
| ← superdmp left | 09:09 |
|
raek
| you can use "git reset --hard HEAD" to throw away any changes and end up in the state after the last commit | 09:09 |
|
wizbit
| interesting | 09:09 |
|
| so that effects all files | 09:09 |
|
raek
| if you have a clean working tree, you can set it to another commit by using "git checkout <commit>" | 09:10 |
|
| yes | 09:10 |
|
| note that checkout and reset behaves slightly different when given a file path | 09:10 |
|
| wizbit tests | 09:10 |
|
raek
| if you do "git reset --hard <commit>" you also "checkout" that commit, but in addition you also set the head of the current branch you are on | 09:11 |
|
| so be careful with that one | 09:12 |
|
wizbit
| k | 09:12 |
|
j416
| wizbit: one rule to remember: anything that is _not_ committed, can be lost if you are not careful. If you have it committed, it can in most cases be recovered. | 09:13 |
| ← w09x left | 09:13 |
|
| wizbit commits himself to a mental hospital | 09:13 |
|
wizbit
| ok, so imagine i want to create project-v2.0 | 09:14 |
| ← tharkun_ left | 09:14 |
| → tharkun_ joined | 09:14 |
|
j416
| wizbit: (meaning, of course committed files are stored, but if you screw things up (maybe you lost a commit one way or the other), commits are usually not hard to get back. Plain files are.) | 09:14 |
|
raek
| wizbit: creating a new branch is super easy: do either "git branch <name> <commit>" or "git checkout -b <name> <commit>" | 09:14 |
|
wizbit
| is that all? | 09:14 |
|
| jeeeze | 09:14 |
|
| and a new branch will be stored in the same head repo | 09:15 |
|
| *hub | 09:15 |
|
raek
| the first one just creates a new branch. in the second one you check it out too. | 09:15 |
|
j416
| what's a hub repo | 09:15 |
|
raek
| wizbit: branches are just labels for "the special codes" | 09:15 |
|
mac-
| hey | 09:15 |
| ← simplechat left | 09:15 |
|
mac-
| I wish to use --since 6 days 1 hour 10 minues | 09:16 |
|
wizbit
| raek: so when mythtv moved from .24 to .25 they did a: git branch 0.25 23857237585325 | 09:16 |
|
mac-
| and it works when I provied 6days1hour | 09:16 |
|
| but not in case: 6days1hour10minutes | 09:16 |
| gitinfo set mode: +v | 09:16 |
|
j416
| wizbit: you want to read the docs and understand git from the ground up. You'll be happy you did. | 09:16 |
|
fanno1
| any sugestion's on how to structure a repo i know if is different that svn, but i cant get my mind around doing it the "best" way i am thinking /master/..... (active development) then when we create a new release we make a new branch ? eg /1.8.x/.... (only maintenance) i know this is the aprotch we would use in svn (or atleast it is the one we use) what is the best aprotch.. | 09:16 |
|
wizbit
| j416: ok i will do | 09:17 |
|
j416
| wizbit: versions are usually tagged, using 'git tag' | 09:17 |
|
raek
| wizbit: sure. but this highly depends on the workflow | 09:17 |
|
wizbit
| git clone -b fixes/0.25 git://github.com/MythTV/mythtv.git | 09:17 |
|
| fixes is like a folder for the branches | 09:17 |
|
raek
| it's common to create a tag when you release a new version | 09:17 |
|
wizbit
| oh | 09:18 |
|
j416
| wizbit: you've got the terminology mixed up :) read the docs. | 09:18 |
|
wizbit
| ok i will | 09:18 |
|
fanno1
| raek: was that for me ? | 09:18 |
|
raek
| (tags are like commits, only that they should always point to the same commit and not "move around" like branch heads) | 09:18 |
|
fanno1
| raek: (with tags) | 09:18 |
|
j416
| sorry for telling you to read the docs but really, you _will_ be glad you did :) it will be very logical and easy to understand most things once you grok the basic concept. | 09:18 |
|
| @ wizbit | 09:19 |
|
fanno1
| ok | 09:19 |
|
raek
| fanno1: heh, no. but I guess my answer applies to you question as well :-) | 09:19 |
|
wizbit
| j416: the website docs are nice to read | 09:19 |
|
j416
| wizbit: so don't skip the introduction and info on git internals, it is very useful information. | 09:19 |
| ← camdenx left | 09:19 |
|
jameslord
| ls | 09:19 |
|
j416
| good good | 09:19 |
|
wizbit
| git has a nice clean looking site, i wonder if that is a cms | 09:19 |
| → xiangfu joined | 09:19 |
| → camdenx joined | 09:19 |
|
raek
| wizbit: for me everything got easier to understand after I learned how git works internally | 09:20 |
|
fanno1
| raek: but how do you keep track of making stable builds of changes ? made to a "old" tag ? | 09:20 |
|
raek
| this explains it well: http://git-scm.com/book/en/Git-Internals | 09:20 |
|
wizbit
| would it make logical sense for a git repo to compress data? | 09:20 |
|
raek
| wizbit: they do | 09:21 |
|
wizbit
| to save space when lots of changes & bins are used | 09:21 |
|
| ohhhhh | 09:21 |
|
| lol | 09:21 |
| → Shusshu joined | 09:23 |
|
fanno1
| raek: how do i seperate development/working stuff when working in same branch ? or should we branch development ? | 09:23 |
| ← xiangfu left | 09:24 |
| ← camdenx left | 09:24 |
| ← iamjarvo left | 09:24 |
|
fanno1
| raek: i am having hard time wraping my head around how to use git propearly when it comes to "structure the repo" | 09:24 |
| ← josefig left | 09:25 |
|
fanno1
| raek: today we have stable build in the root http://code.google.com/p/jfusion/source/browse/#svn%2Fbranches then in sub folders we have each version where atm 1.8.x is dev and 1.7.x is stable ? | 09:25 |
| → josefig joined | 09:26 |
| ← josefig left | 09:26 |
|
j416
| fanno1: you would probably be interested in reading this http://nvie.com/posts/a-successful-git-branching-model/ | 09:27 |
| → EyesIsMine joined | 09:28 |
| → khmarbaise joined | 09:30 |
| ← rchavik left | 09:31 |
| ← HyperNerdV2 left | 09:32 |
| ← j416 left | 09:32 |
| → harshpb joined | 09:33 |
|
fanno1
| that was a good link =) he left tho before i could say thanks =) | 09:33 |
|
raek
| fanno1: the repo is just a graph of commits. you use as many branches as you need to "knit-on" new commits a the end | 09:34 |
| → xiangfu joined | 09:36 |
| ← harshpb left | 09:36 |
|
raek
| tags are great for pointing out important historical commits, like releases | 09:36 |
| ← tharkun_ left | 09:37 |
| → harshpb joined | 09:37 |
| → j416 joined | 09:38 |
| → stodan joined | 09:40 |
|
wizbit
| linus torvalds does not like github :-S | 09:40 |
|
cbreak
| ok. And? :) | 09:41 |
| → quazimodo joined | 09:42 |
| → tharkun_ joined | 09:42 |
|
wizbit
| cbreak: i treat him as king, that means i dont like github either | 09:43 |
|
cbreak
| He doesn't like OpenSUSE: https://plus.google.com/102150693225130002912/posts/1vyfmNCYpi5 | 09:43 |
|
wizbit
| yep | 09:43 |
|
| or gnome | 09:43 |
| ← bulletmark left | 09:43 |
| → ipalaus_ joined | 09:49 |
|
cbreak
| hmm... he doesn't like C++ ... :( | 09:52 |
|
| C++ is the best and most monstrous programming language these days! | 09:52 |
|
sitaram
| wizbit: make up your own mind; he's good and I do agree with a lot of stuff he says but the reason should not be "because he said it". This is technology, you can be rational! | 09:53 |
| → unreal joined | 09:53 |
| → _iron joined | 09:53 |
|
sitaram
| incidentally why doesn't he like github (or rather, what aspect of github doesn't he like?) | 09:54 |
|
| (I suspect it may be stupid pull requests feature which needlessly adds an extra merge commit if you accept one) | 09:54 |
|
wizbit
| sitaram: https://github.com/torvalds/linux/pull/17 | 09:55 |
|
sitaram
| bloody thing requires javascript to show the discussion | 09:58 |
|
cbreak
| I like gitolite more than github | 09:58 |
| ← localhost left | 09:58 |
|
sitaram
| huh? if you disable css you can actually see the whole discussion, even without JS...! | 09:58 |
|
cbreak
| sitaram: if you look at the source code, then probably as well :) | 09:59 |
| → shruggar joined | 09:59 |
|
sitaram
| yup | 09:59 |
| → pantsman joined | 09:59 |
| ← pantsman left | 09:59 |
| → pantsman joined | 09:59 |
|
cbreak
| stupid new "web designers" have no clue how to make html web pages these days | 09:59 |
| → joaoh82 joined | 09:59 |
|
sitaram
| wizbit: I've had this up for a long while now: https://github.com/torvalds/linux/pull/17 (see 2nd and 3rd paras) | 09:59 |
| ← osX64 left | 10:00 |
| → tewecske joined | 10:00 |
| → localhost joined | 10:01 |
|
sitaram
| wizbit: Linux actually went much further than I would. I don't even log into github to check for pull requests now, and certainly do not "discuss" it. One day I logged in and found a dozen or so pull requests and just deleted all of them | 10:04 |
|
| only 2 I looked at, because the sender was someone I know; contacted him offline and dealt with it | 10:04 |
|
cbreak
| why is there a "R.I.P. Tree-Eating Monster" in the motd? | 10:06 |
| → w09x joined | 10:08 |
|
sitaram
| because they changed the logo | 10:10 |
| → simplechat joined | 10:10 |
| ← simplechat left | 10:10 |
| → simplechat joined | 10:10 |
|
sitaram
| cbreak: my wife (completely non techie) took one look at the new site over my shoulder and said "that does NOT look like an open source project's site" | 10:11 |
| → Superlokkus joined | 10:12 |
| → teweWORK joined | 10:13 |
| → osX64 joined | 10:13 |
| ← harshpb left | 10:14 |
| ← kcj left | 10:14 |
| → Tolnaiz joined | 10:14 |
| → kcj joined | 10:14 |
| → harshpb joined | 10:15 |
| → dzonder joined | 10:15 |
| → pfFredd joined | 10:16 |
| ← tharkun_ left | 10:18 |
| → tharkun_ joined | 10:18 |
| ← joaoh82 left | 10:18 |
| → arietis joined | 10:18 |
|
mac-
| how should I format --since string ? | 10:20 |
|
| I wish to see all changes from 6 days 2 hours and 10 minutes | 10:20 |
|
| ago | 10:21 |
| ← simplechat left | 10:21 |
| ← harshpb left | 10:22 |
| → harshpb joined | 10:23 |
| ← tharkun_ left | 10:23 |
|
cbreak
| oh, new site. | 10:25 |
| ← ThomasLocke left | 10:25 |
|
cbreak
| reminds me of some business page too... | 10:25 |
|
cmn
| it's not the extra merge he doesn't like (he needs to create them himself anyway), it's that a github pull request e-mail (which is what's a pull request for him) doesn't fit with the way a pull request works outside of github | 10:25 |
|
| which isn't surprising barely noteworthy | 10:25 |
|
cbreak
| at least it's not as bad as arstechnica has become | 10:25 |
|
| cmn: github could send emails with what ever sender address they wanted, if that's the reason for not liking it | 10:27 |
| ← RMapZero left | 10:27 |
|
cbreak
| technically | 10:27 |
|
| they probably don't try | 10:27 |
| → h0bbit joined | 10:27 |
|
cmn
| the sender's address is set up so the system can post the response in the same thread | 10:27 |
|
mastro
| jameslord, is that hard to google and read^ | 10:28 |
|
| ? | 10:28 |
| → tharkun_ joined | 10:28 |
| → skylamer` joined | 10:28 |
|
cmn
| github's pull requests are github-centric, which is natural | 10:28 |
| ← w09x left | 10:28 |
|
cmn
| but for the kernel, the actually use git in a distributed way, so a pull request doesn't do to the github repo, it goes into Linus' which he then pushes out | 10:29 |
| → w09x joined | 10:29 |
|
cmn
| it also doesn't help that there isn't even a real name associated with that commit, or an explanation | 10:30 |
| → dcorbin joined | 10:31 |
|
sitaram
| cmn: I'm not saying my reasons are the same as his; both are valid. His don't apply to me because mine is a much smaller project I suppose | 10:32 |
| → ronniy joined | 10:32 |
| → manorie joined | 10:32 |
|
sitaram
| cbreak: emails: (quoting from my own wiki page) The issues system does have an email interface, but it is not a substitute for email. I can't cc anyone else when I want to, for instance. Well I can, but any response the original requester then makes using the website will not get cc-d to the person I cc-d | 10:33 |
|
cmn
| sure, neither of your workflows agree with github, that's perfectly fine | 10:34 |
|
| although, do you know about the refs/pull/ namespace? | 10:34 |
| ← tharkun_ left | 10:34 |
| → Shogoot joined | 10:35 |
| ← f0i left | 10:36 |
| → borior joined | 10:37 |
| ← harshpb left | 10:38 |
| ← vervic left | 10:38 |
| → nioncode joined | 10:38 |
|
sitaram
| cmn: yes; I found out one day when I did a fetch or ls-remote or something, but honestly, asking for the other guy's URL and branch name is much nicer and feels more natural | 10:38 |
|
| cmn: one of the commentators said it best there: github is geared towards bringing in people at all technical levels and getting them coding, which is a laudable aim. As long as they don't send *me* patches :) | 10:39 |
|
cmn
| hehe | 10:39 |
|
sitaram
| there => on that linus/pull/17 thread | 10:39 |
| ← angelsl left | 10:39 |
| → Tinti joined | 10:40 |
|
sitaram
| honestly, *submitting* a patch via the web interface? That's like using notepad for programming | 10:40 |
|
cbreak
| they could just disable pull requests for such projects. | 10:40 |
|
sitaram
| (I didn't even know you could do that until I saw Linus ranting about it) | 10:40 |
| → tharkun_ joined | 10:40 |
|
cmn
| the initial problem is the guy who assumed github was the right place to send changes through, instead of reading the instructions | 10:40 |
|
| the web interface is meant for simple things, not large hacking sprees | 10:41 |
| ← legnaleurc left | 10:41 |
| → legnaleurc joined | 10:42 |
| ← legnaleurc left | 10:42 |
| → f0i joined | 10:43 |
|
sitaram
| cmn: you could argue the same with notepad, but I would still fire someone who opened it up | 10:45 |
|
pasky
| omg new git homepage design | 10:45 |
|
| that's pretty awful, isn't it? | 10:45 |
|
| pasky wonders about resurrecting http://git.or.cz/index.html ;) | 10:45 |
|
cmn
| the github editor doesn't get confused if there's to CRs, so it's already better | 10:46 |
|
| s/to/no/ | 10:46 |
|
| I mean, I wouldn't use it, given a choice | 10:47 |
| ← shruggar left | 10:47 |
|
cmn
| but if I wanted to change part of a README or some explanation in a text file for a large project... I'd be tempted, just so I didn't have to clone the repo | 10:48 |
|
WinterMute
| linus ranted about github pull requests? | 10:48 |
|
| is there a link? | 10:48 |
|
raek
| cbreak: I don't think you can disable pull requests | 10:48 |
|
sitaram
| WinterMute: check backlog | 10:48 |
|
| https://github.com/torvalds/linux/pull/17 | 10:48 |
|
pasky
| hmm, actually, i got used to the new design pretty fast... i'm glad the tree-eating beast is gone, i was never a fan | 10:49 |
|
cmn
| WinterMute: all over the backlog, the twitterverse and you can just look at the torvals/linux repo | 10:49 |
| → giallu joined | 10:49 |
|
pasky
| the only thing really irking me is the ugly orange and very ugly logo... what's wrong with +++--- ?! | 10:49 |
| ← w09x left | 10:49 |
|
cmn
| text is scary | 10:49 |
|
| or something | 10:49 |
|
pasky
| (and the LCD around current version number is maybe a bit silly, but better than the tree-eating beast ;) | 10:49 |
|
| pasky tries to get the logo out of his mind again | 10:50 |
| → Alocado joined | 10:51 |
| → mishok13 joined | 10:51 |
|
Alocado
| hi... after upgrading my linux i always get a 401 error when i try to clone one of my repositories over https... any solution? | 10:53 |
|
cmn
| give it a password and username, as it's asking you to | 10:53 |
|
cbreak
| does your git have support for ssl? | 10:53 |
|
Alocado
| cbreak, no idea... do i have to enable it? is it not enabled by default? | 10:54 |
| → marhaban joined | 10:54 |
|
cbreak
| did you compile git? | 10:55 |
|
| with a curl that has ssl support? | 10:55 |
|
j416
| pasky: I think it looks much better than before, not to mention it being much more informative | 10:55 |
|
Alocado
| git version 1.7.9.5 (ubuntu 12.04 delivered packet) doesn't work.. tarball from github, selfcompiled, doesn't work | 10:55 |
|
j416
| pasky: lots of more information -- if that information was there before (I don't know), it is now in a much more accessible format | 10:55 |
| → Zenith77 joined | 10:56 |
|
Alocado
| in the server logs i can see that git tries to request (GET) some files, but after the first ~3 GET requests there's no authentication delivered to the requests.. | 10:56 |
| → angelsl joined | 10:57 |
|
cmn
| Alocado: how are you calling git? do you have .netrc set up? | 10:57 |
|
cbreak
| and that's why http is a stupid protocol for something like git. | 10:57 |
|
cmn
| is it asking you for a password? | 10:57 |
|
Alocado
| cmn, yes | 10:58 |
|
| cmn, and no .netrc | 10:58 |
|
cmn
| which one? | 10:58 |
|
Alocado
| ... :P | 10:58 |
| → sdaone joined | 10:58 |
|
Alocado
| 123456 ;) | 10:58 |
| → w09x joined | 10:58 |
|
cmn
| so you're anwering "how are you calling git?" with "yes" | 10:58 |
|
Alocado
| <cmn> is it asking you for a password? <-- yes | 10:59 |
|
pasky
| j416: yes, that is true... as i said, after the original impulsive reaction, it's actually pretty good... except the logo ;) | 10:59 |
| → QaDeS joined | 10:59 |
|
j416
| heh | 10:59 |
|
| the logo is better than the other +++--- one imo | 10:59 |
|
Alocado
| calling git: git clone https://user@domain/path/ | 10:59 |
|
j416
| pasky: but, yes, if I had to complain about something, it would be that logo | 11:00 |
|
cmn
| then the password you're giving it is wrong | 11:00 |
|
j416
| pasky: on the other hand, it is rather representative | 11:00 |
|
cmn
| if the server is behind a proxy, 1.7.10.2 just shipped a fix for proxies asking you to auth several times | 11:01 |
| ← sirdancealot2 left | 11:01 |
| ChanServ set mode: +o | 11:03 |
| canton7 changed the topic to: Latest version: 1.7.10.2 | http://git-scm.com | Central index of resources about git and this channel: http://jk.gs/git/ | R.I.P. Tree-Eating Monster | Getting "Cannot send to channel"? /msg gitinfo .voice | 11:03 |
| ChanServ set mode: -o | 11:03 |
|
fanno1
| from looking at http://nvie.com/posts/a-successful-git-branching-model/ do this look correct ? https://github.com/fanno/org.jfusion.jfusion we will be moving from svn to git i started master with out master development branch from svn (no tag created yet for that reason) | 11:03 |
|
Alocado
| cmn, i think my password is right because accessing the repository with a browser works | 11:04 |
|
cbreak
| Alocado: what do you see if you access it with a browser? | 11:05 |
|
Alocado
| because of directory index is disabled: 403. with url/config i can have a look to the config file... | 11:06 |
|
cmn
| the server disagrees with that assessment | 11:06 |
|
Alocado
| head does work. | 11:06 |
|
| HEAD | 11:06 |
|
cmn
| what does that mean? | 11:06 |
|
| works with what? | 11:06 |
|
cbreak
| so you say you can access it with a browser | 11:06 |
|
| but you can NOT access it with a browser | 11:06 |
|
| I don't get it | 11:06 |
| ← tharkun_ left | 11:07 |
| → tharkun_ joined | 11:07 |
|
Alocado
| cbreak, cmn assumed that my password is wrong | 11:08 |
|
cmn
| because that's what the server is telling you | 11:08 |
|
Alocado
| but with a browser i can view every existing file in the git repository | 11:08 |
|
cmn
| 401 means auth is still needed | 11:08 |
|
| then maybe the username is wrong | 11:08 |
|
cbreak
| Alocado: so, you can show the HEAD file? | 11:08 |
|
Alocado
| cmn, i'm not an idiot... | 11:08 |
|
cmn
| but that's less likely to be the case | 11:08 |
|
Alocado
| cbreak, yes | 11:08 |
|
cbreak
| and the config file? | 11:08 |
|
Alocado
| yes | 11:08 |
|
cbreak
| and you can list the contents of the objects folder? | 11:09 |
| → cesc_ joined | 11:09 |
|
Alocado
| no (directory indexing disabled) but the git client never asks for that | 11:09 |
|
cmn
| Alocado: that's fine, I never said you were, but whatever | 11:09 |
| ← tharkun_ left | 11:10 |
| ← fanno1 left | 11:10 |
|
j416
| fanno1: hint: if you don't know, maybe you should read the article again :) | 11:10 |
|
cmn
| and when you try to get to what git is trying to get to, namely info/refs? | 11:11 |
|
j416
| and he left | 11:11 |
| ← cagedwisdom left | 11:11 |
| → solofight joined | 11:11 |
| ← solofight left | 11:11 |
|
Alocado
| cmn, works... | 11:11 |
|
cmn
| is curl/git creating several paraelell requests? | 11:11 |
| → rchavik joined | 11:12 |
| ← rchavik left | 11:12 |
| → rchavik joined | 11:12 |
|
Alocado
| cmn, here's my apache log: pastebin.com/cUZuxNju | 11:12 |
|
| i'm not sure if it's parallel.. but there are multiple requests... but answered with 401... no idea why | 11:13 |
| ← cesc left | 11:13 |
|
cmn
| that doesn't show whether it is, but it looks like the bug I'm talking about | 11:13 |
|
| upgrade | 11:13 |
| ← pantsman left | 11:14 |
| → tasyrkin joined | 11:14 |
|
cmn
| or stop using the dumb protocol | 11:15 |
| ← click left | 11:15 |
|
Alocado
| one moment please... compiling 1.7.10.2 | 11:15 |
| ← tasyrkin left | 11:17 |
| ← cesc_ left | 11:17 |
| → sirdancealot2 joined | 11:17 |
| → tharkun_ joined | 11:17 |
| → linusoleander joined | 11:19 |
|
Alocado
| "fatal: Authentication failed" | 11:19 |
|
| no. stop ;) it's working now | 11:20 |
| ← tharkun_ left | 11:21 |
|
cmn
| not using the dumb protocol is a good idea anyway | 11:21 |
| → ColKurtz joined | 11:21 |
| ← nioncode left | 11:21 |
|
Alocado
| cmn, http is not a dump protocol only because git is too dump to authenticate | 11:22 |
|
bremner
| Alocado: man git-http-backend | 11:22 |
|
gitinfo
| Alocado: the git-http-backend manpage is available at http://jk.gs/git-http-backend.html | 11:22 |
|
bremner
| then you will see "dumb" and "smart" is used in a technical sense | 11:23 |
|
cmn
| Alocado: stop putting words in my mount | 11:23 |
|
| s/mount/mouth/ | 11:23 |
| ← khmarbaise left | 11:24 |
| → Vile joined | 11:25 |
|
cmn
| I never said to stop using http, or that it was dumb | 11:25 |
|
Alocado
| sry, i misunderstood this | 11:25 |
| → tharkun_ joined | 11:27 |
|
cbreak
| http is dumb transport | 11:28 |
|
| because there's no git on the other end to talk with | 11:28 |
| → simplechat joined | 11:28 |
| ← simplechat left | 11:28 |
| → simplechat joined | 11:28 |
|
cbreak
| just a web server that has zero clue what a git repository is | 11:28 |
|
| so you will download the whole history every fetch | 11:28 |
|
| (unless you can identify the packs you already have) | 11:28 |
|
cmn
| http is a silly thing to use anyway, because it's stateless | 11:29 |
| → georgets joined | 11:29 |
|
cbreak
| you need to update-index to create those indexes | 11:29 |
| ← simplechat left | 11:29 |
|
cmn
| and the git protocol is stateful | 11:29 |
|
cbreak
| http isn't made for such things, indeed | 11:29 |
|
| imho it's one of the most abused protocols | 11:29 |
| ← arietis left | 11:29 |
|
cmn
| it's all Berners-Lee's fault | 11:29 |
|
cbreak
| http is fine as transport protocol for hyper text documents | 11:30 |
| ← tharkun_ left | 11:30 |
|
cmn
| OK, not quite, MS also had a lot to do with making something like SSH way to complicated | 11:30 |
|
| seem way to complicated | 11:30 |
| ← ToBeFree left | 11:33 |
| → tharkun_ joined | 11:37 |
| ← catsup left | 11:42 |
| ← P-l left | 11:42 |
| ← quazimodo left | 11:42 |
| ← arvind_khadri left | 11:44 |
| ← tharkun_ left | 11:45 |
| → click joined | 11:46 |
| ← mishok13 left | 11:49 |
| → oriba joined | 11:49 |
| → tharkun_ joined | 11:51 |
| ← Tolnaiz left | 11:51 |
| → galaris joined | 11:52 |
| → linusoleander_ joined | 11:52 |
| ← linusoleander left | 11:52 |
| linusoleander_ → linusoleander | 11:52 |
| ← georgets left | 11:54 |
|
mastro
| why git fetch log to standard error? | 11:54 |
| → quazimodo joined | 11:54 |
| ← QaDeS left | 11:55 |
| → txomon joined | 11:55 |
| ← txomon left | 11:55 |
| → txomon joined | 11:55 |
| → cissu joined | 11:55 |
| ← txomon left | 11:55 |
| ← cissu left | 11:56 |
|
cmn
| because those are random strings sent by the server | 11:56 |
|
| by default it also contains a lot or \r and is pretty useless as any sort of output that you'd like to keep | 11:57 |
| ← rchavik left | 12:01 |
| → madewokherd joined | 12:01 |
| ← tharkun_ left | 12:02 |
| → GeorgeSebastian joined | 12:02 |
| ← GeorgeSebastian left | 12:02 |
| → GeorgeSebastian joined | 12:02 |
| → tharkun_ joined | 12:02 |
| ← maleknet left | 12:03 |
| ← tharkun_ left | 12:05 |
|
j416
| I want to use filter-branch to change the commit message of one single commit | 12:05 |
|
| is it possible to do this without it affecting the other commits as well, without explicitly checking for it in the script? | 12:06 |
|
| I have: | 12:06 |
|
| git filter-branch -f --msg-filter 'echo "New commit message"' d857067^..HEAD | 12:06 |
|
| I only want this new message to affect commit d857067 | 12:06 |
|
cmn
| this will affect any commit that comes after | 12:07 |
|
| how old is that commit? | 12:08 |
|
j416
| it's just a few commits back | 12:08 |
|
| no merges or anything | 12:08 |
| → rchavik joined | 12:08 |
|
j416
| I don't want to use rebase, since it'll change other things, like commit time | 12:08 |
|
| I just want to change that one message | 12:09 |
|
cmn
| why is it that important to keep the committer time? | 12:09 |
| → thiago joined | 12:09 |
|
j416
| I'll just check $GIT_COMMIT | 12:09 |
|
| thanks anyway | 12:10 |
|
| cmn: because I have OCD | 12:10 |
|
| :P | 12:10 |
|
cmn
| fine, whatever | 12:10 |
| → tharkun_ joined | 12:12 |
| → enmand joined | 12:14 |
| ← oriba left | 12:14 |
| → bartek joined | 12:17 |
| → martinjlowm-lptp joined | 12:20 |
| → magic_al joined | 12:20 |
| ← rchavik left | 12:20 |
|
magic_al
| hey all i am kind of struggle configuring my git repo. can anybody help me? | 12:21 |
|
| i have already initialized a repo on my computer and one on my server | 12:22 |
|
FauxFaux
| magic_al: Perhaps if you ask a real quesstoin. | 12:22 |
| ← Vile left | 12:22 |
|
magic_al
| well: where do i get the git url of my git folder on my server and how can i set up a branch? | 12:22 |
|
| sorry i am new with linux as well as git | 12:23 |
| → rchavik joined | 12:23 |
| → catsup joined | 12:24 |
|
et
| if it's somewhere in your home directory, it's youruser@yourserver:path/to/your/repository | 12:24 |
| → arietis joined | 12:25 |
| ← tharkun_ left | 12:26 |
| → thiago_ joined | 12:29 |
| ← thiago left | 12:29 |
| gitinfo set mode: +v | 12:29 |
| thiago_ → thiago | 12:29 |
| ← GeorgeSebastian left | 12:30 |
| ← enmand left | 12:30 |
| ← galaris left | 12:30 |
| → tharkun_ joined | 12:32 |
| → BarryCrayon joined | 12:33 |
|
magic_al
| when i init my repo on my server i get the message 'Reinitialized existing Git repository in /home/alex_fechner/www/sensenman.com/htdocs/Documents/.git/ | 12:36 |
|
| ' but if i try 'git push [email@hidden.address] existing Git repository in /home/alex_fechner/www/sensenman.com/htdocs/Documents/.git/ | 12:36 |
|
| ' the bash returns 'fatal: Not a git repository (or any of the parent directories): .git'. whats wrong there? | 12:36 |
|
| i mean i try 'git push [email@hidden.address] | 12:37 |
|
EugeneKay
| You need to be within a git repository locally as well | 12:37 |
|
| Perhaps a !repro would help | 12:37 |
|
gitinfo
| Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session, or at least explain exactly what you did that led up to the problem. This will help immensely with troubleshooting. | 12:37 |
| ← Superlokkus left | 12:38 |
| ← BarryCrayon left | 12:38 |
| ← tharkun_ left | 12:39 |
|
magic_al
| EugeneKay: thanks :) | 12:39 |
| ← n2diy left | 12:39 |
| → Chillance joined | 12:40 |
| ← j416 left | 12:40 |
| ← quazimodo left | 12:41 |
| → tharkun_ joined | 12:42 |
| ← ruskie left | 12:42 |
| → glennpratt joined | 12:43 |
| → harshpb joined | 12:45 |
| ← twisted` left | 12:45 |
| ← dvide left | 12:47 |
| → ruskie joined | 12:49 |
|
magic_al
| what means the error ' ! [remote rejected] master -> master (branch is currently checked out)' after pushing files into my git repo on a server? | 12:49 |
|
cmn
| !bare | 12:50 |
|
gitinfo
| an explanation of bare and non-bare repositories (and why pushing to a non-bare one causes problems) can be found here: http://bare-vs-nonbare.gitrecipes.de/ | 12:50 |
|
cmn
| it means that updating the branch ref would leave the index and worktree completely out of date | 12:50 |
|
| and you shouldn't be using non-bare repos on a server | 12:50 |
| ← bartek left | 12:50 |
| ← carlosgaldino left | 12:52 |
| ← ipalaus_ left | 12:53 |
| → legnaleurc joined | 12:53 |
| ← legnaleurc left | 12:54 |
| ← w09x left | 12:55 |
| → legnaleurc joined | 12:55 |
|
EugeneKay
| Are you trying to !deploy ? | 12:55 |
|
gitinfo
| Git is not a deployment tool, but you can build one around it for simple environments. Here is an example hook to get you started: https://github.com/EugeneKay/scripts/blob/master/bash/git-deploy-hook.sh | 12:55 |
| ← legnaleurc left | 12:56 |
| → legnaleurc joined | 12:57 |
| ← legnaleurc left | 12:57 |
| ← harshpb left | 12:57 |
|
magic_al
| cmn: i got the difference. but now i get the error: 'fatal: The remote end hung up unexpectedly' | 12:58 |
| → legnaleurc joined | 12:58 |
| → alberto56 joined | 12:58 |
| ← legnaleurc left | 12:59 |
| ← stodan left | 13:00 |
| → legnaleurc joined | 13:00 |
| → p3rror joined | 13:01 |
| → Superlokkus joined | 13:02 |
| bryanmv → bryanmv`away | 13:02 |
| → subbyyy joined | 13:03 |
| ← subbyyy left | 13:03 |
| ← _md left | 13:04 |
| → stodan joined | 13:06 |
| → fuzzybunny69y joined | 13:06 |
| ← thiago left | 13:06 |
| ← Superlokkus left | 13:06 |
| → subbyyy joined | 13:07 |
| ← subbyyy left | 13:07 |
| ← francisfish left | 13:08 |
| → ipalaus_ joined | 13:11 |
|
magic_al
| i initalized a bare git on my server. if i triy to push files i get 'fatal: The remote end hung up unexpectedly' | 13:11 |
|
| can anybody tell me that this error is about? | 13:12 |
| ← `Assassin left | 13:12 |
| → GeorgeSebastian joined | 13:12 |
| ← GeorgeSebastian left | 13:12 |
| → GeorgeSebastian joined | 13:12 |
| → hachque joined | 13:17 |
| ← tharkun_ left | 13:17 |
| → tharkun_ joined | 13:17 |
| → bartek joined | 13:17 |
| → dvaske joined | 13:17 |
| ← jefkin left | 13:18 |
| → subbyyy joined | 13:18 |
| ← subbyyy left | 13:18 |
| ← gavin_huang left | 13:18 |
|
axrfnu
| magic_al: remote properly set on your local repository? authentication properly working? proper permissions on remote host? | 13:18 |
| → alexukf joined | 13:19 |
|
magic_al
| axrfnu: yeah i have permissions on the server. how can i set remote on my repository? | 13:19 |
| ← Lgb left | 13:20 |
|
axrfnu
| git remote add ... | 13:20 |
|
| !git-remote | 13:20 |
| ← cyphase left | 13:20 |
| → camdenx joined | 13:20 |
| → Lgb joined | 13:22 |
| ← slakmagik left | 13:22 |
| ← Tinti left | 13:24 |
| → slakmagik joined | 13:24 |
| → gavin_huang joined | 13:24 |
| ← camdenx left | 13:25 |
| → Per4u3e joined | 13:26 |
| ← jason237 left | 13:27 |
| ← cenuij left | 13:28 |
| ← gavin_huang left | 13:29 |
| → shreya joined | 13:29 |
|
EugeneKay
| man git-remote | 13:30 |
|
gitinfo
| the git-remote manpage is available at http://jk.gs/git-remote.html | 13:30 |
| → Goplat joined | 13:30 |
|
axrfnu
| EugeneKay: thank you. wasn't sure mine would work | 13:31 |
| ← kcj left | 13:32 |
| ← kcm1700_ left | 13:35 |
| → Vile joined | 13:36 |
| ← rurufufuss left | 13:36 |
| → psoo joined | 13:36 |
| ← Vile left | 13:36 |
| → objNoob joined | 13:37 |
| → subbyyy joined | 13:38 |
| ← rvsjoen_ left | 13:39 |
| ← tharkun_ left | 13:40 |
| → kcm1700 joined | 13:40 |
| → tharkun_ joined | 13:40 |
| ← alexukf left | 13:41 |
| → SkAzZ joined | 13:41 |
| ← arietis left | 13:42 |
| ← OOPMan left | 13:42 |
| ← kcm1700 left | 13:42 |
| → kcm1700 joined | 13:42 |
| → SkAzZ1 joined | 13:43 |
| → sdaone_ joined | 13:43 |
| → francisfish joined | 13:43 |
| → simplechat joined | 13:44 |
| ← simplechat left | 13:44 |
| → simplechat joined | 13:44 |
| → kenperkins joined | 13:44 |
|
magic_al
| i really stuck here: i have initalized a git repo (--bare) on my server. now is there anything else i have to do on the server side? | 13:45 |
| ← sdaone left | 13:45 |
|
canton7
| depends hwo your planning on accessing it. if you're using ssh, just make sure that the user who you're going to ssh as has access to the bare repo | 13:46 |
| → robin joined | 13:46 |
| ← SkAzZ left | 13:46 |
| → kvda joined | 13:47 |
|
magic_al
| the user is me. so you meen i have to set chmod u=rw?! | 13:47 |
|
Zyrkon
| you wanne also have your local repo where you add files and commit | 13:48 |
| ← subbyyy left | 13:48 |
|
Zyrkon
| to that repo, you add the remote repo (the one on your server) | 13:49 |
| gitinfo set mode: +v | 13:49 |
|
objNoob
| after installing git-core .. what's next? | 13:49 |
|
Zyrkon
| then you can just push and pull from it | 13:49 |
| → edude03 joined | 13:50 |
|
Zyrkon
| given that you have the permissions on the server (depends on how you establish the connection (i.e. ssh)) | 13:50 |
| ← fuzzybunny69y left | 13:50 |
| → neurodrone joined | 13:50 |
|
objNoob
| i installed git on my vps - and i'd like to create a new repo to try things out | 13:50 |
|
offby1
| objNoob: read the various tutorials on github.com; they're good | 13:51 |
|
Zyrkon
| reading a good git tutorial or handbook would be a good idea | 13:51 |
| → anEffingChamp joined | 13:51 |
|
offby1
| short answer: "mkdir x; cd x; git init; touch some-file; git add some-file; git commit -m woohoo" | 13:51 |
|
Zyrkon
| the tutorials on github are nice | 13:51 |
|
objNoob
| i've been! | 13:51 |
|
Zyrkon
| but you probably wanne have a remote repo on the server and a normal, local repo on your pc | 13:52 |
|
| you don't need to checkout a branch on the server | 13:52 |
| ← flaguy48 left | 13:52 |
| ← stodan left | 13:53 |
|
objNoob
| ok that was my next question, my dev machine needs git, and the server needs git | 13:53 |
| ← bartek left | 13:53 |
| → subbyyy joined | 13:53 |
|
magic_al
| now i initalized my local repo and added the remote and get the error 'fatal: '/home/alex_fechner/www/sensenman.com/htdocs/Documents' does not appear to be a git repository | 13:53 |
|
| fatal: The remote end hung up unexpectedly' | 13:53 |
|
Zyrkon
| you need git on any machine you wanne work with git repositories, yes | 13:53 |
| → cenuij joined | 13:54 |
| ← cenuij left | 13:54 |
| → cenuij joined | 13:54 |
|
objNoob
| and then i link the local and remote repositories together? | 13:54 |
|
Zyrkon
| normally you have 1 or two machines. one is your pc and you work on the files, and one is your server/backup place you push to | 13:54 |
|
| when working alone^^ | 13:54 |
| ← JEEB left | 13:55 |
|
Zyrkon
| of coof course you can also push to github etc. to publish your code | 13:55 |
|
| -coof | 13:55 |
| ← SkAzZ1 left | 13:55 |
|
Zyrkon
| ^^ obj: yes | 13:55 |
| → mishok13 joined | 13:55 |
|
objNoob
| thanks, that's where i'll go from here. | 13:56 |
| → alexukf joined | 13:56 |
|
Zyrkon
| on your local repository: git remote add <shortname> <url> | 13:56 |
|
| (to the remote git repository ending in .git) | 13:56 |
|
canton7
| magic_al, so if you ls /home/alex_fechner/www/sensenman.com/htdocs/Documents you get HEAD, hooks, objects, etc | 13:56 |
|
magic_al
| yes i do | 13:57 |
|
canton7
| so if you 'git clone '/home/alex_fechner/www/sensenman.com/htdocs/Documents' ... | 13:57 |
| ← rchavik left | 13:58 |
| ← rudi_s left | 13:58 |
|
magic_al
| canton7: same error here | 13:58 |
|
| do i have to care about branches if i use a --bare repo?! | 13:59 |
|
canton7
| well, the repo will have branches, just as a non-bare one will. nothing out of the orginary | 13:59 |
|
| *ordinary | 13:59 |
|
objNoob
| one thing i'm having a tough time understanding is where the url comes into play... do i need to make a repo in the web area? | 14:00 |
|
| on the remote? | 14:00 |
|
canton7
| and you're running 'git clone' from the same machine as the bare repo's on? (I know that's obvious, but you'd be surprised at some of the stuff people do) | 14:00 |
|
magic_al
| canton7: no i thought i am supposed to try to clone the server's machine to my local one | 14:01 |
|
| canton7: the bare repo is on the server and a non-bare is on my local machine | 14:01 |
|
cmn
| then use a url that tells git to grab the repo from the other machine | 14:02 |
|
canton7
| magic_al, right. I'm not quite sure how to put this... If you direct git at '/home/alex_fechner/www/sensenman.com/htdocs/Documents on the *local* machine, it can't automatically access that location on your *remote* machine. That would be something of a security hole | 14:02 |
|
cmn
| it also looks like you're trying to give the git repo to your webserver directly; don't | 14:02 |
|
canton7
| you have to set up some kind of transport: http or ssh. ssh is better | 14:02 |
| ← shreya left | 14:03 |
| ← GeorgeSebastian left | 14:03 |
|
canton7
| and then you tell git to use ssh (or http) to access the repo on your remote computer | 14:03 |
|
objNoob
| ok so typically this is bad git-update-server-info | 14:03 |
| → fuzzybunny69y joined | 14:03 |
|
canton7
| update-server-info is used for dumb http -- that's the worst of the worst | 14:03 |
|
cmn
| objNoob: that is used for the dumb http protocol, which is a bad idea | 14:03 |
|
objNoob
| and better to use ssh for transpo | 14:03 |
|
canton7
| smart http isn't *too* bad (but a bit of a pain to set up), but ssh is better | 14:04 |
| → GeorgeSebastian joined | 14:04 |
| → traviscj joined | 14:04 |
|
magic_al
| canton7: i direct to [email@hidden.address] | 14:04 |
| ← simplechat left | 14:04 |
| → enr joined | 14:05 |
| → theCole joined | 14:06 |
|
magic_al
| canton7: so whats wrong? i mean i have a repo on my server and want to push files to it. why does it say the folder wouldn't be a repo?! | 14:07 |
|
canton7
| magic_al, so 'git clone [email@hidden.address] fails with 'can't find repo'? | 14:08 |
| → karpar joined | 14:08 |
|
magic_al
| fatal: '/home/alex_fechner/www/sensenman.com/htdocs/Documents' does not appear to be a git repository | 14:08 |
|
| fatal: The remote end hung up unexpectedly | 14:08 |
| ← Radium left | 14:09 |
|
magic_al
| canton7: And the folder is no protected on my server | 14:11 |
|
| canton7: cant even ls it | 14:11 |
| → hyperair joined | 14:11 |
|
canton7
| what do you mean, 'can't even ls it'? | 14:11 |
| bryanmv`away → bryanmv | 14:11 |
|
magic_al
| canton7: 'ls Documents' returns 'no permissons' | 14:12 |
|
canton7
| OK, and how do you expect git to be able to read it? | 14:12 |
| ← theCole left | 14:12 |
|
cmn
| then that'll be why you still can't read it when running git | 14:12 |
| ← psoo left | 14:12 |
| ← agile left | 14:13 |
|
magic_al
| canton7: sorry for confusion: first i tried to clone the repo from the server to my local machine. it returned the error i mentioned. and now i tried to enter the repo folder with a normal ssh connection and it tells me 'no permisson'. i just mean the clone command must have had a connection to the folder | 14:14 |
|
canton7
| 'must have had a connection to the folder'? Set up your permissions so you can ssh to the folder, then try git again | 14:15 |
|
magic_al
| canton7: chmod u=rw, or? | 14:16 |
| ← Jackneill left | 14:16 |
|
canton7
| depends on how your system's set up. probably | 14:16 |
| ← tqmz left | 14:17 |
| → mritz joined | 14:18 |
| ← traviscj left | 14:18 |
| ← skylamer` left | 14:18 |
| → satyanash joined | 14:19 |
| → tqmz joined | 14:20 |
| ← satyanash left | 14:20 |
| ← glennpratt left | 14:20 |
| → satyanash joined | 14:23 |
| → theCole joined | 14:24 |
| ← kvda left | 14:24 |
|
magic_al
| canton7: all right it works now. thanks a lot. you were right. it was the permission thing :) | 14:26 |
| → xjiujiu joined | 14:26 |
|
canton7
| magic_al, cool! | 14:26 |
| ← brokenshakles left | 14:33 |
| → jalama joined | 14:34 |
| → btree_ joined | 14:34 |
|
oddraisent
| Is there a way to cherry-pick single file from commit? | 14:35 |
| ← btree left | 14:38 |
|
canton7
| oddraisent, git checkout <commit> -- <file> | 14:39 |
|
hachque
| Is there a way to tag certain commits along master? | 14:39 |
|
oddraisent
| М | 14:39 |
|
| canton7: right | 14:39 |
|
hachque
| Basically I want to have something that's "beta-stable" | 14:39 |
|
| and every now and then I can bring "beta-stable" up to the current tip of master | 14:39 |
|
| but I don't want it to be it's own branch, because I'm not making any distinct changes on it | 14:39 |
|
| I'm just tagging a certain commit as "beta-stable" | 14:40 |
|
oddraisent
| Is there a way to pop changes to single file from stash? | 14:40 |
|
hachque
| is there a way to do that in Git? | 14:40 |
|
cmn
| tags in git should't change | 14:40 |
|
| why do you have master and beta-stable with seems to be some subset of master? | 14:40 |
|
hachque
| because I want people to be able to checkout beta-stable and know that they're going to get something that builds | 14:41 |
|
cmn
| is master meant to be stable or not? | 14:41 |
|
hachque
| master is unstable | 14:41 |
|
| it breaks all the time :P | 14:41 |
|
cmn
| then create a stable branch that you don't break | 14:41 |
|
hachque
| yeah but I don't want to add seperate commits to that branch | 14:41 |
|
cmn
| you don't have to add commits to a branch | 14:41 |
| ← Shogoot left | 14:42 |
|
hachque
| oh okay | 14:42 |
| ← WebDragon left | 14:42 |
|
cmn
| you're looking for a ref that changes every once in a while | 14:42 |
|
| that's a branch | 14:42 |
|
hachque
| so I can associate an existing commit on master with a new branch beta-stable? | 14:42 |
|
cmn
| so you make a branch point to any commit you want | 14:42 |
|
oddraisent
| canton7: wait, it's no right | 14:42 |
| → yaroslav joined | 14:42 |
| ← _root_ left | 14:42 |
| → nOStahl joined | 14:42 |
|
oddraisent
| git co /= git cherry-pick | 14:42 |
|
cmn
| clearly, otherwise they'd have the same name | 14:42 |
|
oddraisent
| I need to apply commit diff to current file state | 14:43 |
|
hachque
| oh okay, that sounds like what I want then, how do I go about doing that? | 14:43 |
|
canton7
| oddraisent, I know. You cherry-pick commits. You can pull a file from a given commit into the working copy, though, which is what checkout in file mode does | 14:43 |
|
hachque
| I know how to create a branch and checkout to it | 14:43 |
|
| but I don't know how to directly modify where a branch points | 14:43 |
|
cmn
| man git branch | 14:43 |
|
gitinfo
| the git-branch manpage is available at http://jk.gs/git-branch.html | 14:43 |
| ← yaroslav left | 14:44 |
|
cmn
| you'll probably end up doing a lot of git branch -f and git push -f | 14:44 |
|
| but you might want to make your workflow somewhat saner | 14:44 |
|
oddraisent
| canton7: what for there is "--"? | 14:44 |
|
hachque
| cmn: I won't be changing beta-stable that often | 14:44 |
|
| so it shouldn't be an issue | 14:44 |
|
cmn
| it will be if people are basing work on it | 14:44 |
|
canton7
| oddraisent, it's a disambiguator | 14:45 |
|
hachque
| people won't / shouldn't be | 14:45 |
|
| people should base work on master | 14:45 |
|
| because that's the development line | 14:45 |
|
cmn
| people should base work on the branch that's broken half the time? | 14:45 |
|
canton7
| you can always have v1.0.1-beta and v1.0.2-beta branches, for example | 14:45 |
| → rmccue joined | 14:45 |
|
hachque
| it's not broken all the time, it's just that it can be broken | 14:45 |
|
| and for people who want to checkout the source and go cmake . && make | 14:46 |
|
| that's not too good | 14:46 |
|
| it's usually not too seriously broken in the worst of cases | 14:46 |
|
canton7
| hachque, have you come across gitflow, or the basics of it? | 14:46 |
|
rmccue
| Hi there! `git ls-tree origin/master` gives a list of files, including one called "screenshot-1.png", but `git ls-tree origin/master screenshot*` doesn't give anything. Any ideas? | 14:46 |
|
canton7
| (master is always stable and is for releases only, development work happens on the develop branch, which is merged into master?) | 14:46 |
|
magic_al
| theoretical question: what if a user pushes a file to a git server he has worked with. another user works with the same file at the same time and pushes that to the same server. does git prevent such situations? | 14:46 |
|
cmn
| for people who want a tarball to build, you should provide a tarball | 14:46 |
|
hachque
| I will assume people who know how to program also know how to checkout an earlier revision and merge if they really need it :P | 14:46 |
|
| GitHub does provide an automatic tarball | 14:46 |
|
cmn
| then you have no worries | 14:47 |
|
| magic_al: git doesn't push files around | 14:47 |
|
canton7
| rmccue, git ls-tree origin/master:screenshots | 14:47 |
| → twisted` joined | 14:47 |
|
cmn
| the second dev would get told that his branch has diverged | 14:47 |
|
canton7
| rmccue, although, globs won't work | 14:47 |
|
rmccue
| canton7: "Not a valid object name origin/master:screenshots" - man page for ls-tree says I can do <treeish> [paths...] and use glob-like syntax | 14:48 |
| → sq-one joined | 14:48 |
|
canton7
| rmccue, yeah I onyl glanced at your question -- I though there was a 'screenshots/' folder | 14:49 |
|
cmn
| hachque: FTR, that is a crazy way to develop software | 14:50 |
|
| specially with git | 14:50 |
|
magic_al
| is there a way to get only those files from the git server which have been modified? | 14:50 |
|
cmn
| magic_al: modified from what? | 14:51 |
|
| git doesn't deal with files at that level | 14:51 |
|
| are you looking for fetch? | 14:51 |
| ← twisted` left | 14:51 |
|
rmccue
| canton7: Unfortunately not, and the glob matching is why I'm trying to do this. Looks like I may have to grep it myself | 14:51 |
| ← xiangfu left | 14:51 |
|
canton7
| rmccue, use something like git ls-tree origin/master | grep screenshot* | 14:52 |
|
| yeah | 14:52 |
|
cmn
| or 'screenshot*' to avoid the shell from expanding the glob | 14:53 |
|
canton7
| good point | 14:53 |
| → pyhead joined | 14:53 |
| ← Gitzilla left | 14:53 |
| ← bartman` left | 14:54 |
| ← theCole left | 14:54 |
|
magic_al
| cmn: fetch sound like what i was looking for but dosnt have any effect on my folder | 14:54 |
|
cmn
| exactly | 14:55 |
|
| fetch grabs the missing objects/information | 14:55 |
|
| what you called files | 14:55 |
|
| if you want to merge those changes use merge | 14:55 |
|
rmccue
| canton7: I'd prefer to avoid that if I can. I'd like to find out why ls-tree isn't accepting my wildcard first | 14:55 |
|
magic_al
| cmn: yeah but it dosn't dl the files i deleted for testing | 14:55 |
|
cmn
| or set up your branch to track the remote one and pull | 14:55 |
|
hachque
| cmn: I've created the local branch pointing to the correct commit, but I forget how to set it up for remote tracking | 14:55 |
|
cmn
| it does't download any files | 14:55 |
|
hachque
| given that it doesn't exist on GitHub yet | 14:55 |
|
| if I do git push will it be created automatically? | 14:56 |
|
cmn
| no | 14:56 |
| → _root_ joined | 14:56 |
|
magic_al
| cmn: what else does it do? | 14:56 |
|
cmn
| if it's new and you haven't changed push.default, you have to push is explicitly | 14:56 |
|
| magic_al: what else does what do? | 14:56 |
|
hachque
| okay thanks | 14:56 |
| → vervic joined | 14:56 |
|
magic_al
| cmn: what else does fetch do if not downlaoding missing files? | 14:57 |
|
cmn
| 16:55:16 <cmn> fetch grabs the missing objects/information | 14:57 |
|
| it's not else | 14:57 |
|
| git doesn't download files, ever | 14:57 |
| ← mritz left | 14:57 |
|
magic_al
| cmn: and how can i used the objects/information to get the files? | 14:57 |
|
cmn
| checkout, merge, show... | 14:57 |
|
| do read the !book to know how to use git to work with remotes | 14:58 |
|
gitinfo
| There are several good books available about git; 'Pro Git' is probably the best: http://progit.org/book/ but also look at !bottomup !cs !designers !gitt !vcbe and !parable | 14:58 |
| ← edude03 left | 14:58 |
| → toabctl joined | 14:59 |
| → mritz joined | 14:59 |
| → tehbam joined | 14:59 |
| ← lapistano left | 15:00 |
| → bartman` joined | 15:00 |
| → lapistano joined | 15:00 |
|
rmccue
| In the mean time, I'll use `git ls-files --with-tree=origin/master screenshot*` but I don't really have enough information with that | 15:00 |
| → rootfield joined | 15:01 |
|
cmn
| do you have files that match that glob in the current dir? | 15:01 |
| → Codif joined | 15:02 |
| ← Prime1309 left | 15:02 |
| ← manorie left | 15:02 |
|
cmn
| nvm, ls-tree doesn't take a pathspec | 15:03 |
| → theCole joined | 15:04 |
| → JohnyBaby joined | 15:04 |
|
rmccue
| cmn: It takes a treeish and a path pattern (not a pathspec though) | 15:04 |
|
cmn
| it takes paths | 15:04 |
|
| what do you call a path pattern if not a pathspec? | 15:05 |
|
rmccue
| "note that this isn't really raw pathnames, but rather a list of patterns to match" | 15:05 |
|
| It's a glob pattern, which is a subset of pathspec (iirc) | 15:05 |
| ← xjiujiu left | 15:05 |
|
cmn
| so it doesn't take a pattern | 15:06 |
|
rmccue
| "a list of patterns" would indicate that it does | 15:06 |
|
cmn
| a pathspec is the one with the glob | 15:06 |
| → Gitzilla joined | 15:06 |
|
cmn
| gah, read the wrong | 15:06 |
|
rmccue
| :) | 15:07 |
| ← _root_ left | 15:07 |
|
cmn
| but it doesn't seem to take any pattern at all | 15:07 |
| → gusnan joined | 15:07 |
|
magic_al
| cmn: i really dont get how to merge folders together. is there no feature to just get all files which are more actual on the server than on the local folder? | 15:07 |
|
cmn
| you don't merge folders, whatever those are | 15:08 |
|
rmccue
| cmn: The docs say it takes a pattern, and "subdir/*" seems to work as intended | 15:08 |
|
cmn
| you merge histories | 15:08 |
|
| rmccue: how are you calling it? | 15:08 |
|
rmccue
| cmn: Via bash at the moment | 15:08 |
|
cmn
| and what are you telling bash to run? | 15:08 |
|
rmccue
| I've tried quoting, so shell expansion doesn't seem to be the issue | 15:09 |
| → OOPMan joined | 15:09 |
|
rmccue
| Literally, `git ls-tree origin/master screenshot*` | 15:09 |
|
cmn
| does `echo screenshot*` print anything? | 15:09 |
|
rmccue
| (Where `which git` = /usr/bin/git, `git --version` = 1.7.0.4) | 15:09 |
|
cmn
| that is ancient | 15:09 |
|
rmccue
| It echos "screenshot*" | 15:10 |
|
| I've also tried on newer | 15:10 |
|
cmn
| but that's the one that doesn't work, isn't it? | 15:10 |
|
rmccue
| The newer version does not work either | 15:10 |
|
cmn
| the command | 15:10 |
|
| you saif one with subdir/* worked | 15:10 |
|
rmccue
| Yes, `git ls-tree origin/master subdir/*` gives the expected result | 15:11 |
|
cmn
| and do you have a subdir with the right stuff in it on your filesystem? | 15:11 |
| ← mritz left | 15:11 |
|
rmccue
| Hmm, good thinking, 'sec | 15:12 |
|
cbreak
| if you want to use globs in git, make sure your shell doesn't consume them | 15:12 |
|
rmccue
| cmn: Aha, that does appear to be shell expansion | 15:13 |
|
cbreak
| quote or escape them. | 15:13 |
|
rmccue
| cmn: So, that's a red herring then | 15:13 |
|
| cbreak: I've tried the quoted version too. | 15:13 |
| → thiago_ joined | 15:13 |
| → edude03 joined | 15:14 |
| ← eightyeight left | 15:14 |
| → psoo joined | 15:15 |
| → _root_ joined | 15:15 |
| → rudi_s joined | 15:15 |
| → solussd_ joined | 15:15 |
| ← kenperkins left | 15:17 |
| → Superlokkus joined | 15:17 |
| → cjuner joined | 15:18 |
| ← gebbione left | 15:21 |
| → camdenx joined | 15:21 |
| → iamjarvo joined | 15:22 |
| → glennpratt joined | 15:23 |
| ← camdenx left | 15:25 |
| ← Superlokkus left | 15:26 |
| → DofLeFou joined | 15:26 |
| ← tharkun_ left | 15:26 |
| → tharkun_ joined | 15:26 |
| tharkun_ → tharkun | 15:28 |
| → maleknet joined | 15:29 |
| → stkrzysiak joined | 15:30 |
| gitinfo set mode: +v | 15:31 |
| thiago_ → thiago | 15:31 |
| → v0n joined | 15:33 |
| → klj613 joined | 15:34 |
| → kenperkins joined | 15:34 |
| → Karmaon joined | 15:34 |
| → agile joined | 15:36 |
| ← karpar left | 15:37 |
| ← jesse left | 15:39 |
| ← xsbeats left | 15:40 |
| ← martinjlowm-lptp left | 15:42 |
| ← Gitzilla left | 15:42 |
| → the-fonz joined | 15:43 |
| → tshauck joined | 15:45 |
| → jesse joined | 15:45 |
| ← ipalaus_ left | 15:46 |
| ← kenperkins left | 15:46 |
| → kenperkins joined | 15:48 |
| ← rmccue left | 15:49 |
| ← yrrep left | 15:50 |
| ← DofLeFou left | 15:50 |
| ← Codif left | 15:50 |
| → Vert joined | 15:50 |
| ← maleknet left | 15:51 |
| → Gitzilla joined | 15:51 |
| ← psoo left | 15:53 |
| → felgru joined | 15:53 |
| → Textmode joined | 15:54 |
| → Lulzon joined | 15:54 |
| ← nrichards left | 15:55 |
| ← objNoob left | 15:59 |
| ← _root_ left | 15:59 |
| ← _sundar_ left | 16:01 |
| ← robin left | 16:02 |
| ← GeorgeSebastian left | 16:02 |
| → airborn joined | 16:02 |
| ← ThunderChicken left | 16:02 |
| → traviscj joined | 16:02 |
| ← fisted left | 16:02 |
| → macmartine joined | 16:05 |
| → psoo joined | 16:05 |
| → Anubisss_ joined | 16:05 |
| → _root_ joined | 16:06 |
| → fisted joined | 16:07 |
| → kinetic joined | 16:07 |
| → QaDeS joined | 16:08 |
| ← Anubisss left | 16:08 |
| → kadoban joined | 16:10 |
| → pandeiro joined | 16:11 |
| ← babilen left | 16:11 |
| ← kmels left | 16:12 |
| ← anEffingChamp left | 16:14 |
| → ipalaus_ joined | 16:15 |
| ← jalama left | 16:15 |
| → jalama joined | 16:15 |
| → harshpb joined | 16:15 |
| ← az left | 16:15 |
| ← psoo left | 16:16 |
| → psoo joined | 16:16 |
| ← eicto left | 16:16 |
| → kjg joined | 16:17 |
| ← harshpb left | 16:17 |
| → harshpb joined | 16:17 |
| ← _root_ left | 16:18 |
| → snearch joined | 16:18 |
| ← snearch left | 16:18 |
| → snearch joined | 16:18 |
| → __iron joined | 16:19 |
| → fanno1 joined | 16:19 |
| → jceb_ joined | 16:19 |
| → chunk1 joined | 16:20 |
| ← chunk1 left | 16:20 |
| → _root_ joined | 16:21 |
| → carlosgaldino joined | 16:22 |
| thiago → thiago_MUC | 16:24 |
| ← kjg left | 16:24 |
| → kjg joined | 16:24 |
| ← harshpb left | 16:25 |
| → harshpb joined | 16:25 |
| → kukks joined | 16:27 |
| ← iamjarvo left | 16:27 |
| → eicto joined | 16:27 |
| ← cjuner left | 16:28 |
| → juvenal joined | 16:30 |
| ← eicto left | 16:32 |
|
BinGOs
| So is the github repo the official source for tarballed or can I get them from somewhere else where the links aren't broken | 16:32 |
| ← dr0id left | 16:32 |
| → blacktulip joined | 16:33 |
| ← psoo left | 16:33 |
|
BinGOs
| Aha, found the code.google.com url in my firefox history. | 16:34 |
| ← BLZbubba left | 16:34 |
| → BLZbubba joined | 16:34 |
| ← sq-one left | 16:35 |
| → popcorn joined | 16:35 |
|
cmn
| for what? | 16:36 |
| ← jalama left | 16:37 |
| ← JohnyBaby left | 16:37 |
| → berserkr joined | 16:38 |
| → babilen joined | 16:40 |
|
BinGOs
| git of course | 16:40 |
| → eicto joined | 16:40 |
| → jceb joined | 16:40 |
| ← jceb_ left | 16:41 |
| → flaguy48 joined | 16:41 |
|
cmn
| you'd be surprised what people ask | 16:41 |
|
| and yeah, Junio primarily uploads his tarballs to google code | 16:42 |
| ← thiago_MUC left | 16:42 |
|
BinGOs
| well git-scm.com used to point to that. | 16:42 |
| → thiago_MUC joined | 16:42 |
| → stodan joined | 16:42 |
|
BinGOs
| but it's gone all .... 'designed' | 16:43 |
|
cmn
| it still pionts there | 16:43 |
|
| oh, nvm | 16:44 |
|
BinGOs
| all the links under the television are to github.com/git | 16:44 |
|
cmn
| it links in /downloads under 'older releases' | 16:45 |
| → usiegj00 joined | 16:45 |
|
cmn
| had the idea that is was more prominent | 16:45 |
| → az joined | 16:46 |
|
usiegj00
| heya--anyone know how to simulate git-blame by navigating trees/commits/blobs directly? | 16:46 |
|
cmn
| the github tarballs will do you as nicely, only the prebuilt doc tarballs would be missing | 16:46 |
|
BinGOs
| intuitive | 16:46 |
| ← sdaone_ left | 16:46 |
|
cmn
| you usually get git either from your distro or via the repo | 16:46 |
| ← Goplat left | 16:48 |
| ← glennpratt left | 16:50 |
| ← alexukf left | 16:52 |
| ← jceb left | 16:53 |
| ← madsy left | 16:54 |
| ← hachque left | 16:54 |
|
BinGOs
| cool I have 1.7.10.2 installed. | 16:54 |
| → solofight joined | 16:54 |
| ← toabctl left | 16:55 |
| ← Shusshu left | 16:55 |
| ← cbreak left | 16:55 |
| ← traviscj left | 16:55 |
| ← Dreamer3 left | 16:56 |
| ← solofight left | 16:57 |
| ← harshpb left | 16:57 |
| → cbreak joined | 16:57 |
| ← Lord_DeathMatch left | 17:00 |
| → Sky[x] joined | 17:00 |
| → madsy joined | 17:01 |
| ← madsy left | 17:01 |
| → madsy joined | 17:01 |
| thiago_MUC → thiago | 17:01 |
| ← n3m left | 17:01 |
| → eijk joined | 17:01 |
| ← MestreLion left | 17:03 |
| ← thiago left | 17:03 |
| ← smw left | 17:03 |
| ← nutron left | 17:04 |
| → bondar joined | 17:04 |
| → UAA1N19 joined | 17:04 |
| ← bondar left | 17:04 |
| ← gusnan left | 17:05 |
| → nutron joined | 17:05 |
| → n3m joined | 17:06 |
| ← popcorn left | 17:06 |
| → bondar joined | 17:06 |
| ← bondar left | 17:06 |
| ← angelsl left | 17:06 |
| → bondar joined | 17:06 |
| ← bondar left | 17:06 |
| madsy → Madsy | 17:07 |
| ← tharkun left | 17:07 |
| → khmarbaise joined | 17:08 |
| ← tshauck left | 17:10 |
| → angelsl joined | 17:10 |
| → nrichards joined | 17:10 |
| → smw joined | 17:11 |
| ← nrichards left | 17:12 |
| → eightyeight joined | 17:12 |
| → tharkun joined | 17:13 |
| ← Alocado left | 17:15 |
| ← kjg left | 17:15 |
| → Radium joined | 17:15 |
| ← _root_ left | 17:15 |
| ← solussd_ left | 17:16 |
| → mikepack joined | 17:16 |
| ← mikepack left | 17:16 |
| → mikepack joined | 17:16 |
| ← mikepack left | 17:17 |
| → mikepack joined | 17:17 |
| → upfront joined | 17:20 |
| ← eicto left | 17:20 |
| ← tharkun left | 17:20 |
| → _root_ joined | 17:20 |
| → eicto joined | 17:20 |
| ← v0n left | 17:21 |
| ← __iron left | 17:23 |
| → shruggar joined | 17:23 |
| → tharkun joined | 17:25 |
| → vespakoen joined | 17:25 |
| ← tqmz left | 17:26 |
| → raatiniemi joined | 17:27 |
|
vespakoen
| Hey guys, I have got a project on github, and i also have a server with gitolite on it, i would like to be able to push my changes to both repositories. but i dont know how to get them "synced" first, does anybody have pointers? | 17:27 |
| ← teweWORK left | 17:28 |
| → Silowyi joined | 17:28 |
|
canton7
| vespakoen, push to both? then they'll both be in sync with your local repo | 17:28 |
|
| gitolite also supports automatic mirroring iirc, if you prefer | 17:28 |
|
vespakoen
| ok, but my github project already has a history | 17:28 |
|
canton7
| so, clone the github repo, push to the gitolite one | 17:29 |
|
vespakoen
| canton7, that sounds good | 17:29 |
| ← marhaban left | 17:29 |
|
vespakoen
| actually, maybe i dont need the history on the gitolite server, i only put it there for the post-commit hook | 17:29 |
|
| oh yeh, that sounds pretty logical | 17:29 |
|
et
| vespakoen: if you push, you get all the history ... | 17:29 |
|
vespakoen
| ok sweet, that worked (git clone + remote add + push) | 17:31 |
|
| that was pretty stupid of me.. =P | 17:31 |
|
| anyways, thanks a lot | 17:31 |
|
canton7
| heh, we all have our moments :P | 17:31 |
|
vespakoen
| yeh i guess hehe | 17:31 |
| ← pandeiro left | 17:35 |
| ← berserkr left | 17:37 |
| → HyperNerdV2 joined | 17:39 |
| ← _root_ left | 17:40 |
| → harshpb joined | 17:43 |
| → soreau joined | 17:43 |
|
soreau
| Hey guys, running F16 here.. git send-email seems to not exist. I have git --version 1.7.7.6 | 17:44 |
| → _root_ joined | 17:44 |
|
soreau
| I tried git-send-email as well, this command does not exist. git --help shows no send-email command | 17:45 |
|
| What do I need to get the send-email command? | 17:45 |
| → ology joined | 17:46 |
|
milki
| the command isnt git-send-email, its git send-email | 17:46 |
|
| --help is only a subset of available commands | 17:47 |
|
cbreak
| git send-email is part of git | 17:47 |
|
| it comes with the standard git sources | 17:47 |
| → glennpratt joined | 17:47 |
|
soreau
| $ git send-email --help | 17:48 |
|
| No manual entry for gitsend-email | 17:48 |
|
milki
| git help send-email | 17:48 |
|
cmn
| some distros make send-email a different package | 17:48 |
|
milki
| man git-send-email | 17:48 |
|
gitinfo
| the git-send-email manpage is available at http://jk.gs/git-send-email.html | 17:48 |
|
soreau
| git: 'send-email' is not a git command. See 'git --help'. | 17:48 |
|
cmn
| some distros make send-email a different package | 17:48 |
|
milki
| really o.O | 17:48 |
|
soreau
| cmn: I searched the repos for 'send-email', it returned nothing | 17:48 |
|
cmn
| then maybe your distro doesn't have it | 17:48 |
|
EugeneKay
| yum search git- | 17:48 |
|
milki
| whats the distro? | 17:48 |
|
soreau
| F16 | 17:49 |
|
cmn
| in Debian it's git-email | 17:49 |
|
EugeneKay
| It's probably the git-email package, but I'm looking at SL6, not F16. | 17:49 |
|
| So YMMV | 17:49 |
|
cmn
| there's also probably a git-all package | 17:49 |
|
EugeneKay
| Yup. | 17:49 |
|
soreau
| cool, found it | 17:49 |
|
| git-email | 17:49 |
|
| git all yes | 17:49 |
|
| soreau installs | 17:50 |
| → bitkiller joined | 17:50 |
|
soreau
| thanks guys | 17:50 |
|
EugeneKay
| See also man yum, look at 'provides' | 17:50 |
|
soreau
| EugeneKay: yea that doesn't help | 17:50 |
| → josefig joined | 17:50 |
| ← josefig left | 17:50 |
| → josefig joined | 17:50 |
|
soreau
| unless there is a separate specific file for git-send-email | 17:50 |
|
EugeneKay
| Then you probably did it wrong because `yum provides */git-send-email` comes back with git-email for me. | 17:51 |
|
soreau
| wut | 17:51 |
|
| ah, I only did yum search | 17:51 |
|
EugeneKay
| ;-) | 17:52 |
|
cbreak
| what'd cause a distro to butcher git into pieces? :/ | 17:52 |
| ← Chib left | 17:52 |
|
EugeneKay
| People who don't want the dependencies. | 17:52 |
|
| git-email requires a bunch of perl modules; git-svn requires svn stuff; git-gui requires X et al | 17:53 |
|
cbreak
| you can install them anyway | 17:53 |
|
| it's a perl script | 17:53 |
|
EugeneKay
| `yum install git-all` comes back with a list of 31 dependences above and beyond what git-core requires. That's 29MB of packages I'd rather not have if I'm never gonna use them | 17:54 |
|
| Especially cvs/svn. | 17:54 |
|
cbreak
| you don't need the dependencies | 17:54 |
|
| just install git without them | 17:54 |
|
EugeneKay
| Tell that to yum. | 17:54 |
|
cbreak
| and then if you need them you can install the deps later | 17:54 |
| ← vespakoen left | 17:55 |
| ← mastro_ left | 17:55 |
|
cbreak
| that thing doesn't support optional dependencies? | 17:55 |
|
EugeneKay
| Nope. Hence the splitting. | 17:56 |
|
cbreak
| lame. | 17:56 |
|
EugeneKay
| "rah rah rah red hat is stupid" etc | 17:56 |
| → objNoob joined | 17:57 |
| ← fanno1 left | 17:58 |
|
soreau
| yea, it sucks :) | 17:59 |
|
| thanks again all | 17:59 |
| ← soreau left | 17:59 |
| ← nutron left | 17:59 |
| → Diemuzi joined | 17:59 |
| → Mowsh joined | 17:59 |
| → jalama joined | 17:59 |
| → nutron joined | 17:59 |
| ← Per4u3e left | 18:00 |
| ← linusoleander left | 18:00 |
| → JEntrep joined | 18:00 |
| ← n3m left | 18:02 |
| → cirwin joined | 18:02 |
| → n3m joined | 18:02 |
| → marhaban joined | 18:03 |
| → mastro_ joined | 18:04 |
| → ConstantineXVI joined | 18:04 |
| → _md joined | 18:04 |
| ← JEntrep left | 18:05 |
| → poppiez joined | 18:05 |
|
poppiez
| stupid question: in my current repo I have a structure like this: /static/js/ and /static/css/. I'd like to add a submodule in my repo with both JS and CSS files. how do I make that work with my current structure? | 18:06 |
|
| that submodule will include both JS and CSS so what dir should it be in? | 18:07 |
| → traviscj joined | 18:09 |
| → arietis joined | 18:10 |
| ← tharkun left | 18:11 |
|
cbreak
| poppiez: submodules are exactly one directory | 18:11 |
|
poppiez
| cbreak: yes, exactly my problem | 18:12 |
|
cbreak
| so maybe /module/static/js and /module/static/css | 18:12 |
|
| then you have of course two js and two cs folders | 18:12 |
|
| but that shouldn't matter too much | 18:12 |
|
| your build system can resolve that | 18:12 |
| ← harshpb left | 18:13 |
| ← juvenal left | 18:13 |
| → harshpb joined | 18:13 |
| → wbednarski joined | 18:14 |
|
poppiez
| cbreak: right, ok. I guess that's fine. thx :) | 18:16 |
| → tharkun joined | 18:16 |
| ← _root_ left | 18:20 |
|
milki
| aw, the git osx installer requires 10.5 | 18:22 |
| ← neurodrone left | 18:22 |
| ← francisfish left | 18:23 |
| ← Nibato left | 18:23 |
|
cmn
| be a man and use homebrew | 18:23 |
| ← harshpb left | 18:23 |
|
| milki has never used a mac before | 18:24 |
|
milki
| i have no idea what i need to do | 18:24 |
|
| milki googles homebrew | 18:24 |
|
cmn
| it's gentoo for mac | 18:24 |
|
bremner
| ,twb-fix | 18:24 |
|
| oh, wrong bot | 18:25 |
|
milki
| hm | 18:25 |
|
| i need to figure out how to copy and paste in mac | 18:25 |
|
| o | 18:25 |
|
| right, theres a command key | 18:25 |
|
cmn
| replace ctrnl with the odd key they have next to space | 18:26 |
| → _root_ joined | 18:26 |
|
milki
| great, ssl certs are outdated as well | 18:26 |
| ← marhaban left | 18:26 |
|
milki
| wait | 18:26 |
|
| the git hub page says requires 10.5+ | 18:27 |
|
| for homebrew | 18:27 |
|
| this is ppc | 18:27 |
|
cmn
| oh... ppc, now that's old school | 18:27 |
|
cbreak
| you could install git from source | 18:27 |
|
| I did that in the old days, on 10.5 | 18:27 |
|
milki
| ok | 18:28 |
|
cbreak
| but I don't know if current git works on that | 18:28 |
|
| and I never tried it before 10.5 | 18:28 |
| → lonewulftp joined | 18:28 |
|
cbreak
| at least not as far as I can remember | 18:28 |
| ← asakura1 left | 18:28 |
| ← lonewulf` left | 18:29 |
| ← ska-fan left | 18:29 |
| → hellopat joined | 18:29 |
| → ska-fan joined | 18:29 |
|
cbreak
| imho, 10.6 is the best OS X so far. Unfortunately, apple decided to make it worse with 10.7 :( | 18:29 |
| → Nibato joined | 18:29 |
| → toabctl joined | 18:30 |
| ← satyanash left | 18:30 |
| ← toabctl left | 18:30 |
|
milki
| o.O | 18:30 |
| → satyanash joined | 18:30 |
|
milki
| where should i set my prefix? | 18:31 |
|
| o, theres still a user local | 18:31 |
|
| er | 18:31 |
|
| /usr/local | 18:31 |
|
| milki tries that | 18:31 |
| → gusnan joined | 18:31 |
|
et
| cbreak: what exactly do you find worse with 10.7? | 18:31 |
|
kevlarman
| et: mission control is a huge downgrade from expose | 18:32 |
|
milki
| unrecognized option -pthread | 18:32 |
|
| o.O | 18:32 |
|
cbreak
| yeah. I didn't use expose much, but the new one is worse | 18:32 |
|
| I am mainly anoyed by the screwed up Spaces | 18:32 |
|
milki
| pthread sounds useful... | 18:32 |
|
cbreak
| (apples multi virtual screen thing) | 18:32 |
| → ToBeFree joined | 18:33 |
| ← ToBeFree left | 18:33 |
| → ToBeFree joined | 18:33 |
| → shoerain joined | 18:33 |
| → lonewulf` joined | 18:34 |
| ← Diemuzi left | 18:34 |
| ← leavittx left | 18:34 |
| ← glennpratt left | 18:35 |
| ← sureaint left | 18:36 |
| → meoblast001 joined | 18:37 |
|
milki
| oo | 18:37 |
|
| abort | 18:37 |
|
| rquires asciidoc | 18:37 |
| ← subbyyy left | 18:37 |
|
meoblast001
| hi, i have a question about how git does things internally. i wonder frequently what actually happens deep within git when i do certain operations | 18:37 |
|
milki
| to run doc proboably | 18:37 |
|
et
| hm, i don't feel that way ... expose was very cluttered if you had many windows so i didn't use it (but i don't use mission control much either) | 18:37 |
|
milki
| meoblast001: ask away | 18:37 |
|
cbreak
| meoblast001: !cs explains the general structure | 18:38 |
|
gitinfo
| meoblast001: 'Git for Computer Scientists' explains the basic structures used by git, which is very helpful for understanding its concepts. http://sitaramc.github.com/gcs/ | 18:38 |
|
meoblast001
| when i do a "git mv", does git handle it internally like a move? does it include the entire contents of the file being added and then removing from the old location? | 18:38 |
| → subbyyy joined | 18:38 |
| ← subbyyy left | 18:38 |
|
cbreak
| et: now it resizes all windows to the same size, which doesn't even leave size clues | 18:38 |
|
milki
| it probably does an filesystem move and then update the index entry for its new location | 18:38 |
|
cbreak
| meoblast001: git mv is like mv | 18:39 |
|
milki
| the rename detection maybe or may not work | 18:39 |
|
cbreak
| followed by staging the removal at the old location and the appearance at the new | 18:39 |
| ← vervic left | 18:39 |
|
meoblast001
| so internally it's adding a whole new file and all its contents? | 18:39 |
|
cmn
| yes, that's how moving files work | 18:40 |
|
meoblast001
| eep, hm, guess i should make sure i don't excessively move things then | 18:40 |
|
cbreak
| remember: git internally stores files by their contents | 18:40 |
|
cmn
| why? | 18:40 |
|
cbreak
| that means you can have thousands of copies of your file and they won't take up much more than one | 18:41 |
|
cmn
| moving introduces less change than editing a file | 18:41 |
|
meoblast001
| i was always under the assumption that it would just keep track of that fact that a file left a location and entered a new location | 18:41 |
|
cbreak
| no | 18:41 |
|
cmn
| git doesn't do that for any file | 18:41 |
|
cbreak
| git doesn't track changes | 18:41 |
|
| git doesn't track any kind of change | 18:41 |
|
cmn
| it will record the new file having contents so and so | 18:41 |
|
cbreak
| the only thing git DOES track is state. Like a snapshot. | 18:41 |
|
| when you commit, the state in the index gets associated with a commit object and inserted into history | 18:41 |
|
meoblast001
| aah, ok | 18:42 |
|
| perhaps i should then read up more on the internals of git | 18:42 |
|
cirwin
| !parable | 18:42 |
|
gitinfo
| 'The git parable' provides some good reasoning behind git. http://tom.preston-werner.com/2009/05/19/the-git-parable.html | 18:42 |
| ← zivester left | 18:42 |
|
cbreak
| if you have a file that was never in git (because you changed one single character in it) | 18:42 |
|
| then git will store that whole new file | 18:42 |
| ← Rafusek left | 18:42 |
|
cbreak
| if you don't change the file, it'll just use the one it already has. | 18:43 |
| → Rafusek joined | 18:43 |
| → zivester joined | 18:43 |
|
meoblast001
| ah | 18:43 |
| → JEEB joined | 18:43 |
|
cbreak
| and sometimes git squeezes space out of the history by doing delta compression | 18:43 |
|
| but that's just for making history compact, it doesn't change the conceptual representation of the snapshots | 18:44 |
| ← Zenith77 left | 18:45 |
|
milki
| do i need to install everything by source for ppc mac? | 18:46 |
| ← babilen left | 18:46 |
|
meoblast001
| cbreak: ah, thanks | 18:47 |
| ← shruggar left | 18:47 |
| ← ology left | 18:48 |
| → caseymcg joined | 18:49 |
| ← zivester left | 18:52 |
| → zivester joined | 18:53 |
| ← lonewulftp left | 18:53 |
| → subbyyy joined | 18:53 |
| ← subbyyy left | 18:53 |
| → subbyyy joined | 18:53 |
| → asakura1 joined | 18:53 |
| → lonewulftp joined | 18:54 |
| ← stodan left | 18:55 |
| → alexukf joined | 18:55 |
| ← ipalaus_ left | 18:55 |
| ← Nibato left | 18:57 |
| ← zivester left | 18:58 |
| → gtrak joined | 18:59 |
| → zivester joined | 18:59 |
|
cbreak
| milki: I did back then, but maybe there are binary packages | 18:59 |
|
| git 1.4 was current I think. Maybe even 1.3 | 18:59 |
| ← zivester left | 19:00 |
| → zivester joined | 19:01 |
| ← Gitzilla left | 19:02 |
| ← zivester left | 19:02 |
| → Nibato joined | 19:03 |
| ← dvaske left | 19:03 |
| → zivester joined | 19:03 |
| → Codif joined | 19:05 |
| ← mishok13 left | 19:05 |
| ← syphar left | 19:06 |
| → twisted` joined | 19:06 |
| → syphar joined | 19:06 |
| ← poppiez left | 19:06 |
| ← Codif left | 19:07 |
| → bartek joined | 19:07 |
| ← zivester left | 19:08 |
| → joaoh82 joined | 19:09 |
| → zivester joined | 19:09 |
| ← bartek left | 19:13 |
| → Gitzilla joined | 19:15 |
| ← tharkun left | 19:17 |
| ← _root_ left | 19:17 |
| ← stkrzysiak left | 19:17 |
| ← carlosgaldino left | 19:19 |
| ← Lgb left | 19:20 |
| → Xizor joined | 19:21 |
| → ology joined | 19:21 |
| → gumnos joined | 19:21 |
| ← Nibato left | 19:21 |
| ← mwrosen left | 19:22 |
| → shruggar joined | 19:22 |
| → Lgb joined | 19:22 |
| → _root_ joined | 19:22 |
| → Ky0sh1r0 joined | 19:23 |
| ← Ky0sh1r0 left | 19:23 |
| → Ky0sh1r0 joined | 19:23 |
| → Nibato joined | 19:28 |
| ← Sigma left | 19:29 |
| → FreeArtMan joined | 19:29 |
| → carlosgaldino joined | 19:31 |
| ← bgerber left | 19:31 |
| ← sirdancealot2 left | 19:32 |
| → bgerber joined | 19:33 |
| → teweWORK joined | 19:33 |
| ← lonewulftp left | 19:34 |
| → enmand joined | 19:34 |
| → sq-one joined | 19:35 |
| → lonewulftp joined | 19:35 |
| neersighted|AFK → neersighted | 19:36 |
| → adamm joined | 19:36 |
| ← kinetic left | 19:41 |
| → hwrdprkns joined | 19:42 |
| → n1x joined | 19:44 |
| ← jalama left | 19:45 |
| ← kermit left | 19:46 |
| ← pfFredd left | 19:46 |
| ← _root_ left | 19:47 |
| → kermit joined | 19:47 |
| ← kermit left | 19:47 |
| → Slix` joined | 19:47 |
| ← lonewulftp left | 19:50 |
| → lonewulftp joined | 19:51 |
| → iamjarvo joined | 19:53 |
| → _root_ joined | 19:54 |
| ← ronniy left | 19:54 |
| → jason237 joined | 19:55 |
| ← angelsl left | 19:55 |
| ← mikepack left | 19:56 |
| → angelsl joined | 19:56 |
| → mikepack joined | 19:57 |
| → xsbeats joined | 19:57 |
| → hwrd|work joined | 19:58 |
| ← mikepack left | 20:01 |
| → vespakoen joined | 20:01 |
|
vespakoen
| Hey guys, I put gitolite on my debian machine, and i made a post-receive hook, in there i do "sudo -u server /path/to/updater.sh" in updater.sh I have "cd /home/server/myproject" and "git pull" it actually works fine, but the new files have got this permission "-rw-------" is this because of the sudo -u server? | 20:02 |
|
| files that i pulled from git "the normal way" have "-rw-r--r--" btw | 20:03 |
| ← enmand left | 20:04 |
| ← xsbeats left | 20:04 |
| ← snearch left | 20:04 |
|
vespakoen
| or do you guys maybe have better ideas to get my repo updated with a post-receive hook? | 20:04 |
| ← zivester left | 20:04 |
| ← hwrd|work left | 20:04 |
| → kermit joined | 20:06 |
| ← teotwaki_ left | 20:07 |
|
bremner
| vespakoen: !deploy | 20:07 |
|
gitinfo
| vespakoen: Git is not a deployment tool, but you can build one around it for simple environments. Here is an example hook to get you started: https://github.com/EugeneKay/scripts/blob/master/bash/git-deploy-hook.sh | 20:08 |
| ← raatiniemi left | 20:08 |
|
josefig
| vespakoen: wait I did the same, hold. | 20:08 |
| ← joaoh82 left | 20:09 |
| → mritz joined | 20:09 |
| → thiago joined | 20:10 |
|
vespakoen
| wow, a !deploy command, that is awesome =D | 20:10 |
|
gitinfo
| Git is not a deployment tool, but you can build one around it for simple environments. Here is an example hook to get you started: https://github.com/EugeneKay/scripts/blob/master/bash/git-deploy-hook.sh | 20:10 |
|
vespakoen
| oops | 20:11 |
|
josefig
| vespakoen: https://gist.github.com/2668695 my post-update file, but I use it for staging server not for deployment, I agree with bremner, for deploy you should use git archive [branch] | tar -x -C /path/to/deploy | 20:11 |
|
| vespakoen: your problem is maybe the umask 0022 | 20:11 |
|
vespakoen
| yep, that is for sure | 20:12 |
|
| it is for a test server | 20:12 |
|
| and there are some files i added on the server itself (database config etc) so git archive wont work for me | 20:12 |
|
| vespakoen tried umask | 20:12 |
|
vespakoen
| tries* | 20:12 |
|
josefig
| vespakoen: why not? git archive works fine. | 20:13 |
| ← alexukf left | 20:13 |
|
vespakoen
| josefig, it will not delete stuff ? | 20:13 |
| ← sq-one left | 20:14 |
|
cbreak
| josefig: there are reasons not to tar to the target location | 20:14 |
|
| instead, tar to a new location, then change a symlink or move | 20:14 |
|
josefig
| vespakoen: what you mean? it overrides only the files which have been updated I guess, It's how is working for me. | 20:14 |
|
vespakoen
| ah okay | 20:14 |
| → sq-one joined | 20:14 |
| ← gumnos left | 20:15 |
|
vespakoen
| thats nice, will try it later | 20:15 |
|
| for now, umask did the trick =) | 20:15 |
|
josefig
| cbreak: but with tar -x -C /path/to/deploy only exports the files not a tar file, or maybe I didn't follow you. | 20:15 |
|
| vespakoen: I'm glad that worked for you =) | 20:15 |
|
cbreak
| josefig: there are two problems with doing that | 20:15 |
|
| the first is that you can never remove files that are no longer in the tree with your technique | 20:16 |
|
| if you write to a new location, every file gets written, but only existing files of course | 20:16 |
|
| deleted files vanish with the previous version | 20:16 |
|
vespakoen
| i dont really care about that, testing only, so im still safe at this point =) | 20:16 |
|
cbreak
| the second is that your tar is slow | 20:16 |
|
| you might have a new file a.whatever | 20:16 |
|
| and an old file z.whatever | 20:16 |
|
| and if both are used at the same time, you get into trouble | 20:16 |
|
josefig
| cbreak: oh I see your point, is good to know that, thank you ! =) | 20:17 |
|
cbreak
| if you exchange "atomically", that will not happen, or only happen much rarer | 20:17 |
|
| well, it's mainly important for those web app things | 20:17 |
|
EugeneKay
| josefig - git-deploy-hook does archive | tar, but with rsync tacked on at the end so you can use the magic that is the --delete and --exclude family ;-) | 20:17 |
|
| It also has some git-config goodness baked in | 20:17 |
|
cbreak
| does it atomic exchange? | 20:17 |
|
| I think rsync can't do that | 20:18 |
| ← Ky0sh1r0 left | 20:18 |
|
EugeneKay
| No, but you can code that in if you like. | 20:18 |
| ← kadoban left | 20:18 |
|
cbreak
| I am not a web dev... I don't care about such things :) | 20:18 |
|
josefig
| EugeneKay: Oh I see :D | 20:18 |
|
EugeneKay
| Then shush and let the "for simple environments" hook be simple ;-) | 20:18 |
|
cbreak
| our build server just moves ahead with git reset --hard to which ever tag it wants to test | 20:18 |
|
vespakoen
| rsync is awesome btw | 20:18 |
| → glennpratt joined | 20:18 |
|
EugeneKay
| cbreak - FWIW, one of the things on my to-maybe-do list is a deploy.$FOO.pre and .post command | 20:19 |
|
| Which would support atomic switching | 20:19 |
|
josefig
| EugeneKay: your to-maybe-do? are you a git developer ? | 20:20 |
| ← lapistano left | 20:20 |
|
josefig
| I didn't catch that. | 20:20 |
| → lapistano joined | 20:20 |
| ← vespakoen left | 20:21 |
| ← HyperNerdV2 left | 20:22 |
| → enmand joined | 20:22 |
| ← robbyoconnor left | 20:23 |
| ← syphar left | 20:24 |
| ← wbednarski left | 20:24 |
| ← enmand left | 20:25 |
| ← caseymcg left | 20:25 |
| ← frikinz_ left | 20:25 |
| → t0rc joined | 20:26 |
| ← t0rc left | 20:26 |
| → bsajsb joined | 20:28 |
| ← SegFaultAX left | 20:28 |
| ← _root_ left | 20:29 |
| → jarlen joined | 20:31 |
| ← n1x left | 20:32 |
| → _root_ joined | 20:33 |
|
jarlen
| I've build a framework I want to use for a range of different projects. I want to be able create a folder for each project and include the framework as an external git repo (so I can work on the framework in a central place independent from all projects), each project-specific code is then contained in a subdir of the framework setup in each project dir. | 20:34 |
|
| What should I be looking for to include the framework as an external git repo in each project. Is this git submodules, or something different? | 20:35 |
| ← glennpratt left | 20:36 |
| → smw_ joined | 20:36 |
| → rryoumaa joined | 20:36 |
| ← Vinnie_win left | 20:36 |
| ← FreeArtMan left | 20:36 |
| → juvenal joined | 20:38 |
| ← Nibato left | 20:38 |
| ← thiago left | 20:38 |
| → marhaban joined | 20:39 |
| ← grobe0ba left | 20:40 |
| → francisfish joined | 20:41 |
| → Nibato joined | 20:44 |
| → HyperNerdV2 joined | 20:45 |
| → rcu joined | 20:45 |
| ← francisfish left | 20:46 |
| → Ky0sh1r0 joined | 20:46 |
|
cbreak
| jarlen: git submodule is great for including repositories that are not concurrently developed | 20:46 |
| ← lonewulftp left | 20:46 |
| ← _root_ left | 20:46 |
| ← rcu left | 20:46 |
| → rcu joined | 20:47 |
| → lonewulftp joined | 20:47 |
|
jarlen
| cbreak: and if I'll develop on the external repository and want to be able to update all the projects? | 20:49 |
| ← fisted left | 20:49 |
| → mikepack joined | 20:49 |
|
cbreak
| then you have to go into the repository of each project | 20:49 |
|
| tell it to use the new version | 20:50 |
|
| then recompile and check if the new version works | 20:50 |
|
| and then commit the new submodule state once you have validated that it works | 20:50 |
| ← khmarbaise left | 20:50 |
|
EugeneKay
| josefig - no, I'm a git. I just happen to be the guy who write the hook listed in ! deploy | 20:51 |
|
jarlen
| I wouldn't expect it to auto-update :-), but will it allow me to just go into each project and pull the updates to the framework? | 20:52 |
| ← angelsl left | 20:53 |
| → _root_ joined | 20:54 |
|
jarlen
| I just want to make sure that it allows me to update the framework from an external repository as well as updating/pushing each project, without having to set up the git repositories each time, even though the external project is in a parent directory of the actual project | 20:55 |
| ← rryoumaa left | 20:55 |
| → fisted joined | 20:55 |
|
cbreak
| jarlen: you have to go into the submodule of each repository | 20:56 |
|
| then check out a branch | 20:56 |
|
| pull | 20:56 |
|
| then go out | 20:56 |
|
| do the stuff I wrote above | 20:57 |
|
| then git add submodule | 20:57 |
|
| and git commit with a message indicating that you updated the submodule | 20:57 |
| ← lonewulftp left | 20:57 |
|
jarlen
| ok, I'll look a bit more into how git submodule works exactly, sounds like it is what I need | 20:59 |
| → lonewulftp joined | 20:59 |
|
jarlen
| thank you | 20:59 |
| → thiago joined | 21:00 |
| ← gtrak left | 21:00 |
| → Vinnie_win joined | 21:00 |
| ← tehbam left | 21:02 |
| ← lonewulftp left | 21:04 |
| → michaelmartinez joined | 21:05 |
| → Sigma joined | 21:06 |
|
r0csteady
| bu 31 | 21:08 |
| → xsbeats joined | 21:09 |
| ← f0i left | 21:11 |
| ← michaelmartinez left | 21:12 |
| ← Ky0sh1r0 left | 21:12 |
| → lonewulftp joined | 21:13 |
| ← Sigma left | 21:13 |
| → glennpratt joined | 21:17 |
| → karoshi joined | 21:20 |
| ← vitor-br left | 21:20 |
| ← lonewulftp left | 21:21 |
| ← glennpratt left | 21:21 |
| ← karoshi left | 21:21 |
| → camdenx joined | 21:22 |
| ← alexim left | 21:23 |
| ← xsbeats left | 21:23 |
| ← camdenx left | 21:24 |
| → teotwaki_ joined | 21:26 |
| ← sophacle1 left | 21:27 |
| → xsbeats joined | 21:28 |
| → sophacles joined | 21:28 |
| ← _root_ left | 21:29 |
| → Daemon404 joined | 21:32 |
|
Daemon404
| is there any way to re-add an svn remote to an existing git repo? | 21:32 |
|
| in any sane way | 21:32 |
| → pantsman joined | 21:33 |
| ← pantsman left | 21:33 |
| → pantsman joined | 21:33 |
| → Ripp__ joined | 21:35 |
| ← Radium left | 21:36 |
| ← Dave^| left | 21:36 |
| bryanmv → bryanmv`away | 21:36 |
| → bartek joined | 21:37 |
| → glennpratt joined | 21:38 |
| ← lonewulf` left | 21:41 |
| ← sq-one left | 21:44 |
| → _root_ joined | 21:45 |
| → psoo joined | 21:46 |
| → sirdancealot2 joined | 21:47 |
| ← psoo left | 21:49 |
| ← ology left | 21:49 |
| → iadicicco joined | 21:50 |
| ← Xizor left | 21:50 |
| → Radium_ joined | 21:50 |
| ← _md left | 21:52 |
| ← txomon|home left | 21:52 |
| → adiabatic joined | 21:54 |
| → FernandoBasso joined | 21:56 |
| → lonewulftp joined | 21:56 |
| bryanmv`away → bryanmv | 21:58 |
| ← quentusrex_ left | 21:58 |
| ← cirwin left | 21:59 |
| → pfFredd joined | 21:59 |
| ← Element9 left | 22:03 |
| → Beelsebob joined | 22:07 |
|
Beelsebob
| So, what's the best way to approach using git on a FreeNAS 8.2 box? | 22:07 |
| ← Daemon404 left | 22:07 |
|
Beelsebob
| (i.e. using it as a git server) | 22:08 |
| ← glennpratt left | 22:08 |
| ← ConstantineXVI left | 22:10 |
| ← sophacles left | 22:11 |
| ← blacktulip left | 22:11 |
| ← lonewulftp left | 22:11 |
| → sdaone joined | 22:11 |
|
cmn
| install git on it | 22:12 |
| → sophacles joined | 22:12 |
| ← _root_ left | 22:12 |
|
cmn
| Beelsebob: and then take a look at !gitolite | 22:12 |
|
gitinfo
| Beelsebob: Want to host as many git repos (and users!) as you like, on your own server, with fine-grained access control? You want gitolite: https://github.com/sitaramc/gitolite - Documentation: http://sitaramc.github.com/gitolite/master-toc.html | 22:12 |
| → zivester joined | 22:12 |
|
Beelsebob
| wait… I fail | 22:12 |
|
| please kindly ignore me | 22:12 |
|
| I had git on the brain, and tried to join #freenas | 22:12 |
|
cmn
| okay... | 22:13 |
| ← matthiaskrgr left | 22:13 |
| ← Vert left | 22:14 |
| → lonewulftp joined | 22:16 |
| ← martinjlowm left | 22:17 |
| ← HyperNerdV2 left | 22:18 |
| → _root_ joined | 22:19 |
| → pfFred joined | 22:19 |
| ← _iron left | 22:19 |
| ← pfFred left | 22:19 |
| ← twisted` left | 22:20 |
| ← pfFredd left | 22:21 |
| ← lonewulftp left | 22:23 |
| → twisted` joined | 22:24 |
| → _huoxito joined | 22:26 |
| mjessome_ → mjessome | 22:28 |
| ← whitman left | 22:29 |
| ← smw_ left | 22:31 |
| ← rcu left | 22:31 |
| ← d0k left | 22:32 |
| ← meoblast001 left | 22:33 |
| ← ToBeFree left | 22:34 |
| ← arietis left | 22:34 |
| ← fuzzybunny69y left | 22:36 |
| → cirwin joined | 22:37 |
| ← thiago left | 22:38 |
| → kcj joined | 22:39 |
| → rvsjoen joined | 22:40 |
| ← _root_ left | 22:45 |
| → cybersphinx joined | 22:47 |
| ← mikepack left | 22:49 |
| → mikepack joined | 22:50 |
| ← the_cybersphinx left | 22:51 |
| → _root_ joined | 22:51 |
| ← mikepack left | 22:54 |
|
EugeneKay
| !botsnack | 22:55 |
|
gitinfo
| Om nom nom | 22:55 |
| ← Beelsebob left | 22:55 |
| → lonewulf` joined | 22:56 |
| ← pyhead left | 22:56 |
| ← ph^ left | 22:58 |
| → lonewulftp joined | 23:00 |
| → fuzzybunny69y joined | 23:01 |
| → marhaban1 joined | 23:01 |
| ← fuzzybunny69y left | 23:01 |
| ← p3rror left | 23:02 |
| ← marhaban left | 23:04 |
| ← josefig left | 23:04 |
| ← gusnan left | 23:05 |
| ← Gitzilla left | 23:07 |
| ← mritz left | 23:08 |
| → igotnolegs joined | 23:09 |
| ← lonewulftp left | 23:10 |
| → linusoleander joined | 23:10 |
| ← iamjarvo left | 23:10 |
| ← Myhro left | 23:10 |
| → kinetic joined | 23:11 |
| ← traviscj left | 23:11 |
| ← enr left | 23:14 |
| → mxweas_ joined | 23:14 |
| ← mxweas_ left | 23:15 |
| → p3rror joined | 23:16 |
| ← _root_ left | 23:17 |
| → lonewulftp joined | 23:19 |
| → joaoh82 joined | 23:19 |
| ← eijk left | 23:23 |
| → camdenx joined | 23:23 |
| → stkrzysiak joined | 23:26 |
| ← subbyyy left | 23:26 |
| → tvw joined | 23:27 |
| → Goplat joined | 23:27 |
| ← camdenx left | 23:27 |
| → josefig joined | 23:29 |
| → _root_ joined | 23:29 |
|
TomyLobo
| i'm used to using "head" instead of "HEAD" since i usually work on windows | 23:31 |
|
cmn
| that's a bad habit | 23:31 |
|
| lower-case head could mean any number of things | 23:31 |
|
TomyLobo
| however, on linux i *have* to use HEAD, which is harder to type and hard to get used to for me now. can i change that somehow? | 23:31 |
|
cmn
| you can't, that's its name | 23:32 |
|
TomyLobo
| so could upper-case HEAD, cmn, if i really mean to | 23:32 |
|
cmn
| HEAD in git is a well-defined term | 23:32 |
|
| head less so, though it often means branch tip | 23:32 |
|
| if you want to use the word "HEAD" to mean other things, that's your problem | 23:33 |
|
TomyLobo
| no i dont | 23:33 |
|
| i want head to mean HEAD | 23:33 |
|
| basically | 23:33 |
|
| what HEAD does, i don't care. i dont use it | 23:33 |
|
| i'd rather type out the branch name instead of using the shift key for HEAD | 23:33 |
|
cmn
| there's caps lock | 23:34 |
|
| but head doesn't mean HEAD | 23:34 |
|
TomyLobo
| i'd rather type out the branch name instead of using the caps lock key for HEAD | 23:34 |
| → Gitzilla joined | 23:34 |
| ← stkrzysiak left | 23:34 |
|
TomyLobo
| head doesnt mean anything on linux | 23:35 |
|
| except if i have a directory of that name | 23:35 |
|
cmn
| it does in git | 23:35 |
|
TomyLobo
| i'm talking about git | 23:35 |
| ← lonewulftp left | 23:35 |
|
TomyLobo
| what does it mean there? | 23:35 |
|
cmn
| the don't talk about its meaning on Linux | 23:35 |
|
TomyLobo
| ok let me rephrase | 23:35 |
| → lonewulftp joined | 23:36 |
|
TomyLobo
| lower-case head doesnt mean anything in git on linux, except if i have a directory/branch/tag/whatever of that name | 23:36 |
|
| at least my git doesn't know it | 23:36 |
|
cmn
| lower-case head is often used instad of tip when talking about branches | 23:37 |
| → mritz joined | 23:37 |
|
TomyLobo
| yes when *talking* about it | 23:37 |
| ← zivester left | 23:37 |
|
cmn
| when else do you use words? | 23:37 |
|
TomyLobo
| i don't *talk* to git now, do i? | 23:37 |
|
cmn
| yes, you do | 23:37 |
|
TomyLobo
| i don't have a habit of talking to inanimate things | 23:37 |
| → zivester joined | 23:38 |
|
TomyLobo
| but we're drifting off into technicalities again | 23:38 |
| → txomon|home joined | 23:38 |
|
TomyLobo
| what do you mean by "often" and do you actually mean the keyword "head"? | 23:38 |
| → fuzzybunny69y joined | 23:38 |
|
TomyLobo
| on a command line that starts with "git"? | 23:38 |
|
SethRobertson
| In lower case no, in upper case yes | 23:39 |
|
TomyLobo
| that's what i'm saying. cmn tries to confuse me by claiming otherwise | 23:39 |
| → kvda joined | 23:39 |
|
SethRobertson
| no (19:37:01) cmn: lower-case head is often used instad of tip when talking about branches | 23:39 |
|
TomyLobo
| yes and then he went on and told me i'd be "talking" to git | 23:40 |
| ← borior left | 23:40 |
|
SethRobertson
| And so you do. In a very technical language | 23:40 |
|
cmn
| and now you're restricting the use of "talk" so you can claim my arguments are invalid | 23:41 |
|
| you communicate with git | 23:41 |
|
| otherwise, it won't do anything | 23:41 |
|
TomyLobo
| i dont claim your argument invalid. you havent made any | 23:41 |
| ← Gitzilla left | 23:42 |
|
cmn
| fine | 23:42 |
| ← sophacles left | 23:42 |
|
TomyLobo
| you havent even made a statement to discuss | 23:42 |
|
cmn
| fine | 23:42 |
| → sophacles joined | 23:43 |
| → pushkar joined | 23:44 |
|
TomyLobo
| is there any git command that will accept lower-case "head" in the same place where it'd accept an upper-case "HEAD", except for log messages and such? | 23:45 |
| ← shruggar left | 23:46 |
|
iadicicco
| well if you have another ref named "head." like a tag or branch or something. | 23:46 |
|
| but then it's a different ref. | 23:47 |
|
| probably. | 23:47 |
|
TomyLobo
| and other than that? | 23:47 |
|
iadicicco
| there will never be a situation where head and HEAD always mean the same thing | 23:47 |
|
TomyLobo
| if not, is there any other harmful effect to be expected from mapping head to HEAD? | 23:48 |
|
cirwin
| TomyLobo: you'll confuse yourself when using systems that don't have that | 23:48 |
|
TomyLobo
| i can cope with that :) | 23:48 |
|
cirwin
| good good | 23:49 |
|
iadicicco
| if you have a branch called "head" | 23:50 |
|
| then you wouldn't be able to use it | 23:50 |
|
TomyLobo
| i wouldnt be able to use it on windows either | 23:51 |
| ← kvda left | 23:51 |
|
EugeneKay
| You'll need to have your head checked | 23:51 |
|
TomyLobo
| so i dont think having a "head" branch is a valid situation anyway | 23:51 |
| ← tvw left | 23:52 |
|
TomyLobo
| unless you want to specifically avoid having your branch checked out on windows | 23:52 |
| ← fuzzybunny69y left | 23:52 |
| → subbyyy joined | 23:52 |
| ← lonewulftp left | 23:53 |
| → fuzzybunny69y joined | 23:53 |
| → Gitzilla joined | 23:54 |
| → lonewulftp joined | 23:54 |
|
EugeneKay
| TomyLobo - FWIW, 'ln -s .git/HEAD .git/head' | 23:54 |
|
TomyLobo
| that's bound to break somethind :D | 23:55 |
| ← Chaser left | 23:55 |
|
EugeneKay
| `git rev-parse head` and `git rev-parse HEAD` come back the same. !weasels apply. | 23:55 |
|
gitinfo
| The consequences of this proposal are not well-defined. A band of furious weasels may infest your undergarments, or it might work just fine. You should !backup then !tryit and let us know what happens. | 23:55 |
|
TomyLobo
| -d+g | 23:55 |
|
| TomyLobo gets weasel-proof pants and tries | 23:56 |
|
milki
| o.O | 23:57 |
| → iamjarvo joined | 23:57 |
|
milki
| is this weasel reference from a mailing list post or something? | 23:57 |
|
EugeneKay
| Old saying of mine. | 23:58 |
|
milki
| aha | 23:58 |
|
EugeneKay
| Undoubtedly some pop culture reference from my childhood which I have long forgotten | 23:58 |
| → pandeiro joined | 23:58 |
|
EugeneKay
| Ah, I know what it was - Top Gear. | 23:58 |
| ← lonewulftp left | 23:58 |
| → ConstantineXVI joined | 23:58 |
|
EugeneKay
| Damned if I can remember what episode, though. | 23:59 |
|
TomyLobo
| well that didnt work | 23:59 |
|
cmn
| well, no the ln command is wrong, it makes head point to .git/.git/HEAD | 23:59 |
|
TomyLobo
| that's because ln is kinda literal in its interpretation | 23:59 |