| 2013-12-26 |
| ← DrShoggoth left | 00:00 |
| → thalisson_ joined | 00:00 |
| ← kriks left | 00:00 |
| → el3ctron_ joined | 00:00 |
| ← Kayra left | 00:01 |
| ← pen left | 00:01 |
| → mitz joined | 00:03 |
| ← w0ng left | 00:04 |
| ← pheaver left | 00:05 |
| → Kayra joined | 00:05 |
| ← coolcusty|2 left | 00:06 |
| → hellopat joined | 00:08 |
| → recycle joined | 00:08 |
| → danishkhan joined | 00:08 |
| ← mdiers left | 00:09 |
| ← Kayra left | 00:09 |
| → treaki__ joined | 00:10 |
| → w0ng joined | 00:11 |
| ← Noldorin left | 00:11 |
| ← carlsednaoui left | 00:12 |
| ← hellopat left | 00:12 |
| → Noldorin joined | 00:13 |
| ← treaki_ left | 00:13 |
| ← Mars`_ left | 00:14 |
| → DrShoggoth joined | 00:14 |
| → danishkh_ joined | 00:16 |
| → PeterBooker joined | 00:17 |
| → JanC_ joined | 00:17 |
| ← danishkhan left | 00:17 |
| → joaoh82 joined | 00:19 |
| ← dragon3_ left | 00:19 |
| ← JanC left | 00:20 |
| ← danishkh_ left | 00:20 |
| → mizu_no_oto joined | 00:21 |
| ← kaiza left | 00:21 |
|
dekiss2
| oh thanks all now I saw | 00:21 |
| ← PeterBooker left | 00:22 |
| → Kayra joined | 00:23 |
| → ehmatthes joined | 00:24 |
| ← joaoh82 left | 00:24 |
| → MattMaker joined | 00:25 |
| ← DrShoggoth left | 00:26 |
| → akiva joined | 00:27 |
| ← ngladitz left | 00:28 |
| ← pastime left | 00:29 |
| → Nizumzen joined | 00:29 |
| → dyng joined | 00:29 |
| ← VictorCL left | 00:29 |
| → Tommy[D] joined | 00:33 |
| ← thalisson_ left | 00:33 |
| ← dyng left | 00:36 |
| ← mizu_no_oto left | 00:36 |
| → dyng joined | 00:37 |
| ← hwrd|work left | 00:37 |
| → DrShoggoth joined | 00:37 |
| → dyng_ joined | 00:37 |
| ← dyng left | 00:37 |
| ← oriba left | 00:39 |
| → oriba_ joined | 00:39 |
| ← dyng_ left | 00:40 |
| → dyng joined | 00:40 |
| → mizu_no_oto joined | 00:41 |
| ← m8 left | 00:43 |
| → cesc joined | 00:44 |
| ← dyng left | 00:45 |
| → dyng joined | 00:45 |
| → tmcmahon joined | 00:48 |
| → lamont joined | 00:49 |
| → dragon3_ joined | 00:49 |
| ← mizu_no_oto left | 00:50 |
| ← cesc left | 00:51 |
| ← mitz left | 00:51 |
| → mitz joined | 00:51 |
| ← mitz left | 00:52 |
| → mizu_no_oto joined | 00:52 |
| ← oriba_ left | 00:54 |
| → mitz joined | 00:57 |
| → cesc joined | 00:58 |
| ← n8chur left | 00:58 |
| ← yshh left | 00:58 |
| ← Stalkr_ left | 00:58 |
| ← valgrind left | 00:58 |
| ← jizanthapus left | 00:59 |
| → n8chur joined | 01:01 |
| ← tmcmahon left | 01:01 |
| → Mars` joined | 01:02 |
| ← mitz left | 01:04 |
| → mitz joined | 01:04 |
| → nilg joined | 01:04 |
| → greggroth joined | 01:05 |
| → Mars`_ joined | 01:07 |
| ← Mars`_ left | 01:09 |
| ← greggroth left | 01:09 |
| ← Mars` left | 01:11 |
| ← mizu_no_oto left | 01:16 |
| → pastime joined | 01:16 |
| → yshh joined | 01:18 |
| → carbon2 joined | 01:18 |
| ← carbon2 left | 01:18 |
| → ewnd9 joined | 01:19 |
| → joaoh82 joined | 01:20 |
| → BSaboia joined | 01:21 |
| ← Noldorin left | 01:25 |
| ← joaoh82 left | 01:25 |
| → mizu_no_oto joined | 01:25 |
| → dreiss joined | 01:25 |
| → schemanic joined | 01:25 |
| ← devoldmx left | 01:26 |
| → kukks joined | 01:27 |
| → dyng_ joined | 01:28 |
| ← pengunix left | 01:28 |
| ← dyng left | 01:31 |
| → dyng joined | 01:32 |
| ← dyng_ left | 01:32 |
| → dyng_ joined | 01:33 |
| → wrouesnel joined | 01:34 |
| ← rafaqueque left | 01:35 |
| → dyng__ joined | 01:36 |
| → hwrd|work joined | 01:36 |
| ← dyng left | 01:36 |
| ← RoryHughes left | 01:37 |
| → devoldmx joined | 01:37 |
| → rafaqueque joined | 01:37 |
| ← maestrojed left | 01:37 |
| ← dyng_ left | 01:39 |
| ← arand left | 01:41 |
| → marhaban joined | 01:41 |
| → rchavik joined | 01:44 |
| ← BSaboia left | 01:44 |
| → mribeirodantas joined | 01:45 |
| ← mribeirodantas left | 01:45 |
| ← ewnd9 left | 01:46 |
| ← marhaban left | 01:47 |
| ← Nizumzen left | 01:48 |
| ← vurma left | 01:49 |
| ← threesome left | 01:50 |
| ← cesc left | 01:52 |
| → zivester joined | 01:53 |
| → kba joined | 01:54 |
|
kba
| I have pulled the branch https://github.com/laravel/laravel/tree/3.0. Now there is this commit https://github.com/laravel/laravel/commit/e04d3268c70b3450ec1074fb05a8f8adc562dfb4 which wasn't accepted. How would I pull that and apply it to my local version anyway? | 01:55 |
| → hellopat joined | 01:56 |
|
kba
| Or just download the commit and everything alone | 01:56 |
|
| I guess https://github.com/laravel/laravel/tree/e04d3268c70b3450ec1074fb05a8f8adc562dfb4 is the tree I want | 01:57 |
|
| I thought I could do something like git clone -b e04d3268c7 https://github.com/laravel/laravel.git . | 02:00 |
| ← flippo left | 02:00 |
| ← tobias__ left | 02:00 |
|
kba
| but then I get fatal: Remote branch e04d3268c7 not found in upstream origin | 02:00 |
| ← hellopat left | 02:00 |
| → luc_ joined | 02:01 |
| ← mizu_no_oto left | 02:01 |
|
cbreak
| kba: you're new to git it seems | 02:04 |
|
| kba: first, get the repository for yourself, by git clone | 02:04 |
|
| you probably already did that | 02:04 |
|
| then check out the branch you want to be on | 02:05 |
|
| git branch -a lists branches | 02:05 |
|
| git checkout checks them out | 02:05 |
|
| what do you mean with commit was not accepted? | 02:05 |
|
dekiss2
| what is template compiling? | 02:05 |
|
| ups wrong chns sry | 02:05 |
| ← mindriot101 left | 02:06 |
| → rjhunter joined | 02:06 |
| ← eletuchy left | 02:07 |
| → eletuchy joined | 02:08 |
|
kba
| cbreak: I'm not really new, I've just never used anything besides adding, removing, pulling, pushing and merging... but that's besides the point | 02:09 |
|
| cbreak: I want the branch https://github.com/laravel/laravel/tree/e04d3268c70b3450ec1074fb05a8f8adc562dfb4 | 02:09 |
|
| I can do git clone -b 3.0 https://github.com/laravel/laravel.git to get https://github.com/laravel/laravel/tree/3.0 | 02:09 |
|
| so I just don't understand why I can't do the same with e04d3268c70b3450ec1074fb05a8f8adc562dfb4, i.e. | 02:10 |
|
| git clone -b e04d3268c70b3450ec1074fb05a8f8adc562dfb4 https://github.com/laravel/laravel.git to get https://github.com/laravel/laravel/tree/e04d3268c70b3450ec1074fb05a8f8adc562dfb4 | 02:10 |
| ← dreiss left | 02:10 |
| → mizu_no_oto joined | 02:10 |
|
m0viefreak
| because e04d326 is not a branch | 02:10 |
|
kba
| what is it then? | 02:10 |
|
m0viefreak
| a commit | 02:10 |
|
| git clone https://github.com/laravel/laravel.git && cd lavarel && git checkout e04d3268c70b3450ec1074fb05a8f8adc562dfb4 | 02:11 |
|
kba
| okay, right, that's what I initially assumed, but why does the url scheme look the same for both a branch and a commi? | 02:11 |
|
cbreak
| kba: that's not a branch | 02:11 |
| → Philocraft joined | 02:11 |
|
m0viefreak
| why sould it look different? | 02:11 |
|
kba
| okay, but https://github.com/laravel/laravel/tree/3.0 is a branch, right, so why isn't https://github.com/laravel/laravel/tree/e04d3268c70b3450ec1074fb05a8f8adc562dfb4 ? | 02:11 |
|
cbreak
| kba: just git clone the repository | 02:11 |
|
m0viefreak
| also: it actually does: note the ".git" part | 02:11 |
|
kba
| or is that just an ambigiuous url scheme? | 02:11 |
|
cbreak
| kba: do you have the repository cloned? | 02:12 |
| → Noldorin joined | 02:12 |
|
cbreak
| just git clone url | 02:12 |
|
| no -b or other bulshit | 02:12 |
|
kba
| cbreak: I actually solved the problem using the "download ZIP" now, I'm really just asking to understand it now | 02:12 |
|
| I'll just try in another folder | 02:12 |
|
| I guess | 02:12 |
|
cbreak
| download zip? That's worthless. | 02:12 |
|
m0viefreak
| kba: that is just a github URL. what it does has nothing to do with git | 02:12 |
| ← eletuchy left | 02:12 |
|
cbreak
| it won't give you any history to merge | 02:13 |
|
| kba: once you have the repository, cd into it, then type git branch -a | 02:13 |
|
| kba: what do you see? | 02:13 |
|
kba
| cbreak: I didn't really need that, I just wanted the version of Laravel 3 with that commit applied, since it isn't accepted into the Laravel 3 branch | 02:13 |
| ← looper left | 02:13 |
| ← pastime left | 02:13 |
|
m0viefreak
| well, it must be somewhere | 02:14 |
|
kba
| I did git clone -b 3.0 https://github.com/laravel/laravel.git . | 02:14 |
| → looper joined | 02:14 |
|
cbreak
| kba: ... | 02:15 |
|
| kba: no -b | 02:15 |
|
| just git clone the damn thing | 02:15 |
|
kba
| but I need it from the 3.0 branch | 02:15 |
|
| I need the patch applied to the 3.0 branch, not the master branch | 02:15 |
|
cbreak
| kba: I do NOT CARE | 02:15 |
|
kba
| okay | 02:15 |
|
m0viefreak
| also: using a 6 month old version of something just because you like a commit from that time sounds like a bad idea | 02:15 |
|
| use the newest version and cherry-pick that particular commit, if you must | 02:16 |
|
kba
| m0viefreak: it turns out using Laravel to begin with was a bad idea, so this is just a temporary hotfix anyway | 02:16 |
|
| the newest version is Laravel 4, I spent 6 hours trying to upgrade from 3 to 4 already, but to no avail. It's horrible | 02:16 |
|
| Anyway, I digress | 02:17 |
|
| cbreak: I cloned the normal one now, I get the same lines as before | 02:17 |
|
| when I do git branch -a | 02:17 |
|
cbreak
| kba: yes... | 02:17 |
|
| you should see a master branch | 02:17 |
|
| and then a bunch of remote tracking branches, origin/... | 02:17 |
|
kba
| yup | 02:17 |
|
cbreak
| you can check out any of those locally, without pulling anything | 02:18 |
|
| just with git checkout | 02:18 |
|
| for example, if you want to go back to the ancient 3.0 branch, git checkout 3.0 will do | 02:18 |
|
kba
| what will that actually mean when I do "checkout"? | 02:18 |
| ← Kayra left | 02:19 |
|
kba
| that I tell my local git I'm working on that branch? but how can I do that without the source for it? | 02:19 |
|
cbreak
| it means "check that branch out into the working dir" | 02:19 |
| ← hahuang65 left | 02:19 |
|
cbreak
| kba: you have the sources for it | 02:19 |
| → Mars` joined | 02:19 |
|
cbreak
| you have the sources for every commit in history | 02:19 |
|
kba
| so what did you mean by "without pylling anything"? | 02:19 |
|
| oh | 02:19 |
|
cbreak
| kba: I mean you do NOT have to pull | 02:19 |
|
| pull is a fetch and a merge | 02:19 |
|
| you don't need to fetch because you have all the data | 02:20 |
| → hellopat joined | 02:20 |
|
cbreak
| and you don't need to merge... because that'd be dumb. | 02:20 |
|
| now, the commit you want. | 02:20 |
|
| is it on an other branch? | 02:20 |
|
| or is it tagged? | 02:20 |
|
kba
| I... I have no idea | 02:20 |
|
m0viefreak
| $ git branch --contains e04d3268c70b3450ec1074fb05a8f8adc562dfb4 | 02:20 |
|
| error: no such commit e04d3268c70b3450ec1074fb05a8f8adc562dfb4 | 02:20 |
|
kba
| I know this is the commit I want https://github.com/laravel/laravel/commit/e04d3268c70b3450ec1074fb05a8f8adc562dfb4 | 02:20 |
| → lithiumjake joined | 02:20 |
|
m0viefreak
| it doesnt seem to be there at all | 02:20 |
|
kba
| No, it was never accepted | 02:21 |
|
cbreak
| kba: if it's not there, then you can't use it. type git ls-remote origin and pastebin it please | 02:21 |
|
kba
| https://github.com/laravel/laravel/commit/e04d3268c70b3450ec1074fb05a8f8adc562dfb4 | 02:21 |
|
| There | 02:21 |
|
m0viefreak
| .. | 02:21 |
|
kba
| I'm sorry, I don't get the question, then. | 02:21 |
|
cbreak
| kba: if it's not there, then you can't use it. type git ls-remote origin and pastebin it please | 02:22 |
| → abelsiqueira joined | 02:22 |
| → obert_ joined | 02:22 |
| → dragon3__ joined | 02:23 |
|
kba
| of course I can use it, I can see the source code on https://github.com/laravel/laravel/commit/e04d3268c70b3450ec1074fb05a8f8adc562dfb4 so I could just make the changes manually | 02:23 |
|
| I really just want git to do it for me | 02:23 |
| → sirkha joined | 02:23 |
|
kba
| http://paste.debian.net/72574/ there it is | 02:23 |
| ← Zarthus left | 02:24 |
| → damccull_ joined | 02:24 |
|
cbreak
| kba: You don't even know where it is | 02:24 |
| → yomi joined | 02:25 |
| ← hellopat left | 02:25 |
| yomi → Guest58716 | 02:25 |
|
cbreak
| but thanks to git, we know | 02:25 |
|
kba
| I assumed when I see it on https://github.com/laravel/laravel/commit/e04d3268c70b3450ec1074fb05a8f8adc562dfb4 that it's in the laravel repo | 02:25 |
|
cbreak
| it's refs/pull/2157/head | 02:25 |
|
bremner
| I guess pull requests are (in) seperate repos on github? | 02:25 |
| → geomyidae__ joined | 02:25 |
|
cbreak
| kba: now, think a bit | 02:25 |
|
| it's the pull request 2157 | 02:25 |
| → lithiumjake_ joined | 02:25 |
|
bremner
| oic. | 02:25 |
| → sgambino_ joined | 02:25 |
| → hellektor joined | 02:25 |
| → r0bby_ joined | 02:25 |
|
cbreak
| kba: you can do git fetch origin refs/pull/2157/head | 02:25 |
|
kba
| ah, right, so I could just have done a git ls-remote origin |grep e04d3268c70b3450ec1074fb05a8f8adc562dfb4 | 02:25 |
|
cbreak
| then git cherry-pick FETCH_HEAD | 02:25 |
| ← Mars` left | 02:26 |
| → bede_ joined | 02:26 |
| → w00y joined | 02:26 |
| → saorge joined | 02:26 |
|
cbreak
| kba: yes... or think about the pull request ID first | 02:26 |
| → hypera1r joined | 02:26 |
| ← hypera1r left | 02:26 |
| → hypera1r joined | 02:26 |
| ← hyperair left | 02:26 |
| → ska-fan_ joined | 02:26 |
|
cbreak
| kba: https://github.com/laravel/laravel/pull/2157, this is the important part | 02:26 |
| → maxb_ joined | 02:26 |
|
kba
| cbreak: yes, that's where I found the link | 02:26 |
| → jds_ joined | 02:26 |
|
cbreak
| kba: as you can see, that pull request contains two commit | 02:27 |
| → igalic_ joined | 02:27 |
| → d1b_ joined | 02:27 |
|
cbreak
| kba: the link you gave us before is fairly worthless | 02:27 |
|
| THIS one would have been useful | 02:27 |
| → mehwork_ joined | 02:27 |
| → biomind_ joined | 02:27 |
| → nicedice_ joined | 02:27 |
|
cbreak
| anyway, since it is two commits, you might want to use merge and not cherry-pick | 02:27 |
| → luxgeek1 joined | 02:27 |
| ← mizu_no_oto left | 02:27 |
| → unreal_ joined | 02:27 |
|
kba
| I only want one of them. | 02:27 |
|
| It's two different solutions to the same problem | 02:28 |
|
| I only want the last one | 02:28 |
|
| the one I linke | 02:28 |
| → d8bhatta joined | 02:28 |
| → lov_ joined | 02:28 |
| ← nilg left | 02:28 |
| → dfarler_ joined | 02:28 |
| → Soliton_ joined | 02:28 |
|
cbreak
| then cherry pick | 02:28 |
| Soliton_ → Soliton | 02:28 |
|
m0viefreak
| the last one needs the one before that to work, tho | 02:28 |
| ← lithiumjake_ left | 02:29 |
|
kba
| ah, right, yes | 02:29 |
|
| silly way they did that | 02:29 |
| → lithiumjake_ joined | 02:29 |
|
m0viefreak
| the whole thing looks silly | 02:29 |
| → Naoe-Kanno joined | 02:29 |
|
m0viefreak
| ;o | 02:29 |
| ← rjhunter left | 02:29 |
|
kba
| well, it is | 02:29 |
|
| but I just want my stuff to work right now ;) | 02:29 |
|
| Soliton:and havint my site down until I find time to rewrite everything to laravel 4 isn't feasible -- mostly because it's not going to happen, never touching that framework again ;-) | 02:30 |
|
| wow, what happened with the typos there | 02:30 |
| → Derander_ joined | 02:30 |
| → edwardly_ joined | 02:30 |
|
kba
| but anyway, thanks for the help | 02:30 |
| ← Ragnor left | 02:31 |
| → nilg joined | 02:31 |
| → sonOfRa_ joined | 02:31 |
| → Bucciarati_ joined | 02:31 |
| → milian_ joined | 02:32 |
| → kenperkins_ joined | 02:32 |
| → sohail_ joined | 02:32 |
| ← lithiumjake left | 02:32 |
| → pilif_ joined | 02:32 |
| → schlumpi_ joined | 02:32 |
| ← Eduard_Munteanu left | 02:32 |
| → kaendfinger[BNC] joined | 02:32 |
| → russ__ joined | 02:32 |
| → reaverb joined | 02:33 |
| → jave_ joined | 02:33 |
| ← Vivekananda left | 02:33 |
| → mattcen_ joined | 02:33 |
| → nanashiReii joined | 02:33 |
| ← bewest left | 02:33 |
| ← kukks left | 02:33 |
| ← dragon3_ left | 02:33 |
| ← JanC_ left | 02:33 |
| ← luxgeek left | 02:33 |
| ← starkhalo left | 02:33 |
| ← SHyx0rmZ left | 02:33 |
| ← aleng left | 02:33 |
| ← nicedice left | 02:33 |
| ← obert left | 02:33 |
| ← DoniRS left | 02:33 |
| ← robbyoconnor left | 02:33 |
| ← saorge_ left | 02:33 |
| ← Guest33042 left | 02:33 |
| ← kaendfinger left | 02:33 |
| ← unreal left | 02:33 |
| ← bede left | 02:33 |
| ← Bucciarati left | 02:33 |
| ← cian1500ww left | 02:33 |
| ← majoh left | 02:33 |
| ← Orginator left | 02:33 |
| ← mehwork left | 02:33 |
| ← Derander left | 02:33 |
| ← edwardly left | 02:33 |
| ← sgambino left | 02:33 |
| ← nfroidure left | 02:33 |
| ← mattcen left | 02:33 |
| ← d1b left | 02:33 |
| ← damccull left | 02:33 |
| ← nanashiRei left | 02:33 |
| ← r00tWearsRedHats left | 02:33 |
| ← ValicekB left | 02:33 |
| ← adaptr left | 02:33 |
| ← igalic left | 02:33 |
| ← dfarler left | 02:33 |
| ← russ_ left | 02:33 |
| ← wooy left | 02:33 |
| ← lov left | 02:33 |
| ← milian left | 02:33 |
| ← schlumpi left | 02:33 |
| dfarler_ → dfarler | 02:33 |
| pilif_ → pilif | 02:33 |
| nanashiReii → nanashiRei | 02:34 |
| sgambino_ → sgambino | 02:34 |
| ← nanashiRei left | 02:34 |
| → nanashiRei joined | 02:34 |
|
lithiumjake_
| Hello. I'm a new git user. Should I use "git pull" when I want to update my pre-existing local project to the changes made on the repo? | 02:34 |
| → Orginator_ joined | 02:34 |
| milian_ → milian | 02:34 |
| mattcen_ → mattcen | 02:34 |
| → ValicekB_ joined | 02:34 |
| ← sohail left | 02:34 |
| → aep joined | 02:34 |
| → Vivekananda joined | 02:34 |
| ← sohail_ left | 02:34 |
| → Rix joined | 02:34 |
| ← geomyidae__ left | 02:34 |
| jds_ → jds | 02:34 |
| → alexwhitman joined | 02:34 |
| → ToothlessGear_ joined | 02:35 |
| → geomyidae joined | 02:35 |
| ← kba left | 02:35 |
| → bewest joined | 02:35 |
| → pepper_chico joined | 02:36 |
| → Ragnor joined | 02:36 |
| ← lithiumjake_ left | 02:36 |
| → gregorg joined | 02:37 |
| ← gregorg left | 02:37 |
| → gregorg joined | 02:37 |
| ← h0rrorvacui left | 02:38 |
| → raniere joined | 02:38 |
| → odigity joined | 02:38 |
| → r00tWearsRedHats joined | 02:38 |
| → kukks joined | 02:38 |
| → eletuchy joined | 02:38 |
| → Entomo joined | 02:38 |
| → cian1500ww joined | 02:38 |
| → felher joined | 02:38 |
| → nfroidure joined | 02:38 |
| → Spyro joined | 02:38 |
| ← Spyro left | 02:38 |
| → Spyro joined | 02:38 |
| → majoh joined | 02:39 |
| → DoniRS joined | 02:39 |
| → JanC_ joined | 02:40 |
| ← bewest left | 02:40 |
| ← redrocket left | 02:40 |
| ValicekB_ → ValicekB | 02:40 |
| → Fissure joined | 02:40 |
| ← nilg left | 02:41 |
| → mizu_no_oto joined | 02:41 |
| → michael_lee joined | 02:41 |
| → relipse joined | 02:42 |
| ← thiago left | 02:42 |
| → dytrivedi joined | 02:42 |
| → adaptr joined | 02:43 |
| ← michael_lee left | 02:43 |
| ← mizu_no_oto left | 02:44 |
| → weiyang joined | 02:45 |
| ← CheckDavid left | 02:45 |
| ← pepper_chico left | 02:46 |
| ← weiyang left | 02:46 |
| → michael_lee joined | 02:46 |
| ← abelsiqueira left | 02:47 |
| → mizu_no_oto joined | 02:50 |
| ← MattMaker left | 02:50 |
| ← devoldmx left | 02:51 |
| ← mizu_no_oto left | 02:52 |
| ← psyl0n left | 02:54 |
| → DolphinDream joined | 02:55 |
| ← rchavik left | 02:55 |
| → z8z joined | 02:57 |
| ← z8z left | 02:59 |
| → hellopat joined | 03:05 |
| ← savr left | 03:06 |
| → jaseemabid joined | 03:06 |
|
solrize
| can i have separate origins for pull and push? | 03:07 |
| → psyl0n joined | 03:07 |
|
cbreak
| solrize: man git-config | 03:07 |
|
gitinfo
| solrize: the git-config manpage is available at http://jk.gs/git-config.html | 03:07 |
|
solrize
| thanks | 03:08 |
|
| looking | 03:08 |
|
Vivekananda
| hello everyone . hi cbreak | 03:08 |
| → weiyang joined | 03:08 |
|
cbreak
| solrize: look for remote.<name>push and so on | 03:08 |
| ← weiyang left | 03:08 |
|
cbreak
| there's .url and .pushurl too | 03:08 |
|
Vivekananda
| so I left in the middle but was discussing how to manage storing config files in back up of www/ files of a server. | 03:08 |
|
cbreak
| not a git problem. | 03:09 |
| ← recycle left | 03:09 |
| ← FerreusR left | 03:09 |
|
Vivekananda
| what would be a simple and good way of doing it. The paths are different in the config files on the server and on my dev environment. If I include the config as part of git repo then will have to change it everytime . If I dont and servers are changed then that file is lost coz it wont be there on a new repo clone | 03:10 |
|
cbreak
| Vivekananda: a proper backup program. | 03:10 |
| → weiyang joined | 03:10 |
|
cbreak
| git is not for backing up stuff. | 03:11 |
|
| you should not store config files in git. | 03:11 |
|
| at most, store a template. | 03:11 |
|
| (with a different name, if your program is too dumb to be able to handle templates itself) | 03:11 |
| ← refried_ left | 03:12 |
|
Vivekananda
| okay but if I am developing and collaborating esp server side code then still should I use a backup program ? | 03:14 |
| ← kim_plausible left | 03:18 |
| → pastime joined | 03:24 |
| ← digiv left | 03:27 |
| → BSaboia joined | 03:27 |
| ← dougsland_ left | 03:32 |
| ← dyng__ left | 03:33 |
| → dyng joined | 03:34 |
| ← psyl0n left | 03:36 |
| ← dyng left | 03:38 |
| → maqr joined | 03:38 |
| → fire joined | 03:38 |
| ← levity_island left | 03:40 |
| → rjhunter joined | 03:40 |
| ← BSaboia left | 03:41 |
| ← rjhunter left | 03:45 |
| → thinkdevcode joined | 03:46 |
| ← DrShoggoth left | 03:46 |
| → zacts joined | 03:46 |
| ← kukks left | 03:46 |
| ← bwreilly left | 03:47 |
| → hahuang65 joined | 03:47 |
| → DrShoggoth joined | 03:48 |
| ← thinkdevcode left | 03:49 |
| → psyl0n joined | 03:50 |
| ← pastime left | 03:50 |
| ← jstein1 left | 03:54 |
| ← DrShoggoth left | 03:54 |
| → kukks joined | 03:56 |
| → DrShoggoth joined | 03:57 |
| → abelsiqueira joined | 03:57 |
| → Mars` joined | 04:01 |
| ← hahuang65 left | 04:02 |
| → pastime joined | 04:03 |
|
solrize
| git-daemon is no longer in git-core on debian? i guess the docs are wrong | 04:05 |
| ← DrShoggoth left | 04:05 |
|
solrize
| is git-daemon still the easiest way to serve a repo publicly? | 04:06 |
|
SamB
| solrize: it's in the "git" package | 04:07 |
| → hahuang65 joined | 04:08 |
| ← r0bby_ left | 04:08 |
|
solrize
| hmm i have that installed, and there's no git-daemon | 04:08 |
| → r0bby_ joined | 04:08 |
|
SamB
| git: /usr/lib/git-core/git-daemon | 04:09 |
|
solrize
| oh i see, i have to add that to $PATH | 04:09 |
|
| thanks | 04:09 |
|
SamB
| er, I don't think that's what you want to do | 04:09 |
|
| try "git daemon" | 04:09 |
|
solrize
| oh ok thanks | 04:10 |
| → rchavik joined | 04:11 |
| → hellopat_ joined | 04:12 |
| ← conan left | 04:12 |
|
SamB
| that package only installs four commands starting with "git-" into $PATH | 04:12 |
|
solrize
| i got it working, i had to put the git-daemon-export-ok into the .git subdir instead of into the main dir, but no biggie | 04:13 |
|
| thanks | 04:13 |
| → vipzrx1 joined | 04:13 |
| ← hellopat left | 04:15 |
| → conan_ joined | 04:15 |
| ← hahuang65 left | 04:15 |
| ← kukks left | 04:15 |
| → kiraank joined | 04:16 |
| ← vipzrx1 left | 04:16 |
| → DrShoggoth joined | 04:19 |
| → sguselnikov joined | 04:22 |
| ← reaverb left | 04:22 |
| ← sguselnikov left | 04:23 |
| ← yacks left | 04:24 |
| ← jcvfen left | 04:27 |
| ← Mars` left | 04:29 |
| → Mars` joined | 04:29 |
| → vipzrx1 joined | 04:32 |
| → arietis joined | 04:33 |
| → bwreilly joined | 04:33 |
| → Devastator joined | 04:34 |
| ← hwrd|work left | 04:35 |
| ← Mars` left | 04:35 |
| ← DrShoggoth left | 04:36 |
| ← Noldorin left | 04:36 |
| → hwrd|work joined | 04:36 |
| ← Devastator left | 04:40 |
| → Devastator joined | 04:40 |
| → CodeShar_ joined | 04:42 |
| → dyng joined | 04:43 |
| ← john2x left | 04:47 |
| → preflex_ joined | 04:51 |
| → DrShoggoth joined | 04:51 |
| ← preflex left | 04:52 |
| preflex_ → preflex | 04:52 |
| ← PaulCapestany left | 04:53 |
| → NaStY joined | 04:54 |
| → Mars` joined | 04:54 |
| hellektor → starkhalo | 04:55 |
| ← DrShoggoth left | 04:56 |
| → DrShoggoth joined | 04:56 |
| → oldSaab joined | 04:57 |
| NaStY → NaStYdoG | 04:57 |
| → causasui joined | 05:01 |
| ← abelsiqueira left | 05:03 |
| ← Goplat left | 05:06 |
|
solrize
| how do i push a new branch to a remote repo? it doesn't seem to push stuff in the new branch unless the branch is already there in the remote side. i tried git remote set-branches --add to add the new branch but it didn't help | 05:06 |
| ← rafaqueque left | 05:09 |
| ← oldSaab left | 05:10 |
| ← Gamecubic left | 05:10 |
| → Acidnerd1 joined | 05:11 |
| ← warthog9 left | 05:12 |
| ← arietis left | 05:14 |
| → sealion joined | 05:15 |
| → john2x joined | 05:16 |
|
solrize
| git push -u didn't help either | 05:16 |
| → savr joined | 05:18 |
| → arietis joined | 05:18 |
|
solrize
| HEAD is now at ccb1852... panic on invalid algor selection, and add comments | 05:18 |
|
| oh that's not a git error | 05:19 |
|
| oh i think it did push the new branch, i just had to say gitk --all to see the new branch without first checking it out | 05:23 |
| → saurabh joined | 05:24 |
| saurabh → Guest99029 | 05:24 |
|
SamB
| solrize: or "git log origin/[mumble]" | 05:24 |
| → Goplat joined | 05:25 |
|
solrize
| hmm ok | 05:25 |
| ← CodeShar_ left | 05:28 |
| ← psyl0n left | 05:28 |
| → CodeShark joined | 05:28 |
| → diegoviola joined | 05:31 |
| ← Naoe-Kanno left | 05:31 |
| ← edwardly_ left | 05:31 |
| → edwardly joined | 05:32 |
| → h0bbit_ joined | 05:32 |
| ← kcj left | 05:32 |
| → smw joined | 05:32 |
|
solrize
| "git help" seems to ignore the GIT_PAGER variable and the --no-pager cmd line option | 05:33 |
|
| oh it uses PAGER too | 05:33 |
|
smw
| hi all, I am writing a pre-commit script, how can I find the root of the git repo being committed? | 05:33 |
| ← mattcen left | 05:35 |
| → tchan joined | 05:35 |
|
SamB
| smw: I suggest reporting a bug about the conditions under which hooks are called being insufficiently documented in man githooks | 05:37 |
|
gitinfo
| smw: the githooks manpage is available at http://jk.gs/githooks.html | 05:37 |
|
SamB
| er, that is, the environment, working dir, etc. | 05:37 |
|
| smw: I think your script is PROBABLY called with $PWD as the repo root, though | 05:38 |
|
smw
| SamB, I will read the git man page. I only read http://git-scm.com/book/ca/Customizing-Git-Git-Hooks and the sample | 05:38 |
|
| SamB, ah, it really isn't documented in the man page either :-\ | 05:39 |
|
| thanks | 05:39 |
| → mattcen joined | 05:39 |
|
SamB
| why do you think I suggested reporting a bug rather than just reading it | 05:39 |
|
smw
| SamB, truthfully, this is IRC. I assumed it was a rtfm response ;-) | 05:40 |
|
| SamB, I mean no disrespect of course :-) | 05:40 |
|
| SamB, you are right, it is PWD | 05:41 |
|
SamB
| yes, of course, "rtfm" can be quite helpful, if accompanied by a clue as to the manual (and perhaps section) in question :-) | 05:41 |
| → tjbiddle joined | 05:41 |
|
smw
| SamB, yes, I assumed you were pointing me there. And gitinfo was kind enough to link me when you said it :-) | 05:42 |
|
SamB
| smw: the reason for my suspicion is that I know that virtually every git command changes to that directory eary on | 05:42 |
|
| this is not a reasonable thing to expect mere users to know | 05:42 |
| → MisterGiga joined | 05:46 |
|
MisterGiga
| salom | 05:46 |
| → maleknet joined | 05:47 |
| → phao joined | 05:48 |
| ← MisterGiga left | 05:50 |
|
solrize
| if i have origin=(central github repo of this program) then when i say "git fetch git://myrepo.com/myrepo" it doesn't seem to get my new branch, even though i uploaded it and can clone from it | 05:51 |
|
| git fetch --all doesn't allow specifying a repo | 05:51 |
| → dekiss joined | 05:52 |
| ← dekiss2 left | 05:52 |
| ← h0bbit_ left | 05:53 |
| ← preflex left | 05:54 |
| → asido joined | 05:54 |
| → preflex joined | 05:56 |
| → refried_ joined | 05:56 |
| ← daivyk left | 05:57 |
| ← Tommy[D] left | 05:57 |
| ← phao left | 05:58 |
|
solrize
| oh it looks like i have to use git remote add on the client side. bummer. | 05:59 |
| → dhilipsiva joined | 06:01 |
| → quazimodo joined | 06:02 |
| ← nicedice_ left | 06:02 |
| ← matanya left | 06:06 |
| ← Goplat left | 06:08 |
| ← Philocraft left | 06:08 |
| → Tommy[D] joined | 06:09 |
| → dguitarbite joined | 06:10 |
| → dguitarbite_ joined | 06:11 |
| ← arietis left | 06:12 |
| ← the_cybersphinx left | 06:16 |
| ← hellopat_ left | 06:21 |
| → kcj joined | 06:30 |
| ← tjbiddle left | 06:34 |
| ← Watabou left | 06:34 |
| → ezekielnoob joined | 06:35 |
| ← luxgeek1 left | 06:37 |
| → devoldmx joined | 06:38 |
| ← devoldmx left | 06:38 |
| → Watabou joined | 06:40 |
| ← pastime left | 06:41 |
| → longbeach joined | 06:41 |
| → arietis joined | 06:42 |
| → maestrojed joined | 06:43 |
| → ningu joined | 06:43 |
|
ningu
| I've noticed that when I commit to a local repo and try to push to origin master it fails if the local repo is behind the remote. makes sense. so then typically I do 'git pull' and that produces a merge commit, then I can push. | 06:44 |
|
| however on github and such I rarely see such merge commits. so how do people avoid them? | 06:45 |
|
| always pull before committing? | 06:45 |
| ← jaseemabid left | 06:45 |
| ← starkhalo left | 06:45 |
|
pekster
| ningu: That, or rebase your local changes onto the upstream tip first | 06:47 |
|
ningu
| I've never learned rebase... maybe now is the time :P | 06:47 |
|
| is it enough to just do 'git rebase'? | 06:48 |
|
pekster
| Personally, I like working on a 'local' branch for those kinds of projects, then when I'm ready to push I'll first do a pull (or usually a fetch + `git merge --ff-only` as it avoids ugly conflicts if I'm not ready for them) and then I'll merge my own changes in | 06:48 |
| ← yshh left | 06:49 |
|
ningu
| does rebase do a fetch on the upstream first? | 06:50 |
|
pekster
| rebase does nothing upstream, no | 06:50 |
| → redrocket joined | 06:50 |
|
SamB
| ningu: maybe you want "git pull --rebase" for your case ... | 06:50 |
|
pekster
| It just "re-arranges" your commits locally | 06:50 |
| → [1]asido joined | 06:51 |
|
ningu
| SamB: ah, good idea | 06:51 |
|
| otherwise I could do git fetch && git rebase | 06:51 |
|
| && git merge... something like that | 06:51 |
|
pekster
| The easiest way to use reabse to put your changes "on top" of upstream's (if that's what you want, and you've already done a pull from upstream) is to find the parent commit before your histories diverged and do `git rebase -i abcdef` on that commitish | 06:52 |
|
| But of course, it's best to come up with a workflow that makes that unnecessary ;) | 06:52 |
|
| And yea, pull --rebase might help if you really want to use that workflow anyway | 06:52 |
|
| pekster tries to avoid that and forgets about that feature | 06:53 |
|
ningu
| well, these are small changes to a repo where I am the main committer and commit from several locations | 06:53 |
|
| so it's just a question of ordering the commits to not produce the extra 'merge' commit | 06:53 |
| ← asido left | 06:53 |
|
pekster
| Take a look at the --ff-only option to the merge command -- it explicitly won't do a merge when you can't fast-forward it | 06:53 |
|
ningu
| yeah, that also sounds really useful. | 06:54 |
|
pekster
| I use that option frequently as a hint to me that I need to rebase my local (never rebase history you've pushed as that's re-writing it) and then I play around locally until I have what I want | 06:54 |
|
SamB
| yeah, that's how I usually pull lately, since unfortunately I can't set that in my .git/config and then override it on the command line ... | 06:54 |
| → jaseemabid joined | 07:00 |
| ← bwreilly left | 07:00 |
| → bwreilly joined | 07:01 |
| ← ItSANgo__ left | 07:05 |
| → kerrick joined | 07:09 |
| ← featheredtoast left | 07:11 |
| → MattMaker joined | 07:11 |
| → ItSANgo_ joined | 07:12 |
| ← quazimodo left | 07:13 |
| ← diegoviola left | 07:15 |
| ← ezekielnoob left | 07:15 |
| → Guest579 joined | 07:16 |
| ← Guest579 left | 07:17 |
| → Guest579 joined | 07:17 |
| Guest579 → diegoviola | 07:17 |
| → johnkevinmbasco joined | 07:18 |
| → marthinal joined | 07:20 |
| ← sealion left | 07:22 |
| → featheredtoast joined | 07:23 |
| ← weiyang left | 07:25 |
| ← dhilipsiva left | 07:26 |
| → dhilipsiva joined | 07:27 |
| → alezost joined | 07:28 |
| ← featheredtoast left | 07:29 |
| ← MattMaker left | 07:30 |
| → featheredtoast joined | 07:30 |
| → a-l-e joined | 07:33 |
| → thrakcattack joined | 07:34 |
| ← ningu left | 07:36 |
| ← bwreilly left | 07:39 |
| ← jaseemabid left | 07:41 |
| → lng joined | 07:41 |
| ← dyng left | 07:44 |
| → dyng joined | 07:44 |
| ← maestrojed left | 07:45 |
| ← mitz left | 07:46 |
| → hahuang65 joined | 07:46 |
| ← dyng left | 07:47 |
| → dyng joined | 07:48 |
| → rouf joined | 07:48 |
| ← hahuang65 left | 07:50 |
| → bvi joined | 07:51 |
| → mitz joined | 07:51 |
| → hellopat joined | 07:52 |
| ← edwardly left | 07:53 |
| → edwardly joined | 07:53 |
| → jleclanche joined | 07:54 |
| ← jleclanche left | 07:54 |
| ← edwardly left | 07:55 |
| → shauna joined | 07:55 |
| → edwardly joined | 07:55 |
| ← edwardly left | 07:56 |
| ← Mars` left | 07:56 |
| ← hellopat left | 07:57 |
| ← tango_ left | 07:57 |
| → edwardly joined | 07:58 |
| → tango_ joined | 07:58 |
| ← tango_ left | 07:59 |
| → tango_ joined | 07:59 |
| → Mars` joined | 08:00 |
| → m0ltar joined | 08:03 |
| ← dekiss left | 08:05 |
| ← Kabaka left | 08:06 |
| → m-o-s_ joined | 08:06 |
| ← m-o-s_ left | 08:06 |
| → dekiss joined | 08:07 |
| → z8z joined | 08:07 |
| ← refried_ left | 08:07 |
| ← m0ltar left | 08:07 |
| ← z8z left | 08:08 |
| → Kicer86 joined | 08:08 |
| → z8z joined | 08:08 |
| → m0ltar joined | 08:09 |
| → jizanthapus joined | 08:10 |
| ← z8z left | 08:10 |
| → z8z joined | 08:10 |
| ← Norm__ left | 08:12 |
| → jaseemabid joined | 08:12 |
| → refried_ joined | 08:13 |
| ← refried_ left | 08:13 |
| ← Mars` left | 08:14 |
| ← dhilipsiva left | 08:16 |
| ← dyng left | 08:17 |
| → Zarthus joined | 08:17 |
| ← jizanthapus left | 08:21 |
| → jizanthapus joined | 08:21 |
| → gua_ould joined | 08:23 |
| ← kermit left | 08:30 |
| ← Devastator left | 08:34 |
| ← hal left | 08:36 |
| ← d8bhatta left | 08:36 |
| → Mars` joined | 08:38 |
| ← bvi left | 08:39 |
| → pastime joined | 08:41 |
| ← KK4MGV left | 08:43 |
| ← Mars` left | 08:43 |
| → KK4MGV joined | 08:44 |
| ← pastime left | 08:46 |
| → asido joined | 08:48 |
| → Timmy joined | 08:48 |
| ← michael_lee left | 08:49 |
| ← [1]asido left | 08:49 |
| → matanya joined | 08:50 |
| → Mars` joined | 08:50 |
| ← m0ltar left | 08:51 |
| → arvind_khadri joined | 08:51 |
| → ezekielnoob joined | 08:51 |
| → m0ltar joined | 08:53 |
| → ambodi joined | 08:53 |
| → dguit957 joined | 08:55 |
| → dyng joined | 08:55 |
| ← jimmyeatworld left | 08:58 |
| ← johnkevinmbasco left | 08:59 |
| → nilg joined | 09:00 |
| ← Mars` left | 09:01 |
| ← solrize left | 09:01 |
| → ngladitz joined | 09:02 |
| → michael_lee joined | 09:03 |
| ← smw left | 09:04 |
| → mishok13 joined | 09:04 |
| ← dragon3__ left | 09:04 |
| → h0bbit_ joined | 09:05 |
| → jimmyeatworld joined | 09:06 |
| ← nilg left | 09:07 |
| ← wrouesnel left | 09:08 |
| → weiyang joined | 09:10 |
| → eijk joined | 09:11 |
| ← Timmy left | 09:11 |
| ← eijk left | 09:13 |
| ← ambodi left | 09:13 |
| → maroloccio joined | 09:14 |
| → ambodi joined | 09:15 |
| ← weiyang left | 09:18 |
| → Mars` joined | 09:18 |
| → RoryHughes joined | 09:19 |
| ← eletuchy left | 09:20 |
| → eletuchy joined | 09:20 |
|
jenny-cy
| join # jenkins | 09:20 |
| ← dekiss left | 09:21 |
| ← el3ctron_ left | 09:22 |
| → robarelli joined | 09:22 |
| → jleclanche joined | 09:23 |
| ← jleclanche left | 09:23 |
| → jleclanche joined | 09:23 |
| ← rchavik left | 09:24 |
| ← Mars` left | 09:25 |
| ← jleclanche left | 09:28 |
| ← z8z left | 09:28 |
| → jleclanche joined | 09:28 |
| → z8z joined | 09:29 |
| → Norm_ joined | 09:30 |
| ← z8z left | 09:30 |
| → m8 joined | 09:30 |
| → d8bhatta joined | 09:32 |
| → liuzhoou joined | 09:32 |
| → Asenar joined | 09:33 |
| → ZujkisNx joined | 09:34 |
| ← Norm_ left | 09:35 |
| ← scorphus left | 09:36 |
| → balestrino joined | 09:36 |
| → scorphus joined | 09:36 |
| ← _Qman left | 09:37 |
| ← scorphus left | 09:37 |
| → scorphus joined | 09:37 |
| → dodobrain joined | 09:37 |
| → khmarbaise joined | 09:38 |
| → weiyang joined | 09:39 |
| → arand joined | 09:41 |
| → hellopat joined | 09:41 |
| ← robarelli left | 09:43 |
| ← maleknet left | 09:43 |
| → Silmarilion joined | 09:44 |
| → rendar joined | 09:45 |
| ← hellopat left | 09:46 |
| ← arand left | 09:46 |
| → hs366 joined | 09:46 |
| → threesome joined | 09:47 |
| → arand joined | 09:47 |
| → rethus joined | 09:48 |
| → gelardi_ joined | 09:48 |
| → vurma joined | 09:50 |
| ← dguitarbite left | 09:52 |
| ← dguit957 left | 09:52 |
| ← dguitarbite_ left | 09:52 |
| ← kiraank left | 09:52 |
| → marhaban joined | 09:58 |
| → Anony987 joined | 09:58 |
| ← farmanimal left | 10:00 |
| → farmanimal joined | 10:01 |
| ← RoryHughes left | 10:02 |
| → bodom joined | 10:03 |
| ← khmarbaise left | 10:04 |
| ← rethus left | 10:04 |
| ← glen left | 10:04 |
| → maleknet joined | 10:04 |
| → RoryHughes joined | 10:05 |
| → mindriot101 joined | 10:06 |
| ← weiyang left | 10:06 |
| ← hwrd|work left | 10:07 |
| ← arand left | 10:07 |
| → Thra11 joined | 10:08 |
| → arand joined | 10:08 |
| ← balestrino left | 10:12 |
| → shruggar joined | 10:12 |
|
charon
| SamB: btw !hooks is also frequently useful | 10:12 |
|
gitinfo
| SamB: [!hook_pitfalls] Guidelines for writing hooks: 1. Consume all input (cat >/dev/null if you don't want it). 2. If you use any 'cd', also 'unset GIT_DIR'. 3. Don't git-pull in a hook (or any other script). | 10:12 |
| ← dyng left | 10:12 |
| → dyng joined | 10:13 |
| → dguitarbite joined | 10:14 |
| ← dyng left | 10:17 |
| → grilix joined | 10:20 |
| → hwrd|work joined | 10:20 |
| ← a-l-e left | 10:20 |
| sonOfRa_ → sonOfRa | 10:21 |
| ← asido left | 10:21 |
| ← dguitarbite left | 10:22 |
| ← w00y left | 10:24 |
| → asido joined | 10:24 |
| → thevishy joined | 10:26 |
| → Brando753 joined | 10:26 |
| ← thevishy left | 10:26 |
| → dguitarbite joined | 10:26 |
| → thevishy joined | 10:27 |
| → felipe joined | 10:27 |
| → wooy joined | 10:29 |
| ← Brando753 left | 10:30 |
| → Brando753 joined | 10:30 |
| → sq-one joined | 10:31 |
| ← marhaban left | 10:31 |
| → harobed_ joined | 10:33 |
| ← dguitarbite left | 10:34 |
| ← ambodi left | 10:34 |
| → Mars` joined | 10:35 |
| → ambodi joined | 10:35 |
| ← Brando753 left | 10:36 |
| ← vurma left | 10:37 |
| ← luc_ left | 10:38 |
| → luxgeek joined | 10:39 |
| ← Mars` left | 10:40 |
| → Brando753 joined | 10:41 |
| ← RoryHughes left | 10:41 |
| → vurma joined | 10:41 |
| → pastime joined | 10:42 |
| ← sq-one left | 10:43 |
| ← luxgeek left | 10:43 |
| → rethus joined | 10:47 |
| ← pastime left | 10:47 |
| ← grilix left | 10:47 |
| ← ambodi left | 10:48 |
| → grilix joined | 10:48 |
| → ambodi joined | 10:48 |
| ← deanrock left | 10:50 |
| → RoryHughes joined | 10:50 |
| → grilix_ joined | 10:50 |
| → abelsiqueira joined | 10:51 |
| → Guest49989 joined | 10:52 |
| ← grilix left | 10:52 |
| ← ambodi left | 10:53 |
| ← maroloccio left | 10:53 |
| → carbon2 joined | 10:54 |
| ← dodobrain left | 10:55 |
| ← grilix_ left | 10:55 |
| → cesc joined | 10:55 |
| → BSaboia joined | 10:58 |
| → giusef joined | 10:58 |
| ← jaseemabid left | 10:58 |
| ← arietis left | 10:59 |
| ← carbon2 left | 11:00 |
| ← RoryHughes left | 11:01 |
| → marhaban joined | 11:02 |
| ← vurma left | 11:03 |
| → arietis joined | 11:03 |
| → vurma joined | 11:04 |
| ← hwrd|work left | 11:04 |
| → hafeez3000 joined | 11:05 |
| → jackneill joined | 11:06 |
| ← jackneill left | 11:06 |
| → jackneill joined | 11:06 |
| ← hypera1r left | 11:07 |
| ← hafeez3000 left | 11:07 |
| ← HicksD_ left | 11:07 |
| → hwrd|work joined | 11:07 |
| → RoryHughes joined | 11:11 |
| → HicksD joined | 11:11 |
| → bitkid joined | 11:11 |
| → danicampa901 joined | 11:19 |
| ← RoryHughes left | 11:21 |
| → jaseemabid joined | 11:27 |
| → psyl0n joined | 11:29 |
| → hellopat joined | 11:29 |
| → RoryHughes joined | 11:30 |
| → aspiers joined | 11:30 |
| → the_cybersphinx joined | 11:31 |
| ← hellopat left | 11:34 |
| ← edwardly left | 11:35 |
| → edwardly joined | 11:36 |
| ← savr left | 11:36 |
| ← mitz left | 11:38 |
| → Guest90190 joined | 11:38 |
| ← jaseemabid left | 11:39 |
| → xxtjaxx joined | 11:39 |
| ← xxtjaxx left | 11:39 |
| → xxtjaxx joined | 11:39 |
| → VictorCL joined | 11:39 |
| conan_ → conan | 11:40 |
| ← gua_ould left | 11:40 |
| ← diegoviola left | 11:41 |
| ← Guest90190 left | 11:41 |
| → Guest90190 joined | 11:41 |
| Guest90190 → diegoviola | 11:41 |
| → daanavitch joined | 11:42 |
| → mizu_no_oto joined | 11:44 |
| ← conan left | 11:45 |
| → mitz joined | 11:46 |
| ← bodom left | 11:53 |
| ← marhaban left | 11:53 |
| → marhaban joined | 11:53 |
| → coolcusty|2 joined | 11:56 |
| → valgrind joined | 11:56 |
| ← valgrind left | 11:56 |
| ← _Vi left | 11:57 |
| ← sirkha left | 11:57 |
| → valgrind joined | 11:59 |
| → gua_ould joined | 11:59 |
| ← marhaban left | 11:59 |
| → watermel0n joined | 12:02 |
| ← watermel0n left | 12:02 |
| → watermel0n joined | 12:03 |
| ← gelardi_ left | 12:04 |
| ← RoryHughes left | 12:04 |
| → khmarbaise joined | 12:05 |
| → GT4066 joined | 12:05 |
| → RoryHughes joined | 12:09 |
| ← RoryHughes left | 12:09 |
| → BeerSerc joined | 12:10 |
| → RoryHughes joined | 12:13 |
| ← RoryHughes left | 12:14 |
| → RoryHughes joined | 12:15 |
| → joaoh82 joined | 12:15 |
| ← m0ltar left | 12:15 |
| ← khmarbaise left | 12:16 |
| → jimmy_lo joined | 12:16 |
| ← joaoh82 left | 12:20 |
| → glebihan joined | 12:20 |
| → RoryHugh_ joined | 12:21 |
| → ewet joined | 12:22 |
| ← RoryHughes left | 12:22 |
| ← BSaboia left | 12:23 |
| ← lng left | 12:23 |
| ← RoryHugh_ left | 12:25 |
| → St_Marx joined | 12:25 |
| → Devastator joined | 12:26 |
| ← mizu_no_oto left | 12:28 |
| → RoryHughes joined | 12:28 |
| → thiago joined | 12:28 |
| → ewnd9 joined | 12:30 |
| ← h0bbit_ left | 12:32 |
| ← maleknet left | 12:32 |
| → solrize joined | 12:33 |
| ← vipzrx1 left | 12:33 |
| ← DoniRS left | 12:34 |
| ← coolcusty|2 left | 12:35 |
| → vipzrx1 joined | 12:35 |
| ← vipzrx1 left | 12:35 |
| ← ezekielnoob left | 12:37 |
| ← kcj left | 12:38 |
| → johnkevinmbasco joined | 12:38 |
| → ezekielnoob joined | 12:38 |
| → gasbakid joined | 12:40 |
| → Gavrisimo joined | 12:41 |
| → Pullphinger joined | 12:41 |
| ← matanya left | 12:42 |
| → pastime joined | 12:43 |
| ← valgrind left | 12:43 |
| → koda joined | 12:43 |
| → matanya joined | 12:44 |
| → FerreusR joined | 12:45 |
| ← mindriot101 left | 12:45 |
| → khmarbaise joined | 12:46 |
| ← ezekielnoob left | 12:47 |
| → Stalkr_ joined | 12:48 |
| → smashwilson joined | 12:48 |
| ← pastime left | 12:48 |
| ← SamB left | 12:49 |
| → _Vi joined | 12:49 |
| → Kayra joined | 12:51 |
| → nicoulaj joined | 12:52 |
| → vipzrx1 joined | 12:53 |
| → tma996 joined | 12:53 |
| → dougsland_ joined | 12:53 |
| ← calcifea left | 12:53 |
| ← vipzrx1 left | 12:55 |
| ← RoryHughes left | 12:55 |
| → SamB joined | 12:56 |
| ← jason237 left | 12:56 |
| ← VictorCL left | 12:56 |
| → Vortex35 joined | 12:57 |
| → calcifea joined | 12:57 |
| → vipzrx1 joined | 12:58 |
| ← vipzrx1 left | 12:58 |
| ← Vortex34 left | 13:00 |
| → shinnya joined | 13:02 |
| → ezekielnoob joined | 13:03 |
| → tobias__ joined | 13:04 |
| → kcj joined | 13:04 |
| ← ezekielnoob left | 13:05 |
| ← tobias__ left | 13:05 |
| ← Watabou left | 13:05 |
| → tobias__ joined | 13:06 |
| → marhaban joined | 13:06 |
| ← rouf left | 13:06 |
| → freestyl3r joined | 13:06 |
| → calcifea_ joined | 13:06 |
| → rouf joined | 13:08 |
| ← satiricon left | 13:08 |
| ← calcifea left | 13:08 |
| → breakingthings joined | 13:10 |
| ← Vivekananda left | 13:10 |
| → mizu_no_oto joined | 13:10 |
| → zhost joined | 13:10 |
| → hyperair joined | 13:11 |
| ← the_cybersphinx left | 13:11 |
| ← hyperair left | 13:11 |
| → hyperair joined | 13:11 |
| → calcifea joined | 13:11 |
| → the_cybersphinx joined | 13:12 |
| → diego1 joined | 13:14 |
| ← calcifea_ left | 13:14 |
| ← diego1 left | 13:15 |
| → diego1 joined | 13:15 |
| ← diegoviola left | 13:15 |
| diego1 → diegoviola | 13:16 |
| → joaoh82 joined | 13:16 |
| → VictorCL joined | 13:17 |
| ← arietis left | 13:18 |
| → jnavila joined | 13:18 |
| → hellopat joined | 13:18 |
| → lordkefir joined | 13:19 |
| ← rouf left | 13:19 |
| → phryk joined | 13:19 |
| → earny joined | 13:19 |
| → grep0r joined | 13:19 |
| → jan1337z joined | 13:19 |
| → sebastianmarkow joined | 13:19 |
| → joaoh82_ joined | 13:20 |
| ← Stalkr_ left | 13:20 |
| ← aspiers left | 13:21 |
| ← joaoh82 left | 13:21 |
| → rouf joined | 13:21 |
| ← marhaban left | 13:23 |
| ← hellopat left | 13:23 |
| → vipzrx1 joined | 13:23 |
| ← vipzrx1 left | 13:23 |
| ← Pullphinger left | 13:23 |
| → dhilipsiva joined | 13:24 |
| ← harobed_ left | 13:24 |
| → chimay joined | 13:25 |
| ← VictorCL left | 13:25 |
| → dsdeiz joined | 13:26 |
| → ambodi joined | 13:27 |
| → dermoth_ joined | 13:27 |
| ← eletuchy left | 13:28 |
| → eletuchy joined | 13:28 |
| → pengunix joined | 13:28 |
| → ciampix joined | 13:29 |
| → lacrymology joined | 13:30 |
| ← Kayra left | 13:30 |
| → drbean joined | 13:30 |
| ← dermoth__ left | 13:30 |
|
lacrymology
| I've renamed a remote by changing it's entry in .git/config, but it's still present in .git/refs/remotes/ Is it safe to delete it? | 13:31 |
| → kaiza joined | 13:32 |
| ← eletuchy left | 13:33 |
| → joar joined | 13:33 |
| → aspiers joined | 13:34 |
|
_ikke_
| lacrymology: yes, but you can better use git commands instead of poking inside the .git directory yourself | 13:35 |
|
lacrymology
| _ikke_: how would I make the repo forget the remote? | 13:35 |
| ← \Freeman\ left | 13:36 |
|
_ikke_
| git remote prune should do it | 13:36 |
| → Freeman42 joined | 13:37 |
| → Stalkr_ joined | 13:37 |
|
lacrymology
| _ikke_: but it doesn't work now that I've removed it from .git/config, does it? | 13:37 |
|
joar
| I'm looking for python git bindings/libraries compatible with python 3, but I can't find any. | 13:37 |
|
| Are there none? | 13:37 |
|
niax
| joar: the python bindings to libgit2 have python 3 support by the looks | 13:38 |
| ← sgambino left | 13:39 |
|
joar
| using 2to3 on GitPython has been a nightmare so far. | 13:40 |
|
| niax: I will take a look, thank you. | 13:40 |
|
niax
| Will mean some deps on a compiled library though - although libgit2 is supposed to be fairly portable | 13:40 |
| ← Freeman42 left | 13:41 |
|
joar
| I get some compile errors when installing the bindings | 13:42 |
|
_ikke_
| lacrymology: not sure | 13:42 |
| → Freeman42 joined | 13:42 |
|
_ikke_
| lacrymology: Aparently, it doesn't indeed | 13:42 |
| ← Guest99029 left | 13:43 |
|
_ikke_
| lacrymology: well, if you only changed the url, and not the name, it should still work | 13:43 |
| ← thrakcattack left | 13:44 |
| → Kayra joined | 13:44 |
|
niax
| joar: what kind of errors? | 13:44 |
| ← Freeman42 left | 13:44 |
|
joar
| niax: https://gist.github.com/joar/9a40046d28c5ce609252 | 13:44 |
| → Freeman42 joined | 13:44 |
| ← thiago left | 13:45 |
| → thrakcattack joined | 13:45 |
|
niax
| joar: have you got libgit2 installed? | 13:45 |
| → stodan joined | 13:46 |
|
joar
| niax: I installed the libgit2-dev package before I got that output. Before I installed the libgit2-dev package I got an error on #include <git2.h> | 13:46 |
|
niax
| hmm, that's a bit odd | 13:46 |
|
| No idea I'm afraid - don't use the python bindings myself | 13:47 |
|
joar
| niax: the libgit2-0 package version is 0.19.x and the python package is 0.20.1 | 13:48 |
|
| might be that. | 13:48 |
|
niax
| Perhaps try the release for your version of libgit2: https://github.com/libgit2/pygit2/releases/tag/v0.19.0 | 13:50 |
| → drbean_ joined | 13:50 |
| → facundor joined | 13:50 |
| ← Stalkr_ left | 13:51 |
| ← Gavrisimo left | 13:51 |
| → luxgeek joined | 13:51 |
| ← drbean left | 13:52 |
| drbean_ → drbean | 13:52 |
| → RoryHughes joined | 13:52 |
| → arietis joined | 13:53 |
| ← johnflux_ left | 13:54 |
| → johnflux_ joined | 13:54 |
| mr_red1 → mr_red | 13:55 |
| → Timmy joined | 13:55 |
| ← DrShoggoth left | 13:55 |
| ← liuzhoou left | 13:56 |
| → guns joined | 13:56 |
| → vipzrx1 joined | 13:56 |
| ← drbean left | 13:56 |
| ← echo-area left | 13:57 |
| → marhaban joined | 13:57 |
| → dragon3_ joined | 13:58 |
| → jimi_ joined | 13:59 |
| → drbean joined | 13:59 |
| → eletuchy joined | 13:59 |
| → DrShoggoth joined | 13:59 |
| → Landshark753 joined | 14:00 |
| ← Landshark753 left | 14:00 |
| → Gavrisimo joined | 14:01 |
| ← Timmy left | 14:01 |
| → Landshark753 joined | 14:01 |
| → PaulCapestany joined | 14:01 |
| → Timmy joined | 14:01 |
| ← joaoh82_ left | 14:03 |
| ← vipzrx1 left | 14:03 |
| → pastime joined | 14:03 |
| ← rethus left | 14:04 |
| → SHyx0rmZ joined | 14:04 |
| → mbroeker joined | 14:05 |
| → BSaboia joined | 14:05 |
|
breakingthings
| Git keeps telling me that CRLF will be replaced with LF but will keep it's original line endings. 1, I know this, and don't want to see this message anymore; can I suppress it somehow? 2, Can I make it not keep it's original line endings? | 14:05 |
| ← mbroeker left | 14:06 |
| ← DrShoggoth left | 14:06 |
| ← pastime left | 14:06 |
| ← kaiza left | 14:06 |
| → kaiza joined | 14:07 |
| ← dsdeiz left | 14:07 |
| → Stalkr_ joined | 14:07 |
| → dsdeiz joined | 14:09 |
| ← lacrymology left | 14:09 |
| → jnavila_ joined | 14:09 |
| ← jnavila left | 14:09 |
| jnavila_ → jnavila | 14:09 |
|
jimi_
| is -1 compression 0 compression? | 14:10 |
| → DrShoggoth joined | 14:10 |
| ← nicoulaj left | 14:11 |
| ← pengunix left | 14:15 |
| → ezekielnoob joined | 14:16 |
| → gasbakid_ joined | 14:17 |
| → menace joined | 14:19 |
| ← gasbakid_ left | 14:19 |
| ← gasbakid left | 14:19 |
| → jcvfen joined | 14:20 |
| → conan joined | 14:21 |
| ← stodan left | 14:21 |
| → gasbakid_ joined | 14:21 |
| ← Stalkr_ left | 14:22 |
| → stodan joined | 14:22 |
| → Stalkr_ joined | 14:22 |
| ← DrShoggoth left | 14:23 |
| → dguitarbite joined | 14:24 |
|
menace
| how can avoid, that, when i fetch/pull from remote origin an update, that my local history is altered? | 14:25 |
| → sgambino joined | 14:26 |
|
charon
| menace: use fetch instead of !pull? | 14:26 |
|
gitinfo
| menace: pull=fetch+merge (or with flags/config also fetch+rebase). It is thus *not* the opposite of push in any sense. A good article that explains the difference between fetch and pull: http://longair.net/blog/2009/04/16/git-fetch-and-merge/ | 14:26 |
| → Noldorin joined | 14:26 |
|
charon
| fetch does not change local history | 14:26 |
| ← facundor left | 14:26 |
|
charon
| it changes the "copies" of remote history that reside in remotes/$remote/$branch, but not your local branches | 14:26 |
| ← rurufufuss left | 14:28 |
| → sirkha joined | 14:28 |
| ← dguitarbite left | 14:28 |
| → dguitarbite joined | 14:29 |
|
menace
| hrm. and how can i access that stuff, if i only fetch it then? | 14:29 |
|
| *headscratch* | 14:29 |
| → calcifea_ joined | 14:29 |
|
charon
| by saying things like 'git log origin/master' | 14:29 |
|
menace
| ah | 14:30 |
|
| but, when i fetch the data again, the local origin/master could be altered again from remote origin/master. Is there any way to avoid that? | 14:31 |
|
moritz
| when you fetch the data again, your local origin/master is updated from the remote master | 14:32 |
|
jimi_
| When I pull from my repo, it shows like 200mb, compresses... then pulls in about 1-3 minutes... my team in India is doing the same, and it pulls in like HOURS.... | 14:32 |
|
moritz
| so it's not changed | 14:32 |
| ← calcifea left | 14:32 |
|
moritz
| jimi_: maybe their internet connection is slower? | 14:32 |
|
menace
| but suppose, that remote master changed its history, then my local history copy of the remote master will be overwritten too after fetching | 14:33 |
| → DAB2IIW joined | 14:33 |
| ← bandroidx left | 14:34 |
|
jimi_
| moritz, ya... is there anything they can do differently that would help, besides changing internet? they frequently get errors about frequent early EOFS | 14:34 |
|
moritz
| menace: if you don't want your local copy of origin/master to change, don't run git fetch | 14:35 |
| ← Devastator left | 14:35 |
|
moritz
| jimi_: sounds like a lossy connection; mabe some kind of tunnel would help? | 14:36 |
|
| jimi_: which protocol are they using? | 14:36 |
|
jimi_
| moritz, https to bitbucket | 14:36 |
| ← Kayra left | 14:36 |
| ← arietis left | 14:37 |
|
moritz
| jimi_: they could try ssh, maybe that's more reliable | 14:37 |
| → WaReZ joined | 14:37 |
| ← arvind_khadri left | 14:37 |
| → Kayra joined | 14:37 |
| → DrShoggoth joined | 14:37 |
| → VRubezhny joined | 14:38 |
| ← dragon3_ left | 14:38 |
| → faBimon joined | 14:38 |
| → bandroidx joined | 14:39 |
|
menace
| moritz: but i want the data. i just don't want to have the already existing data overwritten. Is that possible or not? | 14:39 |
| ← ezekielnoob left | 14:39 |
| ← RoryHughes left | 14:40 |
| → Kayra_ joined | 14:40 |
|
moritz
| menace: yes, see man git-fetch, option --force | 14:40 |
| → ezekielnoob joined | 14:40 |
| ← Kayra left | 14:41 |
|
moritz
| it looks like if you call it remote:local, it will only accept fast-forward merges | 14:41 |
| ← m0viefreak left | 14:41 |
| → jaseemabid joined | 14:41 |
|
gitinfo
| menace: the git-fetch manpage is available at http://jk.gs/git-fetch.html | 14:44 |
| → RoryHughes joined | 14:45 |
| → vipzrx1 joined | 14:45 |
| ← vipzrx1 left | 14:45 |
|
moritz
| gitinfo has a slow day, it seems :-) | 14:47 |
| → maroloccio joined | 14:48 |
| → vipzrx1 joined | 14:49 |
| ← vipzrx1 left | 14:49 |
| ← giusef left | 14:51 |
| ← mizu_no_oto left | 14:52 |
| → mbroeker joined | 14:52 |
| ← Stalkr_ left | 14:52 |
| ← RoryHughes left | 14:52 |
| → Stalkr_ joined | 14:53 |
| → noecc joined | 14:54 |
| → arietis joined | 14:55 |
| ← schemanic left | 14:56 |
| → angasulino joined | 14:59 |
| ← daanavitch left | 15:00 |
| ← PaulCapestany left | 15:01 |
| ← Timmy left | 15:02 |
| → dragon3_ joined | 15:03 |
| → joaoh82 joined | 15:03 |
| ← kcj left | 15:04 |
| ← bandroidx left | 15:04 |
| → bandroidx joined | 15:04 |
| ← ambodi left | 15:05 |
| → ambodi joined | 15:05 |
| → m0ltar joined | 15:06 |
| → hellopat joined | 15:06 |
| ← joaoh82 left | 15:08 |
| → acharlieh joined | 15:09 |
| ← hellopat left | 15:09 |
| ← YoungFrog left | 15:10 |
| → YoungFrog joined | 15:10 |
| ← ambodi left | 15:11 |
| → grilix joined | 15:11 |
| ← dguitarbite left | 15:11 |
| ← dragon3_ left | 15:11 |
| ← mbroeker left | 15:11 |
| → masterkorp joined | 15:11 |
|
masterkorp
| guys can i reword a merge commit ? | 15:11 |
|
| oh rebase -p | 15:12 |
| → maroloccio2 joined | 15:12 |
| ← masterkorp left | 15:12 |
| ← maroloccio left | 15:12 |
| ← khmarbaise left | 15:14 |
| ← jaseemabid left | 15:16 |
| ← marhaban left | 15:16 |
| → RoryHughes joined | 15:17 |
| ← dhilipsiva left | 15:17 |
| ← RoryHughes left | 15:17 |
| → mbroeker joined | 15:17 |
| → mizu_no_oto joined | 15:19 |
| → RoryHughes joined | 15:19 |
| → Norm_ joined | 15:19 |
| ← RoryHughes left | 15:19 |
| → RoryHughes joined | 15:20 |
| → k4rtik_ joined | 15:20 |
|
_ikke_
| Note the caveats with rebase -p and -i | 15:21 |
| ← RoryHughes left | 15:21 |
|
_ikke_
| oh, he's gone again | 15:21 |
| → RoryHughes joined | 15:22 |
| ← nerdfiles left | 15:22 |
| ← arietis left | 15:25 |
| → wwalker joined | 15:28 |
| ← DolphinDream left | 15:28 |
| ← mbroeker left | 15:29 |
| → pengunix joined | 15:29 |
| → Timmy joined | 15:30 |
| → starkhalo joined | 15:31 |
| → joaoh82 joined | 15:31 |
| → jokajak joined | 15:32 |
| ← bambams left | 15:33 |
| → bambams joined | 15:33 |
| ← bambams left | 15:33 |
| → bambams joined | 15:33 |
| → balestrino joined | 15:34 |
| ← pengunix left | 15:34 |
| → hellopat joined | 15:35 |
| → mbroeker joined | 15:37 |
| ← mbroeker left | 15:37 |
| ← mizu_no_oto left | 15:37 |
| → jaseemabid joined | 15:39 |
| → daivyk joined | 15:39 |
| → pengunix joined | 15:41 |
| → mizu_no_oto joined | 15:42 |
| → ni__ joined | 15:42 |
| ← jimmyeatworld left | 15:42 |
| ← mizu_no_oto left | 15:42 |
| → PaulCapestany joined | 15:44 |
| → jimmyeatworld joined | 15:44 |
| → Guest92813 joined | 15:44 |
| → ambodi joined | 15:44 |
| → mizu_no_oto joined | 15:46 |
| ← diegoviola left | 15:46 |
| ← Guest92813 left | 15:46 |
| → Guest92813 joined | 15:46 |
| Guest92813 → diegoviola | 15:46 |
| → VictorCL joined | 15:48 |
| → kermit joined | 15:49 |
| ← vurma left | 15:49 |
| ← mizu_no_oto left | 15:51 |
| ← hwrd|work left | 15:53 |
| ← jokajak left | 15:55 |
| → jokajak joined | 15:56 |
| ← bandroidx left | 15:56 |
| → rekeorbm joined | 15:57 |
| → bandroidx joined | 15:57 |
| ← Asenar left | 15:58 |
| rekeorbm → mbroeker | 15:58 |
| → hwrd|work joined | 15:58 |
| ← johnflux_ left | 15:58 |
| ← mbroeker left | 15:58 |
| → Pullphinger joined | 15:59 |
| ← St_Marx left | 15:59 |
| → gfontenot joined | 15:59 |
| → M00sL0gB0t joined | 16:01 |
| → digiv joined | 16:01 |
| → marhaban joined | 16:02 |
| → St_Marx joined | 16:02 |
| ← ngladitz left | 16:05 |
| ← Argure left | 16:06 |
| ← marhaban left | 16:06 |
| → ngladitz joined | 16:06 |
| → beckster joined | 16:08 |
| ← menace left | 16:09 |
| ← john2x left | 16:09 |
| → Argure joined | 16:09 |
| → Nizumzen joined | 16:10 |
|
axrfnu
| i have three unpushed commits a, b, and c on master and have not yet pushed to the corresponding upstream. can i squash a and c into one commit via rebase and put b on top of it, and reset that to master, effectively reordering commits? | 16:10 |
| → arietis joined | 16:10 |
|
Bombe
| axrfnu, yes. | 16:11 |
| ← r0bby_ left | 16:11 |
| → marhaban joined | 16:13 |
| ← bandroidx left | 16:13 |
|
axrfnu
| ok, thanks! | 16:14 |
| ← guns left | 16:14 |
| → MithrilTuxedo joined | 16:15 |
| → bandroidx joined | 16:16 |
| ← bandroidx left | 16:16 |
| → bandroidx joined | 16:16 |
| → tvw joined | 16:18 |
| ← chimay left | 16:19 |
| ← rendar left | 16:20 |
| ← danicampa901 left | 16:21 |
| ← jaseemabid left | 16:25 |
| → Asenar joined | 16:27 |
| → MattStratton joined | 16:27 |
| ← sirkha left | 16:27 |
| ← marhaban left | 16:29 |
| ← k4rtik_ left | 16:29 |
| ← Gavrisimo left | 16:29 |
| → k4rtik_ joined | 16:29 |
| ← gasbakid_ left | 16:29 |
|
thevishy
| whats the command for that ? its interactive rebase right ? | 16:30 |
| ← gua_ould left | 16:30 |
|
kalleth
| git rebase --interactive HEAD~3 | 16:30 |
| → rath joined | 16:30 |
|
kalleth
| move a and c to below b | 16:30 |
|
| then squash them both | 16:30 |
|
| or squash one | 16:30 |
|
thevishy
| right HEAD~3 is required ? | 16:31 |
| → marhaban joined | 16:31 |
|
kalleth
| HEAD~3 tells it to rebase the last 3 commits on the head of the current branch | 16:31 |
|
| HEAD~4 is the last 4 commits, etc | 16:31 |
| → r0bby_ joined | 16:31 |
|
kalleth
| not sure what happens if you don't specify the # to rebase | 16:31 |
|
| try it and see :) | 16:32 |
|
thevishy
| suppose I have 10 commits and I need to do some operation on last 3 only , then its HEAD~3 | 16:32 |
|
kalleth
| ^^ | 16:32 |
|
cbreak
| you likely have many more than 10... | 16:32 |
|
kalleth
| ^^ | 16:32 |
|
cbreak
| thevishy: man gitrevisions | 16:32 |
|
gitinfo
| thevishy: the gitrevisions manpage is available at http://jk.gs/gitrevisions.html | 16:32 |
|
ohcibi
| kalleth: head~3 is a ref like a sha1-hash or like a tag or like a branch name.. you can pass anyone of them to rebase | 16:32 |
|
thevishy
| right | 16:32 |
|
| i mean 10 thats diverged from the main | 16:32 |
|
kalleth
| ohcibi: oh, yeah, forgot that | 16:33 |
|
thevishy
| ah ah | 16:33 |
|
cbreak
| it explains how the ~ notation works | 16:33 |
| → gasbakid_ joined | 16:33 |
|
kalleth
| so if you pick out the SHA of a commit 15 commits ago it'll pick out every commit since and including that sha? | 16:33 |
|
ohcibi
| yea | 16:33 |
|
kalleth
| and HEAD~3 refers to the sha of the commit 3 commits ago? | 16:33 |
|
| nice, thanks for the explanation | 16:33 |
|
ohcibi
| as in "rebase onto that commit" | 16:33 |
|
thevishy
| i usually go git rebase --interactive master | 16:33 |
|
| now this is self rebase ? ! | 16:33 |
|
cbreak
| thevishy: no. | 16:33 |
|
| thevishy: it rebases all commits that you have but master does not onto master, effectively | 16:34 |
|
thevishy
| right | 16:34 |
|
ohcibi
| if you rebase -i master when you are currently on master there is nothing to do of course | 16:35 |
| ← m0ltar left | 16:36 |
| → rhombus joined | 16:37 |
| → gasbakid__ joined | 16:37 |
| ← bandroidx left | 16:37 |
|
thevishy
| i am on my topic branch usually | 16:37 |
| ← gasbakid_ left | 16:37 |
| → iamjarvo_ joined | 16:39 |
|
thevishy
| I am in a topic branch - > suppose i was doing some bug fix and i rectified it couple of time so its , a b c commits which I want as a single commit a' ... I first do a git rebase --interactive HEAD~3 | 16:39 |
| → mizu_no_oto joined | 16:39 |
|
thevishy
| and make it a single commit and then sync with master .... or directly do a git rebase --interactive master | 16:39 |
|
| i would think the later is more precise correct ? | 16:40 |
|
kalleth
| on your topic branch, doing git rebase master will get commits from master into your current branch | 16:40 |
| ← iamjarvo_ left | 16:40 |
|
kalleth
| not take your commits in the topic branch into master | 16:40 |
|
thevishy
| ofcourse master has diverged in this time | 16:40 |
| → iamjarvo_ joined | 16:40 |
| → m0ltar joined | 16:40 |
| ← asido left | 16:41 |
|
thevishy
| ofcourse , its for a pull request later on to master ( via github) | 16:41 |
|
| which editor is more git friendly or there is nothing like that ? vim or emacs | 16:42 |
| ← marhaban left | 16:42 |
|
kalleth
| i don't use git in my editor, i do my gitting from the command line outside my editor | 16:43 |
|
| but everyone's different :( | 16:43 |
| ← r0bby_ left | 16:43 |
| → marhaban joined | 16:44 |
| ← mizu_no_oto left | 16:44 |
| ← Timmy left | 16:44 |
| → maestrojed joined | 16:46 |
| → juliohm joined | 16:46 |
| ← arietis left | 16:47 |
| ← tma996 left | 16:49 |
| ← maestrojed left | 16:51 |
| → kukks joined | 16:51 |
| ← kukks left | 16:51 |
| → kukks joined | 16:51 |
| ← daivyk left | 16:51 |
| → greggroth joined | 16:52 |
| → jimmyeat1orld joined | 16:53 |
| → bandroidx joined | 16:54 |
| → mizu_no_oto joined | 16:55 |
| ← jimmyeatworld left | 16:56 |
| → dreiss joined | 16:57 |
| → mastro joined | 16:57 |
| → harobed_ joined | 16:59 |
| ← BSaboia left | 16:59 |
| ← dsdeiz left | 16:59 |
| ← gasbakid__ left | 17:00 |
| → gasbakid joined | 17:00 |
| ← stodan left | 17:01 |
| → bewest joined | 17:01 |
| ← PaulCapestany left | 17:02 |
| ← hobodave_ left | 17:02 |
| → hays joined | 17:02 |
|
hays
| Is it possible to have a git repo of git repos? | 17:02 |
|
| I am asking for purely asinine reasons | 17:02 |
|
jrnieder
| hays: answer depends on those asinine reasons :) | 17:03 |
|
ciaranm
| you can use submodules to store multiple git repos within a single github private repo | 17:04 |
| → PaulCapestany joined | 17:04 |
| ← johnkevinmbasco left | 17:04 |
| → MattStra_ joined | 17:04 |
| → r0bby_ joined | 17:04 |
| → ozymandias joined | 17:05 |
| ← marhaban left | 17:06 |
| ← ozymandias left | 17:06 |
| → ozymandias joined | 17:06 |
|
hays
| what kind of mess would ensue if I had two repos stored in the same parent directory and i tried to git ini the parent directory | 17:07 |
| ← MattStratton left | 17:07 |
|
jrnieder
| hays: you'd have three repos? :) | 17:07 |
|
GyrosGeier
| indeed | 17:08 |
| → richwestcoast joined | 17:08 |
| ← iamjarvo_ left | 17:08 |
|
jrnieder
| e.g., in one of my repos I have a subdirectory with a todo list, which is another repo | 17:08 |
|
hays
| would that third repo interfere with the other two | 17:08 |
|
jrnieder
| it shows up in "git status" but I never "git add" it, so it doesn't do any harm | 17:08 |
|
| if I were to "git add" it, I'd say "oops" and then "git rm --cached" it | 17:09 |
|
| if I were to "git add" it and then commit, then I'd start annoying people. | 17:09 |
| ← d8bhatta left | 17:09 |
| → petey joined | 17:10 |
|
hays
| hmm. | 17:11 |
|
| I think for the purposes of not melting my brain I will keep them all as separate repos. | 17:11 |
| → nicedice joined | 17:12 |
| → iamjarvo joined | 17:13 |
| ← ewnd9 left | 17:14 |
| ← VictorCL left | 17:14 |
| → m0viefreak joined | 17:16 |
| ← nicedice left | 17:16 |
| → arietis joined | 17:16 |
| → el3ctron_ joined | 17:17 |
| ← DrNick left | 17:17 |
| → nicedice joined | 17:17 |
| → dsdeiz joined | 17:19 |
| ← k4rtik_ left | 17:19 |
| → maestrojed joined | 17:21 |
| ← greggroth left | 17:21 |
| ← thevishy left | 17:23 |
| ← ambodi left | 17:23 |
| ← tvw left | 17:23 |
| → thevishy joined | 17:23 |
| ← iamjarvo left | 17:23 |
| ← thevishy left | 17:24 |
| → iamjarvo joined | 17:24 |
| → thevishy joined | 17:24 |
| ← thevishy left | 17:25 |
| ← fire left | 17:25 |
| ← DrShoggoth left | 17:25 |
| ← kaiza left | 17:25 |
| → thevishy joined | 17:26 |
| ← thevishy left | 17:26 |
| → thevishy joined | 17:28 |
| ← iamjarvo left | 17:28 |
| ← jimi_ left | 17:29 |
| ← shinnya left | 17:29 |
| ← PaulCapestany left | 17:31 |
| ← conan left | 17:31 |
| → Timmy joined | 17:31 |
| → bwreilly joined | 17:31 |
| → oriba joined | 17:32 |
| ← oriba left | 17:32 |
| → oriba joined | 17:33 |
| ← ewet left | 17:33 |
| ← dreiss left | 17:33 |
| → PaulCapestany joined | 17:33 |
| ← Kayra_ left | 17:36 |
| ← matanya left | 17:36 |
| → Kayra joined | 17:37 |
| ← RoryHughes left | 17:38 |
| ← glebihan left | 17:39 |
| → Kayra_ joined | 17:40 |
| ← michael_lee left | 17:41 |
| → hobodave joined | 17:41 |
| ← Silmarilion left | 17:41 |
| ← Kayra left | 17:41 |
| → jrabbit joined | 17:41 |
|
jrabbit
| if I have a topic branch that I want to merge into a new version branch without hitting master is that possible? | 17:42 |
|
| slash does that even make sense | 17:42 |
| → khmarbaise joined | 17:42 |
|
rue
| jrabbit: master is just a branch, so yes. | 17:42 |
| ← watermel0n left | 17:42 |
|
jrabbit
| rue: thanks I'm just trying not to fuck anything up since it's a rather old package I maintain if it was one of my own projects I'd have no problem ruining it | 17:43 |
| ← Kayra_ left | 17:45 |
| ← GoldenAxe left | 17:46 |
| → nszceta joined | 17:47 |
| → jimi_ joined | 17:47 |
| → glebihan joined | 17:48 |
|
jrabbit
| Oh git understood that i wanted to base it off of the current branch yay it was intuitive :) | 17:48 |
| ← thevishy left | 17:48 |
| ← jrabbit left | 17:48 |
| ← petey left | 17:50 |
| → petey joined | 17:50 |
| → hobodave_ joined | 17:51 |
| ← hobodave left | 17:52 |
| ← nicedice left | 17:52 |
| ← bandroidx left | 17:52 |
| → juls joined | 17:52 |
| → hellektor joined | 17:53 |
| → petey_ joined | 17:53 |
| → nicedice joined | 17:53 |
| ← petey left | 17:53 |
| → therealGent joined | 17:54 |
| ← starkhalo left | 17:54 |
| → hahuang65 joined | 17:54 |
| → bandroidx joined | 17:55 |
| ← bandroidx left | 17:55 |
| → bandroidx joined | 17:55 |
| → johnflux_ joined | 17:56 |
| ← johnflux_ left | 17:56 |
| → johnflux_ joined | 17:56 |
|
joar
| niax: I solved it by installing the appropriate version of pygit2. I had some trouble with the python package manager's cache though. Thank you for the help. | 18:03 |
| → BSaboia joined | 18:04 |
| → sq-one joined | 18:04 |
| → RoryHughes joined | 18:05 |
| → nilg joined | 18:05 |
| ← noecc left | 18:07 |
| → Kayra joined | 18:07 |
| ← gasbakid left | 18:07 |
| → gasbakid_ joined | 18:07 |
| ← mizu_no_oto left | 18:08 |
| ← w0ng left | 18:09 |
| → HicksD_ joined | 18:09 |
| ← HicksD left | 18:09 |
| → w0ng joined | 18:10 |
| ← farmanimal left | 18:10 |
| ← Kayra left | 18:12 |
| → Kayra joined | 18:12 |
| ← khmarbaise left | 18:12 |
| ← petey_ left | 18:14 |
| → petey joined | 18:14 |
| → khmarbaise joined | 18:15 |
| → farmanimal joined | 18:15 |
| ← farmanimal left | 18:15 |
| → greggroth joined | 18:16 |
| → aartist joined | 18:16 |
| → iamjarvo joined | 18:16 |
| → Silmarilion joined | 18:18 |
| → daivyk joined | 18:18 |
| ← petey left | 18:19 |
| ← kermit left | 18:19 |
| ← greggroth left | 18:20 |
| → Guest27856 joined | 18:23 |
| → Shusshu joined | 18:24 |
| ← Guest49989 left | 18:24 |
| ← Stalkr_ left | 18:25 |
| ← diegoviola left | 18:25 |
| ← koda left | 18:26 |
| ← Guest27856 left | 18:26 |
| → Guest27856 joined | 18:26 |
| ← Nizumzen left | 18:26 |
| ← redrocket left | 18:26 |
| Guest27856 → diegoviola | 18:26 |
| ← joaoh82 left | 18:28 |
| → dreiss joined | 18:28 |
| → Guest80439 joined | 18:29 |
| ← balestrino left | 18:31 |
| → facundor joined | 18:31 |
| → Plouj- joined | 18:32 |
|
Plouj-
| hi | 18:32 |
|
| when I do git clone host:/path I get "bash: git-upload-pack: command not found" because there is not git installed on the remote machine. How can I clone over ssh without installing git on the host? | 18:32 |
|
moritz
| Plouj-: you could do a recursive copy of the dir, and then clone from that locally | 18:33 |
| ← daivyk left | 18:33 |
|
Plouj-
| I can't do that in one go with 'git'? | 18:33 |
| ← nicedice left | 18:33 |
|
moritz
| Plouj-: git is meant to be installed on the remote, because then fetching will only fetch new objects | 18:34 |
| → ambodi joined | 18:34 |
| → nicedice joined | 18:34 |
|
moritz
| no, git over ssh assumes that the remote has git installed | 18:34 |
| ← Shusshu left | 18:35 |
| EugeneKay changed the topic to: Welcome to #git, the place for leftover eggnog | Current stable version: 1.8.5.2 | Start here: http://jk.gs/git | Seeing "Cannot send to channel" or unable to change nick? /msg gitinfo .voice | We're the gits that keep on giving | 18:36 |
| EugeneKay set mode: -o | 18:36 |
| → g0bl1n joined | 18:36 |
| ← Guest80439 left | 18:37 |
| ← ambodi left | 18:39 |
| hellektor → starkhalo | 18:39 |
| ← pengunix left | 18:40 |
| → pengunix joined | 18:41 |
| ← bewest left | 18:43 |
| ← igalic_ left | 18:43 |
| → igalic_ joined | 18:43 |
| → mizu_no_oto joined | 18:44 |
| ← kukks left | 18:47 |
| ← mizu_no_oto left | 18:48 |
| ← g0bl1n left | 18:49 |
| → acharlie_ joined | 18:50 |
| ← juls left | 18:50 |
| → whoami joined | 18:52 |
| → spaceone joined | 18:52 |
| → thalisson_ joined | 18:53 |
| → kaiza joined | 18:54 |
| → Eduard_Munteanu joined | 18:54 |
|
Eduard_Munteanu
| How do I get a 'patch'-compatible patch from Git? | 18:55 |
|
GyrosGeier
| "git diff" | 18:55 |
| → nurcan32 joined | 18:55 |
| ← nurcan32 left | 18:55 |
|
Eduard_Munteanu
| GyrosGeier: hm, does that work? I thought it can only be applied with "git apply" | 18:56 |
|
| Anyway, lemme try it. | 18:56 |
|
GyrosGeier
| no, it contains additional lines that are helpful for git-apply | 18:56 |
|
Eduard_Munteanu
| Thanks, I guess it just fails to apply to the tree I'm using 'patch' on. | 18:57 |
|
GyrosGeier
| there are options -M and -C that can shrink the diff, but these only work with git-apply | 18:57 |
|
Eduard_Munteanu
| (patch -p1 of course) | 18:57 |
| → robarelli joined | 18:59 |
| → Devastator joined | 18:59 |
| ← breakingthings left | 18:59 |
|
njsg
| what would be a good way to get paths relative to the root of the git repository in, say, makefiles? | 19:00 |
|
jrnieder
| njsg: hm, what do you mean? | 19:01 |
|
GyrosGeier
| ../../ | 19:01 |
|
| I'd rather avoid any dependency on git | 19:01 |
|
| because at some point you might want to do a release tarball | 19:01 |
| → armid joined | 19:02 |
|
njsg
| then how do you get files in diferent places to refer to the same directory | 19:02 |
|
| let's say you have a lib/ on top of your git | 19:02 |
| → tm512 joined | 19:03 |
|
njsg
| and then src/package/Makefile others/additional/more/Makefile, would you just use ../ and ../../? | 19:03 |
|
armid
| Ïðèâåò. Åñòü ðóññêîÿçû÷íûå ïîëüçîâàòåëè? | 19:03 |
|
GyrosGeier
| njsg, exactly | 19:04 |
| ← mtk left | 19:05 |
|
GyrosGeier
| (also, I've moved away from plain Makefiles towards automake, which just includes everything in the generated file) | 19:05 |
| ← eletuchy left | 19:05 |
| → mtk joined | 19:06 |
| → frankjeager joined | 19:06 |
| → dev__ joined | 19:06 |
| → npax joined | 19:06 |
| → axl_ joined | 19:07 |
| ← jizanthapus left | 19:08 |
|
njsg
| GyrosGeier: I guess I should try to understand makefiles before considering moving to automake | 19:08 |
| ← nicedice left | 19:08 |
| → nicedice joined | 19:08 |
|
| npax slaps armid around a bit with a large trout | 19:08 |
| → breakingthings joined | 19:08 |
| ← sword left | 19:10 |
|
npax
| armid, do you see this? | 19:12 |
|
armid
| yes | 19:12 |
|
npax
| me too | 19:12 |
| ← npax left | 19:12 |
| ← oriba left | 19:13 |
| → DrNick joined | 19:16 |
| ← calcifea_ left | 19:19 |
| ← jimi_ left | 19:20 |
| ← GT4066 left | 19:21 |
| → petey joined | 19:23 |
| → matanya joined | 19:23 |
| ← matanya left | 19:24 |
| → Mars` joined | 19:24 |
| → VictorCL joined | 19:24 |
| → refried_ joined | 19:25 |
| ← arietis left | 19:25 |
| → valgrind joined | 19:26 |
| → DrShoggoth joined | 19:26 |
| → mfulz joined | 19:26 |
| ← keller left | 19:27 |
| → Geminizer joined | 19:28 |
| → pen joined | 19:29 |
|
Geminizer
| Hey guys. Does anyone here use the git bash under windows? | 19:29 |
| ← psyl0n left | 19:29 |
| → stodan joined | 19:29 |
| → joaoh82 joined | 19:29 |
| ← Asenar left | 19:29 |
|
Geminizer
| For some reason, I can type any character except for "b" into the shell | 19:30 |
| ← refried_ left | 19:30 |
| JanC_ → JanC | 19:31 |
|
cehteh
| turn your keyboard upside down and shake it, getting your breakfast cereals out of it | 19:31 |
| ← glebihan left | 19:31 |
| ← juliohm left | 19:32 |
| → daivyk joined | 19:32 |
|
Geminizer
| I can definitely type "b" in other programs just fine... | 19:32 |
|
| :) | 19:32 |
|
cehteh
| no idea then | 19:32 |
| → eletuchy joined | 19:33 |
| ← joaoh82 left | 19:34 |
| → dvide joined | 19:37 |
| → conan_ joined | 19:38 |
| ← daivyk left | 19:38 |
| → daivyk joined | 19:39 |
| → danecando joined | 19:39 |
| ← iamjarvo left | 19:40 |
| → matanya joined | 19:40 |
| → iamjarvo joined | 19:40 |
| → kermit joined | 19:40 |
| → iamjarvo_ joined | 19:41 |
| ← WaReZ left | 19:42 |
| → WaReZ joined | 19:43 |
| ← matanya left | 19:43 |
| ← ezekielnoob left | 19:44 |
| ← gasbakid_ left | 19:44 |
| ← Geminizer left | 19:44 |
| ← iamjarvo left | 19:45 |
| → matanya joined | 19:45 |
| → jimi_ joined | 19:45 |
| → kirin` joined | 19:48 |
| ← matanya left | 19:49 |
| ← BSaboia left | 19:50 |
| ← axl_ left | 19:51 |
| → Dreamer3 joined | 19:51 |
| ← danecando left | 19:52 |
| → matanya joined | 19:52 |
| ← Mars` left | 19:53 |
| → Imagineer joined | 19:53 |
| → NLZ13 joined | 19:54 |
| ← pen left | 19:55 |
| ← diegoviola left | 19:55 |
| → warthog9 joined | 19:55 |
| → pen joined | 19:56 |
| ← cesc left | 19:56 |
| → bewest joined | 19:56 |
| ← matanya left | 19:57 |
| ← khmarbaise left | 19:58 |
| ← starkhalo left | 19:59 |
| → BSaboia joined | 19:59 |
| ← dsantiago left | 19:59 |
| ← bandroidx left | 19:59 |
| → gasbakid_ joined | 19:59 |
| → bandroidx joined | 19:59 |
| ← bandroidx left | 19:59 |
| → bandroidx joined | 19:59 |
|
njsg
| well, it'd be a matter of turing the keyboard 90° and typing q | 19:59 |
|
| no wait, the display | 19:59 |
|
| also 180° of course | 20:00 |
| ← joki left | 20:01 |
| ← petey left | 20:02 |
| → petey joined | 20:02 |
| → Mars` joined | 20:02 |
| ← facundor left | 20:03 |
| → dsantiago joined | 20:03 |
| ← PaulCapestany left | 20:03 |
| → zsolt joined | 20:04 |
| → greggroth joined | 20:04 |
| ← albel727 left | 20:04 |
| ← faBimon left | 20:05 |
| ← petey left | 20:05 |
| → giusef joined | 20:05 |
| ← Landshark753 left | 20:05 |
| → petey joined | 20:05 |
| → albel727 joined | 20:06 |
| → joki joined | 20:07 |
| ← nicedice left | 20:08 |
| → Landshark753 joined | 20:08 |
| ← ELLIOTTCABLE__ left | 20:08 |
| ← Landshark753 left | 20:08 |
| → nicedice joined | 20:08 |
| ← gasbakid_ left | 20:08 |
| → Landshark753 joined | 20:09 |
| ← greggroth left | 20:09 |
| → matanya joined | 20:09 |
| → ELLIOTTCABLE__ joined | 20:09 |
| ← nicedice left | 20:11 |
| → nicedice joined | 20:12 |
| → gasbakid_ joined | 20:12 |
| ← nszceta left | 20:13 |
| ← el3ctron_ left | 20:13 |
| → PaulCapestany joined | 20:14 |
| ← stodan left | 20:14 |
| ← eletuchy left | 20:14 |
| → Tjati joined | 20:15 |
| ← St_Marx left | 20:16 |
| ← BSaboia left | 20:16 |
| → sayd joined | 20:16 |
| → stodan joined | 20:17 |
| ← Mars` left | 20:19 |
| → jerius joined | 20:19 |
| ← dsantiago left | 20:20 |
| ← Tjati left | 20:20 |
| ← jerius left | 20:22 |
| → el3ctron_ joined | 20:22 |
| → Grant484 joined | 20:25 |
| ← bewest left | 20:25 |
| ← bandroidx left | 20:26 |
| → bandroidx joined | 20:26 |
| → hopkin joined | 20:28 |
| ← el3ctron_ left | 20:29 |
| → el3ctron_ joined | 20:29 |
| → joaoh82 joined | 20:30 |
| → axl_ joined | 20:31 |
| → aChatir joined | 20:31 |
| ← angasulino left | 20:32 |
| ← gasbakid_ left | 20:32 |
| ← bwreilly left | 20:33 |
| ← bandroidx left | 20:34 |
| ← angelsl left | 20:34 |
| ← hyperair left | 20:34 |
| → eijk joined | 20:34 |
| → bwreilly_ joined | 20:34 |
| ← joaoh82 left | 20:36 |
| ← sayd left | 20:36 |
| → Nizumzen joined | 20:37 |
| ← mitz left | 20:37 |
| ← abelsiqueira left | 20:38 |
| → sayd joined | 20:38 |
| → bandroidx joined | 20:38 |
| ← bandroidx left | 20:39 |
| ← NLZ13 left | 20:40 |
| → bandroidx joined | 20:40 |
| ← bandroidx left | 20:41 |
| ← Grant484 left | 20:41 |
| → eletuchy joined | 20:42 |
| → Grant484 joined | 20:42 |
| ← axl_ left | 20:42 |
| → jceb joined | 20:43 |
| → bandroidx joined | 20:43 |
| ← bandroidx left | 20:44 |
| → bandroidx joined | 20:44 |
| → Stalkr_ joined | 20:45 |
| ← pengunix left | 20:46 |
| ← jackneill left | 20:48 |
| ← bandroidx left | 20:48 |
| → zizzfizzix joined | 20:48 |
| → jefferai joined | 20:48 |
| → bewest joined | 20:49 |
| ← _Vi left | 20:49 |
| → bandroidx joined | 20:49 |
| → starkhalo joined | 20:50 |
| ← robarelli left | 20:50 |
| → SmashingX joined | 20:51 |
| ← Orginator_ left | 20:51 |
| ← bandroidx left | 20:51 |
| → mitz joined | 20:51 |
| → Orginator joined | 20:51 |
| → axl_ joined | 20:52 |
| ← el3ctron_ left | 20:53 |
| → melightk joined | 20:53 |
|
melightk
| hi guys | 20:53 |
|
gitinfo
| melightk: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 20:53 |
| → watermel0n joined | 20:54 |
| ← watermel0n left | 20:54 |
|
melightk
| I have a branch X with lots of fancy new features, I pushed it and then merged master with it. But I don't see some of the changes on that branch merged. What might be the reason for that? | 20:54 |
| ← rhombus left | 20:57 |
|
SmashingX
| can you guys help to get connection with eGit in eclipse? I already asked #eclipse but nobody is helping at this moment :( | 20:57 |
| → joaoh82 joined | 20:58 |
| → rouf_ joined | 20:58 |
| → sandorjanssen joined | 20:59 |
| ← petey left | 20:59 |
| ← Kayra left | 21:00 |
| ← rouf left | 21:02 |
| → Mars` joined | 21:02 |
| → MattMaker joined | 21:03 |
| → Goplat joined | 21:03 |
| ← axl_ left | 21:04 |
| → dragon3_ joined | 21:04 |
| ← Argure left | 21:04 |
| → gumnos joined | 21:05 |
| → Argure joined | 21:05 |
|
gumnos
| I've got a git overlay on an SVN repo, and want to check my tidied history into svn with something like the psesudo-code: 'for rev, shortdesc in master..HEAD; git checkout $rev; svn commit -m "$shortdesc"; done' What's the easiest way to do this? | 21:07 |
| ← matanya left | 21:07 |
|
gumnos
| (master is where last I checked into SVN) | 21:07 |
| ← Grant484 left | 21:07 |
| ← PaulCapestany left | 21:09 |
| → bsdbeard joined | 21:09 |
| → PaulCapestany joined | 21:10 |
| ← PaulCapestany left | 21:10 |
| → petey joined | 21:11 |
| ← Mars` left | 21:11 |
| → PaulCapestany joined | 21:12 |
| → axl_ joined | 21:13 |
| → jim joined | 21:14 |
| ← Nizumzen left | 21:14 |
| ← sandorjanssen left | 21:14 |
| ← giusef left | 21:15 |
|
jim
| Hi... I have a few cvs repos on sourceforge, and I was wondering how I could convert them to git repos on sourceforge (also feel free to s/on sourceforge//g) | 21:15 |
| ← eletuchy left | 21:15 |
| ← mishok13 left | 21:15 |
| → pengunix joined | 21:18 |
| ← nicedice left | 21:18 |
| ← rath left | 21:18 |
| → nicedice joined | 21:19 |
| ← m0ltar left | 21:20 |
|
rohieb
| jim: man gitcvs-migrate says, you can use http://www.cobite.com/cvsps/ | 21:21 |
| → robarelli joined | 21:21 |
| ← stodan left | 21:21 |
| ← melightk left | 21:21 |
|
jim
| rohieb, bookmarking. thanks | 21:23 |
| ← gfontenot left | 21:23 |
| ← jceb left | 21:23 |
|
rohieb
| apart from that, never done it ^^ | 21:23 |
| → gfontenot joined | 21:24 |
| ← robarelli left | 21:24 |
| → robarelli joined | 21:25 |
|
jim
| oh, ok... I was thinking I would make a nonbare blank repo, then use the tool to import the cvs commits, then add a git repo to the sourceforge project, and push | 21:25 |
| ← grilix left | 21:26 |
| ← maroloccio2 left | 21:26 |
| → grilix joined | 21:26 |
| → Mars` joined | 21:28 |
| → Grant484 joined | 21:29 |
| → Watabou joined | 21:30 |
| → oojacoboo joined | 21:30 |
| → bwreilly joined | 21:30 |
| ← grilix left | 21:30 |
| ← Goplat left | 21:31 |
| ← bwreilly_ left | 21:33 |
| ← armid left | 21:34 |
| ← shruggar left | 21:35 |
| ← sq-one left | 21:35 |
| → Vivekananda joined | 21:36 |
| → giusef joined | 21:36 |
| → eijk_ joined | 21:37 |
|
Vivekananda
| hello everyone | 21:37 |
| ← giusef left | 21:38 |
| → abelsiqueira joined | 21:40 |
| ← eijk left | 21:40 |
| → tmcmahon joined | 21:40 |
| → master_j joined | 21:41 |
| ← aChatir left | 21:41 |
|
jrnieder
| jim: does sourceforge give you access (e.g. over rsync) to the ,v files? | 21:43 |
| ← tmcmahon left | 21:43 |
| → tmcmahon joined | 21:44 |
| ← dougsland_ left | 21:45 |
|
Vivekananda
| I wanted to know how server side files are maintained and developed in git especially the config files | 21:46 |
| → dougsland_ joined | 21:46 |
| ← Vivekananda left | 21:46 |
| ← kermit left | 21:47 |
| ← abelsiqueira left | 21:47 |
| → _Vi joined | 21:48 |
|
cbreak
| not? | 21:48 |
|
| git cares about client side files, which it tracks at the user's directions. | 21:48 |
|
| then you can push history somewhere else | 21:48 |
|
| but remotes typically don't have any files, they are bare | 21:49 |
| ← bewest left | 21:49 |
|
SamB
| he/she left | 21:49 |
| → bewest joined | 21:49 |
|
cbreak
| ... | 21:49 |
|
| now that really wasn't that a slow answer... | 21:49 |
|
SamB
| I'm going to assume it was an accident | 21:49 |
|
| SamB has accidentally exitted programs before lots of times ... | 21:50 |
|
cbreak
| my IRC client has a confirmation dialog :) | 21:50 |
|
SamB
| yes, well, he/she usually doesn't do that | 21:51 |
| → JesseC joined | 21:51 |
| ← Pullphinger left | 21:51 |
| ← hobodave_ left | 21:52 |
| → BSaboia joined | 21:52 |
| → hobodave joined | 21:52 |
| ← pen left | 21:53 |
| → glebihan joined | 21:53 |
| ← Entomo left | 21:54 |
| → pencilcheck joined | 21:55 |
|
rohieb
| huh | 21:55 |
| → Entomo joined | 21:55 |
|
rohieb
| why do I voice? | 21:55 |
|
Fall
| To keep from bots spamming the channel, +m is currently set | 21:56 |
| → nszceta joined | 21:57 |
|
rohieb
| i c | 21:57 |
| ← dragon3_ left | 21:58 |
| ← dougsland_ left | 21:58 |
| → dougsland_ joined | 21:59 |
| → johnmilton joined | 22:02 |
| ← Timmy left | 22:03 |
| → kcj joined | 22:04 |
| ← Grant484 left | 22:04 |
| → Kayra joined | 22:04 |
| → simesy joined | 22:04 |
| → Grant484 joined | 22:04 |
| ← smashwilson left | 22:07 |
| ← oojacoboo left | 22:07 |
| → Vivekananda joined | 22:09 |
| → paulo_ joined | 22:09 |
|
paulo_
| hello | 22:09 |
|
| does push upload my entire commit history up until the revious push? | 22:09 |
| ← conan_ left | 22:09 |
|
paulo_
| *previous | 22:09 |
| ← m8 left | 22:10 |
|
paulo_
| or does it upload just the last commit | 22:10 |
| ← jnavila left | 22:10 |
| → eletuchy joined | 22:10 |
| → oojacoboo joined | 22:11 |
| ← dev__ left | 22:11 |
|
cbreak
| paulo_: it pushes all history | 22:11 |
| ← iamtakingiteasy left | 22:11 |
|
cbreak
| (that you push) | 22:11 |
|
| depending on your git version and settings and command line arguments, that's only your current branch, or all matching branches | 22:12 |
|
| or what ever else you chose | 22:12 |
|
| paulo_: git will never push disconnected history, so if a commit is pushed, then all its ancestors are also pushed | 22:12 |
| ← nszceta left | 22:13 |
| → PAAWNKG joined | 22:13 |
|
Vivekananda
| I wanted to know how server side files are maintained and developed in git especially the config files | 22:13 |
| → dragon3_ joined | 22:14 |
|
cbreak
| Vivekananda: I answered. | 22:14 |
|
| Vivekananda: not at all | 22:14 |
| ← alezost left | 22:15 |
|
cbreak
| Vivekananda: [22:48:48] <+cbreak> git cares about client side files, which it tracks at the user's directions. | 22:15 |
| → sabgenton joined | 22:15 |
|
cbreak
| Vivekananda: [22:48:57] <+cbreak> then you can push history somewhere else, [22:49:05] <+cbreak> but remotes typically don't have any files, they are bare | 22:15 |
|
sabgenton
| !push | 22:15 |
|
gitinfo
| [!force_push] If you need to overwrite the history of a remote git repository (very bad idea, see !rewrite), you can do so with `git push -f`. Note the remote server may reject this. See man git-config and search for receive.denyNonFastForwards. Best practice is for upstream servers to denyNonFastForwards. | 22:15 |
|
cbreak
| Vivekananda: see !deploy for details on how writing your own scripts to get files on remote servers | 22:16 |
|
gitinfo
| Vivekananda: Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html | 22:16 |
|
Vivekananda
| I know but then my question is that I am writing files and .html pages and php code on the server www/ folder. If I dont have any version control then how do I have smooth development there ? | 22:16 |
| → MacGyver joined | 22:17 |
| ← MacGyver left | 22:17 |
| → MacGyver joined | 22:17 |
|
Vivekananda
| for example if I just clone my remote repo then each time I would have to write the config files from scratch. If I also store config files then I would have to alter them on each pull . That would be a mess | 22:17 |
|
cbreak
| Vivekananda: it is not a server | 22:18 |
|
| Vivekananda: it's just a local git repository | 22:18 |
| ← pencilcheck left | 22:18 |
|
cbreak
| that it is local on the server is irrelevant | 22:18 |
|
| Vivekananda: if you have a non-bare git repository there, then it's not a git server, it's just a normal local repository :) | 22:19 |
|
Vivekananda
| a little confused. Are you saying that the files inside www/ are local files ? | 22:19 |
|
cbreak
| Vivekananda: yes. | 22:19 |
|
| Vivekananda: all files are local to the system they are on | 22:19 |
| ← SHyx0rmZ left | 22:19 |
|
cbreak
| and if you develop on that system, then they are local | 22:19 |
|
Vivekananda
| ooo ok yes it is it not a GIT server. I meant apache server when I said server. | 22:19 |
|
cbreak
| Vivekananda: also, don't commit config files | 22:19 |
|
| they are configuration | 22:19 |
|
| commit a template, and copy that template (or reference it), in your local configuration. do NOT commit that local configuration | 22:20 |
|
| Vivekananda: !config | 22:20 |
|
gitinfo
| Vivekananda: [!configfiles] It is recommended to store local configuration data in a file which is not tracked by git, but certain deployment scenarios(such as Heroku) may require otherwise. See https://gist.github.com/1423106 for some ideas | 22:20 |
| → conan_ joined | 22:20 |
|
Vivekananda
| that is the thing. I dont wish to commit them but then the problem is I am testing the web app locally and then when it works I deploy them on the server. But if I I dont store configs then suppose someone wants to use the same repo and use it on another server. Then they would have to write all config files by themselves wouldnt they ? | 22:21 |
|
cbreak
| yes | 22:21 |
|
| Vivekananda: they have to do that anyway | 22:21 |
|
| because they use their own configuration. | 22:21 |
| ← pengunix left | 22:21 |
|
cbreak
| that's why good applications create configuratiion themselves, from an internal template | 22:22 |
|
| and shitty web page program thingies would at least have a template you can copy from | 22:22 |
|
Vivekananda
| yes but if I have a config file then the task becomes easy coz they can just change few lines and it is done. If they dont know how to write a config file from scratch then it would be a mess for them | 22:22 |
| → Nizumzen joined | 22:22 |
|
cbreak
| Vivekananda: which part of template do you not comprehend? | 22:22 |
|
| Vivekananda: if your program is not smart enough to create its own default config file, then commit an example for users to copy | 22:23 |
|
Vivekananda
| I got that after I put my question. so yeah I got the line --- that's why good applications create configuratiion themselves, from an internal template . | 22:23 |
|
| so now I will look for how my web app can create a config file from a template. | 22:23 |
|
cbreak
| by copying it... | 22:23 |
|
| see the link above | 22:24 |
|
Vivekananda
| sure yep but I would love to learn how the config templating thing works. I will look at the link for that | 22:24 |
| ← tmcmahon left | 22:25 |
| → rurufufuss joined | 22:26 |
|
sabgenton
| !pull4 | 22:26 |
|
gitinfo
| [!fetchfour] We recommend against using 'git fetch/pull <remote> <refspec>' (i.e. with branch argument), because it doesn't update the <remote>/<branch> ref. The easy way to fetch things properly is to get everything: 'git fetch' or 'git pull' are sufficient if you have one remote; otherwise we recommend 'git fetch <remote>' (plus 'git merge <remote>/<branch>' if you wanted to pull/merge). | 22:26 |
|
sabgenton
| what about git pull foo:origin/foo isn't that exactly the same as the automatic way on simple? | 22:27 |
| mehwork_ → mehwork | 22:27 |
|
cbreak
| sabgenton: nope. | 22:28 |
|
sabgenton
| cbreak: whats different? | 22:28 |
|
cbreak
| you don't specify a remote | 22:28 |
|
| so it's not valid | 22:28 |
|
sabgenton
| opps | 22:29 |
|
| git pull origin foo:origin/foo | 22:29 |
|
cbreak
| sabgenton: typically, normal pull fetches with the fetch ref spec | 22:29 |
|
| sabgenton: so it updates all branches | 22:29 |
| ← bsdbeard left | 22:29 |
|
cbreak
| sabgenton: man git-config | 22:30 |
|
gitinfo
| sabgenton: the git-config manpage is available at http://jk.gs/git-config.html | 22:30 |
|
cbreak
| sabgenton: look for remote.<name>.fetch | 22:30 |
| ← frankjeager left | 22:31 |
|
sabgenton
| cbreak: so it is the same? minus the obvious that it doen't pull everything like normal | 22:31 |
| ← MithrilTuxedo left | 22:31 |
|
cbreak
| I am also not sure what that'd actually merge. | 22:31 |
|
sabgenton
| cbreak: what I mean is that seems safe | 22:31 |
|
| !fetchfour implys it's not | 22:32 |
|
gitinfo
| We recommend against using 'git fetch/pull <remote> <refspec>' (i.e. with branch argument), because it doesn't update the <remote>/<branch> ref. The easy way to fetch things properly is to get everything: 'git fetch' or 'git pull' are sufficient if you have one remote; otherwise we recommend 'git fetch <remote>' (plus 'git merge <remote>/<branch>' if you wanted to pull/merge). | 22:32 |
|
sabgenton
| cbreak: it doesn't mention that you can add the exact remote/branch to the other side of the refspec fixing the problem | 22:33 |
| → maroloccio joined | 22:33 |
|
sabgenton
| of course i could be wrong, hence the question :) | 22:34 |
| → royho joined | 22:35 |
|
cbreak
| sabgenton: oh, it is safe | 22:36 |
|
| but it might not do what you want, but what you say | 22:36 |
|
| it's not that fetch 4 is dangerous, it's just not what most people expect | 22:36 |
| → Iszak joined | 22:37 |
|
sabgenton
| yeah I totaly agree with don't pull origin foo: | 22:37 |
| → boaz- joined | 22:37 |
|
Iszak
| How can I do a "dry run" of git reset --hard origin/branch to see if there's any conflicts? | 22:37 |
|
cbreak
| Iszak: there is no conflict | 22:37 |
|
| the --hard will make sure of that :) | 22:37 |
|
Iszak
| cbreak what if it's a permission conflict? | 22:38 |
|
cbreak
| Iszak: it'll nuke away everything else. | 22:38 |
|
| permissions? git doesn't care about that. | 22:38 |
|
Iszak
| It can't modify a file it does not own. | 22:38 |
|
cbreak
| it'll try and might fail. | 22:38 |
|
Iszak
| it does fail | 22:38 |
|
| this is my problem | 22:38 |
|
cbreak
| then you had your dry run. | 22:38 |
|
Iszak
| I know how to resolve it, but this is an automatic deployment, so I'd rather check. | 22:39 |
|
| I know I could do something like find . -not -user x | 22:39 |
| ← harobed_ left | 22:39 |
|
Iszak
| but the problem is, it usually leaves it in a half merge state. | 22:39 |
|
cbreak
| x? more like w? | 22:39 |
|
| it should not do any merging | 22:39 |
|
| it is reset | 22:39 |
|
Iszak
| okay, maybe it occured when I was merging rather than reseting. | 22:40 |
| ← thalisson_ left | 22:40 |
|
sabgenton
| cbreak: but it would be nice if it it said to it's target audience "what you probably wanted to do is foo:origin/foo" and then explain it's easy to typo though or something | 22:40 |
| → thalisson_ joined | 22:40 |
| ← dragon3_ left | 22:40 |
|
cbreak
| you might get files that can not be changed, so it might abort, but it should only leave files in either their old or their new state | 22:40 |
|
sabgenton
| (unless there's something I'm missing) | 22:40 |
|
cbreak
| sabgenton: nope | 22:40 |
|
| sabgenton: what you probably want to do is leave away the ref spec | 22:40 |
|
sabgenton
| cbreak: but then it will merge all simple branhes | 22:41 |
|
| branches | 22:41 |
| ← Kicer86 left | 22:41 |
|
sabgenton
| cbreak: nope as in I get it? :) | 22:41 |
|
Iszak
| cbreak this doesn't help me, I need to know if it failed or whether it will fail. | 22:42 |
|
cbreak
| sabgenton: it will not merge anything | 22:43 |
|
| fetch never merges | 22:43 |
|
| pull will merge the current branch only. | 22:43 |
| ← kerrick left | 22:43 |
|
cbreak
| no exceptions. | 22:43 |
|
| merge will merge the current branch only. no exceptions. | 22:43 |
|
| Iszak: you can check git status and/or git diff, they have exit code versions afaik | 22:43 |
|
| Iszak: it should also tell you if it failed by return value | 22:44 |
| ← robarelli left | 22:44 |
|
sabgenton
| oh | 22:44 |
|
| cbreak: what if foo is checked out? | 22:44 |
|
Iszak
| cbreak that might work, what is the easiest path, this is an automated script, that's all. | 22:44 |
| ← mastro left | 22:44 |
|
cbreak
| sabgenton: only the current branch will be merged because merging requires a working dir, and there is only one, which is used by the current branch | 22:44 |
|
| Iszak: I've not scripted that. In bash, I think you could use $? or so for the exit code? | 22:45 |
|
| I'd expect reset to give non-zero on error | 22:45 |
|
| if it doesn't, you can still check git diff --exit-code or so | 22:45 |
| → shruggar joined | 22:46 |
|
Iszak
| okay I'll look into, thanks cbreak | 22:46 |
| → Bosox20051 joined | 22:47 |
|
Iszak
| cbreak it would be best if I could do a dry run though, because I don't know what git reset --hard will do if it comes up against this case. | 22:47 |
|
| I know what merge/pull will do | 22:47 |
| → GoldenAx1 joined | 22:47 |
|
cbreak
| Iszak: ideally, you'd just not have fucked up permissions. | 22:48 |
| ← petey left | 22:49 |
| → petey joined | 22:49 |
| ← moondoggy left | 22:50 |
|
sabgenton
| cbreak: yes all I mean is git checkout foo; git pull origin foo:origin/foo seems to do what people would expect and merge fine etc (just most people would not do all of those steps hence pull4) | 22:50 |
| → moondoggy joined | 22:50 |
|
sabgenton
| my bad I should have typed everthing out carefully before I started my question | 22:50 |
|
Iszak
| cbreak ideally, I'm inheriting a mess.. | 22:51 |
| → bvi joined | 22:51 |
|
sabgenton
| (replace ; with && too) | 22:51 |
|
Iszak
| i prefer git pull --rebase | 22:51 |
|
sabgenton
| cbreak: well you seem to have agreed with me here | 22:52 |
|
cbreak
| sabgenton: it does not do the same | 22:53 |
|
| as I said above, the default fetch spec updates all branches | 22:53 |
| ← GoldenAx1 left | 22:53 |
|
cbreak
| sabgenton: git pull remotename currentbranch would also merge correctly | 22:53 |
|
| the reason it is not recommended is because it doesn't update remote tracking branches | 22:54 |
|
| your "solution" only updates one of them. That's not much better than none. | 22:54 |
| → tswett joined | 22:54 |
|
sabgenton
| cbreak: yeah but doesn't that fail to update origin/foo? | 22:54 |
| Bucciarati_ → Bucciarati | 22:54 |
| ← Landshark753 left | 22:54 |
|
cbreak
| that's what I said. | 22:54 |
|
tswett
| Hey guys. I've edited a file, and then staged only some of the changes for committing. So, as a result, the head, the index, and the working tree are all different. | 22:55 |
|
| I'd like to save the current contents of the working tree, replacing them with the contents of the index (so that I can make sure what's in the index makes sense). Then, after I commit, I'd like to restore the contents of the working tree so I can commit again. | 22:56 |
| → boombatower joined | 22:56 |
|
tswett
| I tried "git stash", but that seems to have discarded the index, saved the working tree, and reset the working tree to the head. Not what I was after. | 22:56 |
|
sabgenton
| cbreak: say someone put sensitive data or a large binary in some other branch git checkout foo && git pull origin foo:origin/foo would seem to be a good solution to avoid it while it's being fixed | 22:56 |
|
cbreak
| tswett: man git-stash, look for --keep-index | 22:56 |
|
gitinfo
| tswett: the git-stash manpage is available at http://jk.gs/git-stash.html | 22:56 |
|
cbreak
| sabgenton: if someone puts sensitive data there, then it'd git fetch just because. | 22:57 |
| ← hwrd|work left | 22:57 |
|
tswett
| cbreak: great, thanks. | 22:57 |
|
sabgenton
| oh foo:origin/foo still fetches everything? | 22:58 |
|
cbreak
| no | 22:58 |
|
| I don't think so | 22:58 |
| ← gumnos left | 22:58 |
|
sabgenton
| yeah thats my point | 22:58 |
| ← longbeach left | 22:58 |
|
cbreak
| it should only fetch remote foo into local origin/foo | 22:58 |
| → greggroth joined | 22:58 |
| → kermit joined | 22:59 |
|
sabgenton
| yeah, again then 'git checkout foo && git pull origin foo:origin/foo' seems like a good idea if you don't want all branches | 22:59 |
|
cbreak
| sabgenton: no | 23:00 |
|
| sabgenton: if you don't want all branches, then change the fetch ref spec | 23:00 |
| ← breakingthings left | 23:00 |
| ← boaz- left | 23:01 |
| → hobodave_ joined | 23:01 |
|
sabgenton
| cbreak: why? (I'm only going to change the refspec back later) | 23:01 |
|
cbreak
| because you don't want all | 23:01 |
|
sabgenton
| all what? | 23:02 |
| ← gfontenot left | 23:02 |
|
cbreak
| "if you don't want all branches" | 23:02 |
|
| that's what you said | 23:02 |
| → hwrd|work joined | 23:02 |
| ← hobodave left | 23:02 |
|
sabgenton
| oh sorry I thought 'git checkout foo && git pull origin foo:origin/foo ' would only fetch foo | 23:03 |
|
| ok well in that case fair enough | 23:03 |
| ← jcvfen left | 23:03 |
| ← Ragnor left | 23:04 |
| → jcvfen joined | 23:04 |
|
sabgenton
| I will have to check that out | 23:04 |
| → pen joined | 23:04 |
|
sabgenton
| did relize that still applied sorry | 23:04 |
|
| didn't | 23:04 |
|
| cbreak: actually I guess there's always git -c <fetchsetting> :D! | 23:04 |
| → mar77i joined | 23:04 |
| ← Evanlec left | 23:04 |
| ← felher left | 23:05 |
| → ndngvr` joined | 23:05 |
| → rvsjoen joined | 23:05 |
| ← marthinal left | 23:05 |
| → Evanlec joined | 23:05 |
| ← JosephFerano left | 23:05 |
| ← ShooterMG left | 23:05 |
| ← adam- left | 23:05 |
| ← hellopat left | 23:05 |
| → xrq joined | 23:05 |
| → adam- joined | 23:06 |
| → DonVitoC- joined | 23:06 |
| → hellopat joined | 23:06 |
| → ShooterM_ joined | 23:06 |
|
sabgenton
| still i stills seems ok if you only wanted to look at one branch being updated :P | 23:06 |
| → stkrzysiak joined | 23:06 |
| → akiress_ joined | 23:06 |
| ← valgrind left | 23:06 |
| ← iamjarvo_ left | 23:06 |
|
sabgenton
| (even if it's there dangling) | 23:06 |
| → surfdue joined | 23:06 |
| → leprechau joined | 23:07 |
| → iamjarvo joined | 23:07 |
| → marthinal joined | 23:07 |
|
cbreak
| sabgenton: it will only fetch what you tell it to... how often do I have to repeat that? | 23:07 |
| → valgrind joined | 23:08 |
|
jim
| jrnieder, (re: ,v files) checking. | 23:09 |
| → h0rrorvacui joined | 23:10 |
|
sabgenton
| cbreak: sorry define 'it' | 23:10 |
| → Ragnor joined | 23:10 |
|
sabgenton
| sabgenton yeah, again then 'git checkout foo && git pull origin foo:origin/foo' seems like a good idea if you don't want all branches | 23:10 |
|
| cbreak sabgenton: no | 23:10 |
|
cbreak
| sabgenton: man git-fetch | 23:10 |
|
gitinfo
| sabgenton: the git-fetch manpage is available at http://jk.gs/git-fetch.html | 23:10 |
| ← petey left | 23:10 |
|
cbreak
| sabgenton: read the fetch ref specs if you still don't get it | 23:10 |
|
| sabgenton: I told you five times how it works... | 23:10 |
| → abelsiqueira joined | 23:11 |
| ← aspiers left | 23:11 |
| ← iamjarvo left | 23:12 |
|
jim
| Vivekananda, php? you're not worried about how unstably the maints handle the language? (for example, introducing incompatible changes almost every time, etc) | 23:13 |
| → petey_ joined | 23:14 |
|
sabgenton
| cbreak: thanks for the help anyways I will go over how it looks at your fetch setting sorry about that | 23:14 |
|
cbreak
| sabgenton: you can also just set up a one-branch-only repository when cloning | 23:15 |
|
| sabgenton: man git-clone, look for --single-branch | 23:16 |
|
gitinfo
| sabgenton: the git-clone manpage is available at http://jk.gs/git-clone.html | 23:16 |
| → dropdrive joined | 23:17 |
| → teran joined | 23:17 |
| ← shruggar left | 23:17 |
| ← akiva left | 23:21 |
|
sabgenton
| cbreak: to be clear the whole time you where taking of remote.origin.fetch ? | 23:21 |
|
cbreak
| the whole time? | 23:21 |
| ← nicedice left | 23:22 |
|
cbreak
| when I told you to change the default fetch ref spec if you only want one branch, then I told you about that, yes | 23:22 |
|
| that's why I gave you a link to a description of it... | 23:22 |
| ← Imagineer left | 23:22 |
| → akiva joined | 23:22 |
| → nicedice joined | 23:22 |
|
cbreak
| hmm, or was that someone else before? | 23:22 |
| ← freestyl3r left | 23:23 |
|
sabgenton
| does 'git checkout foo && git pull origin foo:origin/foo' overide remote.origin.fetch ? | 23:23 |
| ← Noldorin left | 23:24 |
|
jim
| let me understand some of what was said while I was out... you were talking about fetch versus pull... does fetch get everything that's later than what was fetched before? or just on a particular branch? | 23:24 |
| ← MattStra_ left | 23:24 |
| → kukks joined | 23:24 |
| ← albel727 left | 23:24 |
|
sabgenton
| I think that was my confusion | 23:24 |
| ← Iszak left | 23:24 |
| → freestyl3r joined | 23:25 |
| ← Silmarilion left | 23:25 |
|
jim
| (note that fetch does not merge, that would have to be done after a fetch) | 23:25 |
| ← nicedice left | 23:25 |
| → aspiers joined | 23:25 |
| ← greggroth left | 23:25 |
| ← bewest left | 23:26 |
| ← zhost left | 23:26 |
| → nicedice joined | 23:26 |
| ← VictorCL left | 23:26 |
| → Imagineer joined | 23:26 |
|
cbreak
| sabgenton: of course it does, that's what I told you all the time | 23:28 |
|
| sabgenton: and that's why it's not recommended | 23:28 |
|
sabgenton
| ok I understood that the whole time | 23:28 |
| → Iszak joined | 23:28 |
|
sabgenton
| I mean that it overid | 23:29 |
| ← maestrojed left | 23:29 |
|
sabgenton
| and that was my whole point if I just want to do a oneshot it seems appropriate | 23:30 |
| ← ZujkisNx left | 23:30 |
|
sabgenton
| I don't care about remote.origin.fetch in that oneshot | 23:30 |
| → gesparza11 joined | 23:30 |
| ← petey_ left | 23:31 |
|
gesparza11
| Hi All. How do you create a git namespace? | 23:31 |
| ← boombatower left | 23:31 |
| → DolphinDream joined | 23:32 |
| ← hs366 left | 23:32 |
|
cbreak
| gesparza11: namespace? | 23:32 |
|
gesparza11
| correct. https://www.kernel.org/pub/software/scm/git/docs/gitnamespaces.html | 23:33 |
| ← axl_ left | 23:33 |
| → Noldorin joined | 23:33 |
| → maestrojed joined | 23:33 |
| → robarelli joined | 23:33 |
| ← ngladitz left | 23:34 |
|
cbreak
| never used that, sorry. | 23:35 |
|
jrnieder
| gesparza11: if you have the server set up with the namespace you want, you can just push to it | 23:36 |
|
gesparza11
| cbreak: thanks anyways, you've helped me in the past i really appreciate you even taking a look. | 23:37 |
|
| jrnieder: i guess im just confused on what namespace is. Is it just nested repositories? | 23:38 |
|
jrnieder
| gesparza11: it's just a way of telling the server to expose some subset of refs | 23:38 |
|
| so if you have five repos that are all basically just like linux.git, serverside you can use one repository | 23:39 |
|
| but clients just see their namespace | 23:39 |
|
gesparza11
| yikes. I'm still a little lost. | 23:40 |
|
jrnieder
| it's a way of solving the same problem that some other people try to solve with alternates (object sharing) | 23:40 |
|
| i.e., if you haven't felt the need for it, no need to start now :) | 23:40 |
|
| a way to save disk space | 23:40 |
|
gesparza11
| i have a dev asking me about how he should structure his repository and whether or not he should namespaces or not. I kinda need to grasp the subject. | 23:41 |
|
jrnieder
| ok, it's pretty easy to answer | 23:41 |
|
| Q: are you starved for disk space? | 23:42 |
|
gesparza11
| yes | 23:42 |
|
jrnieder
| then yes, look into using namespaces | 23:42 |
|
| as long as the security caveats mentioned on that manpage are ok with you | 23:42 |
| → GoldenAxe joined | 23:42 |
|
gesparza11
| yep not a problem in regard to those. | 23:43 |
| → coolcusty|2 joined | 23:43 |
| → ultimamax joined | 23:44 |
| ← DolphinDream left | 23:44 |
|
ultimamax
| I've just started using git on Windows. Do I need to get a difftool or is there a default one packaged with Git/Windows | 23:44 |
| → petey joined | 23:44 |
|
canton7
| ultimamax, windows doesn't have anything installed by default | 23:45 |
| → ham1 joined | 23:45 |
| ← ciampix left | 23:45 |
|
ultimamax
| canton7: okay. do you have any difftool recommendations? | 23:45 |
| ← ham1 left | 23:45 |
|
canton7
| having said that, msysgit will have vimdiff, as it has vim | 23:45 |
|
cbreak
| ultimamax: I think git for windows comes with vim | 23:45 |
|
| so vimdiff should work | 23:45 |
|
canton7
| ultimamax, personally I really like p4merge | 23:45 |
|
ultimamax
| cbreak: ok | 23:46 |
|
cbreak
| try source tree, it's a git gui with integrated diff functionality | 23:46 |
|
canton7
| ultimamax, but have a look at git difftool --tool-help, google em, and see what you like | 23:46 |
| ← tswett left | 23:46 |
| → DolphinDream joined | 23:47 |
| ← harish left | 23:47 |
| ← petey left | 23:47 |
| ← dreiss left | 23:48 |
|
ultimamax
| so apparently i just set up git | 23:49 |
|
| my friend shared a repo with me, how can i get started on it | 23:49 |
| ← Davey left | 23:49 |
|
bremner
| ultimamax: man gittutorial | 23:49 |
|
gitinfo
| ultimamax: the gittutorial manpage is available at http://jk.gs/gittutorial.html | 23:49 |
|
bremner
| or see !book | 23:49 |
|
gitinfo
| There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable | 23:49 |
|
jim
| jrnieder, (re: ,v files) #sourceforge says (a) yes, and (b) everyone has read-only access | 23:50 |
|
jrnieder
| jim: ok, then look into cvs2git | 23:50 |
|
| jim: or parsecvs, which has been picked up by esr and rebranded as cvs-fast-export | 23:51 |
| → Imagineer2 joined | 23:51 |
|
jrnieder
| jim: I slightly prefer cvs2git among those two | 23:51 |
|
jim
| ok, cool, so the implication is that converts from local files | 23:51 |
|
| what has you have that preference? | 23:51 |
|
jrnieder
| I find cvs2git pleasant to use | 23:52 |
|
| when it didn't do exactly what I wanted I was able to find what I needed in the source | 23:52 |
|
jim
| oh ok, thanks for that as well | 23:53 |
| ← master_j left | 23:53 |
| ← GoldenAxe left | 23:53 |
|
jrnieder
| and when I followed up with upstream they were quick and helpful | 23:53 |
| ← featheredtoast left | 23:53 |
| → GoldenAxe joined | 23:53 |
| → Davey joined | 23:54 |
| ← mfulz left | 23:54 |
| → kemitchell joined | 23:55 |
| ← GoldenAxe left | 23:55 |
| ← Imagineer left | 23:55 |
|
jim
| so maybe they found some of your preferences and use cases where they involved source alteration, to be useful | 23:55 |
|
| and seemed excited and helpful | 23:56 |
| → bewest joined | 23:56 |
|
jim
| did you find a lack of excitement for the other alternative? (I guess that's parsecvs?) | 23:57 |
|
jrnieder
| parsecvs was used for the X.org conversion | 23:57 |
|
| and then abandoned until very recently | 23:57 |
| → GoldenAxe joined | 23:57 |
|
jrnieder
| now that it's been picked up again, its developers would probably be excited to answer questions too :) | 23:58 |
| ← GoldenAxe left | 23:58 |
| → shruggar joined | 23:58 |
| ← kemitchell left | 23:58 |
|
jim
| ahh, ok... do you know what it was that caused the resurgance? | 23:59 |