| 2011-05-22 |
| → __name__ joined | 00:02 |
| ← pastie left | 00:02 |
| → pastie joined | 00:03 |
| → candybar joined | 00:03 |
| ← gozoner left | 00:04 |
| ← bpierre left | 00:07 |
| → ymasory joined | 00:08 |
| ← psoo left | 00:09 |
| → joel_falcou joined | 00:09 |
| ← joel_falcou left | 00:09 |
| ← brian_g left | 00:10 |
| ← DoctorDarren left | 00:13 |
| → DoctorDarren joined | 00:13 |
| → gozoner joined | 00:15 |
| ← timemachine3030 left | 00:16 |
| ← kassah left | 00:17 |
| ← gozoner left | 00:17 |
| ← Dave^| left | 00:17 |
| → kassah joined | 00:17 |
| ← Corren left | 00:18 |
| ← warthog9 left | 00:20 |
| ← lanthan__ left | 00:21 |
|
AAA_awright
| Like if you press | 00:21 |
| → smw joined | 00:23 |
| ← towski left | 00:26 |
| → jonatasnona joined | 00:26 |
| → gbacon_ joined | 00:41 |
| → dankest joined | 00:44 |
| → mysphyt joined | 00:45 |
|
dankest
| Is there a way to completely overwrite a github repository with a push? Like a push force? | 00:45 |
|
| My peer made a commit to the README before I did my initla project push | 00:46 |
|
| and I can't seem to pull either | 00:46 |
| → Buglouse joined | 00:47 |
| ← theoretical left | 00:48 |
| ← _Qman left | 00:48 |
| → _Qman joined | 00:48 |
| → timemachine3030 joined | 00:49 |
|
ayust
| dankest: "git push --force" ? | 00:50 |
| ← socketwiz left | 00:53 |
| ← nicoulaj left | 00:53 |
| → linusoleander joined | 00:53 |
| → Tac_Home joined | 00:53 |
| → marienz_ joined | 00:54 |
| ← SimonNa left | 00:57 |
| ← timemachine3030 left | 00:58 |
| ← [intra]lanman left | 00:59 |
| ← marienz left | 01:01 |
| → timemachine3030 joined | 01:02 |
| ← kukks left | 01:03 |
| ← simosx left | 01:03 |
| ← timemachine3030 left | 01:03 |
| → timemachine3030 joined | 01:04 |
| ← kpreid left | 01:05 |
| ← Ivoz_ left | 01:08 |
| ← ajt_ left | 01:08 |
| ← __name__ left | 01:10 |
|
rhalff
| dankest: i would say if you can't push and commit your peer even when using force there ain't no use in pull'n it either. | 01:10 |
| ← vdv left | 01:11 |
| ← Jippi left | 01:11 |
| → Vampire0_ joined | 01:14 |
| → ISF joined | 01:15 |
| ← khmarbaise left | 01:16 |
| ← Vampire0 left | 01:18 |
|
tkil
| hm. is the timestamp after author in gitk the "author timestamp"? because if so, it looks like git svn dcommit clobbers that timestamp as well. | 01:18 |
| → goldins73 joined | 01:19 |
| ← harrisonk left | 01:20 |
| ← rhalff left | 01:23 |
| ← electrogeek left | 01:24 |
| ← Tianon left | 01:27 |
| ← goldins73 left | 01:28 |
| ← lamont left | 01:28 |
| ← Textmode left | 01:32 |
| → lamont joined | 01:34 |
| ← kst left | 01:35 |
| → electrogeek joined | 01:35 |
| ← electrogeek left | 01:35 |
| → electrogeek joined | 01:35 |
|
dankest
| thanks | 01:36 |
| → Tianon joined | 01:36 |
| ← Tianon left | 01:36 |
| → Tianon joined | 01:36 |
| ← mysphyt left | 01:42 |
| ← DoctorDarren left | 01:42 |
| ← mrtazz left | 01:43 |
| ← fishey left | 01:43 |
| → mrtazz joined | 01:43 |
| ← hackez_work left | 01:43 |
| → hackez_work joined | 01:43 |
| → fishey joined | 01:44 |
| → rcu joined | 01:46 |
| ← rcu left | 01:47 |
| → shiba_yu36 joined | 01:48 |
| → psoo joined | 01:58 |
| ← afief left | 02:00 |
| ← Yuuhi` left | 02:01 |
| ← nwp_ left | 02:02 |
| ← tkil left | 02:03 |
| → Yuuhi` joined | 02:03 |
| ← linusoleander left | 02:07 |
| ← demi` left | 02:09 |
| ← khiroc left | 02:09 |
| ← berserkr left | 02:09 |
| → mikepack joined | 02:09 |
| → dys` joined | 02:10 |
| ← dys left | 02:12 |
| ← dankest left | 02:13 |
| → recharge joined | 02:14 |
| → joel_falcou joined | 02:15 |
| → Murr joined | 02:17 |
| → nils_r joined | 02:17 |
| ← Leemp2 left | 02:17 |
| → angasule joined | 02:18 |
|
ralc
| sometimes i wanna make sweet sweet love to the inventors of git | 02:18 |
| ChanServ set mode: +v | 02:19 |
| ← jonatasnona left | 02:20 |
| → Murr__ joined | 02:21 |
|
DrNick
| ralc: | 02:21 |
|
| he's married | 02:21 |
|
| and his wife is a world karate champion | 02:22 |
|
ralc
| sounds like the setup of an awesome evening | 02:22 |
| ← Murr left | 02:23 |
| ← Anubisss left | 02:23 |
| ← Murr__ left | 02:23 |
| → jonatasnona joined | 02:25 |
| → linusoleander joined | 02:25 |
| ← recharge left | 02:25 |
| → Murr joined | 02:27 |
| ← TDT left | 02:30 |
| → demi` joined | 02:31 |
| ← nils_r left | 02:32 |
| → cylence joined | 02:33 |
| ← Murr left | 02:35 |
| → tansell-laptop joined | 02:35 |
| → Murr joined | 02:35 |
| ← bitkiller left | 02:39 |
| ← Murr left | 02:41 |
| ← mikepack left | 02:44 |
| → recharge joined | 02:45 |
| ← jjuran left | 02:45 |
| ← Bass10 left | 02:46 |
| → mikepack joined | 02:46 |
| → hakunin joined | 02:47 |
| → intripoon_ joined | 02:48 |
| ← recharge left | 02:49 |
|
pgib
| mmm karate champion | 02:50 |
| ← mikepack left | 02:50 |
| → Adaptee joined | 02:51 |
| → nealsmith joined | 02:51 |
| ← nealsmith left | 02:51 |
| ← intripoon left | 02:51 |
| → ira_gershwin joined | 02:52 |
| → nardev joined | 02:55 |
| ← peterhil left | 02:56 |
|
milki
| >.> | 02:58 |
| ← linusoleander left | 02:59 |
| → Murr joined | 02:59 |
| ← tansell-laptop left | 03:01 |
| ← diegoviola left | 03:02 |
| ← devth left | 03:05 |
| → devth joined | 03:05 |
| ← alip left | 03:05 |
| ChanServ set mode: +v | 03:05 |
| ← jonatasnona left | 03:05 |
| → jonatasnona joined | 03:06 |
| → alip joined | 03:09 |
| → bdiu joined | 03:09 |
| ← charon left | 03:11 |
| → warthog9 joined | 03:12 |
| ← BeerSerc left | 03:12 |
| ← hakunin left | 03:14 |
| → BeerSerc joined | 03:15 |
| → charon joined | 03:15 |
| → dl9pf_ joined | 03:15 |
| → alester joined | 03:15 |
| ← dl9pf left | 03:16 |
| ← ira_gershwin left | 03:17 |
| ← pastie left | 03:20 |
| ← gbacon_ left | 03:22 |
| → pastie joined | 03:24 |
| ← pyroscope left | 03:28 |
| ← german__ left | 03:31 |
| ← pizza_ left | 03:33 |
| → eydaimon joined | 03:33 |
|
eydaimon
| how can I get the current commit rev? (aside from git log) | 03:34 |
| ← devth left | 03:34 |
| → pizza_ joined | 03:34 |
| ← aef left | 03:34 |
|
milki
| git show-ref? | 03:34 |
|
| git reflog? | 03:35 |
|
eydaimon
| thanks | 03:35 |
| → aef joined | 03:37 |
|
eydaimon
| how can I check what the ref is for the remote? | 03:40 |
|
| nm | 03:40 |
|
| duh | 03:40 |
| ← angasule left | 03:41 |
|
eydaimon
| hm | 03:41 |
| ← ki__ left | 03:42 |
| → german__ joined | 03:43 |
| ← bdiu left | 03:43 |
| ← ralc left | 03:45 |
| → ralc joined | 03:45 |
| → symbole joined | 03:45 |
| ← ralc left | 03:45 |
| → zhengyang joined | 03:45 |
| → seivan joined | 03:45 |
| → thiago_muc joined | 03:48 |
|
eydaimon
| guess a git fetch is required first | 03:48 |
|
| is there a way to see the remote ref without first doing that? | 03:48 |
| ← warthog9 left | 03:49 |
| → bdiu joined | 03:51 |
| → pyroscope joined | 03:51 |
| ← EnTeQuAk left | 03:54 |
| ← aef left | 03:55 |
| ← psoo left | 03:55 |
| → aef joined | 03:56 |
| → bindaas joined | 03:57 |
| → EnTeQuAk joined | 03:57 |
| → ralc joined | 03:58 |
| ← int3__ left | 03:59 |
| ← OOPMan left | 04:03 |
| → leo2007 joined | 04:04 |
| dys` → dys | 04:07 |
| ← JimmyRcom left | 04:08 |
| → JimmyRcom joined | 04:08 |
| → int3__ joined | 04:10 |
| ← ralc left | 04:11 |
| ← g0bl1n left | 04:13 |
| ← Murr left | 04:13 |
| → xiangfu joined | 04:15 |
| ← Opettaja left | 04:20 |
| → towski joined | 04:20 |
| → warthog9 joined | 04:21 |
| ← int3__ left | 04:22 |
| → [Pi] joined | 04:23 |
| → OOPMan joined | 04:23 |
|
[Pi]
| I uploaded a project onto GH, first version working. then my next three commits were horribly broken -- I was just loading problem code up so that other people could download it and help fix. anyway, now I have a working version #2. is there some way to tidy up ie remove these three commits, and then commit my second version? | 04:25 |
| → int3__ joined | 04:26 |
| ← madsy left | 04:26 |
| ← bdiu left | 04:28 |
|
joel_falcou
| [Pi]: you shold have worked in a branch | 04:29 |
|
jpalmer
| joel_falcou: even in a branch, you can have bad commits. (including when you merge the branch back into another) | 04:31 |
| → kpreid joined | 04:31 |
|
joel_falcou
| jpalmer: sure | 04:31 |
|
[Pi]
| joel_falcou: ok I will read up on that before I do it again.... in the meanwhile, how do I get rid of these last 3 commits? | 04:31 |
|
joel_falcou
| but havign bad commit in a dev branch that get merged when everythign is fixed is prolly better | 04:31 |
|
| rewriting history make me cringe | 04:31 |
|
| but YMMV | 04:31 |
|
| [Pi]: why ? | 04:31 |
|
| the stuff is fixed | 04:31 |
|
| why bother | 04:31 |
|
[Pi]
| joel_falcou: tidiness | 04:32 |
|
jpalmer
| [Pi]: my peronal thought is, leave the bad commits too. the whole point of revision control is so you have... revisions. good or bad. | 04:32 |
|
joel_falcou
| yup exactly | 04:32 |
|
[Pi]
| meh, there is absolutely no benefit in this case | 04:32 |
|
jpalmer
| and there is absolutely no harm in it either. | 04:32 |
|
joel_falcou
| [Pi]: you really dont care | 04:32 |
|
[Pi]
| it is just extra mass. I would rather have each commit actually mean something | 04:32 |
|
joel_falcou
| it will | 04:33 |
|
[Pi]
| ^mess | 04:33 |
|
joel_falcou
| broken commit ahppens to all of us | 04:33 |
| ← fishey left | 04:33 |
|
[Pi]
| ok so if I am going to commit broken stuff then I create a branch, say someone fixes it on the branch, then I do some more fiddling my end and get to commit a new commit for the main tree | 04:34 |
|
| that's what I should have done yes? | 04:34 |
|
| and then I can delete the branch? | 04:34 |
|
joel_falcou
| http://nvie.com/posts/a-successful-git-branching-model/ | 04:35 |
|
| yup | 04:35 |
|
| or let it live for reference | 04:35 |
|
[Pi]
| I am not in favour of leaving behind a trace of all the mess of my development process | 04:35 |
|
| unless there is good reason | 04:35 |
|
jpalmer
| [Pi]: generally speaking, I use branches for any work that is new (features, bug fixes, etc) and I commit the code in that branch if it's going to live more than 1 day. when I've got the bug fixed, or feature added (and working) I merge it back into master, and delete the branch. | 04:35 |
|
[Pi]
| even if I do this, I would like to do it selectively, otherwise I will be inundated -- the essential will get lost amongst the mundane | 04:36 |
|
| jpalmer: oh good, so deleting branches is at least standard practice | 04:36 |
|
| so is there anyway to tidy up my main tree? I have 3 messed up commits... how do I get rid of them? I wouldn't mind even erasing everything and just committing what I have now | 04:37 |
|
jpalmer
| I don't know about 'standard' practice, but it's what my teams do. when the work in a branch is done and merged back in.. why keep the branch? | 04:37 |
|
joel_falcou
| i agree | 04:38 |
|
[Pi]
| yeah keep things tidy | 04:38 |
|
jpalmer
| [Pi]: deleting everything, and commiting now.. *again* defeats the purpose of revision control. | 04:38 |
|
[Pi]
| that's what I'm trying to do early on with this project | 04:38 |
|
jpalmer
| [Pi]: if you don't want to have revisions, then why use revision control at all? | 04:38 |
|
[Pi]
| jpalmer: at the moment I don't need it... it is a young project... but as it grows in size I will need revisions for sure | 04:39 |
|
| so I'm just trying to get everything started on the right foot | 04:39 |
|
jpalmer
| even a "bad commit" can be useful. 2 years from now, you may need that commit to figure out "what was I thinking when I wrote that?!?" the code can help, the commit message can help.. leave it alone. | 04:39 |
|
[Pi]
| no. There is no benefit. It is a mess. I want my commit tree to be clean | 04:40 |
|
| I don't know why you're trying to persuade me to keep junk | 04:40 |
|
| is it because it is difficult / voodoo to remove recent commits? | 04:40 |
|
jpalmer
| ehh, you'll learn eventually I guess. it's your repo. do what you want with it. | 04:40 |
|
| We were just trying to save you the headache and heartache of learning this on your own. but if you're going to ignore us.. you'll get smarter at some point. good luck. | 04:41 |
|
joel_falcou
| [Pi]: history rewriting is really more meesy than a few botched commit really | 04:41 |
|
[Pi]
| joel_falcou: thx | 04:43 |
|
jpalmer
| [Pi]: as for branching, generally speaking, it's not to "hide" or "get rid of" commits with non-functional code. it's more about keeping 'master' working a majority of the time. In fact, when merging your branch back into master, it keeps the commit history. | 04:43 |
| → ilteris joined | 04:44 |
| ← 13WAARIOC left | 04:44 |
|
[Pi]
| jpalmer: right, I didn't know about branching when I did this. My bad for not rtfm. | 04:45 |
| → mikepack joined | 04:46 |
|
jpalmer
| I'm not trying to flame you for not knowing something. I'm trying to help you realize that getting rid of history is generally not a good thing to do. Especially if you don't have a *really really really* good reason to do so. | 04:46 |
| ← mcdebugger left | 04:46 |
|
jpalmer
| (and to be blunt, I can honeslty say I've never heard of a reason "good enough" to change history) | 04:46 |
|
nevyn
| jpalmer: a linear history | 04:47 |
|
| jpalmer: being tidy. | 04:47 |
|
jpalmer
| heck, look at what happened when history got changed in all of the 'back to the future' movies. *nothing* good comes of it :P | 04:47 |
|
joel_falcou
| beign tidy is non sense w/r to RevControl | 04:47 |
|
| really | 04:47 |
|
jpalmer
| nevyn: neither of which are *good* reasons, IMO. | 04:47 |
|
joel_falcou
| and error are part of the dev process and contains informations | 04:48 |
|
nevyn
| joel_falcou: explain that to the change managment board. | 04:48 |
|
joel_falcou
| ? | 04:48 |
|
| nevyn: i dont get you | 04:48 |
|
nevyn
| change control want to know exactly what's going to be done in production. they don't want the dev missteps | 04:48 |
|
| it just confuses them. | 04:48 |
|
jpalmer
| change management boards are reviewing your source code? | 04:49 |
|
joel_falcou
| hence branches nevyn | 04:49 |
|
| and what the f*** is CMB > | 04:49 |
|
nevyn
| jpalmer: infrastructure code. | 04:49 |
|
| joel_falcou is a poor academia guy so bear with him :p | 04:49 |
|
joel_falcou
| again | 04:49 |
|
| fuck up in branch | 04:49 |
|
| merge to single point history | 04:49 |
|
| delete branch | 04:49 |
|
| this is better than rewrite of history | 04:49 |
|
Arrowmaster
| except it removes the flow | 04:50 |
|
[Pi]
| sorry, I can't see it. I'm not deliberately trying to be Obtuse. but I have a good initial commit, a decent 1.0, followed by three 'wtf why is this not working' commits, which are completely worthless because I didn't know how to set up GL frame buffers, they are just pure floundering. now I have fixed everything and I have good 2.0. there is absolutely no benefit of keeping the flounderings, other than to remind myself that I can occasionally be an idio | 04:50 |
|
| I'm well aware of the fact, so I don't need a reminder. | 04:50 |
|
joel_falcou
| Arrowmaster: depends of your workflow | 04:50 |
|
jpalmer
| joel_falcou: in the enterprise world, changes to infrastructure have to go through a review process. people who make sure the change isn't going to negatively impact other things. | 04:50 |
|
joel_falcou
| jpalmer: ok | 04:50 |
|
| Arrowmaster: the branch is still there in the history | 04:50 |
|
| just no pushed anymore | 04:50 |
|
| the flow is still visible | 04:50 |
|
symbole
| Sometimes QA folk read commit messages to get a sense of what's going on. | 04:51 |
|
Arrowmaster
| if its all in one commit then the flow of what happened to it is gone | 04:51 |
|
joel_falcou
| Arrowmaster: no | 04:51 |
|
| you have the branch with all the change just behind | 04:51 |
|
jpalmer
| [Pi]: the code is fixed in the recent commit, right? 2 year from now when you need to fix a bug in framebuffers, and haven't DONE it for 2 years.. those commits can and will be useful. | 04:51 |
|
joel_falcou
| the merge point is just there and have two parent | 04:51 |
|
| the previous linear commit | 04:51 |
|
| the branch that lead there | 04:51 |
|
Arrowmaster
| are you saying to git merge --no-ff or git merge --squash? | 04:51 |
|
joel_falcou
| git merge --no-ff | 04:52 |
|
| i thought it was obvious | 04:52 |
|
Arrowmaster
| that can still leave cruft that shouldnt be there | 04:52 |
| ← mdel left | 04:52 |
|
joel_falcou
| sorry for the context lose | 04:52 |
|
| Arrowmaster: like what kind of cruft ? | 04:52 |
|
| you merge whwent the stuff works | 04:52 |
|
| period | 04:52 |
|
jpalmer
| [Pi]: if you're that concerned about "tidy" and don't really need the revision history.. it's your repo. wipe and re-up. | 04:52 |
|
Arrowmaster
| like commits that fix previous commits in the branch | 04:53 |
| ← f0i left | 04:53 |
|
joel_falcou
| Arrowmaster: again i prefer this cruft to rewriting public history | 04:53 |
|
| and again YMMV | 04:53 |
| → f0i joined | 04:53 |
|
jpalmer
| the bottom line for *everyone* is, these are your repos. o what you feel is best for you. I personally would *never* change history. | 04:54 |
|
[Pi]
| jpalmer: Wrong code doesn't help anyone. without seeing my code, I don't see why you are going out on a limb to suggest it may be useful in the future. It won't. I can show it to you if you like, and you will have to agree. There is no benefit of it. nothing to be learned. | 04:54 |
| → jjuran joined | 04:54 |
|
joel_falcou
| [Pi]: i guess we all understood, it's your repo, do w/e you want | 04:54 |
|
| no need to go in logohrea on this | 04:55 |
|
jpalmer
| [Pi]: again, you'll learn in due time. a simple commit (even a bad one) can help jog your memory 2 years from now when you have to go back and work on that code. you'll have a better understanding of why you did something the way you did. but to each his own. wipe and re-up. | 04:55 |
|
| just hope you don't regret your decision later. because when you change history, it's.. gone. | 04:56 |
| → mdel joined | 04:56 |
|
jpalmer
| Leaving it there really doesn't hurt anything. and given the possibilty that it may HELP you later.. I dunno.. I just don't see it being a good thing. | 04:56 |
|
| but I'll stop my rant, it's past my bedtime anyway :P night all. | 04:57 |
| ← JasonWoof left | 04:58 |
|
[Pi]
| joel_falcou: 'do w/e you want' <-- this is why I'm here asking; I'm trying to find what are the alternatives, what can I do, what are the consequences / reasons | 04:59 |
|
joel_falcou
| we told you everythign you had to know | 04:59 |
|
| rewriting history is a bad practice | 04:59 |
| ← cylence left | 05:00 |
| ← deekayen left | 05:00 |
| ← mdel left | 05:00 |
| → Opettaja joined | 05:01 |
| → gremset joined | 05:01 |
|
[Pi]
| ok seeing as I only have one good commit, I can download it to my desktop, then erase everything in the repo, then commit the good original, then commit my good v2. then read up on branches, so I don't mess up like this again... | 05:01 |
|
| how do I errase everything in my repo? | 05:01 |
|
jpalmer
| delete the repo, and recreate. | 05:02 |
|
| (I find it interesting that.. even after all this "don't do it" stuff, you still wan tto do it. but I digress. | 05:02 |
| → rchavik joined | 05:03 |
| ← rchavik left | 05:03 |
| → rchavik joined | 05:03 |
| → deekayen joined | 05:04 |
| → tansell-laptop joined | 05:05 |
|
[Pi]
| is there any way I can delete all of the repo's contents from the command line without actually going onto the site and deleting the repo itself ( which would delete the actual container rather than just the contents )? | 05:06 |
|
symbole
| I have branch A with file X that consists of "foo", and I also have branch B with file X that consists of "bar". When I merge B into A, I don't get a conflict. I don't quite understand it why. | 05:06 |
| ← 16SAAGMKN left | 05:07 |
| → paja joined | 05:09 |
| ← alip left | 05:10 |
| ← Adaptee left | 05:10 |
| ← banghouse left | 05:11 |
| → alip joined | 05:13 |
| → cylence joined | 05:16 |
| → dr0id joined | 05:17 |
| ← Tac_Home left | 05:17 |
| ← pizza_ left | 05:19 |
| ← alip left | 05:19 |
| → Error404NotFound joined | 05:19 |
|
symbole
| It's a fast-forward merge too. | 05:20 |
|
| I guess I need to look at how that works more closely. | 05:20 |
| → pizza_ joined | 05:21 |
| dr0id → Andr0id | 05:22 |
| → alip joined | 05:24 |
| ← alester left | 05:25 |
| → tewecske joined | 05:26 |
| → LongBeach joined | 05:26 |
| → KSHawkEye joined | 05:26 |
|
KSHawkEye
| Hey, wondering what the --depth <depth> actually did, and since it was removed what the alternates are? | 05:27 |
| → boombatower joined | 05:27 |
| ← boombatower left | 05:27 |
| → boombatower joined | 05:27 |
| → _Ryth joined | 05:30 |
| ChanServ set mode: +v | 05:30 |
|
KSHawkEye
| (I'm guessing that it only clones the main directory and no subdirectories, but since it was removed how can I do this?) | 05:30 |
|
Arrowmaster
| thats not what it did | 05:30 |
|
KSHawkEye
| Oh.. what did it do? | 05:31 |
|
Arrowmaster
| it limited the amount of history that it cloned | 05:31 |
|
KSHawkEye
| Okay, so is there any way to do that then? just clone a single file, or a single dir? | 05:31 |
|
Arrowmaster
| no | 05:31 |
|
KSHawkEye
| Arrowmaster: You positive? | 05:31 |
|
Arrowmaster
| 100% | 05:32 |
|
KSHawkEye
| Thanks | 05:32 |
| ← joel_falcou left | 05:33 |
| → envi joined | 05:33 |
| → mdel joined | 05:34 |
| ← mikepack left | 05:37 |
|
_Ryth
| I just asked another dev on this project about git "hey, I've made a rather large change to hamaxe.cs How do i Keep my changes and merge your newest commit into mine?" Is there a way | 05:38 |
|
| Sorry for poor formatting there ^ | 05:38 |
| → Anatoliy joined | 05:39 |
| → mikepack joined | 05:40 |
| ← Anatoliy left | 05:41 |
| ← eydaimon left | 05:42 |
|
Arrowmaster
| KSHawkEye: were did you get the impression that --depth was removed from git clone? | 05:44 |
|
KSHawkEye
| Someone recommended it to me | 05:45 |
|
| oh | 05:45 |
|
| sorry | 05:45 |
| ← ISF left | 05:45 |
|
KSHawkEye
| read that wrong, and because I tried --depth and it failed, I also couldn't find it in the help or anything | 05:46 |
|
Arrowmaster
| then your git version must be old enough to not have it | 05:46 |
|
KSHawkEye
| It's ubuntu 11? | 05:46 |
|
| git --help | grep "depth" doesn't reveal anything, and man git doesn't list it | 05:49 |
|
jast
| *automatic message* the 'git' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git.html | 05:49 |
|
Arrowmaster
| KSHawkEye: should be in man git-clone | 05:49 |
|
jast
| KSHawkEye: *automatic message* the 'git-clone' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-clone.html | 05:49 |
|
KSHawkEye
| Arrowmaster: Ah, thanks, didn't know there was another man for git-clone, thanks | 05:50 |
|
Arrowmaster
| yeah theres a different man page for all subcommands | 05:50 |
| ← jonatasnona left | 05:51 |
| ← Ruudjah left | 05:53 |
| ← seivan left | 05:57 |
| ← jfkw left | 06:03 |
| ← mikepack left | 06:03 |
| ← chrisf left | 06:05 |
| ← f00li5h left | 06:05 |
| → chrisf joined | 06:06 |
| ← mdel left | 06:08 |
| → adaptee joined | 06:09 |
| ← KSHawkEye left | 06:12 |
| ← halfline left | 06:14 |
| → cesario joined | 06:15 |
| ← RaceCondition left | 06:17 |
| → gozoner joined | 06:18 |
| ← gozoner left | 06:22 |
| → Tac_Home joined | 06:23 |
| ← adamm left | 06:25 |
| ← eli left | 06:25 |
| → seivan joined | 06:26 |
| ← symbole left | 06:27 |
| → jackdempsey joined | 06:28 |
| → phantomcircuit joined | 06:28 |
| ← jackdempsey left | 06:28 |
|
phantomcircuit
| so i have a shared bare git repo, how can i keep the permissions from getting clobbered by pushes from different people? | 06:29 |
| → eli joined | 06:29 |
| ← hyperair left | 06:29 |
| → namemon joined | 06:30 |
|
tango_
| phantomcircuit: did you init it shared? | 06:31 |
|
phantomcircuit
| nope is there some way to fix that? | 06:32 |
|
sitaram
| phantomcircuit: http://sitaramc.github.com/gitolite/doc/overkill.html has some information that should be useful. It's not hard to do but you need to understand how unix permissions work | 06:35 |
| → aspotashev joined | 06:39 |
| ← madewokherd left | 06:44 |
| → legumbre_ joined | 06:46 |
| ← warthog9 left | 06:47 |
| ← legumbre left | 06:47 |
| ← Rickardo_ left | 06:48 |
| → rgr joined | 06:49 |
| → akosikeno joined | 06:49 |
| ← Tac_Home left | 06:49 |
| → Anatoliy joined | 06:54 |
| ← Anatoliy left | 06:55 |
| ← Wooga left | 06:56 |
| → Tac_Home joined | 06:57 |
| → ExtraSpice joined | 06:58 |
| ← gremset left | 06:59 |
| → Wooga joined | 06:59 |
| ← alip left | 07:00 |
| ← Wooga left | 07:02 |
| → Wooga joined | 07:03 |
| → alip joined | 07:04 |
| ← erez_ left | 07:05 |
| → Titosemi joined | 07:06 |
| ← rgr left | 07:07 |
| → rgr joined | 07:08 |
| ← Anxi80 left | 07:08 |
| ← Andr0id left | 07:08 |
| → Anxi80 joined | 07:08 |
| → vdv joined | 07:09 |
| → airborn joined | 07:09 |
| ← jfelchner left | 07:10 |
| → jfelchner joined | 07:10 |
| → nils_r joined | 07:11 |
| ← dhruvasagar left | 07:11 |
| ← Tac_Home left | 07:12 |
| → halfline joined | 07:13 |
| → dhruvasagar joined | 07:13 |
| → Tac_Home joined | 07:13 |
| → lxsameer joined | 07:16 |
|
lxsameer
| how can i clone a specific branch of a repository | 07:17 |
| → tore__ joined | 07:18 |
|
selckin
| can't | 07:20 |
| ← towski left | 07:21 |
|
lxsameer
| selckin: thsnkd | 07:21 |
|
bremner_
| you can set the remote HEAD so that the default branch checked out in a clone is whatever you want. But you still transfer everything. Maybe fancy stuff with bundles can avoid some transferring. | 07:27 |
|
Arrowmaster
| lxsameer: git clone -b BRANCHNAME REPOURL | 07:31 |
| ← tore__ left | 07:31 |
| ← aspotashev left | 07:31 |
| → impulze joined | 07:35 |
| → aspotashev joined | 07:38 |
| ← madduck left | 07:39 |
| ← impulze left | 07:39 |
| → ggregori joined | 07:39 |
| ← airborn left | 07:41 |
| ← sechrist_ left | 07:41 |
| ← boombatower left | 07:44 |
| ← shiba_yu36 left | 07:46 |
| ← Opettaja left | 07:49 |
| ← Buglouse left | 07:50 |
| → warthog9 joined | 07:54 |
| ← [Pi] left | 07:55 |
| ← leo2007 left | 07:55 |
| ← nils_r left | 07:59 |
| → shiba_yu36 joined | 08:00 |
| → dirk2 joined | 08:02 |
| ← dirk2 left | 08:02 |
| → dirk2 joined | 08:03 |
| → madduck joined | 08:03 |
| ← dirk2 left | 08:04 |
| → jdhore1 joined | 08:04 |
| ← Tac_Home left | 08:06 |
|
jdhore1
| When I ran hg, I did basically the following to backport stuff from the development repo/tree to stable: hg export commit# > ../other-repo/commit.patch && cd ../other-repo/ && hg import commit.patch ...How would I go about doing that with git? | 08:06 |
| → Opettaja joined | 08:07 |
| ← Opettaja left | 08:07 |
| → Opettaja joined | 08:07 |
| → Tac_Home joined | 08:08 |
|
selckin
| git format-patch/ git am | 08:08 |
|
| why isn't it a branch in the same repo? | 08:08 |
| → dr0id joined | 08:09 |
|
jdhore1
| selckin, Because hg's branching is hateful | 08:09 |
|
selckin
| well git isn't | 08:09 |
|
jdhore1
| I know | 08:09 |
|
dr0id
| heh | 08:10 |
|
jdhore1
| For the next stable tree, it'll be a branch | 08:10 |
| → Murr joined | 08:10 |
| → Juo joined | 08:11 |
| → Dave^| joined | 08:11 |
| ← giallu left | 08:11 |
| ← lxsameer left | 08:11 |
| → syphar joined | 08:13 |
| ← syphar left | 08:13 |
| ← OOPMan left | 08:14 |
|
jdhore1
| hmm...git format-patch doesn't seem to do what I want...It's giving me every commit from the commit i specified to head, i just want the commit i specified | 08:15 |
|
teuf
| jdhore1: git format-patch -1 SHA1 | 08:16 |
| → deuterium_ joined | 08:18 |
| ← Tac_Home left | 08:18 |
|
jdhore1
| teuf, thanks | 08:18 |
| ← deuterium_ left | 08:21 |
| ← Murr left | 08:21 |
| → aminpy joined | 08:21 |
| ← xerora left | 08:23 |
| → [Pi] joined | 08:23 |
| → gebi joined | 08:23 |
| ← akosikeno left | 08:24 |
| → workmad3 joined | 08:25 |
|
jdhore1
| This is why I love git so damn much right now | 08:25 |
| ← german__ left | 08:26 |
| ← HedgeMage left | 08:27 |
|
teuf
| jdhore1: reading the backlog, if what you want is applying a commit from one branch to another, git cherry-pick does exactly thtat | 08:27 |
| → Textmode joined | 08:27 |
|
jdhore1
| Yeah, I know about cherry-pick between branches...If only it worked between trees/repos though... :( | 08:28 |
|
teuf
| you can add the repo you want to cherry-pick from as a remote, and then cherry-pick from that | 08:28 |
|
| it's a bit weird to do that if the trees are unrelated imo, but that's also helpful | 08:29 |
| ← rgr left | 08:30 |
|
jdhore1
| That's not a bad idea, but i think i'm going to stick with my current way and ease myself into the git way of doing things kind of slowly | 08:31 |
| ← bindaas left | 08:33 |
| → d0k joined | 08:37 |
| → satanas joined | 08:41 |
| → citrusme joined | 08:42 |
| ← tewecske left | 08:42 |
| ChanServ set mode: +v | 08:44 |
|
satanas
| hi guys. just a stupid question. a staged file is a file which is included in the index, right? | 08:44 |
| → tewecske joined | 08:44 |
| → sechrist joined | 08:44 |
|
selckin
| sure | 08:45 |
| ← thiago_muc left | 08:45 |
| → thiago_muc joined | 08:45 |
| thiago_muc → thiago | 08:45 |
| ← thiago left | 08:49 |
| → bindaas joined | 08:50 |
|
satanas
| thanks for answering. and a tracked file what exactly is? Im not an english native speaker so its not as easy. Im confused | 08:50 |
| ← bindaas left | 08:50 |
| → bindaas joined | 08:51 |
|
selckin
| a file git knows about and is being tracked for changes | 08:51 |
| → nevyn^ joined | 08:51 |
|
satanas
| thanks selckin. but i translated word 'tracked' and it gives me a stupid translation. tracked stands for being in a commit? | 08:52 |
| → rcu joined | 08:53 |
| ← rcu left | 08:54 |
| ← tansell-laptop left | 08:54 |
|
selckin
| watched | 08:54 |
|
| monitored | 08:54 |
|
| but yes, a file in the repo | 08:54 |
|
satanas
| thanks a lot selckin. regards! | 08:55 |
| → boombatower joined | 08:56 |
| ← cesario left | 08:59 |
|
jdhore1
| I think i'm falling in love with another piece of software...This is good :D | 08:59 |
| ← jjuran left | 09:00 |
| → radarek joined | 09:01 |
| ← satanas left | 09:02 |
| ← Opettaja left | 09:03 |
| → juvenal_ joined | 09:03 |
| ← juvenal left | 09:03 |
| juvenal_ → juvenal | 09:03 |
| → Opettaja joined | 09:05 |
| → jatt joined | 09:07 |
| → BiggFREE joined | 09:09 |
| ← envi left | 09:09 |
| → noonoooo joined | 09:15 |
| ← citrusme left | 09:15 |
| → brian_g joined | 09:20 |
| → rgr joined | 09:22 |
| → eletuchy joined | 09:24 |
| ← namemon left | 09:29 |
| → namemon joined | 09:30 |
| ← dr0id left | 09:30 |
| → dr0id joined | 09:31 |
| → Raging_Hog joined | 09:31 |
| ← DrNick left | 09:31 |
| ← sechrist left | 09:31 |
| → sechrist joined | 09:32 |
| → leo2007 joined | 09:32 |
| → DrNick joined | 09:33 |
| ← BiggFREE left | 09:35 |
| ← _Ryth left | 09:37 |
| ← Samual left | 09:40 |
| ← radarek left | 09:46 |
| ← cylence left | 09:51 |
| → ch077179 joined | 09:53 |
| ← intripoon_ left | 09:53 |
| ← ch077179 left | 09:53 |
| → ch077179 joined | 09:54 |
| → royco-cup joined | 09:57 |
|
royco-cup
| Hey guys! | 09:57 |
|
| can someone give me a hand on a git problem? | 09:57 |
|
nevyn
| just ask your question | 09:58 |
|
royco-cup
| ok... | 09:58 |
| → bauruine joined | 09:58 |
|
royco-cup
| I have changed modes and chown the .git and now it doesn't recogize the repo | 09:58 |
|
| says its not a repo | 09:58 |
| ← jdhore1 left | 09:59 |
|
nevyn
| why did you do that? | 09:59 |
|
royco-cup
| they were associated to root (some of the files....) and I needed tem to be apache | 09:59 |
| ← nevyn^ left | 09:59 |
|
royco-cup
| nevyn: I reckon some file needs to be rw-rw-r ? | 10:00 |
|
| guys is there any specific permission that the .git files need to be in order to be a repo? | 10:01 |
| ← ringlej left | 10:01 |
|
nevyn
| the permissions of the index files need to be whatever they need to be the directories within probably should be executable. but..nothing too special | 10:01 |
| → tore__ joined | 10:01 |
| → ezyang joined | 10:01 |
| → fcuk112 joined | 10:01 |
|
ezyang
| What's the easiest way to stage all files that I removed? | 10:01 |
| → gremset joined | 10:02 |
|
ezyang
| I.e. I did an "rm file" and now I want all of these missing files to be "git rm'd" | 10:02 |
|
royco-cup
| nevyn: thats weird... I dind't touch the files... just .git | 10:02 |
|
nevyn
| royco-cup: .git is the index files | 10:03 |
|
royco-cup
| nevyn: i see | 10:04 |
|
nevyn
| royco-cup: the working tree isn't that important in git terms. | 10:04 |
|
royco-cup
| nevyn: well I just tried having all u=rwx inside .git and still no luck | 10:05 |
| ← [Pi] left | 10:05 |
| → intripoon joined | 10:09 |
| → khmarbaise joined | 10:09 |
| → Jippi joined | 10:10 |
| → __name__ joined | 10:11 |
| ← __name__ left | 10:11 |
| → __name__ joined | 10:11 |
| ← royco-cup left | 10:11 |
| → [Pi] joined | 10:12 |
| → saschpe joined | 10:13 |
| ← blop left | 10:13 |
| → blop joined | 10:15 |
| ← khmarbaise left | 10:18 |
| ← blop left | 10:19 |
| → blop joined | 10:19 |
| → dirk2 joined | 10:19 |
| ← dys left | 10:20 |
| ← dirk2 left | 10:20 |
| → Anubisss joined | 10:22 |
| → RaceCondition joined | 10:22 |
| ← caseymcg left | 10:22 |
| ← chrisf left | 10:24 |
| ← gebi left | 10:26 |
| → gebi joined | 10:26 |
| → tvw joined | 10:27 |
| → rendar joined | 10:28 |
| → jstemmer joined | 10:29 |
| → khmarbaise joined | 10:33 |
| → SimonNa joined | 10:35 |
| → Agos joined | 10:37 |
| → jjuran joined | 10:37 |
| → Dave^|| joined | 10:39 |
| → saschagehlich joined | 10:40 |
| ← Dave^| left | 10:41 |
| → verto joined | 10:41 |
| ← verto_ left | 10:42 |
| → cytrinox joined | 10:44 |
| → evaluate joined | 10:45 |
| → crhan joined | 10:45 |
|
evaluate
| Hello. | 10:45 |
| ← ezyang left | 10:45 |
|
FauxFaux
| Patientest visitor ever. | 10:46 |
|
zomg
| Maybe he just wanted to say hello, 'cause he's a nice guy | 10:47 |
|
evaluate
| If I create a branch with git, then make some commits to that branch and finally merge the branch into master, the history of master will only contain a single entry where the whole history of the branch will be 'compressed'. Is there a way to merge a branch into master but still retain the history of that branch as separate commits? | 10:47 |
|
| Sorry, I just like to write everything as a single 'line', I hate people that use the Enter key as punctuation... | 10:48 |
|
zomg
| Don't worry =) | 10:48 |
|
| What did you use to see your history after the merge? | 10:48 |
| → ramusara joined | 10:48 |
|
FauxFaux
| evaluate: I'm guessing you mean man git merge --no-ff, but that's not what you're asking. | 10:48 |
|
jast
| evaluate: *automatic message* the 'git-merge' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-merge.html | 10:48 |
|
zomg
| If you just say "git merge x" then it should actually have a merge commit and the history should show up | 10:49 |
| → radarek joined | 10:49 |
|
zomg
| but if you use "git log", it won't show the merged branch side of the commits, so it looks like there's just the merge commit | 10:49 |
| → drizzd joined | 10:49 |
|
FauxFaux
| (It sounds like you're using git merge --squash and you're expecting the default behaviour.) | 10:49 |
|
zomg
| iirc anyway | 10:49 |
|
evaluate
| zomg, hmm, you're right. I'm not sure if I was too sleepy but I saw the merge commit and saw everything as a single commit, but the commits that I've done in the branch also appear. | 10:51 |
|
zomg
| gitk or such will display a nicer graphical view of them | 10:52 |
|
FauxFaux
| git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative" && git lg | 10:52 |
| ← adaptee left | 10:54 |
| → tty1 joined | 10:55 |
|
evaluate
| ok, now that I'm here, I'd also have one more curiosity. Is there a way to avoid conflicts when working with branches? For example if I change the version number in the configure file, git will usually see that as a conflict when doing a merge, is there a commonly accepted way to avoid that or is everyone just manually fixing these conflicts? | 10:55 |
| ← shiba_yu36 left | 10:56 |
| ← sechrist left | 10:56 |
| → chisler joined | 10:57 |
|
zomg
| evaluate: with config files you'd typically commit a "template" configuration file, like config.ini.base | 10:57 |
|
FauxFaux
| The best way to fix that kind of problem is to not have the version number in git and generate it at build time. :) | 10:57 |
| ← jfelchner left | 10:58 |
|
zomg
| then you would just create a copy of it, config.ini, and do your own configurations there | 10:58 |
| → eletuchy_ joined | 10:58 |
| ← ch077179 left | 10:59 |
| → ch077179 joined | 10:59 |
|
evaluate
| But that would mean that people who want to build the program from the git repository would have to go through some extra steps before they can build... | 10:59 |
|
zomg
| You could include the step in your build script | 11:00 |
|
| Or you could provide a default config, which the user could extend in a custom config file (config.ini, which is committed, and a user.ini, which isn't, or something like that) | 11:00 |
| ← eletuchy left | 11:01 |
| → sechrist joined | 11:01 |
| ← Leonidas left | 11:03 |
| ← flowbee left | 11:04 |
| → Schmallon joined | 11:05 |
| → berserkr joined | 11:06 |
|
evaluate
| I think that requiring the user to execute a script when building from git might be best in this case then. Thank you for your help! | 11:06 |
|
zomg
| np | 11:07 |
| → moonflux joined | 11:08 |
| ← drl left | 11:09 |
| ← alip left | 11:10 |
| → psoo joined | 11:11 |
| → alip joined | 11:11 |
| ← jjuran left | 11:13 |
| → g0bl1n joined | 11:14 |
| → drl joined | 11:15 |
| adamholt → adamholt_away | 11:15 |
| adamholt_away → adamholt | 11:15 |
| → ringlej joined | 11:16 |
| → flowbee joined | 11:18 |
| → theoretical joined | 11:18 |
| ← babilen left | 11:20 |
| → fcuk112_ joined | 11:20 |
| ← fcuk112 left | 11:21 |
| ← psoo left | 11:21 |
| → LouisJB joined | 11:23 |
| dr0id → MikeSee | 11:25 |
| MikeSee → dr0id | 11:26 |
| ← aspotashev left | 11:26 |
| → Leonidas_ joined | 11:28 |
| Leonidas_ → Leonidas | 11:29 |
| ← tvw left | 11:29 |
| → linusoleander joined | 11:35 |
| ← gebi left | 11:36 |
| ← Juo left | 11:36 |
| → ralc joined | 11:37 |
| ← linusoleander left | 11:37 |
| → jjuran joined | 11:37 |
| → psoo joined | 11:37 |
| → angasule joined | 11:40 |
| ← drl left | 11:41 |
| ← paja left | 11:41 |
| → maguey_ joined | 11:41 |
| ← rgr left | 11:46 |
| ← nellyb67 left | 11:47 |
| ← sechrist left | 11:48 |
| → paja joined | 11:50 |
| → TDT joined | 11:50 |
| ← aminpy left | 11:51 |
| → sechrist joined | 11:51 |
| → linusoleander joined | 11:52 |
| → aspotashev joined | 11:52 |
| → drl joined | 11:54 |
| ← jophish left | 11:55 |
| ← dcsobralWork left | 11:56 |
| → peterhil joined | 11:56 |
| ← Agos left | 11:57 |
| ← Titosemi left | 11:58 |
| ← maguey_ left | 11:58 |
| ← fcuk112_ left | 12:01 |
| → kumbayo joined | 12:02 |
| ← psoo left | 12:03 |
| → Titosemi joined | 12:05 |
| ← nardev left | 12:07 |
| → nardev joined | 12:07 |
| ← nardev left | 12:08 |
| → nardev joined | 12:08 |
| ← g0bl1n left | 12:09 |
| ← linusoleander left | 12:14 |
| adamholt → adamholt_away | 12:15 |
| adamholt_away → adamholt | 12:15 |
| ← sechrist left | 12:15 |
| ← kassah left | 12:17 |
| → kassah joined | 12:17 |
| → g0bl1n joined | 12:18 |
| → jophish joined | 12:19 |
| ← Opettaja left | 12:19 |
| ← Schmallon left | 12:21 |
| → snearch joined | 12:22 |
| ← ebi left | 12:26 |
| → Spockz joined | 12:28 |
| → ebi joined | 12:28 |
| → chessguy joined | 12:28 |
| → adaptee joined | 12:29 |
|
chessguy
| i'm not sure if this is the best place to ask this, but i had my machine all set up to use github, and now suddenly whenever i try to do anything with remote on one of my github repositories, i get a "Permission denied (publickey)." | 12:29 |
| ← Titosemi left | 12:29 |
| → Titosemi joined | 12:29 |
|
cbreak
| do you use a public key? | 12:30 |
|
chessguy
| yes | 12:31 |
| → tyteen4a03 joined | 12:32 |
| ← RobertLaptop left | 12:32 |
| ← tore__ left | 12:32 |
| → gusnan joined | 12:34 |
| ← crhan left | 12:34 |
| ← rushed left | 12:34 |
| ← Titosemi left | 12:35 |
| → Titosemi joined | 12:35 |
|
cbreak
| chessguy: does github know about it? | 12:37 |
|
chessguy
| cbreak, it did... | 12:37 |
|
| let me try adding it again | 12:38 |
|
cbreak
| chessguy: are you on a unix? | 12:39 |
|
| if so, try ssh [email@hidden.address] | 12:39 |
| → babilen joined | 12:39 |
|
chessguy
| cbreak, on windows, but using git bash | 12:41 |
|
| cbreak, ultimately, it gives the same error | 12:42 |
|
cbreak
| http://paste.the-color-black.net/130590is what I get. | 12:43 |
|
| so it seems you don't use the correct key | 12:43 |
|
| is it in ~/.ssh/id_rsa? | 12:43 |
| → mcdebugger joined | 12:43 |
| → whaley joined | 12:43 |
| → lasfjie3w joined | 12:44 |
| ← khmarbaise left | 12:44 |
|
moonflux
| I'm trying to do the following: upstream cherry-picked some of the commits in my branch. I already found out that I can use gitcherry | 12:44 |
|
| ups | 12:45 |
|
| ... to find out which were picked | 12:45 |
|
| not I'd like to drop the picked commits from my branch | 12:45 |
|
| not==now | 12:45 |
|
| fat finger day | 12:45 |
|
chessguy
| cbreak, no, if i do "ssh -v [email@hidden.address] one of the things it says is "debug1: Trying private key: /c/Program Files/emacs-23.2/.ssh/identity" | 12:45 |
|
cbreak
| moonflux: why not git rebase upstreambranch? | 12:45 |
|
| chessguy: that sounds weird | 12:46 |
|
moonflux
| cbreak: because upstream also merged a ton of other stuff and I have to amend my stuff to make rebase succeed | 12:46 |
|
cbreak
| try to find out where your private key is, then use it | 12:46 |
|
| maybe you remember where you put it | 12:46 |
|
moonflux
| for now I just want to see what I still have to work on | 12:46 |
|
mjt
| that's an.. interesting home directory :) | 12:46 |
|
cbreak
| moonflux: but if you don't do that, you will not have the changes they picked | 12:47 |
|
| moonflux: so if your other changes depend on those, it will break | 12:47 |
| ← theoretical left | 12:47 |
| ← pgib left | 12:47 |
|
moonflux
| cbreak: well, I have two cases (a) independent changes (like changing .gitignore) -- I can just drop these for now (b) stuff where other stuff depends on. I#d like to have these as merge points | 12:47 |
|
| but for now I'm looking for a solution for (a) first | 12:48 |
|
cbreak
| merge points? | 12:48 |
|
| you can drop things with git rebase -i | 12:48 |
| ← g0bl1n left | 12:48 |
|
cbreak
| and then deleting the line that represents that commit | 12:48 |
|
moonflux
| well, I haven't thought much about the merging yet ;) | 12:48 |
|
cbreak
| I don't think your approach is reasonable | 12:48 |
|
chessguy
| cbreak, well there is a key at "/c/Program Files/emacs-23.2/.ssh/known-hosts" | 12:48 |
|
cbreak
| a rebase seems much better | 12:48 |
|
| chessguy: thta's not a key | 12:49 |
|
| chessguy: that's a list of remote hosts your ssh knows | 12:49 |
|
moonflux
| I'll start with the rebase and see what I have to do then. thanks | 12:49 |
|
| (the rebase -i I mean) | 12:49 |
| → gozoner joined | 12:50 |
|
chessguy
| cbreak, well it starts off "github.com,207.97.227.239 ssh-rsa AAAAB..." | 12:51 |
|
| isn't the part at the end a key? | 12:51 |
|
moonflux
| cbreak: meh. you're right, I'm going to do the full rebase now everything else gives me headaches ;) | 12:52 |
|
mjt
| it's the host key | 12:52 |
|
cbreak
| chessguy: it's the public key of the remote | 12:52 |
|
chessguy
| ah | 12:52 |
|
cbreak
| chessguy: your problem is that you need YOUR OWN KEY | 12:52 |
|
chessguy
| gotcha | 12:52 |
|
cbreak
| the private key that you use to prove that you are indeed yourself | 12:52 |
|
chessguy
| i have a gem-private_key.pem | 12:54 |
|
cbreak
| don't know what that is | 12:55 |
| → maguey_ joined | 12:55 |
|
jast
| probably an SSL key and thus not relevant | 12:55 |
| ← CannedCorn left | 12:55 |
| ← maguey_ left | 12:55 |
|
cbreak
| a valid private key should start with this: -----BEGIN RSA PRIVATE KEY-----\nProc-Type: 4,ENCRYPTED | 12:55 |
|
jast
| well, we already found a private key, right? in that emacs dir | 12:55 |
|
cbreak
| well, a valid RSA one :) | 12:55 |
|
mjt
| jast: that was ssh-known-hosts file | 12:56 |
|
cbreak
| no, he said he gets a warning that that key is not found | 12:56 |
|
jast
| question is whether it's a personal key or something that was bundled with something | 12:56 |
|
| mjt: "debug1: Trying private key: /c/Program Files/emacs-23.2/.ssh/identity" | 12:56 |
|
cbreak
| chessguy: your best option is to remember where you put the private key :) | 12:57 |
|
mjt
| ah | 12:57 |
|
cbreak
| or you can hope that the windows file search does not suck terribly, and just search for the string -----BEGIN RSA PRIVATE KEY----- | 12:57 |
|
mjt
| btw, file named "identify" usually stores ssh1 key | 12:57 |
|
| i doubt github works over ssh1 | 12:57 |
|
| ssh2 keys are named id_rsa and id_dsa | 12:58 |
|
jast
| that "Proc-Type" header isn't in any of my SSH private keys, btw | 12:58 |
|
mjt
| neither is in mine | 12:58 |
|
cbreak
| jast: I use encrypted private keys | 12:58 |
|
| with a passphrase | 12:58 |
|
| you might use unencrypted ones | 12:58 |
|
mjt
| sure, as everyone else? | 12:59 |
| ← Jippi left | 12:59 |
| → german__ joined | 12:59 |
|
mjt
| hm. one of my private keys starts with that "4,encrypted" indeed | 12:59 |
|
jast
| oh, yeah, right | 12:59 |
|
mjt
| heh. i looked at my old test key ;) | 13:00 |
|
cbreak
| I use OpenSSH_5.2p1, OpenSSL 0.9.8l 5 Nov 2009 | 13:00 |
|
| (which is what is bundled with os x 10.6.7) | 13:00 |
| → chessguy_ joined | 13:00 |
| ← babilen left | 13:00 |
| ← chessguy left | 13:01 |
| ← chessguy_ left | 13:01 |
| → chessguy joined | 13:02 |
|
chessguy
| aaaaaand...cue the Blue Screen of Love | 13:02 |
| → shiba_yu36 joined | 13:02 |
| → fcuk112 joined | 13:03 |
| → babilen joined | 13:03 |
|
chessguy
| ah | 13:05 |
|
| i see what happened | 13:05 |
| ← shiba_yu36 left | 13:05 |
|
chessguy
| for some reason when i installed "git bash", it set "/c/Program Files/emacs-23.2/" as my home directory | 13:05 |
| ← sraue left | 13:08 |
| → akerl joined | 13:09 |
| → sraue joined | 13:09 |
| → madsy joined | 13:10 |
| ← xxoxx left | 13:12 |
| ← babilen left | 13:13 |
| → babilen joined | 13:14 |
| ← babilen left | 13:14 |
| → rgr joined | 13:15 |
| ← saschpe left | 13:17 |
|
chessguy
| ok, so i've generated a new public and private key. but when i "ssh -v [email@hidden.address] it's not offering that key | 13:17 |
| → jfkw joined | 13:17 |
|
akerl
| chessguy: where is your key saved? | 13:18 |
|
chessguy
| in /c/projects/id_rsa | 13:18 |
| → babilen joined | 13:19 |
|
akerl
| Generally, unless you put it in your home .ssh folder, it won't be automatically checked to send. If you don't want to put it there, I suggest checking out .ssh/config | 13:19 |
| ← babilen left | 13:19 |
|
chessguy
| when i try to "ssh-add /c/projects/id_rsa", i get "Could not open a connection to your authentication agent." | 13:20 |
| → xxoxx joined | 13:20 |
| ← chrizz left | 13:20 |
| → babilen joined | 13:20 |
|
chessguy
| akerl, i like that idea, but for some reason git thinks that my emacs directory is my home directory | 13:20 |
|
moonflux
| can't I tell git on rebase 'see, I know this commit was applied, it just doesn't look the same because other stuff was changed before, I know it has that sha, merge so you get the upstream result up to there and show me the next"? ie. map shas before merge/rebase. right now in my first failing commit I have to decide which parts of upstream I want to pick now and which I'll keep for later since the changes will be introduced in a later change as I'm afraid | 13:20 |
|
| I'll completely break my commit history. (or shouldn't I be afraid?) | 13:20 |
| ← jjuran left | 13:21 |
|
akerl
| chessguy: Thats... odd. Git shouldn't be choosing your home directory itself, AFAIK it lets your ssh_client config handle that | 13:21 |
| ← dr0id left | 13:22 |
|
moonflux
| dammit, gotta leave, will try again later | 13:23 |
| ← moonflux left | 13:23 |
|
chessguy
| ohhhh, i think i know what's going on here | 13:23 |
| ← Titosemi left | 13:23 |
|
chessguy
| as usual, i am my own worst enemy :) | 13:23 |
| → chrizz joined | 13:25 |
| ← verto left | 13:29 |
| → Myth17 joined | 13:29 |
| ← EricInBNE left | 13:29 |
|
chessguy
| bwahaha | 13:30 |
|
| * branch master -> FETCH_HEAD | 13:30 |
|
| Already up-to-date. | 13:30 |
|
| all better | 13:30 |
|
| thanks guys! | 13:32 |
| ← orafu left | 13:32 |
| ← babilen left | 13:32 |
| → shiba_yu36 joined | 13:33 |
|
cbreak
| moonflux: easy, just git rebase --skip | 13:34 |
|
| just read the output that git rebase gives you on a conflict :) | 13:34 |
| ← rgr left | 13:35 |
| → babilen joined | 13:35 |
| → SimonP86 joined | 13:36 |
| → ColloquyUser joined | 13:38 |
| ← primalmotion left | 13:38 |
| → rgr joined | 13:38 |
| ← babilen left | 13:40 |
| → babilen joined | 13:41 |
| → thiago joined | 13:42 |
| ← gusnan left | 13:42 |
| → rcu joined | 13:45 |
| ← babilen left | 13:46 |
| ← namemon left | 13:46 |
| ← mcdebugger left | 13:46 |
| ← rcu left | 13:46 |
| ← drl left | 13:46 |
| → Modius_ joined | 13:48 |
| ← gbacon left | 13:49 |
| → Anatoliy joined | 13:50 |
| ← Modius left | 13:51 |
| ← gremset left | 13:52 |
| ← fcuk112 left | 13:54 |
| → theoretical joined | 13:54 |
| ← Anatoliy left | 13:55 |
| → namemon joined | 13:55 |
| → bid joined | 13:56 |
| ← german__ left | 13:57 |
| → CannedCorn joined | 13:57 |
| ← aspotashev left | 13:57 |
| ← karstensrage left | 13:58 |
| ← SimonP86 left | 13:58 |
|
bid
| hello, whats the command for force checkout? i want to checkout older revision and not marge it with my current work. (the client is running on windows os) thanks | 13:58 |
|
cbreak
| just use a normal checkout | 13:58 |
| → primalmotion joined | 13:59 |
| → SimonP86 joined | 13:59 |
| → karstensrage joined | 14:00 |
| → Anatoliy joined | 14:00 |
|
bid
| it will run over my changes? what about aditional files? it will delete the ones that are not related to the revison i checked out? | 14:00 |
| karstensrage → Guest18439 | 14:00 |
|
cbreak
| run over? | 14:00 |
|
bid
| sorry for my english, | 14:00 |
|
cbreak
| it will delete tracked files that don't exist in the branch /commit you switch to | 14:01 |
|
bid
| override maybe its a better word | 14:01 |
|
cbreak
| if you want to kill local uncommitted changes, use git reset --hard HEAD | 14:01 |
|
bid
| yes thats what i want | 14:01 |
|
cbreak
| this is ireversible. | 14:02 |
|
bid
| thats good, i am doing it for my QA system | 14:02 |
|
cbreak
| while you are in a detached head state, DO NOT COMMIT | 14:02 |
|
| switch back to a branch with git checkout branchname before committing | 14:02 |
|
bid
| no commits will be done | 14:03 |
| → ronr_ joined | 14:03 |
| ← Mizar-jp left | 14:04 |
|
bid
| cbreak: general question, is it the same in SVN? i know its not the chan but #svn is slow today :( | 14:06 |
|
cbreak
| no | 14:06 |
| ← Anatoliy left | 14:06 |
| → hyperair joined | 14:06 |
| ← namemon left | 14:06 |
| ← sbell left | 14:06 |
|
cbreak
| svn sucks. :) | 14:06 |
|
| it doesn't have real branches for example, and you can't jump around in the history | 14:06 |
|
bid
| its legacy here :\ | 14:06 |
|
cbreak
| http://eagain.net/articles/git-for-computer-scientists/ | 14:07 |
|
| that's how git is | 14:07 |
| → Mizar-jp joined | 14:07 |
|
bid
| its great i know, but for now we are using SVN :\ i will move to git thats for sure | 14:08 |
| ← radarek left | 14:08 |
| → mklappstuhl joined | 14:09 |
| → psoo joined | 14:10 |
| ← deuterium left | 14:10 |
| → Titosemi joined | 14:11 |
| → ajt_ joined | 14:11 |
| → huntca joined | 14:13 |
| ← ColloquyUser left | 14:15 |
| → babilen joined | 14:16 |
|
andres
| cbreak: while I aggree with you in that svn is crap you can jump at any point in the history | 14:16 |
|
| (takes a while though ;)) | 14:17 |
| ← seivan left | 14:17 |
| ← jophish left | 14:19 |
| ← shiba_yu36 left | 14:19 |
| → shiba_yu36 joined | 14:19 |
| → oriba joined | 14:21 |
|
ronr_
| I'm not sure whether this is a git issue or a 'linux' issue. I'm trying to connect to a git repository with gitosis using 'ssh gitosis@myhost'. I've created a key, copied it to the git server, added it to the gitosis.conf. it still seems that if I try to ssh to the server, it requests a password until it fails on Permission denied (publickey,password). | 14:22 |
|
| Any idea how to solve it? | 14:22 |
| → beatak joined | 14:22 |
| → jophish joined | 14:22 |
| → mastroDani joined | 14:22 |
| ← shiba_yu36 left | 14:22 |
|
bremner_
| !gitosis | 14:22 |
|
jast
| *automatic message* gitosis is no longer maintained and supported by the author; we usually recommend gitolite instead which has much better documentation and more features: http://github.com/sitaramc/gitolite | 14:22 |
| → shiba_yu36 joined | 14:23 |
|
selckin
| error still at the ssh level, key is wrong & password is | 14:23 |
| ← oriba left | 14:23 |
|
cbreak
| ronr_: do you really use the key? | 14:23 |
|
| ronr_: where's your private key? | 14:23 |
|
bremner_
| even if you don't switch, read the gitolite ssh troubleshooting docs | 14:23 |
|
selckin
| also ssh will not allow login if permissions on ~/.ssh are wrong | 14:23 |
|
cbreak
| can you upload your private key to a pastebin? :D | 14:23 |
| ← beatak left | 14:23 |
| → andreim joined | 14:24 |
|
andreim
| hello, I deleted some files using rm instead of git rm and now the changes are not staged for commit. how can I stage them? | 14:24 |
|
cbreak
| andreim: man git-add | 14:25 |
|
jast
| andreim: *automatic message* the 'git-add' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-add.html | 14:25 |
|
cbreak
| look for -u and -A | 14:25 |
|
| note that both can take path arguments too | 14:25 |
| → jfelchner joined | 14:25 |
| ← jfelchner left | 14:25 |
| → SimplCreative joined | 14:25 |
|
andreim
| cool ! that worked | 14:25 |
|
| thank you | 14:25 |
| ← andreim left | 14:26 |
| ← ajt_ left | 14:26 |
|
ronr_
| selckin: ah, you're here too :) | 14:27 |
|
| cbreak: dunno if I really use the key, first time I'm doing it from linux. the private key is at ~/.ssh | 14:27 |
|
| sorry for the delayed responses. I lag real bad. | 14:28 |
|
cbreak
| in ~/.ssh/id_rsa? | 14:28 |
|
| try to ssh-add it | 14:28 |
|
ronr_
| cbreak: considering it'll be absolutely useless for you, sure ;) | 14:28 |
| ← psoo left | 14:28 |
|
ronr_
| ^regarding the private key @ pastebin :) | 14:28 |
|
| the permissions on the key seem fine. | 14:29 |
|
| "Could not open a connection to your authentication agent." <-- could that be an issue? :p | 14:30 |
|
cbreak
| it's optional | 14:30 |
|
| you can ssh -u keyfilepath too I think | 14:30 |
|
selckin
| -i i think | 14:30 |
|
cbreak
| right | 14:31 |
|
selckin
| check the servers ssh log too, see if it's complaining about file permissions | 14:31 |
|
cbreak
| -i is the one :) | 14:31 |
| ← blueyed left | 14:31 |
|
ronr_
| selckin: I wouldn't know where to look. | 14:32 |
|
selckin
| /var/log/sshd* probably | 14:32 |
| ← eletuchy_ left | 14:32 |
|
ronr_
| tried with -i, gives me a 'invalid ELF header' error. | 14:32 |
|
cbreak
| uhm... | 14:33 |
|
| that makes zero sense | 14:33 |
|
| like, none at all | 14:33 |
|
| maybe your remote ssh installation is broken | 14:33 |
| ← [Pi] left | 14:33 |
| → blueyed joined | 14:33 |
|
ronr_
| I have no problem ssh'ing to it from the windows machine. | 14:34 |
|
selckin
| do you use a key there? | 14:34 |
|
cbreak
| weir | 14:34 |
|
| weird | 14:34 |
| ← jophish left | 14:34 |
|
ronr_
| yup | 14:34 |
|
selckin
| putty & openssh's keys are interchangeable without converting | 14:34 |
| → dv310p3r joined | 14:34 |
|
selckin
| *aren't | 14:34 |
|
ronr_
| no, no. what I said was misleading, sorry. | 14:35 |
| → bitkiller joined | 14:35 |
|
ronr_
| using the git-bash I created a key on windows, and I can git clone using ssh without any problem. haven't tried using the key with PuTTy. | 14:35 |
|
selckin
| then it should just work if copy the same key to linux ~. | 14:36 |
| ← rchavik left | 14:37 |
| → [Pi] joined | 14:37 |
|
ronr_
| hmm, I could try using it just to test it out, but I wouldn't want to use the same key. | 14:38 |
| → shiba_yu_ joined | 14:38 |
| ← shiba_yu36 left | 14:39 |
| → lhunath joined | 14:39 |
|
lhunath
| How do I get rid of a submodule? | 14:39 |
| → akosikeno joined | 14:39 |
|
lhunath
| I deleted it from .gitmodules, but any files in that directory are still ignored. | 14:39 |
|
| and git submodule still complains about it. | 14:39 |
|
ronr_
| I don't see anything in the logs, either. | 14:39 |
|
lhunath
| grep sees a reference to it in .git/index, but I can't edit that. | 14:40 |
| → tore__ joined | 14:40 |
|
cbreak
| lhunath: git rm -r submodule | 14:40 |
|
| maybe that works :) | 14:40 |
|
lhunath
| heh. cool. it did. | 14:41 |
| → banghouse joined | 14:43 |
| → madewokherd joined | 14:43 |
| → norican joined | 14:43 |
| → shiba_yu36 joined | 14:44 |
| ← shiba_yu_ left | 14:44 |
| → tvw joined | 14:44 |
| ← chisler left | 14:45 |
| ← rubydiamond left | 14:50 |
| ← angelsl left | 14:51 |
| → chisler joined | 14:52 |
| ← rgr left | 14:52 |
| → Garda joined | 14:52 |
| → chisler_ joined | 14:53 |
| ← lhunath left | 14:53 |
|
Garda
| hello | 14:54 |
|
| I just typed "git remote add origin [email@hidden.address] | 14:54 |
|
| notice the "giit" | 14:54 |
|
| how do I fix it? | 14:54 |
|
cbreak
| edit .git/config or just git remote rm it and add the correct one | 14:55 |
|
| or man git-remote set-url | 14:55 |
|
jast
| *automatic message* the 'git-remote' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-remote.html | 14:55 |
| ← SimplCreative left | 14:55 |
| → SimplCreative joined | 14:55 |
| ← ymasory left | 14:55 |
| → noviktk joined | 14:55 |
| ← chisler left | 14:56 |
| chisler_ → chisler | 14:56 |
| → diegoviola joined | 14:56 |
|
Garda
| done | 14:57 |
|
| thanks cbreak | 14:57 |
| ← Garda left | 14:57 |
| → ajt_ joined | 14:59 |
| → t0rc joined | 15:00 |
| ← norican left | 15:00 |
| ← evaluate left | 15:02 |
| → seivan joined | 15:02 |
| → OSInet joined | 15:02 |
| ← boombatower left | 15:03 |
| → jophish joined | 15:03 |
| ← jailbox left | 15:03 |
| ← diegoviola left | 15:04 |
| → OOPMan joined | 15:04 |
| → diegoviola joined | 15:04 |
| ← noviktk left | 15:04 |
| → RobertLaptop joined | 15:06 |
| → ymasory joined | 15:07 |
| → LiohAu joined | 15:07 |
| → radarek joined | 15:07 |
|
LiohAu
| i would like to install gitolite, do you know any up to date guide for debian ? | 15:07 |
| ← berserkr left | 15:10 |
| ← RobertLaptop left | 15:12 |
|
FauxFaux
| LiohAu: It's pretty trivial. | 15:13 |
| necromancer`zzz → necromancer | 15:13 |
|
cbreak
| LiohAu: https://github.com/sitaramc/gitolite | 15:13 |
|
FauxFaux
| I can't even remember reading any docs after installing the package. | 15:13 |
|
cbreak
| always up-to-date :) | 15:13 |
|
| and no need to do debian specific stuff | 15:14 |
|
| just do the same as on any unix | 15:14 |
|
FauxFaux
| Or run "sudo apt-get install gitolite" and then go home and screw your wife? :) | 15:14 |
|
cbreak
| my wife? have fun with that... | 15:15 |
| ← SimplCreative left | 15:16 |
| → SimplCreative joined | 15:16 |
| → f00li5h joined | 15:16 |
|
LiohAu
| FauxFaux: i tried that already, but it fail | 15:17 |
| → tkil joined | 15:17 |
|
tkil
| not sure if it's worth reporting as a bug, but i confused myself when i ran "git diff no-such-file" and it gave me a usage string, instead of telling me that "no-such-file" doesn't exist... | 15:18 |
| → gusnan joined | 15:18 |
|
tkil
| verseion 1.7.4.4 on fedora 14 via the rpm. | 15:18 |
| ← bitkiller left | 15:19 |
| → bitkiller joined | 15:19 |
| → kukks joined | 15:19 |
|
cbreak
| tkil: that's because the first argument to git diff does not have to be a file | 15:20 |
|
LiohAu
| well i reinstalled it, and it seems that it worked | 15:20 |
|
tkil
| right, it can also be a commitish ... but if it doesn't match, shouldn't i still get an error? | 15:20 |
|
| and it gave me the same usage error even if i tried: git diff -- no-such-file | 15:21 |
|
| and anything past the "--" *should* be a path, if i'm reading the man page correctly. | 15:21 |
|
cbreak
| yes | 15:22 |
|
tkil
| huh. and i get a sane error if i'm in a .git repo... wonder if i'm hitting a corner case where git diff requires exactly two paths if it's not in a git dir or subdir... | 15:22 |
|
ronr_
| okay, I'm afraid to ask this, but could the problem be related to running as root? | 15:22 |
|
| I've configured both root and another user. the non-root works, the root doesn't. | 15:22 |
|
tkil
| ok, that makes a bit more sense, but i'd still like a clearer error message. let me see if i can come up with the tiny patch that woudl do that. | 15:23 |
|
| or maybe i go drink more caffeine until i can type properly. :( | 15:23 |
|
cbreak
| git diff isn't supposed to work if it's not inside a repo | 15:23 |
|
| ronr_: working as root isn't supposed to be done either | 15:24 |
|
selckin
| ronr_: check /etc/ssh/sshd_confnig for PermitRootLogin | 15:24 |
|
| but kinda bad idea | 15:24 |
|
cbreak
| ronr_: note that root has a different home directory | 15:25 |
|
tkil
| looks like they set it up so it works as "plain" diff, but with all the git bonuses (modes, creation, etc). or so i'm guessing; looking at the code now. | 15:25 |
|
cbreak
| so it needs its own key | 15:25 |
| → ThomasLocke joined | 15:25 |
| → berserkr joined | 15:27 |
| → nlisgo joined | 15:27 |
| → RobertLaptop joined | 15:29 |
| ← SimplCreative left | 15:30 |
| → Buglouse joined | 15:31 |
| → rgr joined | 15:31 |
| → aminpy joined | 15:31 |
| → logik-bomb joined | 15:31 |
| adamholt → adamholt_away | 15:32 |
| adamholt_away → adamholt | 15:32 |
| elliottcable → ryyvbggpnoyr | 15:33 |
| → devth joined | 15:34 |
| ← RobertLaptop left | 15:34 |
| ryyvbggpnoyr → nyrktbeqba | 15:35 |
| ← ronr_ left | 15:35 |
| → rubydiamond joined | 15:35 |
| → ronr_ joined | 15:35 |
| → Swaagie joined | 15:35 |
| ← dwmw2 left | 15:38 |
| necromancer → necromancer`zzz | 15:38 |
| → Corren joined | 15:38 |
| nyrktbeqba → elliottcable | 15:40 |
| ← Pathin_ left | 15:42 |
| ← juvenal left | 15:42 |
| → _1marc joined | 15:43 |
| → Pathin joined | 15:44 |
| → nowhereman joined | 15:45 |
| → RobertLaptop joined | 15:46 |
|
LiohAu
| can i use a dsa key instead of rsa while installing gitolite? | 15:46 |
|
bremner_
| should be fine | 15:47 |
| ← nowhere_man left | 15:48 |
| ← mastroDani left | 15:48 |
| ← Corren left | 15:48 |
| ← tvw left | 15:49 |
| → joel_falcou joined | 15:49 |
| ← RobertLaptop left | 15:51 |
| ← timemachine3030 left | 15:51 |
| necromancer`zzz → necromancer | 15:57 |
| → tty3 joined | 15:57 |
| tty3 → Guest46502 | 15:57 |
| ← Pathin left | 15:58 |
| ← xiangfu left | 15:58 |
| → orafu joined | 15:59 |
| ← ronr_ left | 15:59 |
| → ronr_ joined | 16:00 |
| ← fr0stbyte left | 16:00 |
| ← nlisgo left | 16:00 |
| ← tty1 left | 16:00 |
| ← cytrinox left | 16:00 |
| ← akosikeno left | 16:01 |
| ← akerl left | 16:01 |
| → cytrinox joined | 16:02 |
| necromancer → necromancer`zzz | 16:02 |
| → mikewintermute joined | 16:06 |
| → namemon joined | 16:09 |
| ← Myth17 left | 16:09 |
| ← namemon left | 16:14 |
| → icwiener joined | 16:15 |
| → jophish_ joined | 16:15 |
| ← saschagehlich left | 16:16 |
| ← jophish left | 16:16 |
| → Corren joined | 16:17 |
| ← gnufied left | 16:17 |
| ← paja left | 16:18 |
| ← radarek left | 16:18 |
|
angasule
| I'm giving a presentation about git soon, and I know I will get lots of questions related to the 'game developer' workflow (lots of large images, some large videos, and their 'sources'), what is the recommended solution for that these days? Partial solutions like git-p4 or whatever are acceptable if that is the right answer, of course | 16:18 |
| → paja joined | 16:18 |
| → timemachine3030_ joined | 16:19 |
|
bremner_
| git-annex might be worth checking out | 16:19 |
|
cbreak
| git on its own deals rather poorly with binary files that change a lot and/or are big | 16:20 |
| ← gusnan left | 16:20 |
| → RobertLaptop joined | 16:21 |
| → canton7 joined | 16:22 |
|
angasule
| bremner_: ah, I was wondering about it, but I haven't yet read a good description of it, thanks | 16:22 |
| → Samual joined | 16:22 |
| ← rgr left | 16:22 |
|
angasule
| cbreak: yes, of course, the solution would pretty much involve having something else manage assets | 16:22 |
| → airborn joined | 16:22 |
| ← kassah left | 16:23 |
|
angasule
| the ideal thing would be svn/p4 as a submodule, if it were possible | 16:23 |
| ← canton7 left | 16:23 |
| → HG` joined | 16:23 |
| ← ronr_ left | 16:24 |
| ← jpieper left | 16:25 |
| ← RobertLaptop left | 16:26 |
| → rgr joined | 16:27 |
| ← tore__ left | 16:28 |
| → Schmallon joined | 16:28 |
| → steph021_mac joined | 16:32 |
|
Thor`
| hey | 16:33 |
|
| I would like to customize the error message ssh gets when trying to login as git@domain with gitolite | 16:34 |
| ← sunn left | 16:34 |
| ← kumbayo left | 16:35 |
| ← ramusara left | 16:35 |
| ← mtx_init left | 16:36 |
| ← Corren left | 16:37 |
|
bremner_
| Thor`: customize it how? | 16:38 |
| → mtx_init joined | 16:38 |
| → RobertLaptop joined | 16:38 |
|
Thor`
| bremner_: when you ssh directly on [email@hidden.address] | 16:39 |
| → pen joined | 16:39 |
|
Thor`
| bremner_: you can read a message, in addition to the "PTY allocation request failed on channel 0 | 16:39 |
|
| message. | 16:39 |
|
sitaram
| Thor`: I think you can do that; at least you can *add* to the existing stuff | 16:40 |
| ← devth left | 16:40 |
|
sitaram
| Thor`: what exactly does it give you now? | 16:40 |
| → empity joined | 16:40 |
|
Thor`
| sitaram: the thing I'd like to do is to print to an user the repositories (s)he can access, with the associated rights. | 16:41 |
| → sunn joined | 16:41 |
| ← sunn left | 16:41 |
| → sunn joined | 16:41 |
|
selckin
| think it does that if you ssh to it | 16:41 |
|
sitaram
| Thor`: huh? that already happens doesn't it? | 16:41 |
|
Thor`
| sitaram: I remembered that it does that, yes | 16:42 |
|
sitaram
| Thor`: perhaps you need to read this: http://sitaramc.github.com/gitolite/doc/report-output.html#_side_note_openssh_5_6 | 16:42 |
|
Thor`
| sitaram: but all I get is a "PTY allocation request failed on channel 0" message, and nothing else. | 16:42 |
| ← RobertLaptop left | 16:42 |
| → kassah joined | 16:43 |
|
Thor`
| sitaram: hmmm that would explain the problem | 16:43 |
| → temoto joined | 16:43 |
| → hendeby joined | 16:43 |
|
Thor`
| Version: 1:5.5p1-6 | 16:44 |
|
| hmmm | 16:44 |
|
temoto
| Hello. Do they say something in lines of 'git represents with snapshots of tree (as opposed to changes)' ? | 16:44 |
|
| (i know that commits store diffs, Q is not about internal representation) | 16:45 |
|
Thor`
| sitaram: ok it works fine with the -T flag | 16:45 |
|
| sitaram: thank you very much for this great piece of code ;) | 16:46 |
|
tkil
| temoto -- could you ask that differently? i'm not sure what you're asking. | 16:46 |
| → tvw joined | 16:46 |
| ← selckin left | 16:46 |
|
temoto
| To be honest, i don't actually understand the question myself. | 16:47 |
|
tkil
| ha. :) | 16:47 |
|
sitaram
| temoto: depending on who "they" refers to, almost everything has been said by someone somewhere ;-) | 16:47 |
| ← zhengyang left | 16:47 |
| ← RaceCondition left | 16:47 |
|
sitaram
| Thor`: is that version on client or server? | 16:47 |
|
tkil
| i think that the short answer is "yes": git (from the outside) stores snapshots of entire trees, and generates diffs "on demand". | 16:47 |
| → DNomizo joined | 16:48 |
|
Thor`
| sitaram: server. | 16:48 |
|
tkil
| as contrast to sccs and probably cvs and svn, which store current state and diffs to go back in time. (er, maybe. it's been a *long* time since i've thought about that.) | 16:48 |
| → RaceCondition joined | 16:48 |
|
Thor`
| sitaram: I did an apt-cache show openssh-server | 16:48 |
|
sitaram
| Thor`: check client; it's the *client* that is killing connection | 16:48 |
| → Tac_Home joined | 16:48 |
| ← DNomizo left | 16:48 |
| ← paja left | 16:48 |
|
Thor`
| $ apt-cache show openssh-server | grep Version | 16:48 |
|
| Version: 1:5.5p1-6 | 16:48 |
| → DoctorDarren joined | 16:48 |
|
Thor`
| sitaram: oooh | 16:48 |
|
temoto
| sitaram, they as in 'you know, they say sky is high' | 16:48 |
|
Thor`
| sitaram: okay, I didn't get that | 16:49 |
| ← nardev left | 16:49 |
|
tkil
| temoto -- i'm assuming you're not a native english speaker (and that's fine!)... it's just that your first question was worded oddly. | 16:49 |
| → nardev joined | 16:49 |
|
Thor`
| sitaram: $ apt-cache show openssh-client | grep Version | 16:49 |
|
| Version: 1:5.8p1-1ubuntu3 | 16:49 |
|
tkil
| temoto -- so i'm trying to clarify it, is all. | 16:49 |
|
sitaram
| just do "ssh -V" on the same terminal you tried "ssh [email@hidden.address] | 16:49 |
|
| Thor`: yeah 5.8 > 5.6 so of course you see the behaviour | 16:50 |
|
Thor`
| sitaram: same thing | 16:50 |
| → fcuk112 joined | 16:50 |
|
Thor`
| $ ssh -v | 16:50 |
|
| OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010 | 16:50 |
|
tkil
| temoto -- there are many documents on the design and motivations on the git web site; have you had a chance to look through them? | 16:50 |
|
Thor`
| sitaram: yes. | 16:50 |
|
| sitaram: you're right. :) | 16:50 |
|
| sitaram preens | 16:50 |
|
Thor`
| sitaram: again, thank you very much for your help and gitolite. | 16:51 |
|
eagles0513875
| hi guys :D | 16:51 |
|
temoto
| tkil, I heard it in argument about the need of 'merge' commits. Like merge commits pollute history, but they're inevitable because ... something regarded to snapshots vs. changesets. | 16:51 |
| → saleh joined | 16:51 |
|
sitaram
| Thor`: you're welcome! | 16:52 |
|
eagles0513875
| hey guys | 16:52 |
|
sitaram
| temoto: merges have nothing to do with snapshots versus changesets | 16:52 |
|
eagles0513875
| just out of curiosity | 16:52 |
|
| im looking to create a repo | 16:52 |
|
tkil
| temoto -- merge commits are needed in any non-linear development model; git might make them more obvious than earlier (especially non-distributed) SCMs did. | 16:52 |
|
eagles0513875
| and i follow the steps on the site | 16:52 |
|
| how then do i determine what the git url will be | 16:52 |
|
temoto
| tkil, yeah, i know and like how git works. | 16:52 |
| ← Tac_Home left | 16:53 |
| ← int3__ left | 16:53 |
|
tkil
| temoto -- snapshots vs changesets seems like a false dichotomy, at least at the user level. | 16:53 |
|
sitaram
| temoto: merges have to do only with parallel development of different features and/or by different people. "non-linear", as tkil said | 16:53 |
|
tkil
| temoto -- storage in terms of snapshots vs. changesets ... hm. should only effect efficiency of operations, not the semantics: if you're going to merge, it's going to be a merge, and how it's stored by the SCM shouldn't matter to the user. | 16:55 |
| ← Guest18439 left | 16:55 |
| → xixor joined | 16:55 |
|
temoto
| I wonder would it be easier for those people if merge commits that just join two commits w/o diff would be hidden from history. | 16:55 |
| → Tac_Home joined | 16:55 |
| → Jippi joined | 16:55 |
|
xixor
| Hi everyone, sorry to be a n00b, but is there way I can get a list of which files have not been committed? | 16:55 |
|
tkil
| temoto -- if they don't interact, you can do that, i'm pretty sure. | 16:55 |
|
| xixor -- git status | 16:55 |
| ← bindaas left | 16:56 |
| → Corren joined | 16:56 |
| → gnufied joined | 16:56 |
| → karstensrage joined | 16:56 |
|
tkil
| temoto -- that's basically the difference between a "proper merge" and a rebase, with all the pros and cons of the latter. | 16:57 |
| ← hendeby left | 16:57 |
| → adamm joined | 16:57 |
|
xixor
| tkil: ah, great, thanks | 16:57 |
|
temoto
| tkil, they don't interact with merge commit id? | 16:57 |
| → bindaas joined | 16:58 |
|
cbreak
| rebase does not create a merge commit | 16:59 |
|
tkil
| temoto -- if you rebase, then there's no merge commit at all. (but see my comment above about "if they don't interact", which is vague but hopefully close to truth) | 16:59 |
|
| temoto -- the git-rebase man page has some good examples (and pretty pictures!) | 16:59 |
| ← _1marc left | 17:00 |
|
temoto
| tkil, that's exactly what i didn't understand: you said 'if they don't interact'. With what? | 17:00 |
|
tkil
| temoto -- the question of merge or rebase implies that you have two heads of development, yes? | 17:00 |
| ← tyteen4a03 left | 17:00 |
| ← thiago left | 17:01 |
| ← nardev left | 17:01 |
|
temoto
| I know how things work in git, just bad at language :) | 17:01 |
|
| tkil, sure | 17:01 |
|
tkil
| temoto -- by "interact", i meant whether those two heads touched the same code or interfaces. if they're completely independent, then you should be able to rebase each head one at a time without any problems. | 17:01 |
|
| temoto -- :) not trying to be condescending or obtuse, just trying to be clear, sorry. | 17:01 |
|
| if, on the other hand, those two heads deal with the same code, then you start needing to do messier rebase: rebase to head 1, patch up conflicts with head 2, rebase to head 2. | 17:02 |
|
| at some point it's just easier to have a merge commit. :-/ | 17:02 |
|
| this might be relevant to this discussion: http://code-redefined.blogspot.com/2010/11/git-rebase-tricks-cleaning-up-twisted.html | 17:03 |
|
temoto
| I usually try rebase and merge only in face of conflicts. | 17:03 |
| → _iron joined | 17:03 |
|
tkil
| temoto -- if you are a consumer or local-only repo, that's fine. | 17:03 |
|
FauxFaux
| 22/17:28:46 < ajmiles> dirtus 3 Faux ? :p | 17:04 |
|
| Mispaste. | 17:04 |
|
temoto
| tkil, how is it not fine if i'm one of 4 commiters? | 17:04 |
| → ISF joined | 17:05 |
| → moonflux joined | 17:05 |
| ← RaceCondition left | 17:05 |
| ← ralc left | 17:05 |
| → RaceCondition joined | 17:08 |
| lasfjie3w → pgib | 17:08 |
|
tkil
| temoto -- if other people pull from your repo ("producer repo"), then a rebase can confuse the remote "consumer" repos quite badly. see, among others: http://www.kernel.org/pub/software/scm/git/docs/git-rebase.html#_recovering_from_upstream_rebase | 17:10 |
|
| i guess "upstream" and "downstream" are more common terms, sorry about that. :( | 17:11 |
| ← codeshah left | 17:11 |
| ← _iron left | 17:11 |
| → Swimming_bird joined | 17:12 |
| ← cthuluh left | 17:12 |
|
temoto
| tkil, i didn't mean interactive rebase changing history. git pull --rebase doesn't confuse downstreams. | 17:12 |
| ← ThomasLocke left | 17:12 |
|
temoto
| and it must be said that we're using a centralized repo workflow | 17:13 |
| adamholt → adamholt_away | 17:13 |
| adamholt_away → adamholt | 17:14 |
|
tkil
| temoto -- if you only ever pull into that repo/head, then you're fine. | 17:14 |
|
| but if the centralized repo is ever rebased, you'll have issues. | 17:14 |
| → ronr_ joined | 17:14 |
|
tkil
| interactive doesn't have anything to do with it. | 17:14 |
| ← OSInet left | 17:14 |
|
temoto
| Nah, we're only pushing into centralized repo, but then only fast-forward. | 17:15 |
| → mmw joined | 17:15 |
|
tkil
| if centralized repo has A -> B -> C -> D, and someone pulls it and works on D, but then you rebase and the central repo becomes A -> B' -> C' -> D', then the person working against D is in a bind. | 17:16 |
|
| ok. so long as it works for you. :) | 17:16 |
| ← steph021_mac left | 17:16 |
|
temoto
| :) | 17:17 |
| → ThomasLocke joined | 17:18 |
| → farresin joined | 17:18 |
| ← Error404NotFound left | 17:19 |
| ChanServ set mode: +v | 17:19 |
| → kephas joined | 17:20 |
| ← kipras left | 17:20 |
|
farresin
| hi guys. which is the difference between a staged file and a tracked file? im not a native english speaker so i dont understand this very well | 17:20 |
| → kipras joined | 17:20 |
| → thiago joined | 17:21 |
| ← babilen left | 17:22 |
|
temoto
| farresin, tracked file is a file that git knows about, tracks changes, but currently the file is not yet changed. | 17:23 |
| ← nowhereman left | 17:23 |
|
temoto
| farresin, changed file becomes staged after git add | 17:23 |
| ← fcuk112 left | 17:23 |
|
temoto
| farresin, stage is what going to be commited. | 17:23 |
| → pantsman joined | 17:23 |
| ← pantsman left | 17:23 |
| → pantsman joined | 17:23 |
| ← saleh left | 17:24 |
|
temoto
| farresin, file state path: untracked -> staged -> (commited (tracked) -> unchanged -> changed -> staged -> )+ | 17:25 |
| → avinashhm joined | 17:26 |
| → Juo joined | 17:26 |
| ← mmw left | 17:26 |
| ← bid left | 17:28 |
| ← ronr_ left | 17:31 |
| → gremset joined | 17:32 |
|
xixor
| hi, is it possible to put .gitignore files in subdirectories to ignore certain extensions only in those certain subdirectoreis? | 17:32 |
| → ningia joined | 17:32 |
| ← gozoner left | 17:39 |
| legumbre_ → legumbre | 17:39 |
| → gozoner joined | 17:39 |
| → slonopotamus joined | 17:39 |
| → sbell joined | 17:40 |
|
temoto
| xixor, yes, it just works like you want by default. | 17:41 |
| → jfelchner joined | 17:42 |
|
xixor
| ah, ok | 17:42 |
|
temoto
| xixor, but somehow it's better to have one .gitignore - you know where to look why files are invisible. | 17:42 |
|
xixor
| so you would add the specific path? /path/to/ignore/*.log ? | 17:42 |
| → babilen joined | 17:42 |
| ← angasule left | 17:42 |
|
temoto
| Paths are relative to working directory. | 17:42 |
|
| Yes. | 17:42 |
| → gusnan joined | 17:43 |
|
cbreak
| depending on what you write they will apply to all, or only relative to your current location | 17:43 |
|
| you can have .gitignore in subdirectories as well | 17:44 |
|
| you can have .git/info/exclude | 17:44 |
|
temoto
| In this specific case, i have *.log in my global ~/.gitignore | 17:44 |
|
cbreak
| that should apply to all files in the whole repository | 17:44 |
|
| or rather, that should apply to all untracked files in the whole working directory | 17:45 |
| adamholt → adamholt_away | 17:45 |
| adamholt_away → adamholt | 17:45 |
|
xixor
| ok | 17:45 |
|
tkil
| man. it is really hard to train my fingers to linux coding style, instead of my own... | 17:45 |
| ← charon left | 17:46 |
| → charon joined | 17:46 |
|
wwalker
| tkil: which style is bothering you? | 17:46 |
|
tkil
| almost all of it. :) half-cuddled 'else', tabs instead of spaces, no spaces after opening parens... | 17:47 |
|
| i'm fully aware that i can't change it, i'm just whining. | 17:47 |
| → saleh joined | 17:47 |
|
xixor
| what style? linux kernel C style ? | 17:47 |
|
tkil
| i use *lots* of whitespace, hard to remind my fingers to not add it. | 17:48 |
|
| xixor -- yes. am working on a patch for git, it's in the kernel style. | 17:48 |
|
temoto
| linux style has one thing right: indentation is tabs. :) | 17:49 |
|
tkil
| uhg. | 17:50 |
|
wwalker
| tabs is the right thing :) | 17:50 |
|
temoto
| lolzy | 17:50 |
|
tkil
| i'm the type of person who puts a tabs-to-spaces hook on his repo. :) | 17:50 |
| → RaceCondition_ joined | 17:51 |
|
slonopotamus
| tkil: try astyle | 17:51 |
|
| offby1 launches into a tab tirade | 17:51 |
|
xixor
| tkil: ah, interesting | 17:51 |
|
wwalker
| I put 'leading spaces reject commit' hooks | 17:51 |
|
slonopotamus
| tabs are broken | 17:51 |
|
xixor
| tkil: do they have a format requirements document you are working from? Or just matching some example code? | 17:51 |
|
tkil
| wwalker -- must be awesome for people who use /*\n * comment blocks... :) | 17:51 |
|
cbreak
| trailing spaces reject hook ftw | 17:51 |
|
tkil
| xixor -- SFAIK, it's polite to match style when patching, so i'm going along with it. | 17:51 |
|
| like i said, i'm just whining. | 17:51 |
|
| cbreak -- totally agree! | 17:52 |
|
wwalker
| tkil: it caused problems, I pulled it, but got my point acoss first | 17:52 |
|
xixor
| tkil: ah, yeah, always following existing code style is good practice | 17:52 |
|
wwalker
| :-( most of my devs didn't know what a comment was.... | 17:52 |
|
tkil
| slonopotamus -- "astyle"? | 17:52 |
|
slonopotamus
| tkil: try google | 17:52 |
|
wwalker
| cbreak: Yes!!! | 17:52 |
|
tkil
| slonopotamus -- i use emacs c-mode, and it has linux style built in, so not too much pain. | 17:52 |
|
temoto
| We have 'any tabs reject' in pre-commit. Following many styles trains tolerance and calmness. | 17:53 |
|
slonopotamus
| tkil: that should work too :) | 17:53 |
|
tkil
| slonopotamus -- mostly on-the-line issues here. e.g., linux style is: if (foo || bar) {\n while mine is: if ( foo || bar )\n{ | 17:53 |
|
| etc | 17:53 |
|
slonopotamus
| tkil: astyle would fix that | 17:53 |
|
tkil
| wwalker -- also fun, do you do any work with windows devs? 4-char tabs... shudder. | 17:53 |
| → gebi joined | 17:54 |
|
tkil
| slonopotamus -- sure. i'll keep it in mind. | 17:54 |
| ← RaceCondition left | 17:54 |
| RaceCondition_ → RaceCondition | 17:54 |
|
slonopotamus
| tkil: you write your code whatever you like, run astyle over it and voila - it is in upstream expected style | 17:54 |
|
tkil
| ... and try to resist the urge to whine around a bunch of opinionated nerds. ;-> | 17:54 |
|
slonopotamus
| tkil: well, except small quirks, but who doesn't have them? | 17:54 |
| ← cube_ left | 17:54 |
|
tkil
| slonopotamus -- no, my style is right ... you all are the ones with quirks. :) | 17:54 |
| → g0bl1n joined | 17:54 |
|
wwalker
| tkil: yes, but I simply ignore their(win devs) existence, and point to the Snow Leopard and Fedora DVDs on my desk | 17:55 |
| → jpieper joined | 17:55 |
| ← saleh left | 17:55 |
|
slonopotamus
| tkil: you can convert files into your style before editing and back to upstream after editing :P | 17:55 |
|
tkil
| wwalker -- i don't have that luxury, the guy i'm subcontracting for is a windows dev. i'm writing linux, but he wrote some compat code for other instruments, i had to deal with the tabs... | 17:55 |
|
| slonopotamus -- nah, it doesn't bug me that much. and i need to learn to read it anyway, don't want to have to convert stuff just to comprehend it. | 17:55 |
|
| tkil goes to paint the braces^H^H^H^H^Hshed a different color. | 17:56 |
|
wwalker
| tabs are still the right thing, they mean "an indention level" set your editor to indent as many spaces as you want per indention level, 2, 3, 4, 5, 8(eek) | 17:57 |
| → _1marc joined | 17:57 |
|
wwalker
| then all devs looking at the code can see it an the indention depth they are comfortable with | 17:57 |
|
tkil
| wwalker -- "your editor". git-web? your other devs' editors? http://www.jwz.org/doc/tabs-vs-spaces.html | 17:58 |
|
wwalker
| I implemented the "tabs are mandatory" when I inherited a code base that was indented with 1 space per level. | 17:58 |
|
tkil
| wwalker -- tabs used to indent function args? | 17:58 |
|
slonopotamus
| using more than 2 spaces for intendation is just a waste of space (no pun intended) | 17:58 |
|
tkil
| (i had a coworker that used tabs-to-indent-level, then spaces-to-align-args) | 17:58 |
| → radarek joined | 17:59 |
|
tkil
| slonopotamus -- Linus has an excellent point that 8-char indents (tabs or spaces) does tend to discourage deeply-nested functions... | 17:59 |
|
slonopotamus
| tkil: that is a very good example that shows that tabs are broken :) | 17:59 |
| ChanServ set mode: +v | 17:59 |
|
tkil
| slonopotamus -- i've got my opinions, yes. :) | 17:59 |
|
wwalker
| well, there are 3 editors, vim, emacs, eclipse, all 3 allow you to set the width of a tab. | 17:59 |
|
slonopotamus
| tkil: 640x480 screen tends to discourage big functions too. | 17:59 |
|
temoto
| tkil, from that perspective, google's style of 2-space indentation makes me scary as hell. | 18:00 |
| ← p4tux left | 18:00 |
|
slonopotamus
| tkil: also does 24pt font | 18:00 |
|
tkil
| wwalker -- when given the luxury, i tend to C-x h M-x untabify C-x h M-x indent-region | 18:00 |
|
| but i don't always have that luxury. :) | 18:00 |
|
| temoto -- indeed. | 18:00 |
|
| ANYWAY. right. back to coding. honest. | 18:00 |
|
farresin
| temoto just one thing. a tracked file is a file that has been included in a commit at least 1 time right? if not, then the file is not tracked yet | 18:01 |
|
wwalker
| shiftwidth=2 tabstop=2 | 18:01 |
|
| :) | 18:01 |
|
temoto
| farresin, yes. | 18:01 |
|
farresin
| ok. thanks ;) regards! | 18:01 |
| → dwmw2_gone_ joined | 18:01 |
|
temoto
| wwalker, also sts=2 for proper backspace behaviour | 18:01 |
| ← tvw left | 18:02 |
|
tkil
| best(?) indent horror i ever heard of: someone used fibonacci sequence indents. (i think it might be referenced in that JWZ article, it was in the early netscape codebase) | 18:04 |
|
offby1
| farresin: I might amend that and say that a tracked file could also be one that isn't present in any commit, but is currently in the index | 18:04 |
| → cthuluh joined | 18:04 |
|
farresin
| ok. offby1. i will remember this. thanks for the info. regards! | 18:05 |
| ← temoto left | 18:07 |
| ← erichammond left | 18:07 |
| ← farresin left | 18:07 |
| → towski joined | 18:07 |
| → farresin joined | 18:08 |
| ← logik-bomb left | 18:08 |
| ← gremset left | 18:09 |
| → mishok13 joined | 18:09 |
| → gremset joined | 18:10 |
| ← farresin left | 18:10 |
| ← cryptide left | 18:11 |
| ← DoctorDarren left | 18:14 |
| → sechrist joined | 18:14 |
| ← HG` left | 18:16 |
| ← mikewintermute left | 18:18 |
| ← Titosemi left | 18:19 |
| → poga joined | 18:19 |
| ← avinashhm left | 18:19 |
| → mcdebugger joined | 18:20 |
| → nevyn^ joined | 18:20 |
| ← noonoooo left | 18:21 |
| ← Sonderblade left | 18:22 |
| → nils_r joined | 18:22 |
| ← topi left | 18:22 |
| → serverhorror_ joined | 18:22 |
| → jailbox joined | 18:23 |
| → joshsmith joined | 18:24 |
| ← joshsmith left | 18:24 |
| → joshsmith joined | 18:24 |
| → boue joined | 18:25 |
| ← Tac_Home left | 18:27 |
| ← cyphase left | 18:28 |
| ← slonopotamus left | 18:29 |
| necromancer`zzz → necromancer | 18:33 |
| → Tac_Home joined | 18:34 |
| → rkhessel joined | 18:35 |
| ← rubydiamond left | 18:36 |
| → bid joined | 18:38 |
| → brendon joined | 18:40 |
| ← bid left | 18:41 |
| → bid joined | 18:42 |
| ← xybre left | 18:42 |
| → cyphase joined | 18:43 |
| ← chisler left | 18:43 |
| → xybre joined | 18:43 |
| ← asedeno_work left | 18:43 |
| → caseymcg joined | 18:45 |
| necromancer → necromancer`zzz | 18:47 |
| ← bid left | 18:47 |
| → bid joined | 18:47 |
| → legumbre_ joined | 18:48 |
| ← leo2007 left | 18:50 |
| ← airborn left | 18:50 |
| ← legumbre left | 18:50 |
| → hendeby joined | 18:50 |
| legumbre_ → legumbre | 18:51 |
| hendeby → Guest97514 | 18:51 |
| → airborn joined | 18:51 |
| ← bid left | 18:52 |
| → bid joined | 18:52 |
| ← Guest97514 left | 18:52 |
| necromancer`zzz → necromancer | 18:52 |
| → hakunin joined | 18:52 |
| → asedeno_work joined | 18:53 |
| → dankest joined | 18:54 |
| ← brendon left | 18:54 |
| → Guest97514 joined | 18:57 |
| ← sechrist left | 18:57 |
| ← mklappstuhl left | 18:58 |
| ← hakunin left | 18:59 |
| → chrisf joined | 18:59 |
| → foobar_ joined | 19:00 |
| → logik-bomb joined | 19:01 |
| ← logik-bomb left | 19:01 |
| → logik-bomb joined | 19:01 |
| ← logik-bomb left | 19:01 |
| → fcuk112 joined | 19:02 |
| ← [Pi] left | 19:02 |
| ← Schmallon left | 19:03 |
| ← Guest97514 left | 19:04 |
| → mdel joined | 19:04 |
| → foobar__ joined | 19:04 |
| ← foobar__ left | 19:05 |
| → Gavrila joined | 19:06 |
| ← chrisf left | 19:06 |
| → hendeby_ joined | 19:06 |
| → Amzul joined | 19:07 |
| ← hendeby_ left | 19:07 |
| ← _1marc left | 19:10 |
| ← bid left | 19:10 |
| ← asedeno_work left | 19:12 |
| ← LiohAu left | 19:12 |
| → _1marc joined | 19:12 |
| ← ymasory left | 19:12 |
| → hendeby_ joined | 19:14 |
| ← caseymcg left | 19:14 |
| ← hendeby_ left | 19:14 |
| ← Amzul left | 19:14 |
| → bid joined | 19:15 |
| → chisler joined | 19:16 |
| ← binjured left | 19:19 |
| ← bid left | 19:20 |
| → binjured joined | 19:20 |
| → bid joined | 19:20 |
| → rhalff joined | 19:21 |
| → jophish joined | 19:24 |
| ← jophish_ left | 19:25 |
| ← _1marc left | 19:26 |
| → Amzul joined | 19:26 |
| → harrisonk joined | 19:27 |
| → Sonderblade joined | 19:27 |
| → asedeno_work joined | 19:27 |
| ← berserkr left | 19:28 |
| ← Sonderblade left | 19:28 |
| → ymasory joined | 19:28 |
| ← bid left | 19:29 |
| ← Amzul left | 19:30 |
| → bid joined | 19:30 |
| → _1marc joined | 19:31 |
| → pidgas joined | 19:32 |
|
harrisonk
| I want to clone a git repo here: https://gitorious.org/fg/fgdata but I know it's massive and I only want 1 folder out of the dozen or so that are in it, thus what command options should I use? git clone git_url_here /textures ? | 19:32 |
| → pl0sh joined | 19:33 |
| ← binjured left | 19:33 |
| → binjured joined | 19:33 |
|
offby1
| harrisonk: I am not sure there are any options to do what you want. | 19:33 |
|
pl0sh
| hey guys, can I use git as a remote repository on my own server? | 19:34 |
|
offby1
| I vaguely recall there's some option like "--depth" which only gets the top-level items, but I don't know if that'd help you | 19:34 |
|
jast
| pl0sh: sure | 19:34 |
|
offby1
| harrisonk: nah, --depth has nothing to do with it; I misremembered it | 19:34 |
| → dinsdale joined | 19:34 |
|
jast
| harrisonk: git cannot clone individual folders. you *can* tell it to skip old history (which is what --depth is for) but that's about it | 19:35 |
|
pl0sh
| jast: is there any tutorial or book I can read to set up my own repository on freebsd? | 19:35 |
|
harrisonk
| drat | 19:35 |
|
| that repo is about 8 gigs in size if I remember corectly | 19:35 |
|
jast
| pl0sh: normally you just need sshd and proper permissions. if you want to manage a non-tiny number of repositories and users, check out gitolite; otherwise it's probably fairly easy to do manually | 19:35 |
|
harrisonk
| thus why I want only 1 folder | 19:35 |
|
offby1
| yiukes | 19:36 |
|
| yikes | 19:36 |
|
jast
| harrisonk: the remote might support using 'git archive' to download arbitrary trees | 19:36 |
|
| but that won't enable you to commit anything | 19:36 |
| ← bid left | 19:36 |
| → bid joined | 19:36 |
| ← aminpy left | 19:37 |
|
harrisonk
| that leads me to another question: can I "pause" a git clone? | 19:37 |
|
pl0sh
| ok jast thanks! | 19:37 |
|
wereHamster
| harrisonk: no | 19:37 |
|
harrisonk
| well not pause it but rather download part today (for example) and tomorrow download the rest | 19:38 |
|
wereHamster
| no | 19:38 |
|
pl0sh
| jast: I think I found an article on the net | 19:39 |
|
jast
| resumable clone has been an outstanding feature for ages, but sadly it's a tricky challenge and no one has felt up+motivated yet | 19:39 |
| ← Gavrila left | 19:39 |
|
jast
| *up-to-it | 19:39 |
| ← pen left | 19:40 |
| ← gozoner left | 19:40 |
| → gozoner joined | 19:40 |
| ← pidgas left | 19:40 |
| Vampire0_ → Vampire0 | 19:41 |
| ← Modius_ left | 19:41 |
| → Modius joined | 19:41 |
| → berserkr joined | 19:42 |
| → pen joined | 19:43 |
| → Gavrila joined | 19:45 |
| ← poga left | 19:47 |
| ← ymasory left | 19:47 |
| → jcon joined | 19:48 |
| ← workmad3 left | 19:51 |
| ← _1marc left | 19:52 |
| → pidgas joined | 19:53 |
| ← OOPMan left | 19:53 |
| ← boue left | 19:53 |
| ← snearch left | 19:58 |
|
tkil
| if you have shell access to the remote machine, there are ways you could do incremental download "by hand". | 19:59 |
|
| hm. for that matter, you might be able to get a list of commits, fetch them individually, then repack locally. | 19:59 |
| ← Raging_Hog left | 19:59 |
|
tkil
| all a big PITA, but maybe worth it | 19:59 |
| ← CannedCorn left | 20:01 |
| → erichammond joined | 20:05 |
| ← Corren left | 20:07 |
|
tkil
| might also be the solution to whomever wanted to grab the textures ... if you can get just the remote commit, then tree, then filename, then blob.... | 20:09 |
| ← d0k left | 20:09 |
|
| tkil doesn't know enough git to know if that is even possible, though. | 20:09 |
| → LiohAu joined | 20:09 |
| ← dinsdale left | 20:09 |
| ← airborn left | 20:09 |
| → OOPMan joined | 20:09 |
| ← chisler left | 20:09 |
| ← alip left | 20:10 |
| → akkad` joined | 20:11 |
| → alip joined | 20:13 |
| → fr0stbyte joined | 20:16 |
| → CannedCorn joined | 20:17 |
| ← drizzd left | 20:18 |
| → paja joined | 20:19 |
| ← Swaagie left | 20:19 |
| ← joeytwiddle left | 20:21 |
|
mjt
| is there a way to "stash" a signed tag temporarily and restore it later? The tag is generated by an app and I'm trying to understand what it does but it complains that the tag (whcih I want to keep) already exist. Short of copying whole repository to a temp location.. | 20:24 |
| ← rkhessel left | 20:24 |
| ← nevyn^ left | 20:26 |
|
offby1
| mjt: geez, dunno | 20:28 |
|
| maybe you can rename it | 20:28 |
|
mjt
| it should be much safer to just copy it for experiments :) | 20:29 |
|
tkil
| http://stackoverflow.com/questions/1028649/rename-a-tag-in-git maybe? | 20:29 |
|
elenril
| if i've accidentally 'git stash pop' while on a wrong branch, is there a way to get my stash back? | 20:30 |
|
teuf
| elenril: git reflog --all show stash entries, I don't know if you can get it back from there | 20:32 |
|
cbreak
| mjt: just rename it | 20:33 |
| → cesario joined | 20:34 |
|
elenril
| teuf: thanks, that seems to work | 20:34 |
| → EricInBNE joined | 20:34 |
| → joeytwiddle joined | 20:36 |
| ← gusnan left | 20:37 |
| ← adamm left | 20:37 |
| ← __name__ left | 20:37 |
|
mjt
| hm. now i'm confused. All docs says it's impossible to rename a tag :) | 20:37 |
| → dinsdale joined | 20:37 |
| → Murr_ joined | 20:38 |
| ← Murr_ left | 20:38 |
| ← MikhX left | 20:40 |
| → MikhX joined | 20:40 |
| → angasule joined | 20:40 |
| → Murr_ joined | 20:40 |
| → ymasory joined | 20:41 |
|
cbreak
| mjt: tags are refered to by files in .git/refs/tags | 20:41 |
| ← pl0sh left | 20:41 |
|
cbreak
| just rename the file | 20:41 |
|
mjt
| ah! | 20:41 |
|
cbreak
| (I don't know if this works, but my git experience says it should) | 20:42 |
|
| there might be something special with signed tags that makes that not work though | 20:42 |
|
mjt
| that makes alot of sense. i knew but forgot about that fact :) | 20:42 |
|
cbreak
| make sure you remember the original name | 20:42 |
|
mjt
| thanks! | 20:42 |
|
cbreak
| so you can rename it back | 20:42 |
|
| np | 20:42 |
| ← Juo left | 20:42 |
| ← fr0stbyte left | 20:44 |
| → Juo joined | 20:44 |
| → Opettaja joined | 20:44 |
| → fr0stbyte joined | 20:44 |
| ← radarek left | 20:44 |
| ← MikhX left | 20:45 |
| → MikhX joined | 20:45 |
| ← setmeaway left | 20:46 |
| → setmeaway joined | 20:47 |
| ← jstemmer left | 20:48 |
| → atrus joined | 20:49 |
| → adamm joined | 20:50 |
| → Hypnos joined | 20:50 |
| → airborn joined | 20:51 |
| ← jophish left | 20:52 |
| ← gnufied left | 20:54 |
| ← ricky left | 20:54 |
| → ricky joined | 20:55 |
| → jjuran joined | 20:55 |
| ← ExtraSpice left | 21:02 |
| → skoop joined | 21:03 |
| ← brian_g left | 21:04 |
| → brian_g joined | 21:05 |
| ← brian_g left | 21:06 |
| ← Murr_ left | 21:06 |
| → brian_g joined | 21:06 |
| ← LongBeach left | 21:08 |
| ← orospakr left | 21:11 |
| → radarek joined | 21:11 |
| → orospakr joined | 21:11 |
| ← chrisf|work left | 21:11 |
| → mastroDani joined | 21:13 |
| ← rhalff left | 21:14 |
| ← mastroDani left | 21:15 |
| ← cesario left | 21:16 |
| ← Gavrila left | 21:16 |
| → chrisf joined | 21:17 |
| ← Hypnos left | 21:19 |
| ← dinsdale left | 21:21 |
| ← jjuran left | 21:21 |
| → ralc joined | 21:23 |
| ← mcdebugger left | 21:28 |
| → npmccallum joined | 21:31 |
| ChanServ set mode: +v | 21:34 |
|
npmccallum
| I have multiple changes in my working tree that I'd like to commit piece by piece, but they are the same file... is there anything like git stash that will go section by section through a diff and allow you to stash *part* of the file? | 21:34 |
|
Fissure
| add -p | 21:34 |
| ← ymasory left | 21:34 |
|
npmccallum
| Fissure: thanks! I knew I saw something like that, but I couldn't remember what it was... | 21:35 |
|
Fissure
| well, that does the opposite, but you can commit all of those and then do a rebase -i to test after each commit | 21:35 |
| → workmad3 joined | 21:35 |
| ← g0bl1n left | 21:35 |
| → dr_win_ joined | 21:36 |
| ← dr_win left | 21:37 |
|
tkil
| npmccallum -- if i find that i have a file with multiple logically independent changes in it, i tend to move it to the side, revert the original, and then use a merge or diff tool (i use ediff) to apply partial patches back and commit that way. one more option... | 21:37 |
| ← Adys left | 21:38 |
|
Fissure
| git-gui can do partial adds as well | 21:38 |
| ← Guest46502 left | 21:38 |
| → canton7 joined | 21:38 |
|
Fissure
| kinda silly to bring in external things when it's handled natively so well | 21:38 |
|
tkil
| Fissure -- hm. how does that handle the situation where two logical changes end up in the same patch hunk? | 21:39 |
|
bremner_
| magit (emacs) is good at partial adds as well. Most of these things can add a single line | 21:39 |
|
tkil
| and i use emacs "natively", so ediff is actually more native than yet another gui tool. :) | 21:39 |
| → devth joined | 21:39 |
|
bremner_
| tkil: then you should use magit | 21:39 |
|
Fissure
| git-gui can do line-by-line, and add -p has an option to let you edit the diff you want to apply manually | 21:39 |
|
tkil
| bremner -- huh. i thought i tried that once, but maybe not. i had been using git-status, am experimenting with dvc now. | 21:40 |
| → _1marc joined | 21:40 |
| → Adys joined | 21:40 |
|
tkil
| dvc might be the eventual winner, since i flip back and forth between git, hg, svn, and other crap pretty often (weekly if not daily) | 21:41 |
|
| still has some rough edges tho. | 21:41 |
| → tty1 joined | 21:41 |
| ← RaceCondition left | 21:42 |
| ← radarek left | 21:42 |
| ← Tac_Home left | 21:42 |
| → codeshah joined | 21:43 |
|
Fissure
| i can't use raw svn anymore... too painful | 21:43 |
| ← vdv left | 21:43 |
|
tkil
| i'm using it through git svn now, but central repo is still svn. | 21:44 |
| ← ggregori left | 21:44 |
| ← LiohAu left | 21:46 |
|
Thor`
| sitaram: are you still here ? | 21:48 |
|
| I'd like to know if there is a way to "mark" a repository web-accessible (from gitweb) with a flag in the gitolite.conf file | 21:50 |
|
| and if not, to suggest this feature. | 21:50 |
| → ymasory joined | 21:51 |
|
Thor`
| it could be done through ln -s | 21:51 |
|
wereHamster
| Thor`: he'll probably wake up soon | 21:51 |
|
Thor`
| but both directories (the repository directory and the web directory) should belong to the same user. | 21:51 |
|
| wereHamster: ok :) | 21:52 |
| ← dankest left | 21:52 |
|
Thor`
| and also, gitolite should be able to know the gitweb configuration location | 21:52 |
|
| but that could be very great. | 21:52 |
| ← ISF left | 21:52 |
| ← bindaas left | 21:53 |
| → durarara joined | 21:56 |
| ← mishok13 left | 21:57 |
| → dcsobralWork joined | 21:57 |
| → RevoOf joined | 21:59 |
| → RaceCondition joined | 22:00 |
| ← skoop left | 22:00 |
| ← CannedCorn left | 22:00 |
| ← codeshah left | 22:03 |
| ← ymasory left | 22:06 |
| ← airborn left | 22:08 |
| ← serverhorror_ left | 22:13 |
| ← timemachine3030_ left | 22:14 |
| ← diegoviola left | 22:17 |
| → vvsh joined | 22:19 |
| → LiohAu joined | 22:23 |
| ← Dave^|| left | 22:26 |
| ← nils_r left | 22:26 |
|
tkil
| and now to see how hard the git list laughs at my patch... | 22:27 |
| ← pantsman left | 22:27 |
|
tkil
| http://fpaste.org/qfi8/ if anyone wants to get a head start on the giggling. | 22:27 |
| ← ThomasLocke left | 22:28 |
| ← EricInBNE left | 22:29 |
| adamholt → adamholt_away | 22:29 |
| adamholt_away → adamholt | 22:29 |
| → Tac_Home joined | 22:31 |
| ← Tac_Home left | 22:33 |
| → gremset_ joined | 22:34 |
| ← flowbee left | 22:36 |
| ← gremset left | 22:37 |
| ← vvsh left | 22:42 |
| → caseymcg joined | 22:43 |
| ← fcuk112 left | 22:45 |
| ← canton7 left | 22:46 |
| ← moonflux left | 22:47 |
| → BiggFREE joined | 22:47 |
| → angelsl joined | 22:48 |
| ← icwiener left | 22:50 |
| → g0bl1n joined | 22:56 |
| → juvenal joined | 22:57 |
| → nazgul102 joined | 23:00 |
| ← nazgul101 left | 23:03 |
| ← tewecske left | 23:03 |
| → ISF joined | 23:04 |
| → javaanse_jongens joined | 23:04 |
| ← bid left | 23:04 |
| ← AAA_awright left | 23:10 |
| ← pgib left | 23:12 |
| → linusoleander joined | 23:13 |
| ← javaanse_jongens left | 23:14 |
| ← foobar_ left | 23:14 |
| ← Jippi left | 23:15 |
| → RobertLaptop joined | 23:16 |
| → AAA_awright joined | 23:20 |
| ← Amorphous left | 23:20 |
| → bid joined | 23:20 |
| → ilteris___ joined | 23:21 |
| ← jatt left | 23:23 |
| → jonatasnona joined | 23:25 |
| → MikhX_ joined | 23:27 |
| → gigamonkey joined | 23:27 |
| ← MikhX left | 23:29 |
| MikhX_ → MikhX | 23:29 |
|
f00li5h
| is there an FAQ somewhere? i'd like to know the least pesky way to run a git server | 23:29 |
|
jast
| as in several repositories with different users? | 23:32 |
|
Kobaz
| gitolit | 23:33 |
|
| gitolite | 23:33 |
| ← pen left | 23:35 |
| → Amorphous joined | 23:37 |
| ← Zenopus left | 23:37 |
|
| f00li5h paws at gitolite | 23:39 |
|
f00li5h
| jast: sure. | 23:39 |
|
| it's just me comitting to a wc on my dev box, but the disk is starting to look shakey, and i'd liek to put the repo somewhere other than my exceptionally stealable laptop | 23:39 |
| → rchavik joined | 23:42 |
|
frogonwheels
| f00li5h: gitolite is great - (we use it), but I also have a script that backs up to a git clone --mirror clone of my repos. | 23:46 |
|
| f00li5h paws at that locomotive anphibian | 23:47 |
|
Kobaz
| is there an asyncronous way to stream a file to a channel? | 23:48 |
|
| er | 23:48 |
|
f00li5h
| hmm, | 23:51 |
|
| if i move all this gitty stuff to an internet ... i suppose i should have some kind of web UI... | 23:51 |
|
| is there one (that's not github)? | 23:51 |
|
peterhil
| f00li5h: There is gitourious and git-web, that you can install yourself | 23:52 |
|
f00li5h
| i can! | 23:52 |
|
peterhil
| At least gitorious offers private repos too. | 23:52 |
|
| git-web is part of git | 23:52 |
| ← helgikrs left | 23:52 |
|
peterhil
| Just make sure you include it when doing config | 23:52 |
|
f00li5h
| hrm | 23:53 |
| ← kipras left | 23:54 |
|
jast
| for single-user stuff just using git via ssh and gitweb for web interface should be fine for you | 23:54 |
|
peterhil
| What OS? When installing from FreeBSD ports you can install quite a lot of dependencies to git ranging from git-web to SVN support etc | 23:54 |
|
f00li5h
| peterhil: gitorious is a bundled solution-on-a-website thing too, sin't it? | 23:55 |
|
peterhil
| It is, but you can find the sources with a little digging | 23:55 |
|
| And you can then install it on your server | 23:55 |
| → banisterfiend joined | 23:55 |
| → Tac_Home joined | 23:56 |
| ← thiago left | 23:56 |
|
f00li5h
| peterhil: sneaky | 23:56 |
|
peterhil
| wait a sec, I can find the link | 23:57 |
| ← mino left | 23:57 |
| ← akkad` left | 23:57 |
|
peterhil
| http://cjohansen.no/en/ruby/setting_up_gitorious_on_your_own_server | 23:58 |
|
| And getting the sources: git clone git://gitorious.org/gitorious/mainline.git gitorious | 23:58 |
|
f00li5h
| peterhil: very handy! | 23:59 |
|
| thanks a bundle | 23:59 |
|
peterhil
| The first link has quite comprehensive guide | 23:59 |
|
f00li5h
| peterhil++ | 23:59 |