| 2011-04-28 |
| ← Destos left | 00:00 |
|
patrikf
| I don't know, I've never used submodules, and I'm not sure it will solve your problem. | 00:00 |
|
| we do have a channel log though. | 00:00 |
| ← yhager left | 00:00 |
|
m3lvin
| patrikf: Thanks for the help, I followed these instructions http://stackoverflow.com/questions/1260748/how-do-i-remove-a-git-submodule and now the repository is working as it should. | 00:02 |
| ← erichammond left | 00:02 |
| → kingfishr joined | 00:02 |
|
patrikf
| interesting | 00:02 |
| ← smolyn left | 00:02 |
| ← pdelgallego_ left | 00:03 |
| → SjB joined | 00:04 |
| → rondon joined | 00:04 |
| ← pdelgallego left | 00:06 |
| ← dreiss left | 00:06 |
| ← dropdrive left | 00:07 |
| → erichammond joined | 00:08 |
| ← SjB left | 00:09 |
| ← kingfishr left | 00:10 |
| ← Vampire0 left | 00:11 |
| → yhager joined | 00:11 |
| ← cybernd left | 00:12 |
| → alberto56 joined | 00:13 |
| ← Brklyn left | 00:13 |
| → quadz|2 joined | 00:14 |
| ← bonhoffer left | 00:17 |
| ← dr_win left | 00:17 |
| → dropdrive joined | 00:17 |
| → bonhoffer joined | 00:17 |
| ← quadz left | 00:17 |
| → Vampire0 joined | 00:18 |
| → iftekhar joined | 00:19 |
| → rchavik joined | 00:19 |
| ← rchavik left | 00:19 |
| → rchavik joined | 00:19 |
| ← Anubisss left | 00:19 |
| ← siprbaum left | 00:20 |
| → siprbaum joined | 00:20 |
| ← erez left | 00:20 |
| ← jfkw left | 00:20 |
| → erez joined | 00:21 |
| → Anubisss joined | 00:21 |
| → justin_george joined | 00:21 |
| ← aidalgol left | 00:22 |
| → [ESphynx] joined | 00:22 |
| ← cjz left | 00:22 |
| ← justin-george left | 00:22 |
| ← booginga left | 00:23 |
| → aidalgol joined | 00:23 |
| ← ESphynx left | 00:24 |
| ← robinbowes left | 00:25 |
| ← bwidmer left | 00:26 |
| → kingfishr joined | 00:26 |
| → bwidmer joined | 00:26 |
| → robinbowes joined | 00:27 |
| → jfelchner joined | 00:27 |
| ← m3lvin left | 00:27 |
| ← MikhX left | 00:28 |
| ← engla left | 00:28 |
| → Ralf joined | 00:29 |
| ← aroop left | 00:29 |
| ← dtrott left | 00:30 |
| ← caseymcg left | 00:31 |
| → mtx_init joined | 00:31 |
| ← pavelz left | 00:32 |
| ← dim_ left | 00:33 |
| → n8o-mba joined | 00:34 |
| → dim_ joined | 00:34 |
| ← mtx_init left | 00:34 |
| ← nimrod10` left | 00:35 |
| ← hyperair left | 00:35 |
| → slackstation_ joined | 00:35 |
| ← tjholowaychuk left | 00:37 |
| ← slackstation left | 00:37 |
| slackstation_ → slackstation | 00:37 |
| ← mikepack left | 00:37 |
| ← kingfishr left | 00:38 |
| ← linusoleander left | 00:38 |
| ← kenichi_ left | 00:39 |
| → nimrod10 joined | 00:40 |
|
acidjazz
| does git merge remove the specified branch before merging into the checked out one | 00:41 |
|
| or does that branch still exist | 00:41 |
|
chrisf|work
| acidjazz: git merge doesnt remove *anything*. | 00:42 |
|
| it creates a commit with multiple parents, which describes the merge. | 00:42 |
| ← dot_prime left | 00:42 |
| ← ketas left | 00:43 |
| ← test93939 left | 00:45 |
| ← c00kiemon5ter left | 00:45 |
| → joel_falcou joined | 00:46 |
| → mtx_init joined | 00:46 |
| ← SimonP86 left | 00:46 |
| ← steveoliver left | 00:47 |
| → c00kiemon5ter joined | 00:47 |
| ← nvardar left | 00:47 |
|
acidjazz
| chrisf|work: how do i merge a branch w/ the one i currently hvae checked out? | 00:49 |
| ← alip left | 00:50 |
|
patrikf
| acidjazz: i think you didn't fully understand what "merge" means in the git sense | 00:51 |
|
chrisf|work
| acidjazz: `git merge <some other branch>` | 00:51 |
|
patrikf
| you can safely remove a branch after merging, as all history has been merged, if that answers your question | 00:52 |
| ← metcalfc left | 00:52 |
|
patrikf
| git doesn't do that automatically because often you'll want to work on that branch again (apart from the technical difficulties that would arise with such behaviour) | 00:52 |
| → alip joined | 00:53 |
| → montylounge joined | 00:54 |
| → cooloney joined | 00:55 |
| ← GreYFoXGTi left | 00:56 |
| ← jbrokc left | 00:56 |
| → test93939 joined | 00:56 |
| ← Ins|de left | 00:56 |
| → GreYFoXGTi joined | 00:56 |
| ← test93939 left | 00:56 |
| ← atannus left | 00:57 |
| → caseymcg joined | 00:58 |
| ← foocraft left | 00:58 |
| ← cooloney left | 00:59 |
| → ISF joined | 00:59 |
| ← ISF left | 00:59 |
| → atannus joined | 00:59 |
| → cooloney joined | 00:59 |
| → kingfishr joined | 00:59 |
|
acidjazz
| i gotcha | 01:01 |
|
| ok so heres what annoys me | 01:02 |
|
| i have dev and beta on the same server | 01:02 |
|
| diff directories | 01:02 |
|
| my git server is remote | 01:02 |
|
| i added it as origin | 01:02 |
|
| i wanna merge dev to beta right | 01:02 |
|
| in dev i git commit -a | 01:02 |
|
| then git push | 01:02 |
|
| then move to beta | 01:02 |
|
| git fetch -all; git checkout dev; git rebase origin/dev; git checkout beta; git rebase origin/beta; git merge dev | 01:03 |
|
| that is _retarded_ | 01:03 |
|
| http://stackoverflow.com/questions/4318161/can-git-pull-all-update-all-my-local-branches | 01:04 |
|
| _retarded_ | 01:04 |
| ← Chaser left | 01:05 |
| ← pyrony left | 01:05 |
| ← squiggy left | 01:06 |
| ← mikl left | 01:07 |
| → mikl joined | 01:07 |
| ← mikl left | 01:07 |
| ← rondon left | 01:11 |
| → Vampire0_ joined | 01:11 |
| ← quadz|2 left | 01:12 |
| ← ISF_ left | 01:13 |
| ← rettub left | 01:14 |
| ← Vampire0 left | 01:15 |
| ← dim_ left | 01:15 |
| → dim_ joined | 01:16 |
| ← caseymcg left | 01:16 |
| → rettub joined | 01:16 |
| ← erichammond left | 01:17 |
| ← justin_george left | 01:17 |
| ← GiT left | 01:17 |
| → spatulasnout joined | 01:18 |
| → ISF joined | 01:19 |
| ← ki_ left | 01:19 |
| ← fubada left | 01:20 |
| ← bonhoffer left | 01:20 |
| → bonhoffer joined | 01:20 |
| → foocraft joined | 01:21 |
| → pavelz joined | 01:23 |
| ← mtx_init left | 01:24 |
| → mtx_init joined | 01:24 |
| → dajhorn joined | 01:25 |
| ← owst left | 01:28 |
| → owst joined | 01:29 |
| ← spearce left | 01:31 |
| → DaveIngram joined | 01:32 |
| → shiba_yu36 joined | 01:33 |
| ← iftekhar left | 01:35 |
| ← errordeveloper left | 01:36 |
| → sterlo joined | 01:38 |
| ← Ramblurr left | 01:38 |
| → errordeveloper joined | 01:39 |
| → jfkw joined | 01:39 |
| → xiangfu joined | 01:39 |
| → spearce joined | 01:40 |
| ← spearce left | 01:40 |
| → lightcap joined | 01:41 |
| ← cakehero left | 01:41 |
| ← kingfishr left | 01:42 |
| ← bonhoffer left | 01:43 |
| → cschneid_ joined | 01:43 |
| → ShadowBelmolve_ joined | 01:43 |
| → bonhoffer joined | 01:43 |
| ← cschneid left | 01:43 |
| → seivan joined | 01:43 |
| ← ShadowBelmolve left | 01:44 |
| ← towski left | 01:44 |
| ← xiangfu left | 01:44 |
| ← n8o-mba left | 01:46 |
| → kingfishr joined | 01:46 |
| → tjholowaychuk joined | 01:47 |
| ← bitkiller left | 01:47 |
| ← whyking_ left | 01:48 |
| ← davidrussell left | 01:49 |
| → Ramblurr joined | 01:50 |
| → Avi0 joined | 01:50 |
| ← rgr left | 01:50 |
| ← theoretical left | 01:51 |
| → davidrussell joined | 01:51 |
| ← gusnan left | 01:52 |
| ← jfelchner left | 01:53 |
| → mosno joined | 01:54 |
|
mosno
| http://tinyurl.com/GitSurvey2010Results -> "You don't have permission to access /index.php/GitSurvey2010 on this server." | 01:55 |
| → t0rc joined | 01:56 |
|
mosno
| also, is it a bad idea to rsync -aH a .git dir from one system to another? | 01:57 |
|
| i am the only user of both systems | 01:57 |
|
PerlJam
| mosno: why would it? | 01:59 |
|
mosno
| PerlJam: i can't think of a reason, hence my question | 01:59 |
| ← vsayer left | 01:59 |
|
PerlJam
| mosno: then there you go! :-) | 01:59 |
| → xiangfu joined | 01:59 |
| → curtana joined | 02:02 |
| ← DaveIngram left | 02:02 |
| ← milk left | 02:05 |
|
mosno
| PerlJam: just because i can't think of a reason does not imply that #git can't :) | 02:05 |
| → erichammond joined | 02:07 |
| → boombatower joined | 02:07 |
| ← boombatower left | 02:07 |
| → boombatower joined | 02:07 |
| → smolyn joined | 02:07 |
| → vsayer joined | 02:09 |
| ← bonhoffer left | 02:09 |
| → metcalfc joined | 02:10 |
| → MikhX joined | 02:10 |
| ← helgikrs left | 02:11 |
|
frogonwheels
| mosno: why don't you use git's updates? | 02:11 |
| → stliu joined | 02:11 |
| → jfelchner joined | 02:12 |
| ← diegoviola left | 02:13 |
| → helgikrs joined | 02:13 |
|
frogonwheels
| mosno: using a push/pull would be better in that it would be able to handle objects that got packed much more efficiently. | 02:13 |
|
| mosno: look at this https://gist.github.com/767418 (sorry it's a dos batch file, but the idea is still there using git clone --mirror | 02:15 |
| ← Caelum left | 02:16 |
| ← _bitbucket left | 02:16 |
| ← sechrist left | 02:17 |
| ← errordeveloper left | 02:18 |
| ← montylounge left | 02:18 |
| ← Risar left | 02:19 |
| ← cwillu_at_work left | 02:19 |
| ← jones- left | 02:20 |
| ← doki_pen left | 02:20 |
| ← kpreid left | 02:20 |
| → Risar joined | 02:21 |
| ← xiangfu left | 02:21 |
| → cwillu_at_work joined | 02:22 |
| → rgr joined | 02:23 |
| → hyperair joined | 02:24 |
| ← Anubisss left | 02:24 |
| → Caelum joined | 02:25 |
| → flaguy48 joined | 02:26 |
| → dyer joined | 02:26 |
| ← dyer left | 02:26 |
| → dyer joined | 02:26 |
| → xerora joined | 02:28 |
| → DaveIngram joined | 02:28 |
| ← DaveIngram left | 02:28 |
| → _bitbucket joined | 02:28 |
|
mosno
| frogonwheels: because i'm a huge noob? :) i have been using clone mirror in another scenario, i guess it would apply here, too. i think i initially didn't use it because i wanted more fine-grained control but i didn't know enough about git. thanks :) | 02:30 |
|
| frogonwheels: i just have to take the time and read the doco | 02:31 |
| → intripoon_ joined | 02:31 |
|
frogonwheels
| mosno: we're always noobs at something. if we never garbage-collected into packfiles, the rsync idea would work perfectly. | 02:31 |
| → jones- joined | 02:31 |
| ← Ramblurr left | 02:32 |
| → Ramblurr joined | 02:32 |
| ← intripoon left | 02:34 |
| ← Ralf left | 02:35 |
| → _Ralf_ joined | 02:35 |
| ← seivan left | 02:35 |
| ← ptl left | 02:35 |
| → tao_ joined | 02:35 |
| ← dyer left | 02:35 |
|
tao_
| I'm in a branch via "git checkout -b mybranch". I want to revert all changes. How do I do that? | 02:36 |
|
| or abandon branch entirely, if possible | 02:37 |
|
frogonwheels
| tao_: git checkout <the branch you were in> | 02:38 |
| → bonhoffer joined | 02:39 |
|
frogonwheels
| tao_: git branch -D mybranch to discard the branch then. | 02:39 |
|
chrisf|work
| although you may want to let it sit, and think on it for a while before doing that, in case you decide those commits are interesting after all.. | 02:39 |
|
frogonwheels
| tao_: yep -there's not harm in letting it sit round for a bit - there might be something useful in it after all | 02:40 |
|
| tao_: points for doing the experiment in a new branch to start with. | 02:40 |
| ← owst left | 02:41 |
|
tao_
| I've made no commits in it yet | 02:42 |
| → ptl joined | 02:43 |
| → DrDogwelder joined | 02:43 |
|
frogonwheels
| tao_: git reset --hard will THROW AWAY any changes you've made. | 02:43 |
|
tao_
| and leave me with a clean branch? | 02:43 |
|
chrisf|work
| yes | 02:44 |
|
tao_
| cool, that's what I want | 02:44 |
|
| tao_ still finds it weird that git requires me to 'git add .' tracked and modified files before commit | 02:45 |
|
tao_
| it's tracked, why do I need to add it again? | 02:45 |
| ChanServ set mode: +v | 02:45 |
|
zivester
| how can i see the diff between my local copy and the remote origin/master, without updating my local copy? `git diff origin/master` doesn't work, and i dont want to fetch every branch from 'origin' is it possible just to fetch one branch, so the diff actually works ? | 02:45 |
|
offby1
| you can't. | 02:46 |
|
| well. | 02:46 |
| ← rgr left | 02:47 |
|
offby1
| I _think_ you can fetch one branch. Of course it'll pull down everything needed for that branch, which may well include everything needed for other branches (which happen to be ancestors of the one you want). | 02:47 |
| ← Textmode left | 02:47 |
|
offby1
| But when I fetch, I just say "git remote update" and let it get everything from everywhere. | 02:47 |
|
zivester
| is git remove update the same as `git fetch remotename` ? | 02:48 |
|
| remote* | 02:48 |
|
offby1
| I think it's the same same as "git fetch --all" | 02:49 |
|
| in other words, "git fetch remotename" fetches just from that one remote, but "git remote update" fetches from _all_ your remotes. (You might have more than one.) | 02:49 |
| ← foocraft left | 02:49 |
|
offby1
| I typically have two: my company's main repo, and my "fork" of it, where I keep semi-private work. | 02:49 |
| ← frogonwheels left | 02:50 |
| → schnatta_ joined | 02:50 |
| ← schnatta left | 02:50 |
| → rapeman joined | 02:51 |
| ← chrisdev left | 02:51 |
| → frogonwheels joined | 02:51 |
|
zivester
| ok, thanks for the explanation.. i guess ill just `git fetch remotename` and do a `git diff origin/master` there's really no reason why I can't have all my reps fetched, i just felt it unnecessary.. but if i understand you correctly, if my branch is a descendent of another branch, it's going to fetch all those files anyway | 02:51 |
| ← rapeman left | 02:52 |
| ← oc80z left | 02:52 |
|
offby1
| yep | 02:52 |
|
| general-purpose git advice: 1) Read "Git For Computer Scientists" (http://eagain.net/articles/git-for-computer-scientists/); 2) Run "gitk --all"; 3) Learn about "git reflog" | 02:52 |
| ← eletuchy left | 02:53 |
| ← markizano left | 02:53 |
| → oc80z joined | 02:53 |
|
zivester
| omg flashbacks to college 5 years ago | 02:53 |
| → amerine joined | 02:54 |
| ← Bass10 left | 02:55 |
| ← kermit left | 02:56 |
|
offby1
| ? | 02:57 |
| ← welly_ left | 02:58 |
| → pyrony joined | 02:58 |
| → dreiss joined | 02:59 |
| ← ISF left | 02:59 |
|
kingfishr
| On one computer, when I do a fast-forward, it prints out some useful info (each file that changed, total changed lines), but on my other machine it just prints "Fast-forwarded master to 0cd8f...". | 03:02 |
|
| WHat is the difference? The machines share a .gitconfig. | 03:03 |
| → Tac_Home joined | 03:05 |
|
kingfishr
| Also, the second machine was on an older git version, but I updated to a newer git version and it's the same, so it's not some brand-new feature. | 03:05 |
| ← alberto56 left | 03:08 |
| → seivan joined | 03:08 |
| → Lncn joined | 03:09 |
|
Lncn
| okay, so I want to replace FTP'ing my website with git pushing... This is harder to figure out than I could have imagined. If I "git init" on my server, what do I "get remote add" on my local box? | 03:10 |
|
frogonwheels
| Lncn: here's one idea: http://toroid.org/ams/git-website-howto | 03:11 |
|
offby1
| kingfishr: no idea, but I'd be curious to know if you ever found out :-| | 03:11 |
|
Lncn
| frogonwheels: thanks man | 03:12 |
|
kingfishr
| offby1: OK, i think the option may be merge.stat. However, I haven't explicitly set it to be false...maybe the systems have different defaults. | 03:12 |
|
frogonwheels
| kingfishr: it's a 'diffstat' that's being printed out | 03:12 |
|
kingfishr
| frogonwheels: yeah, i found that after a tangled web of googling :D | 03:12 |
| ← MikhX left | 03:13 |
| → gnufied joined | 03:14 |
|
offby1
| kingfishr: maybe one has an /etc/git/config or something | 03:14 |
| → kermit joined | 03:15 |
| ← jsick3 left | 03:16 |
| → ketas joined | 03:17 |
| ← pyrony left | 03:17 |
| ← ShadowBelmolve_ left | 03:19 |
| → pyrony joined | 03:21 |
| ← dajhorn left | 03:21 |
| ← deekayen left | 03:21 |
| → sechrist joined | 03:28 |
| ← sterlo left | 03:28 |
| ← dim_ left | 03:28 |
| ← tjholowaychuk left | 03:29 |
| → dim_ joined | 03:29 |
| → ymasory joined | 03:29 |
| → ISF joined | 03:29 |
| → dr_win joined | 03:29 |
| ISF → Guest81299 | 03:30 |
| → eletuchy joined | 03:30 |
|
kingfishr
| offby1: I can't find any global config on either system, but that seems like a likely scenario | 03:31 |
|
| in any case, adding merge.stat = 1 to my ~/.gitconfig made it work | 03:31 |
| ← pyrony left | 03:33 |
| → gigamonkey joined | 03:33 |
| ← eletuchy left | 03:33 |
| ← aef_ left | 03:34 |
| → sterlo joined | 03:35 |
| yaotti_aw → yaotti | 03:35 |
| ← zivester left | 03:36 |
| ← seivan left | 03:36 |
| ← [intra]lanman left | 03:37 |
| → aef joined | 03:37 |
| ← bonhoffer left | 03:37 |
| → zivester joined | 03:37 |
| ← lightcap left | 03:38 |
| → lightcap joined | 03:39 |
| ← lightcap left | 03:40 |
| → lightcap joined | 03:41 |
| ← DrDogwelder left | 03:41 |
| → victori joined | 03:42 |
| → quiliro joined | 03:42 |
|
quiliro
| hi | 03:43 |
|
| i am starting to find the beauty in git | 03:43 |
|
| i acn now push my project to github | 03:43 |
| ← kukks left | 03:44 |
|
quiliro
| but i cannot get anyone to pull it | 03:44 |
|
| maybe i am giving them the wrong instructions | 03:44 |
|
| git clone [email@hidden.address] | 03:45 |
| ← comawhite left | 03:45 |
| → comawhite joined | 03:45 |
|
quiliro
| is that the correct command? | 03:45 |
|
| it is supposed to be public | 03:45 |
| ← kingfishr_ left | 03:45 |
|
quiliro
| ...and gplv3 | 03:45 |
| → alecthegeek joined | 03:45 |
| → MikhX joined | 03:46 |
| ← Lncn left | 03:46 |
| ← Guest81299 left | 03:48 |
|
offby1
| looks reasonable; I'll try it | 03:49 |
| ← cammm left | 03:49 |
|
offby1
| Permission denied (publickey). fatal: The remote end hung up unexpectedly | 03:49 |
|
| quiliro: you may need to tell github that it's a "public" project. | 03:49 |
|
| or else you'll need to collect SSH public keys from those whom you want to give access. | 03:49 |
|
quiliro
| oh...ok... i'll do it now | 03:50 |
|
offby1
| oh hold on | 03:50 |
|
| that URL is just for you (and other committers); for the public, you should give out this URL instead https://github.com/quiliro/sisma.git | 03:50 |
|
| works fine | 03:51 |
|
quiliro
| thanks offby1 | 03:51 |
| ← jfkw left | 03:51 |
|
quiliro
| offby1: can i do something for you? | 03:51 |
| → segher joined | 03:52 |
|
offby1
| I dunno, like what? Make me a sandwich. | 03:52 |
| → kingfishr_ joined | 03:52 |
|
quiliro
| lol... if you live near the equator it might be possible | 03:53 |
|
| depending on the longitude offby1 | 03:53 |
| ← lightcap left | 03:53 |
|
quiliro
| maybe i con test something for you | 03:54 |
| ← yhager left | 03:54 |
| ← ptl left | 03:55 |
| → drubies joined | 03:55 |
| ← pyroscope left | 03:56 |
| → foocraft joined | 03:57 |
| → roop joined | 03:58 |
| → ExtraSpice joined | 04:00 |
| → ptl joined | 04:02 |
| ← OOPMan left | 04:02 |
| → fivetwentysix joined | 04:03 |
| → Textmode joined | 04:05 |
| → rchavik_ joined | 04:05 |
| ← kingfishr_ left | 04:06 |
| ← amerine left | 04:07 |
| ← rchavik_ left | 04:07 |
| → eletuchy joined | 04:07 |
| → rchavik_ joined | 04:08 |
| ← mtx_init left | 04:09 |
| ← blop left | 04:12 |
|
mosno
| frogonwheels: that batch file example is a bit hard to follow | 04:12 |
|
| frogonwheels: say i have 2 git repos but no remote branches, can i still push/pull? | 04:13 |
| → bindaas joined | 04:13 |
| → blop joined | 04:13 |
|
mosno
| frogonwheels: ie. i did rsync -aH to create the second repo, then i did some commits on branch FOO of the second repo, now i want to push those commits to branch FOO on the first repo... how? | 04:14 |
|
| (the first repo is on my production machine, the second repo is on my dev/testing machine) | 04:14 |
| → ki_ joined | 04:16 |
| ← blop left | 04:17 |
| → blop joined | 04:17 |
|
quiliro
| offby1: git clone git://github.com/quiliro/sisma.git | 04:17 |
| → drake01 joined | 04:19 |
| ← MikhX left | 04:19 |
| → avinash_hm joined | 04:19 |
| ← sterlo left | 04:19 |
|
offby1
| quiliro: works fine | 04:19 |
| → rondon joined | 04:21 |
| ← orafu left | 04:21 |
|
quiliro
| thks offby1 | 04:22 |
| → orafu joined | 04:23 |
| → OOPMan joined | 04:23 |
|
quiliro
| offby1: i had been reading four hours to find clone | 04:23 |
|
| and make it work | 04:23 |
| → Samual joined | 04:24 |
| → tgunr_ joined | 04:27 |
| → sterlo joined | 04:27 |
| → tgunr__ joined | 04:28 |
| ← davidrussell left | 04:28 |
| ← rchavik_ left | 04:29 |
| ← tgunr_ left | 04:30 |
| → MikhX joined | 04:31 |
| ← avdg left | 04:31 |
| → harshu_ joined | 04:31 |
| ← tao_ left | 04:32 |
| ← tgunr__ left | 04:37 |
| ← Bauer left | 04:38 |
| ← dim_ left | 04:39 |
| → dim_ joined | 04:40 |
| → MissionCritical joined | 04:41 |
| ← roop left | 04:42 |
| ← gedevan left | 04:44 |
| → Remixman joined | 04:44 |
| ← erichammond left | 04:45 |
| → codetroll joined | 04:45 |
| ← MikhX left | 04:47 |
| → MikhX joined | 04:49 |
| → tty1 joined | 04:49 |
| ← ymasory left | 04:51 |
| ← segher left | 04:52 |
| → lightcap joined | 04:52 |
| ← WebDragon left | 04:52 |
| → segher joined | 04:54 |
| → steveoliver joined | 04:55 |
| ← steveoliver left | 04:56 |
| → yhager joined | 04:56 |
| → fr0sty joined | 04:58 |
| → dr0id joined | 04:59 |
| ← dr0id left | 04:59 |
| → dr0id joined | 04:59 |
| → freimatz joined | 05:00 |
|
mosno
| frogonwheels: nevermind, i just removed the .git dir on the production server, rsynced .git from the testing server, and did a git checkout -f FOO | 05:01 |
|
| frogonwheels: from now on, i'll use clone instead of rsync | 05:01 |
| → ThomasLocke joined | 05:02 |
| ← yhager left | 05:03 |
| ← RaceCondition left | 05:05 |
| → yhager joined | 05:07 |
| ← MikhX left | 05:07 |
| ← jfelchner left | 05:08 |
| ← alecthegeek left | 05:08 |
| → MikhX joined | 05:09 |
| → LongBeach joined | 05:09 |
| → roop joined | 05:10 |
| → paolodedios joined | 05:11 |
| ← lightcap left | 05:12 |
| ← paolodedios left | 05:13 |
| ← segher left | 05:14 |
| → seivan joined | 05:15 |
| → segher joined | 05:16 |
| → pyroscope joined | 05:17 |
| ← drake01 left | 05:18 |
| ← rondon left | 05:18 |
| ← metcalfc left | 05:22 |
| → mishok13 joined | 05:23 |
| → n8o-mba joined | 05:24 |
| ← dim_ left | 05:24 |
| → alecthegeek joined | 05:24 |
| → n1ck3 joined | 05:25 |
| ← Niedar left | 05:25 |
| ← namemon left | 05:26 |
| → dim_ joined | 05:26 |
| ← friskd left | 05:26 |
| ← MikhX left | 05:27 |
| → mtx_init joined | 05:28 |
| ← n8o-mba left | 05:28 |
| → MikhX joined | 05:29 |
| → aminpy joined | 05:29 |
| ← smolyn left | 05:29 |
| ← mosno left | 05:31 |
| ← Dvyjones left | 05:32 |
| yaotti → yaotti_aw | 05:33 |
| yaotti_aw → yaotti | 05:33 |
| → mosno joined | 05:35 |
| ivey → ivey_off | 05:35 |
| → airborn joined | 05:38 |
| ← mosno left | 05:38 |
| → amerine joined | 05:41 |
| ← sterlo left | 05:42 |
| → sandstrom joined | 05:44 |
| ← sandstrom left | 05:44 |
| → sandstrom joined | 05:44 |
| ← gnufied left | 05:45 |
| ← MikhX left | 05:47 |
| → MikhX joined | 05:49 |
| → namemon joined | 05:50 |
| → nag joined | 05:50 |
| → cesario joined | 05:50 |
|
nag
| is gitosis still the preferred solution for setting up an authoritative remote branch? | 05:51 |
| yaotti → yaotti_aw | 05:51 |
|
selckin
| !gitosis | 05:52 |
|
jast
| [automatic message] gitosis is no longer maintained and supported by the author; we usually recommend gitolite instead which has much better documentation and more features: http://github.com/sitaramc/gitolite | 05:52 |
|
nag
| thank you | 05:52 |
| yaotti_aw → yaotti | 05:53 |
| ← mdel_ left | 05:54 |
| → Joel- joined | 05:56 |
| ← t0rc left | 05:57 |
| → lightcap joined | 05:57 |
| ← wsuff left | 05:58 |
| → PDXNative joined | 06:02 |
| ← PDXNative left | 06:03 |
| → mosno joined | 06:03 |
| → doki_pen joined | 06:04 |
| ← namemon left | 06:05 |
| → TrineLocke joined | 06:05 |
| → dc5ala joined | 06:05 |
| ← MikhX left | 06:05 |
| ← infid left | 06:06 |
| → thews joined | 06:07 |
| ← boombatower left | 06:07 |
| → workmad3 joined | 06:08 |
| → infid joined | 06:08 |
| → richardjoo joined | 06:08 |
| ← jettero left | 06:08 |
| ← joel_falcou left | 06:08 |
| ChanServ set mode: +v | 06:09 |
| → cbreak_work joined | 06:09 |
| ← cesario left | 06:09 |
| ← eregon left | 06:09 |
| → eregon joined | 06:10 |
| ← alip left | 06:10 |
| ChanServ set mode: +v | 06:10 |
| → jettero joined | 06:10 |
| ← jettero left | 06:10 |
| → jettero joined | 06:10 |
| → alip joined | 06:12 |
| ← richardjoo left | 06:12 |
| → richardjoo joined | 06:12 |
| ← dim_ left | 06:13 |
| ← angelsl left | 06:14 |
| → larsl joined | 06:15 |
| → dim_ joined | 06:15 |
| ← iivvoo left | 06:16 |
| → iivvoo joined | 06:16 |
| → durre joined | 06:17 |
| ← alecthegeek left | 06:18 |
| → Dvyjones joined | 06:19 |
| ← jonanin left | 06:21 |
| → KindOne joined | 06:21 |
| → jonanin joined | 06:21 |
|
KindOne
| I'm using TortoiseGit, any reason as to why it's taking 100% of one of my core | 06:22 |
|
| I'm using TortoiseGit, any reason as to why it's taking 100% of one of my core's, I'm not downloading anything via GIT * | 06:22 |
| → petrux joined | 06:23 |
| → guardian joined | 06:24 |
| → MikhX joined | 06:26 |
| → wo9x joined | 06:27 |
|
cbreak_work
| have you considered stopping to use that abysmal svn imitating GUI and switching to command line? | 06:27 |
|
durre
| is this the right way to "checkout" a remote repository to start working on it's branches? "git clone [email@hidden.address] test1" | 06:29 |
| ← phantomcircuit left | 06:30 |
| ← roop left | 06:30 |
| ← Ruudjah left | 06:31 |
| → thiago_home joined | 06:33 |
| fairuz_ → fairuz | 06:35 |
|
cbreak_work
| durre: that will give you a clone of the remote repository | 06:35 |
|
| durre: that's the normal way to use git on an existing project | 06:35 |
|
| you don't need to specify the destination though, it's optional | 06:35 |
| ← Textmode left | 06:37 |
| ← ptl left | 06:37 |
| → psoo joined | 06:37 |
| → anathematic joined | 06:39 |
| → gedevan joined | 06:42 |
| → sgh joined | 06:42 |
| → skoop joined | 06:42 |
| ← KindOne left | 06:43 |
| ← anathematic left | 06:43 |
| → anathematic joined | 06:43 |
| → ptl joined | 06:43 |
| ← guardian left | 06:44 |
| ← sandstrom left | 06:45 |
| → angelsl joined | 06:45 |
| → ph^ joined | 06:45 |
| → dr_ick joined | 06:46 |
| → jkp joined | 06:48 |
| → giallu joined | 06:48 |
| → gnufied joined | 06:50 |
| ← airborn left | 06:50 |
| → Swaagie joined | 06:55 |
| ← anathematic left | 06:57 |
| → eijk joined | 06:58 |
| → TTilus joined | 06:59 |
| ← kingfishr left | 06:59 |
|
TTilus
| when pushing changes to remote git suddenly ate awfull lot of memory (resident size ~1.3GiB) on "Compressing objects" stage and slowed down to crawl, whats up? | 07:01 |
|
| nothing in the repo im pushing from strikes me as exceptional, same amount of files of this size (3 x ~30MiB) have existed in the repo from the beginning | 07:04 |
|
| what should i be looking for? how to diagnose? | 07:04 |
|
| repo tracks an svn repo using git svn | 07:04 |
| → pyrony joined | 07:05 |
|
cbreak_work
| TTilus: I'd check the sizes of things on .git/objects | 07:06 |
|
TTilus
| a friend of mine was unable to git svn clone the repo, memory consumption is thru the roof on delta compression stage and then comes "fatal, out of memory, malloc failed" and git svn crashes | 07:07 |
| ← wo9x left | 07:07 |
| ← thiago_home left | 07:08 |
| → Titosemi joined | 07:08 |
| → mklappstuhl joined | 07:09 |
|
| TTilus goes digging .git/objects/ | 07:09 |
|
cbreak_work
| TTilus: maybe someone committed a big file in subversion | 07:10 |
|
wereHamster
| try to push in smaller batches | 07:10 |
| ← pyrony left | 07:10 |
|
cbreak_work
| obviously, you can only git svn clone svn repositories | 07:10 |
| → glcrazy joined | 07:10 |
|
TTilus
| wereHamster: oh, how do i do that? | 07:10 |
|
wereHamster
| git push <wherever> HEAD~100:master or so | 07:10 |
|
TTilus
| cbreak_work: ah, thanks | 07:11 |
| → dharrigan joined | 07:12 |
| ← dharrigan left | 07:12 |
| → dharrigan joined | 07:12 |
| ← frerich left | 07:12 |
| → mastroDani joined | 07:13 |
|
TTilus
| cbreak_work: and yes, its the very same svn repo&branch my fried failed to git svn clone that i pull from and had difficult time pushing changes | 07:13 |
| ← Remixman left | 07:13 |
| → frerich joined | 07:14 |
| ← frerich left | 07:14 |
| → frerich joined | 07:14 |
| → arunce joined | 07:15 |
| → etnt joined | 07:16 |
| yaotti → yaotti_aw | 07:16 |
| → teweWork joined | 07:16 |
| ← Tac_Home left | 07:17 |
| ← xerora left | 07:17 |
| → lanthan_ joined | 07:18 |
| rob_w_away → rob_w | 07:18 |
| → drev1 joined | 07:18 |
|
cbreak_work
| TTilus: did you run du -h .git/objects? | 07:18 |
|
TTilus
| there is a *.pack file of size 2.6 in .git/objects/pack, would it cause this? | 07:18 |
|
cbreak_work
| 2.6 what? | 07:19 |
|
TTilus
| GiB | 07:19 |
|
cbreak_work
| yes. | 07:19 |
|
| that would cause this. | 07:19 |
|
| pack files are files that contain many objects | 07:20 |
|
TTilus
| next biggest is ./53, its 85 MiB | 07:20 |
| → sandstrom joined | 07:20 |
| ← sandstrom left | 07:20 |
| → sandstrom joined | 07:20 |
| ← lanthan left | 07:21 |
|
cbreak_work
| don't know how you can find out which is the big object though | 07:21 |
|
| maybe the idx file contains that info | 07:22 |
| ← psoo left | 07:23 |
| ← shiba_yu36 left | 07:23 |
| ← dr_ick left | 07:23 |
| ← tonyj left | 07:23 |
| ← seivan left | 07:23 |
| → friskd joined | 07:24 |
| → robertdavid joined | 07:24 |
| → guardian joined | 07:25 |
| → psoo joined | 07:25 |
|
FauxFaux
| There's a script that identifies large objects; trivial to google as it's everywhere. | 07:25 |
| → tonyj joined | 07:25 |
| ← OOPMan left | 07:26 |
| → seivan joined | 07:26 |
| → opalka joined | 07:28 |
| ← opalka left | 07:28 |
| → opalka joined | 07:28 |
| ← Mannequin left | 07:29 |
| ← robertdavid left | 07:29 |
| → cesario joined | 07:29 |
| → pantsman joined | 07:30 |
| ← pantsman left | 07:30 |
| → pantsman joined | 07:30 |
| → Mannequin joined | 07:30 |
| → pdelgallego joined | 07:30 |
| → pdelgallego_ joined | 07:30 |
| stliu → stliu_brb | 07:30 |
| ← mtx_init left | 07:32 |
| ← jlewis left | 07:32 |
| → saschagehlich joined | 07:32 |
| yaotti_aw → yaotti | 07:32 |
| → icwiener joined | 07:33 |
| ← foocraft left | 07:35 |
| → davzie joined | 07:36 |
| → jlewis joined | 07:37 |
| ← drev1 left | 07:37 |
| → d0k joined | 07:37 |
| ← dr0id left | 07:40 |
| → whitman joined | 07:40 |
|
TTilus
| found one http://stubbisms.wordpress.com/2009/07/10/git-script-to-show-largest-pack-objects-and-trim-your-waist-line/ | 07:42 |
|
| it says largest object is 98 MiB | 07:42 |
|
| does not really strike to me as big | 07:42 |
|
FauxFaux
| You have a single 100mb binary file in your repo..? | 07:43 |
| → drake01 joined | 07:43 |
| ← cyphase left | 07:44 |
| ← drake01 left | 07:45 |
|
cbreak_work
| TTilus: maybe you have several of them | 07:46 |
|
| you only need 26 100mb files for 2.6gb | 07:46 |
| ← jkp left | 07:48 |
| ← richardjoo left | 07:48 |
|
TTilus
| FauxFaux: yes i do have, one | 07:49 |
|
| cbreak_work: i don't, but the biggest one seems to change a lot | 07:50 |
|
cbreak_work
| change? | 07:50 |
|
| you know, with 26 files I mean | 07:50 |
| → soc42 joined | 07:50 |
|
cbreak_work
| 26 files, ever. | 07:50 |
|
| every little change is a new file | 07:50 |
|
| if you change the last byte, new file. | 07:50 |
|
| if you change anything in the contents, new file. | 07:50 |
|
TTilus
| exactly | 07:51 |
|
cbreak_work
| so, 26 files just means 26 different blobs with big size | 07:51 |
|
| committing big binary files that change a lot is stupid with git | 07:51 |
|
TTilus
| and thats what i seem to have here | 07:51 |
| ← pantsman left | 07:52 |
| → troessner joined | 07:52 |
|
TTilus
| should batching push/pull/fetch whatever help, as suggested by wereHamster | 07:52 |
|
FauxFaux
| Are there actually any proposals for any way to make large files work in git? I'm not aware of any serious attempts. | 07:52 |
|
TTilus
| FauxFaux: what could you do if delta doesnt help? | 07:53 |
|
FauxFaux
| Someone should write a tool that can actually cope so I can stop recommending svn for that use case. /o\ /o\ /o\ | 07:53 |
|
| FauxFaux would use svn. /o /o /o\ | 07:53 |
| ← mosno left | 07:53 |
|
TTilus
| FauxFaux: in this case the upstream repo actually _is_ svn repo =D | 07:53 |
| ← friskd left | 07:54 |
|
cbreak_work
| I would just store the big files outside revision control | 07:54 |
|
FauxFaux
| cbreak_work: So strongly disagree. | 07:54 |
|
TTilus
| cbreak_work: in this setup we need revision control for them | 07:54 |
| ← jophish left | 07:55 |
| → Dave^| joined | 07:55 |
|
TTilus
| cbreak_work: giving up revision control would be like jumping back to stone age | 07:55 |
| ← segher left | 07:55 |
|
cbreak_work
| the changing big binary files I work with are usually just derivatives, so why bother storing them? | 07:56 |
| → erichammond joined | 07:56 |
|
cbreak_work
| if you want them, just recompile, rerender | 07:56 |
|
FauxFaux
| You have a system that has 100% repeatable builds of anything? | 07:56 |
|
| Please start selling that for millions. | 07:57 |
| ← cm2101 left | 07:57 |
| ← MikhX left | 07:57 |
| → Juo joined | 07:58 |
| → segher joined | 07:58 |
| → cyphase joined | 07:59 |
|
wereHamster
| FauxFaux: are you using a compiler which produces different results depending on the moon phase? | 07:59 |
|
FauxFaux
| I am using multiple compilers that fail to produce bit-identical outputs, and depend on resources available on the system and the version of the compiler and .. yes. | 08:00 |
|
TTilus
| cbreak_work: if they only were (in my case) i wouldnt be here =D | 08:00 |
|
wereHamster
| resources available? WTF? | 08:00 |
| → nevyn^_ joined | 08:00 |
|
TTilus
| even if i had system that has 100% repeatable builds it wouldnt help me here | 08:01 |
|
FauxFaux
| Uh, resources is a FauxFaux-only term that means "libraries/headers/jars/shell-scripts/..". | 08:01 |
| → rgb joined | 08:01 |
|
FauxFaux
| (I'd normally use the term "artifacts" but that means nothing to people who don't use maven.) | 08:01 |
| ← dc5ala left | 08:02 |
| → sigh joined | 08:03 |
| → engla joined | 08:03 |
| ← engla left | 08:03 |
| → engla joined | 08:03 |
| ← rgb247 left | 08:04 |
|
ichilton
| If you are doing different versions of the same product for different customers - with their own branding, settings etc - would you store those as branches in git? | 08:05 |
| ← mklappstuhl left | 08:05 |
|
ichilton
| that's what I did in subversion but git doesn't seem as suited to this | 08:05 |
|
selckin
| i'd create a proper architecture | 08:06 |
|
ichilton
| if I want to merge a change from the master into one of the client sites, i've got to git cherry-pick it as doing a normal merge tries to overwrite all the branch specific customisations | 08:06 |
|
FauxFaux
| While that strikes me as a strange idea in svn, I don't see why it's any less of a strange idea in git. | 08:06 |
|
ichilton
| selckin: what do you mean by that? | 08:06 |
|
| FauxFaux: why strange? | 08:06 |
| → alecthegeek joined | 08:06 |
|
FauxFaux
| 'cos you end up with O(n) cherry-picks. | 08:07 |
|
| (In either.) | 08:07 |
|
ichilton
| you lost me :) | 08:07 |
|
FauxFaux
| Every change you make in master has to be applied once for every customer; that's horrible. | 08:07 |
|
ichilton
| ah | 08:07 |
|
| yes | 08:08 |
| ← eregon left | 08:08 |
|
ichilton
| but what's the alternative? | 08:08 |
| → eregon joined | 08:08 |
|
selckin
| if they are settings, they should plugin in to the main app somehow, so you'd have 1 release of your app, plus 1 repo per customer | 08:08 |
|
FauxFaux
| Move all the config to a subdirectory, or have the build-script overlay changed files, or something like that. | 08:08 |
|
selckin
| the customer repo should not by any means have your entire app, it should depend on it | 08:08 |
|
FauxFaux
| Not aware of any (non-maven <3 <3) tools to do this, though. | 08:08 |
|
ichilton
| humm | 08:09 |
|
| that sounds equally difficult to manage | 08:09 |
|
| as each site can change anything about the original | 08:09 |
|
| so you'd have files everywhere to have to overlay | 08:09 |
|
FauxFaux
| Very scalable business model you have there. ¬_¬ | 08:09 |
| → PigeonFriend joined | 08:11 |
| ← yhager left | 08:12 |
|
cbreak_work
| why does merging overwrite customisation? | 08:12 |
|
| it should only change what changed since your last merge-base | 08:13 |
|
ichilton
| yeah but I only want to merge certain commits | 08:14 |
|
| in svn you merge essentially a diff of those commits | 08:14 |
|
| in git it merges a diff between the branches | 08:14 |
|
cbreak_work
| in git, a merge is an actual merge | 08:14 |
|
| not a diff | 08:14 |
| → jatt joined | 08:14 |
|
ichilton
| nod | 08:14 |
|
cbreak_work
| it merges branches | 08:15 |
|
ichilton
| yep | 08:15 |
| ← gnufied left | 08:15 |
| ← wilmoore left | 08:15 |
| ← mattly left | 08:15 |
|
FauxFaux
| cherry-pick does exactly what you want, what's the problem? :) | 08:15 |
|
ichilton
| which is why branches in git a more suited to streams of development rather than separate repos with the ability to merge changes | 08:15 |
| → Remixman joined | 08:16 |
| → tatsuya joined | 08:16 |
| → mikl joined | 08:16 |
|
FauxFaux
| That's a strange comment, given a branch in git /is/ a seperate repo. | 08:16 |
| → LouisJB joined | 08:16 |
| ← preflex left | 08:17 |
| ← lanthan_ left | 08:18 |
| ← Juo left | 08:19 |
|
cbreak_work
| not neccessarily | 08:19 |
|
| you can have multiple branches in the same repositories | 08:19 |
|
| even multiple completely independent branches | 08:19 |
| ← pavelz left | 08:19 |
|
cbreak_work
| like Linux' development branch and Qt's master branch | 08:19 |
|
| just doesn't make sense to do... | 08:19 |
|
FauxFaux
| I meant, in terms of what git clone -b / git fetch do. | 08:20 |
| ← saschagehlich left | 08:21 |
| → saschagehlich_ joined | 08:21 |
| → preflex joined | 08:21 |
| → Juo joined | 08:22 |
| → tatsuya_ joined | 08:23 |
| ← dreiss left | 08:23 |
| ← tatsuya left | 08:23 |
| ← Juo left | 08:23 |
| ← saschagehlich_ left | 08:25 |
| → saschagehlich joined | 08:25 |
| → noonoooo joined | 08:25 |
| → dr0id joined | 08:27 |
| ← LouisJB left | 08:28 |
| → LouisJB joined | 08:28 |
| ← noonoooo left | 08:30 |
| → Juo joined | 08:31 |
| → giuserpe_ joined | 08:31 |
| ← alip left | 08:31 |
| → xiangfu joined | 08:31 |
| → SRabbelier|Lappy joined | 08:32 |
| → alip joined | 08:33 |
| ← iAmerikan left | 08:35 |
| → achadwick joined | 08:35 |
| ← ptl left | 08:36 |
| → noonoooo joined | 08:37 |
| → RaceCondition joined | 08:37 |
| ← andyl left | 08:40 |
| → ptl joined | 08:41 |
| → Schmallon joined | 08:42 |
| ← lightcap left | 08:42 |
| → andyl joined | 08:44 |
| → mklappstuhl joined | 08:44 |
| → hynek joined | 08:45 |
| ← alecthegeek left | 08:46 |
| → jhoepken joined | 08:48 |
| → mattions joined | 08:49 |
| ← Avi0 left | 08:51 |
| ← gregglind left | 08:57 |
| → gregglind joined | 08:57 |
| ← da5id left | 08:59 |
| → n8o-mba joined | 09:00 |
| → sebbi joined | 09:01 |
| ← helgikrs left | 09:01 |
| → dpy joined | 09:01 |
| ← thoolihan left | 09:04 |
| ← n8o-mba left | 09:05 |
| ← dim_ left | 09:08 |
| → dim_ joined | 09:09 |
| ← robinbowes left | 09:10 |
| ← LekeFly left | 09:16 |
| → Alien_Freak joined | 09:16 |
| ← csgeek left | 09:17 |
| → eletuchy_ joined | 09:17 |
| → helgikrs joined | 09:17 |
| ← bremner_ left | 09:17 |
| → bremner_ joined | 09:19 |
| → errordeveloper joined | 09:19 |
| ← eletuchy left | 09:19 |
| ← harshu_ left | 09:21 |
| → arunce_ joined | 09:22 |
| ← Garen left | 09:22 |
| → Garen joined | 09:22 |
| → robinbowes joined | 09:23 |
| → lanthan joined | 09:23 |
| ← arunce left | 09:24 |
| ← lanthan left | 09:24 |
| → harshu__ joined | 09:24 |
| → robertdavid joined | 09:25 |
| → arunce joined | 09:26 |
| → lanthan joined | 09:26 |
| ← blast_hardcheese left | 09:28 |
| ← teweWork left | 09:28 |
| ← arunce_ left | 09:29 |
| ← mklappstuhl left | 09:30 |
| → rgr joined | 09:31 |
| → blast_hardcheese joined | 09:31 |
| ← saschagehlich left | 09:31 |
| → kingfishr joined | 09:31 |
| → foocraft joined | 09:33 |
| ← Spockz left | 09:34 |
| → kms joined | 09:34 |
| → mklappstuhl joined | 09:36 |
| ← d0k left | 09:41 |
| → Behi joined | 09:44 |
| → teweWork joined | 09:45 |
| → snearch joined | 09:45 |
| → whyking_ joined | 09:46 |
| → iAmerikan joined | 09:47 |
| → namemon joined | 09:48 |
| → tao_ joined | 09:48 |
| → icwiener_ joined | 09:48 |
| ← icwiener left | 09:49 |
| → tgunr_ joined | 09:50 |
| → da5id joined | 09:50 |
| ← dim_ left | 09:50 |
| → deuterium joined | 09:51 |
| → dim_ joined | 09:51 |
| ← tgunr left | 09:51 |
| → saschagehlich joined | 09:52 |
| ← saschagehlich left | 09:56 |
| → saschagehlich joined | 09:57 |
| ← mklappstuhl left | 09:57 |
| ← namemon left | 09:58 |
| ← mikl left | 10:00 |
| → rondon joined | 10:00 |
| → henrikbjorn joined | 10:01 |
| ← nevyn^_ left | 10:03 |
| → linusoleander joined | 10:03 |
| ← aidalgol left | 10:06 |
| ← cooloney left | 10:09 |
| ← ph^ left | 10:10 |
| ec|detached → elliottcable | 10:12 |
| → JacobSingh joined | 10:14 |
| ← erez left | 10:14 |
|
JacobSingh
| I need to rebase 100 or so commits on a branch into another branch. I want to make one commit giving credit to author X. Author X did about 95 of the 100 commits, however, the first one is by author Y. | 10:15 |
| → nils_r joined | 10:15 |
| → bonhoffer joined | 10:15 |
|
JacobSingh
| If I s(quash) all the commits except the first one, I can edit the commit message, but the wrong dude is going to get credit for it | 10:15 |
|
| I can't seem to squash the first one and bring in one of the later ones... | 10:15 |
|
FauxFaux
| You can adjust the author at will; I think e(dit) will let you re-do the commit with --author. | 10:16 |
|
nils_r
| Is it possible to commit, pull, push etc to submodules? | 10:16 |
|
JacobSingh
| FauxFaux: So I'm correct that it is impossible to grab one from the middle, huh? | 10:16 |
|
| I want to "s" them all, and then mark the first one as "e" | 10:17 |
|
| and then commit --ammend --author = "The Right guy" | 10:17 |
| ← AAA_awright left | 10:17 |
| yaotti → yaotti_aw | 10:17 |
|
FauxFaux
| It sounds like you want to cherry-pick --no-commit one commit, then merge --squash the remaining. | 10:17 |
|
| Or do that a few times, then rebase -i master and reorder the commits. | 10:17 |
| ← captainramen left | 10:17 |
| yaotti_aw → yaotti | 10:17 |
|
JacobSingh
| FauxFaux: ah, that's an interesting idea... | 10:18 |
|
| So I go to master, and then cherry the ones I don't want as part of the big commit message | 10:18 |
| ← dim_ left | 10:18 |
| ← IcePic left | 10:18 |
| ← Joel- left | 10:18 |
|
JacobSingh
| but then do I commit that? That part confuses me | 10:19 |
| ← workmad3 left | 10:19 |
| → dim_ joined | 10:19 |
| ← rondon left | 10:20 |
| → workmad3 joined | 10:20 |
|
FauxFaux
| Commit what? cherry-pick will commit.. | 10:20 |
| ← bonhoffer left | 10:21 |
| → mikl joined | 10:21 |
| → mklappstuhl joined | 10:21 |
| mikl → Guest37412 | 10:21 |
| ← mastroDani left | 10:21 |
| ← candybar left | 10:22 |
| → IcePic joined | 10:23 |
|
ichilton
| i'm doing this, but it doesn't seem to do anything: | 10:24 |
|
| git cherry-pick -x e13cc94fd9f015b263ee0afe80c40f5d065ab1f4 | 10:24 |
|
| am I doing something wrong? | 10:24 |
|
bremner_
| are you on the branch you are cherry-picking from? | 10:24 |
| → OOPMan joined | 10:25 |
| ← teweWork left | 10:25 |
| ← drubies left | 10:26 |
|
ichilton
| bremner_: no, the one I want to change | 10:26 |
| → muneeb joined | 10:26 |
| ← angelsl left | 10:27 |
| → gnufied joined | 10:28 |
| ← soc42 left | 10:29 |
|
ichilton
| n/m - I forgot to push up to the server and pull down so it didn't know about that commit :) | 10:30 |
|
| shame it didn't say invalid sha1! | 10:31 |
| → erez joined | 10:31 |
| yaotti → yaotti_aw | 10:34 |
|
bremner_
| strange | 10:36 |
| ← mklappstuhl left | 10:36 |
| → mklappstuhl joined | 10:38 |
| → md-2 joined | 10:38 |
| → teweWork joined | 10:39 |
| → mattly joined | 10:40 |
| ← adreghiciu left | 10:41 |
| → Psy-Q joined | 10:41 |
| ChanServ set mode: +v | 10:42 |
|
Psy-Q
| hello | 10:42 |
|
| we are seeing a very weird error that we can't resolve. when we merge or pull, we get: error: git checkout-index: unable to create symlink foo (File name too long) | 10:42 |
| ← mklappstuhl left | 10:42 |
| stliu_brb → stliu | 10:43 |
| ← Swaagie left | 10:43 |
|
Psy-Q
| i can't find anything about this error and it seems impossible to resolve it. the file name is certainly not too long, it's 90 characters including the entire path and 13 characters for the filename itself | 10:44 |
| yaotti_aw → yaotti | 10:44 |
|
albel727
| Psy-Q: someone from your dev-team uses windows, I presume? | 10:46 |
| → Error404NotFound joined | 10:46 |
|
Psy-Q
| albel727: no, we're on linux and os x | 10:46 |
|
| it doesn't seem to have anything to do with that windows symlink bug that git had on windows | 10:46 |
|
| but who knows | 10:46 |
| → adreghiciu joined | 10:46 |
|
albel727
| Psy-Q: hmm, strange. well, what can I say. your only chance is to fix that symlink manually. | 10:47 |
|
ichilton
| Anyone any ideas why i'm getting this when doing a git push? - | 10:47 |
|
| ! [rejected] master -> master (non-fast-forward) | 10:47 |
|
| error: failed to push some refs to 'git@1.2.3.4:myrepo.git' | 10:47 |
|
| To prevent you from losing history, non-fast-forward updates were rejected | 10:47 |
|
Psy-Q
| albel727: when i symlink to that file manually, it tries to overwrite on the next pull and then the same error happens | 10:47 |
|
albel727
| ichilton: !faq non-ff | 10:47 |
|
jast
| ichilton: [automatic message] Your push would lose changes on the remote: please see https://git.wiki.kernel.org/index.php/GitFaq#non-ff | 10:47 |
|
ichilton
| All I did was make some changes to a branch, commit and push - it's done that but keeps giving that error | 10:47 |
|
Psy-Q
| maybe it has something to do with someone committing deletions on the physical file and then creating a symlink with the same name? | 10:48 |
| → derek_ joined | 10:48 |
|
albel727
| Psy-Q: ofc. you have to fix the incoming commit. or rather, make a fixing commit and checkout only that. | 10:48 |
| ← derek_ left | 10:48 |
| → kemo joined | 10:48 |
| → vanmik joined | 10:48 |
|
| albel727 is not aware of how this bug happens. He only knows how to fix it. | 10:48 |
|
Psy-Q
| albel727: so i reset --hard to the stage before that commit, remove the file, commit that and then merge in the broken commit? :\ | 10:49 |
| ← ptr_uzl left | 10:49 |
|
albel727
| Psy-Q: no, it won't work. | 10:49 |
| ← hyperair left | 10:49 |
|
albel727
| it goes as follows. | 10:49 |
|
| first git fetch | 10:49 |
|
| then git reset origin/branch | 10:49 |
|
| then git rm --cached <symlink_file_name> | 10:50 |
|
| then recreate symlink | 10:50 |
| ← henrikbjorn left | 10:50 |
|
albel727
| git add it | 10:50 |
|
| git commit | 10:50 |
|
| that should fix it. | 10:50 |
| ← alip left | 10:50 |
|
Psy-Q
| oh, alright, thanks. i'll try that | 10:50 |
|
| removing the file and committing that produced the same error, but in a different text format :) | 10:51 |
|
albel727
| ? | 10:51 |
| ← harshu__ left | 10:51 |
|
Psy-Q
| after that the error was printed as "fatal: failed to symlink 'foo': File name too long" | 10:52 |
|
albel727
| after which "that"? | 10:52 |
|
Psy-Q
| before, it was "error: git checkout-index: unable to create symlink 'foo' (File name too long)" | 10:53 |
|
| the "that" that i tried first | 10:53 |
|
albel727
| which command are you executing? | 10:53 |
|
Psy-Q
| trying your advice now | 10:53 |
| ← tatsuya_ left | 10:53 |
| → angelsl joined | 10:54 |
| → alip joined | 10:55 |
| → SimonP86 joined | 10:56 |
| ← vanmik left | 10:56 |
|
Psy-Q
| i was able to remove the symlink and add a new one, as well as commit those steps. but on pull i still get "File name too long" | 10:56 |
|
albel727
| that is really strange. did you reset to upstream? | 10:57 |
| ← fivetwentysix left | 10:57 |
|
Psy-Q
| i reset --hard to the last commit that seemed safe. is that wrong? | 10:57 |
|
| i can go back some more commits | 10:58 |
|
albel727
| and the "last commit that seemed safe" was on your branch or on upstream? | 10:58 |
|
Psy-Q
| ah. i'm going back two more | 10:58 |
| → paja joined | 10:58 |
|
Psy-Q
| that was local. upstream broke it | 10:58 |
|
albel727
| it's wrong anyway. | 10:58 |
|
| don't go anywhere. | 10:58 |
|
| I have to ask, btw. do you have any diverging commits? | 10:59 |
|
| (completely forgot to ask before) | 10:59 |
|
| (and no, you're not supposed to reset to any state, besides upstream current state) | 11:00 |
|
| (or the whole point of your manipulation is lost) | 11:00 |
|
Psy-Q
| ah, okay. i think i see what the point of it is | 11:00 |
|
| i'll work on a separate clone | 11:00 |
|
albel727
| and your reset should not be --hard | 11:00 |
|
| or you'll be unable to reset to upstream state. | 11:01 |
|
Psy-Q
| no diverging commits by the way | 11:01 |
| → tatsuya joined | 11:01 |
|
Psy-Q
| i can work on a more or less happy state | 11:01 |
|
albel727
| good to know | 11:01 |
|
| albel727 suspects, that you'll be unable to do another clone at the moment. | 11:03 |
| ← teweWork left | 11:03 |
| ← kemo left | 11:03 |
| → teweWork joined | 11:04 |
|
Psy-Q
| whew. that seems to fix it | 11:06 |
|
| where do i send the beer? :) | 11:06 |
|
albel727
| as a background info, the reason for that error, is that due to some obscure bug, someone ended up committing not symlink contents (i.e which file it points to), but the pointed file content itself, while still preserving symlink flag on resulting blob. on pull, git tries to make a symlink pointing to a big unparseable gibberish, and linux objects. ) | 11:06 |
|
| glad to know ) | 11:07 |
|
Psy-Q
| oooh, okay! so it's similar to the same issue on windows then | 11:07 |
|
albel727
| but I doubt your beer will make it here, so a thanks is enough =) | 11:07 |
|
| yeah | 11:07 |
|
| the main point is a commit outside of linux. | 11:07 |
|
| (on fs not supporting symlinks natively/good enough) | 11:07 |
|
Psy-Q
| thanks, then :) i can have luxurious alcoholic beverages shipped to places though? | 11:08 |
| ← arunce left | 11:08 |
|
Psy-Q
| ah, that's OS X's fault then | 11:08 |
|
| we only have OS X and linux anyway | 11:08 |
|
albel727
| yeah, seems so. | 11:08 |
| → rendar joined | 11:08 |
|
rendar
| can i push from a bare repo to another bare repo? | 11:08 |
| → GhettoCode joined | 11:08 |
|
albel727
| why not? | 11:08 |
| ← ketas left | 11:08 |
|
rendar
| albel727, it gives me some errors, No refs in common and none specified; doing nothing. | 11:09 |
|
albel727
| rendar: you just have to specify what and where you want to push. you may also want to check out --all, or --mirror flag, | 11:10 |
|
rendar
| albel727, ok | 11:10 |
|
albel727
| you have to understand, what a ref is. the basic syntax is git push <repo> sourceref:targetref | 11:11 |
| ← aminpy left | 11:11 |
| ← mattions left | 11:12 |
|
rendar
| albel727, i've done git push <repo> master and it worked | 11:12 |
|
albel727
| you don't usually have to specify sourceref and targetref, because for bare-nonbare interaction (or rather clone-cloned repo relationship) git has some configuration in ,git/config | 11:12 |
|
| yeah, it should have | 11:12 |
|
| worked, I mean. | 11:13 |
| ← robertdavid left | 11:13 |
|
rendar
| yep | 11:13 |
| ← rgr left | 11:13 |
| ← linusoleander left | 11:13 |
| → linusoleander joined | 11:15 |
| → rgr joined | 11:16 |
| → thoolihan joined | 11:16 |
| ← rson left | 11:17 |
| ← pdelgallego left | 11:18 |
| ← pdelgallego_ left | 11:19 |
| → nimrod10` joined | 11:19 |
| → spaceonline joined | 11:19 |
| ← seivan left | 11:19 |
| ← LouisJB left | 11:19 |
|
albel727
| Psy-Q: btw, don't forget to push your commit. or others will have the same problems all over again =) and if someone fixes it separately from you, it might end up as a horrible merge conflict 0_0 | 11:21 |
| ← nimrod10 left | 11:22 |
|
Psy-Q
| albel727: i hope i was faster :) i pushed everything now, seems to work at least for the two people using OS X here | 11:22 |
|
albel727
| k, good to know ) | 11:23 |
|
| and also tell people on OS X to try and avoid editing the file via symlink. | 11:23 |
|
Psy-Q
| yeah, i told everyone not try to use symlinks at all anymore on OS X | 11:24 |
|
| albel727 would have avoided symlinks altogether, or made them separate noncommitable. | 11:24 |
|
albel727
| ok | 11:24 |
|
| s/separate noncommitable/not tracked by git/ | 11:25 |
|
selckin
| why would i get conflict when trying to just squash a whole bunch of stuff with rebase -i ? | 11:26 |
| ← erez left | 11:26 |
| → ketas joined | 11:26 |
|
albel727
| hmm, a good question, indeed. | 11:26 |
| ← mishok13 left | 11:26 |
|
| albel727 can't recall seeing anything like that. | 11:26 |
| → dermoth_ joined | 11:27 |
| → Yuuhi joined | 11:27 |
|
| albel727 tries to remember, whether git-rebase alerts about uncommitted local changes. or is it like git-checkout, which doesn't care as long as there are no conflicts. | 11:28 |
| → sou_ joined | 11:29 |
| ← dim_ left | 11:29 |
| ← gnufied left | 11:29 |
| ← Remixman left | 11:30 |
| → Remixman joined | 11:30 |
|
albel727
| are you sure, you haven't reordered anything? | 11:30 |
| ← dermoth|home left | 11:31 |
|
selckin
| workdir is clean, just doing git rebase -i 1500commits in the past, %s/pick/fixup/g type thing | 11:31 |
|
| conflicts all over | 11:31 |
| ← schnatta_ left | 11:31 |
|
albel727
| hmm. maybe try git merge --squash first? | 11:31 |
| → dim_ joined | 11:31 |
|
PerlJam
| 1500 commits in the past? You've probably merged a few times since then? | 11:32 |
|
selckin
| sure | 11:32 |
| ← jophish_ left | 11:32 |
| → erez joined | 11:32 |
|
selckin
| should it not be able to handle that? | 11:33 |
|
PerlJam
| sure, but depending on what you changed, git may have to "replay" a commit that doesn't apply cleanly. | 11:33 |
|
albel727
| hm. it should ignore that completely, afaik. interactive rebase just chooses one history. | 11:33 |
|
| one history path. | 11:33 |
| → fr0sty|mobile joined | 11:34 |
|
PerlJam
| (i.e. you changed something that makes the commit "unclean" in the new rebased universe) | 11:34 |
| ← fr0sty left | 11:34 |
|
PerlJam
| merges just seem to be the synchronization points where such issues show themselves (in my limited experience) | 11:35 |
|
albel727
| shouldn't that happen only if he uses --onto, or commit reordering? | 11:35 |
| → deuterium_ joined | 11:35 |
| → Remixman_ joined | 11:35 |
| → linusoleander_ joined | 11:35 |
| ← Remixman left | 11:36 |
| ← deuterium_ left | 11:36 |
| → hyperair joined | 11:37 |
| ← nimrod10` left | 11:37 |
| → nimrod10 joined | 11:38 |
| ← nimrod10 left | 11:38 |
| → nimrod10 joined | 11:38 |
| → ereslibre joined | 11:38 |
| ← ereslibre left | 11:38 |
| → ereslibre joined | 11:38 |
| ← flaguy48 left | 11:38 |
| → pdelgallego joined | 11:38 |
| → pdelgallego_ joined | 11:38 |
|
albel727
| strange. anyway, I would have used git merge --squash or git-commit-tree <top_tree> -p <1500th parent> | 11:39 |
| ← linusoleander left | 11:39 |
| linusoleander_ → linusoleander | 11:39 |
| → Remixman__ joined | 11:41 |
| → mishok13 joined | 11:42 |
| ← Remixman_ left | 11:42 |
| ← _Ralf_ left | 11:42 |
| → Ralf joined | 11:42 |
| ← adreghiciu left | 11:43 |
| → nevyn^_ joined | 11:43 |
| → Titosemi1 joined | 11:43 |
| ← gretch left | 11:43 |
| → adreghiciu joined | 11:44 |
| ← RaceCondition left | 11:44 |
| ← Titosemi left | 11:45 |
| → flaguy48 joined | 11:45 |
| ← Titosemi1 left | 11:45 |
| ← whyking_ left | 11:46 |
| ← adreghiciu left | 11:46 |
| → whyking_ joined | 11:46 |
| yaotti → yaotti_aw | 11:47 |
| → level09 joined | 11:51 |
|
level09
| I want to go back a few commits, is there a way to do so without reset --hard ? | 11:52 |
|
| git checkout puts me in a detached head state | 11:52 |
| → bgy joined | 11:53 |
|
cehteh
| git checkout -b newbranch | 11:53 |
|
| use newbranch as temporary work branch | 11:53 |
|
| later merge or dispose it | 11:53 |
|
level09
| but will it allow me to merge it ? | 11:53 |
|
cehteh
| why not? | 11:54 |
|
level09
| since it is not fast forward | 11:54 |
|
| or something | 11:54 |
|
| no? | 11:54 |
|
| I'll try that and see | 11:54 |
|
| thanks :) | 11:54 |
|
cehteh
| you may also rebase it later to get a more linear history .. but rtfm to understand exactly what you are doing | 11:54 |
| → dyer joined | 11:55 |
| ← dyer left | 11:55 |
| → dyer joined | 11:55 |
|
cehteh
| merging doesnt require fast forwards, thats the purpose of merging | 11:55 |
| ← Yuuhi left | 11:55 |
| ← verto left | 11:55 |
| → verto joined | 11:55 |
| ← hyperair left | 11:55 |
| ← xiangfu left | 11:55 |
| ← dyer left | 11:56 |
| → owst joined | 11:57 |
| → robertdavid joined | 11:59 |
| → Yuuhi joined | 12:00 |
| → Remixman joined | 12:00 |
| ← Remixman__ left | 12:00 |
| ← nevyn^_ left | 12:01 |
| → babilen joined | 12:02 |
| ← glcrazy left | 12:03 |
| ← colazero left | 12:03 |
| ← juangiordana left | 12:05 |
| → hyperair joined | 12:05 |
| ← Remixman left | 12:06 |
| → Remixman_ joined | 12:06 |
| → joel_falcou joined | 12:06 |
| ← angelsl left | 12:07 |
| → SimonP86_ joined | 12:07 |
| ← jhoepken left | 12:07 |
| → SimonP86__ joined | 12:08 |
| ← verto left | 12:09 |
| → verto_ joined | 12:09 |
| ← dim_ left | 12:09 |
| → saschagehlich_ joined | 12:09 |
| ← saschagehlich_ left | 12:10 |
| → saschagehlich_ joined | 12:10 |
| ← saschagehlich left | 12:10 |
| → dim_ joined | 12:11 |
| ← SimonP86 left | 12:11 |
| → bitkiller joined | 12:12 |
| ← SimonP86_ left | 12:12 |
| ← gigamonkey left | 12:12 |
| → tvw joined | 12:13 |
| → angelsl joined | 12:13 |
| ← JacobSingh left | 12:13 |
| → [intra]lanman joined | 12:14 |
| ← [intra]lanman left | 12:14 |
| → [intra]lanman joined | 12:14 |
| ← gebi left | 12:14 |
| ← Robin_Watts left | 12:14 |
| → JacobSingh joined | 12:15 |
| → brockm joined | 12:15 |
| ← angelsl left | 12:17 |
| ← gedevan left | 12:17 |
| → angelsl joined | 12:17 |
| → sigh_ joined | 12:17 |
| → jfkw joined | 12:17 |
| ← sigh left | 12:18 |
| ← angelsl left | 12:19 |
| → angelsl joined | 12:19 |
| ← etnt left | 12:19 |
| ← level09 left | 12:19 |
| → paolodedios joined | 12:19 |
| ← troessner left | 12:22 |
| → troessner joined | 12:23 |
| → glcrazy joined | 12:23 |
| yaotti_aw → yaotti | 12:23 |
| ← angelsl left | 12:23 |
| → angelsl joined | 12:23 |
| ← sou_ left | 12:24 |
| ← sandstrom left | 12:25 |
| ← angelsl left | 12:27 |
| → afeijo joined | 12:27 |
| → angelsl joined | 12:27 |
|
afeijo
| hi guys | 12:27 |
|
| I removed a file, I want to get it from the repository, I ran 'git pull' but it didnt work. What would be the right way? | 12:28 |
| ← dim_ left | 12:28 |
|
brockm
| git checkout --filename | 12:28 |
|
frag4
| git checkut | 12:28 |
| ← SimonP86__ left | 12:28 |
| → dim_ joined | 12:28 |
| → sandstrom joined | 12:28 |
| ← sandstrom left | 12:28 |
| → sandstrom joined | 12:28 |
|
afeijo
| hmmm it show "D FILENAME" but the file isnt here | 12:29 |
|
FauxFaux
| git checkout -- filename | 12:29 |
| ← opalka left | 12:29 |
|
brockm
| Did you use the real file's name or "filename" ? :P | 12:29 |
|
FauxFaux
| He probably did what frag4 said. | 12:29 |
|
afeijo
| now I got it! with git checkout -f | 12:30 |
|
| thanks | 12:30 |
|
| FauxFaux, lol I'm not that noob | 12:30 |
|
brockm
| oh...kay | 12:30 |
| → gusnan joined | 12:30 |
| ← Schmallon left | 12:30 |
| → jsick3 joined | 12:31 |
| → gretch joined | 12:34 |
| ← Modius left | 12:34 |
| ← KKA left | 12:34 |
| → Modius joined | 12:35 |
| ← Lgb left | 12:35 |
| ← flamingspinach left | 12:35 |
| ← darkskiez left | 12:35 |
| ← eregon left | 12:35 |
| ← bartman` left | 12:35 |
| ← ngng left | 12:35 |
| ← IcePic left | 12:35 |
| → KKA joined | 12:35 |
| → eregon joined | 12:35 |
| ← dwmw2 left | 12:36 |
| ← kinesis left | 12:36 |
| → flamingspinach joined | 12:36 |
| → darkskiez joined | 12:36 |
| ← kanru left | 12:36 |
| → n8o-mba joined | 12:36 |
| → kanru joined | 12:36 |
| → ketas- joined | 12:36 |
| ← saschagehlich_ left | 12:36 |
| → dwmw2 joined | 12:37 |
| ← Modius left | 12:37 |
| → Modius_ joined | 12:37 |
| ← jspiros left | 12:38 |
| → jspiros joined | 12:38 |
| ← paolodedios left | 12:38 |
| → bartman` joined | 12:38 |
| ← [intra]lanman left | 12:39 |
| ← ketas left | 12:39 |
| ← Error404NotFound left | 12:39 |
| → Remixman__ joined | 12:39 |
| → Lgb joined | 12:39 |
| → ngng joined | 12:39 |
| → kinesis joined | 12:39 |
| ← Remixman_ left | 12:39 |
| ← necrodearia left | 12:40 |
| ketas- → ketas | 12:41 |
| ← n8o-mba left | 12:41 |
| → fivetwentysix joined | 12:41 |
| → ecuderpam joined | 12:41 |
|
ecuderpam
| What gives? | 12:42 |
|
| Hi. I did a git svn fetch from a project with a few commits. git svn log shows me 7 revisions, but git log only shows me 1 commit, made by root. None of the svn commits were made by root. | 12:42 |
| → [intra]lanman joined | 12:42 |
|
ecuderpam
| Also, I have a directory in my working copy that is not versioned, there's no .gitignore but git status doesn't mention it. | 12:43 |
| ← Remixman__ left | 12:43 |
| ← cesario left | 12:44 |
| → cesario joined | 12:44 |
| → necrodearia joined | 12:45 |
| ← foocraft left | 12:45 |
| ← dcarter left | 12:45 |
| ← SRabbelier|Lappy left | 12:46 |
|
cbreak_work
| ecuderpam: git does not care about directories, just files | 12:46 |
| → amirite joined | 12:46 |
|
ecuderpam
| Hmm, I just did a git reset svn/trunk and the first part looks ok now. I thought git svn fetch updated me. | 12:46 |
| → kurko_ joined | 12:46 |
|
ecuderpam
| cbreak_work: Ah, yes, it's empty, I forgot. | 12:46 |
|
FauxFaux
| git svn rebase is what you're thinking of. | 12:46 |
| → avdg1 joined | 12:46 |
|
amirite
| how do i delete a file from git and from the entire history | 12:46 |
|
cbreak_work
| git svn fetch only fetches, you should use rebase | 12:46 |
|
FauxFaux
| amirite: man git-filter-branch | 12:46 |
|
jast
| amirite: [automatic message] the 'git-filter-branch' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-filter-branch.html | 12:46 |
|
cbreak_work
| amirite: man git-filter-branch | 12:46 |
|
jast
| amirite: [automatic message] the 'git-filter-branch' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-filter-branch.html | 12:46 |
|
FauxFaux
| Winning. | 12:46 |
|
ecuderpam
| git svn fetch && git svn rebase, or just git svn rebase? | 12:46 |
| ← avdg1 left | 12:46 |
| → etnt joined | 12:46 |
|
cbreak_work
| I was first here. Ha. | 12:47 |
| → avdg joined | 12:47 |
|
cbreak_work
| rebase fetches implicitly | 12:47 |
|
FauxFaux
| Can someone make jast honour "man git filter-branch"? Using the old names pains me. | 12:47 |
|
jast
| [automatic message] the 'git' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git.html | 12:47 |
|
FauxFaux
| YES THAT EXACTLY THAT | 12:47 |
|
ecuderpam
| cbreak_work: Excellent, thank you. | 12:47 |
|
bremner_
| FauxFaux: I dunno how to make jast do things. | 12:48 |
|
kurko_
| I have commited my code (let's call commit 1). Then I pulled from origin/master (let's call commit 2). There was a conflict. After having fixed it, what do you write for your new commit message (commit 3)? Do you describe the conflict, like 'fixed conflicts in the x file'? Or just 'merged from origin/master'? | 12:48 |
|
FauxFaux
| I assume jast is owned by someone, or is an irc client script. | 12:48 |
| ← clever left | 12:49 |
| → jonatasnona joined | 12:49 |
|
bremner_
| jast is owned by jast | 12:49 |
| ← fivetwentysix left | 12:49 |
|
amirite
| what if i want to git-filter-branch on all files that used to exist in a given directory | 12:49 |
|
bremner_
| amirite: that's one of the examples in the man page, I believe | 12:50 |
| ← f00li5h left | 12:50 |
|
brockm
| I REALLY hope jast isn't an irc client script... | 12:50 |
|
FauxFaux
| amirite: The man page explains that. | 12:50 |
|
| brockm: Why? | 12:50 |
|
amirite
| thanks | 12:50 |
| ← EricInBNE left | 12:50 |
| ← ptl left | 12:51 |
|
selckin
| there isn't much diffrence betwean a bot and client script | 12:51 |
|
brockm
| I suppose if it's used correctly, no. | 12:52 |
|
| Most of the time client script means "I host this at home and it disconnects frequently/is not backed up and has more limitations than it should" | 12:52 |
|
FauxFaux
| brockm: Most of us run irc clients in screen in machines in datacentres. :) | 12:53 |
|
selckin
| more people then you know run text-clients on some server | 12:53 |
|
brockm
| No, I realize that a lot of people do that | 12:53 |
|
| ssh in and screen. | 12:53 |
| → JP-Dery joined | 12:54 |
| rob_w → rob_w_away | 12:54 |
| → JamesA joined | 12:55 |
| → RichiH_ joined | 12:55 |
| → ptl joined | 12:55 |
| → fivetwentysix joined | 12:56 |
| ← RichiH left | 12:56 |
| → joschi_ joined | 12:56 |
| → masterhumper joined | 12:56 |
| → cxreg2 joined | 12:56 |
| → siyb_ joined | 12:56 |
| → vals_ joined | 12:56 |
| → homa_ran1 joined | 12:56 |
| → _bitbuck1t joined | 12:56 |
| → PerlPilot joined | 12:56 |
| → hyperbor1ean joined | 12:56 |
| → dotCOMmie joined | 12:56 |
| → Anubisss joined | 12:56 |
| → huehnts joined | 12:56 |
| → tonyj_ joined | 12:57 |
| → hjertnes_ joined | 12:57 |
| → batrick_ joined | 12:57 |
| → barnex1 joined | 12:57 |
| → Edulix_ joined | 12:57 |
| → frogonwheels_ joined | 12:57 |
| → sraue_ joined | 12:58 |
| → wagle_ joined | 12:58 |
| → SNEI joined | 12:58 |
| ← errordeveloper left | 12:58 |
| → preflex_ joined | 12:58 |
| → n1ck31 joined | 12:58 |
| → thiago_ joined | 12:58 |
| → milki_ joined | 12:58 |
| → kingfishr_ joined | 12:58 |
| → walf444 joined | 12:59 |
| → SRabbelier|Lappy joined | 12:59 |
| ← kingfishr left | 12:59 |
| ← preflex left | 12:59 |
| ← tonyj left | 12:59 |
| ← n1ck3 left | 12:59 |
| ← frogonwheels left | 12:59 |
| ← _bitbucket left | 12:59 |
| ← rchavik left | 12:59 |
| ← wagle left | 12:59 |
| ← tango_ left | 12:59 |
| ← sraue left | 12:59 |
| ← PerlJam left | 12:59 |
| ← hegge left | 12:59 |
| ← milki left | 12:59 |
| ← SJS left | 12:59 |
| ← walf443 left | 12:59 |
| ← thiago left | 12:59 |
| ← malfy left | 12:59 |
| ← barnex left | 12:59 |
| ← hyperboreean left | 12:59 |
| ← joschi left | 12:59 |
| ← CvJWoNSPa left | 12:59 |
| ← SunilThaha left | 12:59 |
| ← cxreg left | 12:59 |
| ← chitragupt left | 12:59 |
| ← batrick left | 12:59 |
| ← hjertnes left | 12:59 |
| ← sejo left | 12:59 |
| ← siyb left | 12:59 |
| ← Edulix left | 12:59 |
| barnex1 → barnex | 12:59 |
| → xiangfu joined | 12:59 |
| → rchavik_ joined | 12:59 |
| → jeffhung joined | 12:59 |
| → malfy_ joined | 12:59 |
| joschi_ → joschi | 12:59 |
| → jonmasters_ joined | 12:59 |
| → sunil joined | 13:00 |
| → chitragupt joined | 13:00 |
| → drubies joined | 13:00 |
| → dv310p3r joined | 13:00 |
| ← verto_ left | 13:00 |
| → jophish joined | 13:01 |
| ← sraue_ left | 13:01 |
| → f0i joined | 13:02 |
| → sraue joined | 13:02 |
| → foocraft joined | 13:02 |
| ← Davey left | 13:03 |
| ← snearch left | 13:04 |
| → bartek joined | 13:04 |
| ← xiangfu left | 13:04 |
| → hegge joined | 13:06 |
| → Ratler joined | 13:06 |
| → sebersole joined | 13:07 |
| ← adaptee left | 13:07 |
| ← gregglind left | 13:08 |
| ← dim_ left | 13:08 |
| → dim_ joined | 13:09 |
|
shamess
| git-diff doesn't seem to have coloured output, unless I use --color. Can I set "always" as default somewhere? | 13:10 |
|
FauxFaux
| Yes, man git-config. | 13:11 |
|
jast
| Yes: [automatic message] the 'git-config' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-config.html | 13:11 |
| → rayners joined | 13:11 |
| ← GhettoCode left | 13:11 |
|
shamess
| ah, epic. thanks again, FauxFaux. | 13:11 |
| → errordeveloper joined | 13:11 |
| ← codetroll left | 13:14 |
| → verto_ joined | 13:15 |
| → deekayen joined | 13:15 |
| → schnatta joined | 13:16 |
| ← nils_r left | 13:16 |
| Alien_Freak → csgeek | 13:17 |
| → xiangfu joined | 13:17 |
| ← ianmcorvidae left | 13:18 |
| → dajhorn joined | 13:19 |
| ← Ramblurr left | 13:20 |
| → juangiordana joined | 13:21 |
| RichiH_ → RichiH | 13:21 |
| ivey_off → ivey | 13:21 |
| → Ramblurr joined | 13:22 |
| ← engla left | 13:22 |
| → IcePic joined | 13:23 |
| → dyer joined | 13:24 |
| ← dyer left | 13:24 |
| → dyer joined | 13:24 |
| → q0rban_ joined | 13:25 |
| → nicoulaj joined | 13:26 |
| ← q0rban_ left | 13:27 |
| → q0rban joined | 13:27 |
| → chrisdev joined | 13:27 |
| ← foocraft left | 13:28 |
| ← SethRobertson left | 13:28 |
| → opalka joined | 13:28 |
| ← dyer left | 13:29 |
| → foocraft joined | 13:29 |
| → SethRobertson joined | 13:29 |
| → ianmcorvidae joined | 13:29 |
| → v0n joined | 13:29 |
| ← jfkw left | 13:30 |
| ← dim_ left | 13:30 |
| → dim_ joined | 13:31 |
| → Emtec joined | 13:34 |
| → Ryback_ joined | 13:36 |
| ← Ryback_ left | 13:36 |
| → Ryback_ joined | 13:36 |
| → winterweaver joined | 13:36 |
| ← petrux left | 13:37 |
|
winterweaver
| Im in the process of creating an app that will be hosted on github. One of the components of this app, is someone else's git project, also on github. Is it possible to have a github repo within another repo? or does anyone have any recommendations on how to proceed? | 13:38 |
|
bremner_
| winterweaver: you want submodules or gitslave | 13:39 |
|
winterweaver
| bremner_ thanks, I'll google that :) | 13:39 |
| → whyking__ joined | 13:39 |
| ← whyking__ left | 13:40 |
| ← jmcantrell left | 13:40 |
| ← whyking_ left | 13:40 |
| ← alip left | 13:40 |
| → Fullmoon joined | 13:41 |
| ← Fullmoon left | 13:41 |
| → jmcantrell joined | 13:41 |
| ← jmcantrell left | 13:41 |
| ← rgr left | 13:42 |
| → candybar joined | 13:43 |
| → boriskr joined | 13:43 |
| ← erez left | 13:43 |
| → rgr joined | 13:43 |
| → jmcantrell joined | 13:44 |
| → nixness joined | 13:44 |
| ← foocraft left | 13:44 |
| → alip joined | 13:45 |
| ← xiangfu left | 13:45 |
| ← rchavik_ left | 13:45 |
| → dyer joined | 13:45 |
| ← dyer left | 13:45 |
| → dyer joined | 13:45 |
| ← jmcantrell left | 13:45 |
| ← tao_ left | 13:46 |
| ChanServ set mode: +v | 13:46 |
| → PabloM joined | 13:47 |
| → sanguisleft joined | 13:47 |
| → kenneth_reitz joined | 13:47 |
|
sanguisleft
| is there a way to have ignored files not show up in git-status messages | 13:48 |
|
| ? | 13:48 |
|
FauxFaux
| They won't, once the .gitignore is added. | 13:48 |
|
Emtec
| Hey. I have a problem. I search command to show all files with selected branch (with last_edit file, and last_commit_hash for files). I try used git ls-tree etc. but this command haven't option which i need. Git-core have command with option wich one i give ? (sorry for english). | 13:48 |
| → rchavik_ joined | 13:48 |
| ← sgh left | 13:48 |
| → nevyn^_ joined | 13:49 |
| → jmcantrell joined | 13:49 |
| ← kenneth_reitz left | 13:49 |
|
FauxFaux
| What's missing from ls-tree --recursive, Emtec? | 13:49 |
|
| (I don't know what you mean by "last_edit file".) | 13:50 |
|
Emtec
| ls-tree show me <mode> blob hash file_name | 13:50 |
|
| hmm sec, i'll show you | 13:50 |
| ← achadwick left | 13:50 |
|
Emtec
| https://github.com/andrewsmedina/django | 13:51 |
|
| name age | 13:51 |
|
| message | 13:51 |
| ← dharrigan left | 13:51 |
|
Emtec
| name file, age = last_edit, message = commit | 13:51 |
|
| ls-tree not show last_edit file | 13:51 |
| → sgh joined | 13:52 |
| ← sgh left | 13:52 |
|
Emtec
| Git have command for this option, or I must make this same ? | 13:52 |
| → saschagehlich joined | 13:52 |
| ← nevyn^_ left | 13:52 |
|
sanguisleft
| FauxFaux: my git config look like https://gist.github.com/903720 but still I have 100's of strings like "sites/default/files/imagefield_thumbs/specialoffer_image.jpg" in my status messages. what is wrong with my line 11? | 13:52 |
| → cizra2 joined | 13:53 |
| → tgunr joined | 13:53 |
|
FauxFaux
| sanguisleft: excludesfile specifies the path to a file containing excludes, not the excludes themselves. | 13:53 |
|
| Emtec: Working out the age of a file is hard work, unfortunately; git doesn't store it directly; github probably cache it heavily. | 13:53 |
|
cizra2
| Hi. How do I see the names of the commits that make FETCH_HEAD different from master? | 13:53 |
|
sanguisleft
| merph | 13:53 |
| ← dim_ left | 13:53 |
|
sanguisleft
| ok | 13:53 |
|
FauxFaux
| git log FETCH_HEAD..master or the other way around. | 13:54 |
| ← ereslibre left | 13:54 |
| → ereslibre_laptop joined | 13:54 |
| ← ereslibre_laptop left | 13:54 |
| → ereslibre_laptop joined | 13:54 |
|
cizra2
| FauxFaux: thanks! | 13:54 |
|
Emtec
| Yhym, thank FauxFaux for help ;) | 13:54 |
| → dharrigan joined | 13:54 |
| ← dharrigan left | 13:54 |
| → dharrigan joined | 13:54 |
|
Emtec
| So, i must make this ;):) | 13:54 |
| ← atannus left | 13:54 |
| → dim_ joined | 13:55 |
|
FauxFaux
| It's basically the output of $(log -1 --format="something" file), fwiw. | 13:55 |
| → mdel joined | 13:56 |
| ← jonatasnona left | 13:56 |
|
Emtec
| Hm, and ls-tree show me hash. This hash is last_commit_hash on file ? | 13:56 |
| ← tatsuya left | 13:56 |
| → jonatasnona joined | 13:57 |
| ← cizra2 left | 13:57 |
| → ericbarnes joined | 13:57 |
| → grahamc joined | 13:58 |
| ← opalka left | 14:01 |
| → replore joined | 14:01 |
| ← psoo left | 14:01 |
| → psoo joined | 14:02 |
| elliottcable → ec|detached | 14:02 |
| → opalka joined | 14:03 |
| → RaceCondition joined | 14:04 |
| → logik-bomb joined | 14:04 |
| ← logik-bomb left | 14:04 |
| → logik-bomb joined | 14:04 |
| ec|detached → elliottcable | 14:05 |
| → jfkw joined | 14:07 |
| ← kermit left | 14:07 |
| ← owst left | 14:08 |
| → owst joined | 14:08 |
| → Jippi joined | 14:09 |
| ← troessner left | 14:09 |
| → jbrokc joined | 14:10 |
| → troessner joined | 14:10 |
| ← opalka left | 14:10 |
| ← jmcantrell left | 14:10 |
|
FauxFaux
| Emtec: Yes. | 14:10 |
| → jmcantrell joined | 14:10 |
| → cannonball joined | 14:10 |
| ← mojavy left | 14:10 |
| ← thiago_ left | 14:10 |
| → thiago_ joined | 14:10 |
| thiago_ → thiago | 14:10 |
| ← aef left | 14:12 |
| ← kurko_ left | 14:12 |
| → aef joined | 14:12 |
| → kurko_ joined | 14:13 |
| ← halfline left | 14:14 |
| → Niedar joined | 14:14 |
| → airborn joined | 14:15 |
| ← jbrokc left | 14:15 |
| → nevyn^_ joined | 14:16 |
| ← kurko_ left | 14:16 |
| → tearsong joined | 14:16 |
| ← owst left | 14:17 |
| ← sigh_ left | 14:17 |
| → owst joined | 14:17 |
| → LekeFly joined | 14:18 |
| ← airborn left | 14:18 |
| ← dharrigan left | 14:18 |
| ← candybar left | 14:19 |
| ← SRabbelier|Lappy left | 14:21 |
| ← linusoleander left | 14:22 |
| → jedahan joined | 14:22 |
| → panike joined | 14:22 |
| ← owst left | 14:23 |
| → owst joined | 14:24 |
| → nowhere_man joined | 14:24 |
| ← Jippi left | 14:24 |
|
dr0id
| hey I am back withg it issues , dang :P | 14:24 |
|
| did a git push lhost testing | 14:24 |
|
| now it pushed, but I can only see .git folder on my server | 14:24 |
|
| I need to see the files and mess with them, but I don't, please guide me | 14:25 |
|
| dr0id has faced such issues in the past, and knows it's not an issue :P | 14:25 |
| → erez joined | 14:25 |
| → spearce joined | 14:25 |
| ← rendar left | 14:26 |
|
nowhere_man
| dr0id: I suppose it's as in mercurial, you have to update the working copy | 14:26 |
|
| pushing only just updates the object store | 14:26 |
|
dr0id
| I am new to VCS really. it has been tough for me :( | 14:26 |
|
jedahan
| git submodule split does not exist? i see references to it and its exactly what I need. | 14:26 |
| ← owst left | 14:26 |
|
dr0id
| there was nothing on production, just did a push from development | 14:26 |
|
| I don't see the files, but just .git | 14:26 |
|
| any tutorial that can explain me what happened ? or someone who could guide me rly :( | 14:27 |
|
nowhere_man
| dr0id: it's normal | 14:27 |
|
| when you push, git updates the object store, the repository of versions | 14:27 |
|
| that way, you can push to a friend's repo without messing his working copy | 14:27 |
|
dr0id
| I see. | 14:28 |
|
| so, umm, I have no working copy right now on the production. how do I make a working copy out of the pushed objects ? | 14:28 |
|
bremner_
| !faq non-bare | 14:29 |
|
jast
| [automatic message] Pushing to non-bare repositories is discouraged: please see https://git.wiki.kernel.org/index.php/GitFaq#non-bare | 14:29 |
|
dr0id
| core.bare=false | 14:29 |
| → Jippi joined | 14:29 |
|
bremner_
| of course you can use git checkout on the server | 14:29 |
|
dr0id
| so it's a non-bare repo ? | 14:29 |
| → bkosborne joined | 14:29 |
|
dr0id
| git checkout is for checking out branches I guess | 14:29 |
|
bremner_
| if it has a .git, then yes | 14:29 |
|
dr0id
| I have only 1 branch called testing | 14:30 |
|
| so why would I checkout branches ? :P I need the files to work on heh | 14:30 |
|
| sorry, but I am a newb. | 14:30 |
| → owst joined | 14:31 |
|
bremner_
| well. What might be a combination of "use git checkout" and "I have one branch, named testing"? | 14:31 |
|
| but the underlying problem is in the faq question linked to above | 14:31 |
|
dr0id
| ok, I will read that. thank you | 14:31 |
| → eric-atl joined | 14:34 |
| ← PabloM left | 14:35 |
| ← Jippi left | 14:35 |
| → Myth17 joined | 14:36 |
| → Kriss-|- joined | 14:36 |
|
Kriss-|-
| how do you add newline to the git commit -m ? | 14:36 |
|
sanguisleft
| why would the line "files/imagecache/*" in a .gitignore file still allow files like "sites/default/files/imagecache/product/jack-in-the-box.jpg" to show in the untracked files list | 14:37 |
|
FauxFaux
| Kriss-|-: Commit without -m? :) | 14:37 |
| → saschagehlich_ joined | 14:37 |
| → ThunderChicken joined | 14:37 |
| ← saschagehlich left | 14:37 |
| → _psychic_ joined | 14:37 |
|
FauxFaux
| Try removing the star? Shrug. | 14:37 |
|
Kriss-|-
| FauxFaux how ? | 14:38 |
|
cmn
| just delete it from that line in the file | 14:38 |
|
Kriss-|-
| your speaking to me ? | 14:39 |
| → nitish joined | 14:39 |
| ← nitish left | 14:39 |
| → nitish joined | 14:39 |
|
dr0id
| committing without -m should open your favourite text editor , for example, vim | 14:39 |
|
| and then you can have fun I guess | 14:39 |
|
Kriss-|-
| how do i save it, so it comes with the push ? | 14:40 |
|
| do i have to add the file with somehow when pushing ? | 14:40 |
| → jbrokc joined | 14:40 |
| ← gusnan left | 14:41 |
| ← Wooga left | 14:41 |
| → LetoThe2nd joined | 14:41 |
|
dr0id
| $ git checkout | 14:41 |
|
| fatal: You are on a branch yet to be born | 14:41 |
|
| heh | 14:42 |
|
| bremner_: bugger, I got ya now :P did git checkout testing :P | 14:42 |
|
| and can see the files, heh | 14:43 |
| ← Myth17 left | 14:43 |
|
bremner_
| you'll have to do that every time, unless you work out something fancier, or pull on the server | 14:43 |
| ← owst left | 14:43 |
| → Wooga joined | 14:43 |
| → owst joined | 14:44 |
|
dr0id
| ok sir :) | 14:44 |
| ← mastro left | 14:45 |
|
LetoThe2nd
| i have a local working copy pulled from a svn server with git svn clone. after some changes, i cant svn dcommit, because the path on the server is not found probably this is because it contains whitespaces. but, it worked for a long time, this phenomenon came to light only today. have there been some changes in this area? might reverting to an older git version fix it? | 14:45 |
| → mkramer joined | 14:45 |
| → airborn joined | 14:46 |
| → eletuchy joined | 14:47 |
| ← logik-bomb left | 14:47 |
| ← mkramer left | 14:47 |
| ← eletuchy_ left | 14:49 |
| → theoretical joined | 14:50 |
| → Remixman joined | 14:50 |
| → Jippi joined | 14:50 |
| ← joel_falcou left | 14:51 |
| → n8o-mba joined | 14:51 |
| → beatak joined | 14:52 |
| ← LekeFly left | 14:52 |
| → gnufied joined | 14:53 |
| ← ebi left | 14:54 |
|
LetoThe2nd
| any ideas? or do i have to manually pull the changes into a fresh clone? | 14:54 |
| → DSpair joined | 14:54 |
|
DSpair
| Hello all. | 14:54 |
| → wilmoore joined | 14:55 |
| → nitish_mythology joined | 14:55 |
| ← Tac left | 14:55 |
| ← Modius_ left | 14:55 |
|
DSpair
| Question on tags in git. I notice that once you tag and then make new commits, "git describe" shows the original tag with an appended ID. What I would like to know is if it is possible to manipulate how those extended IDs are formatted? | 14:55 |
| → henrikbjorn joined | 14:56 |
| → Modius joined | 14:56 |
| ← Jippi left | 14:56 |
| → alex__c2022 joined | 14:56 |
| ← etnt left | 14:57 |
| → mastro joined | 14:57 |
| → resixian joined | 14:57 |
| → fivetwentysix_ joined | 14:58 |
| ← giallu left | 14:58 |
| ← LetoThe2nd left | 14:58 |
| ← fivetwentysix left | 14:58 |
| fivetwentysix_ → fivetwentysix | 14:58 |
| ← henrikbjorn left | 14:59 |
| ← nitish left | 14:59 |
| → henrikbjorn joined | 14:59 |
| ← angelsl left | 15:00 |
| adamholt → adamholt_away | 15:00 |
| adamholt_away → adamholt | 15:00 |
| ← fivetwentysix left | 15:01 |
| → morganick joined | 15:01 |
| ← eletuchy left | 15:02 |
| ← gretch left | 15:02 |
| nitish_mythology → Myth17 | 15:02 |
| → eletuchy joined | 15:03 |
|
fr0sty-away
| DSpair: have you consulted man git-describe? | 15:03 |
|
jast
| DSpair: [automatic message] the 'git-describe' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-describe.html | 15:03 |
| → smolyn joined | 15:03 |
| ← dr0id left | 15:04 |
| → alester joined | 15:05 |
| → babusri joined | 15:05 |
| → kukks joined | 15:06 |
|
jedahan
| git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch some_huge_file.tar.gz"; rm -rf .git/refs/original .git/logs; git gc --aggressive; git prune; still leaves me with a huge directory and those files still exist in the pack. Suggestions? | 15:07 |
| ← ereslibre_laptop left | 15:10 |
| → ereslibre_laptop joined | 15:10 |
| ← ereslibre_laptop left | 15:10 |
| → ereslibre_laptop joined | 15:10 |
| → alberto56 joined | 15:10 |
| ← sandstrom left | 15:11 |
| ← ki_ left | 15:12 |
| ← alester left | 15:13 |
| → tjholowaychuk joined | 15:13 |
| → ph^ joined | 15:13 |
| → jeremia joined | 15:13 |
| → ZeroCoder joined | 15:13 |
| ← jeremia left | 15:14 |
| ← da5id left | 15:14 |
| ← hyperair left | 15:14 |
| → alester joined | 15:15 |
|
resixian
| on a branch i added a submodule. but now if i try to co master is says i must remove some files (from within the modules's directory) then when i do checkout master i get an error about not being able to rm <moduel directory> (because its not empty) | 15:15 |
| ← cbreak_work left | 15:16 |
| → bryanl joined | 15:16 |
| ← alberto56 left | 15:16 |
| → sandstrom joined | 15:18 |
| ← sandstrom left | 15:18 |
| → sandstrom joined | 15:18 |
| → rlb3 joined | 15:18 |
| ← mastro left | 15:19 |
|
DSpair
| fr0sty-away: I looked at the man page and I see that I can disregard the commit count, but I would like to replace the commit ID portion or just get the commit count. | 15:19 |
| → PabloM joined | 15:19 |
| ← khaije|m` left | 15:22 |
|
fr0sty-away
| what use is the commit count without the hash? | 15:22 |
| → khaije|m` joined | 15:22 |
| → Tac joined | 15:22 |
| ← stliu left | 15:22 |
|
fr0sty-away
| if you really want that, just chop the end off yourself with sed (or similar) | 15:22 |
|
DSpair
| I want to extract the tag (version) and the commit count for automatically updating my package builder. | 15:22 |
|
fr0sty-away
| you know that tag+commit_count is ambiguous, right? | 15:23 |
|
DSpair
| For example, I want to have my build system generate a new debian/RPM package and use the tag + commit count as the new package version. | 15:23 |
| ← dim_ left | 15:23 |
| → petrux joined | 15:23 |
| → mkramer joined | 15:23 |
| ← nevyn^_ left | 15:24 |
| → dim_ joined | 15:24 |
| → ki_ joined | 15:24 |
| ← babusri left | 15:24 |
| masterhumper → sejo | 15:25 |
|
DSpair
| fr0sty-away: Yeah, I guess a quick awk of the output is good enough. | 15:26 |
| ← rchavik_ left | 15:26 |
| → nitish joined | 15:26 |
| ← nitish left | 15:26 |
| → nitish joined | 15:26 |
| → Prism joined | 15:27 |
| ← teweWork left | 15:27 |
| → alvaro_o joined | 15:27 |
| ← alvaro_o left | 15:27 |
| ← mkramer left | 15:30 |
| → joel_falcou joined | 15:30 |
| ← Myth17 left | 15:30 |
| ← khaije|m` left | 15:31 |
| ← wilmoore left | 15:31 |
| → khaije|m` joined | 15:31 |
| → necromancer joined | 15:31 |
| → mastro joined | 15:32 |
| ← sandstrom left | 15:32 |
| ← jatt left | 15:33 |
| ← bkosborne left | 15:33 |
| ← lanthan left | 15:35 |
| ← Juo left | 15:35 |
| → CoinOpeBoy joined | 15:36 |
| → gedevan joined | 15:36 |
| → devth joined | 15:37 |
| → nevyn^_ joined | 15:38 |
| → Juo joined | 15:40 |
| → dreiss joined | 15:40 |
| ← henrikbjorn left | 15:40 |
| ← ericbarnes left | 15:41 |
| → pyrony joined | 15:41 |
| ← khaije|m` left | 15:41 |
| → khaije|m` joined | 15:42 |
| → dharrigan joined | 15:43 |
| ← dharrigan left | 15:43 |
| → dharrigan joined | 15:43 |
| → mikewintermute joined | 15:44 |
| → aroop joined | 15:44 |
| ← skoop left | 15:44 |
| ← paja left | 15:44 |
| ← freimatz left | 15:46 |
| ← pyrony left | 15:46 |
| ← nitish left | 15:47 |
| → ymasory joined | 15:47 |
| → justin-george joined | 15:47 |
| → tychoish_ joined | 15:47 |
| ← tychoish_ left | 15:47 |
| ← md-2 left | 15:47 |
| → LiamH joined | 15:48 |
| → d0k joined | 15:48 |
| ← verto_ left | 15:48 |
|
jast
| small test here | 15:48 |
| ← Guest37412 left | 15:48 |
|
jast
| just ignore | 15:48 |
| → steveoliver joined | 15:48 |
|
thiago
| hey jast | 15:48 |
| ← amerine left | 15:48 |
|
jast
| man git filter-branch | 15:49 |
|
| hmm. | 15:49 |
| → Error404NotFound joined | 15:49 |
|
thiago
| dash? | 15:49 |
| ← Error404NotFound left | 15:49 |
| → Error404NotFound joined | 15:49 |
| → nitish joined | 15:49 |
| ← tgunr left | 15:49 |
| → tgunr joined | 15:49 |
| ← nevyn^_ left | 15:50 |
|
jast
| trying to allow version without dash because people keep moaning at me :) | 15:50 |
| ← NickASloan left | 15:50 |
|
thiago
| but they can't type that in the command-line | 15:50 |
|
bremner_
| they can on debian | 15:50 |
|
thiago
| well, they can, but they get the main git manpage, then an error | 15:51 |
|
bremner_
| no, it works | 15:51 |
|
thiago
| No manual entry for filter-branch | 15:51 |
| ← Juo left | 15:51 |
| ← khaije|m` left | 15:52 |
| → adymitruk joined | 15:52 |
|
jast
| it has been patched in some distributions | 15:52 |
| ← aroop left | 15:52 |
| → NickASloan joined | 15:52 |
|
thiago
| man was patched? | 15:52 |
|
jast
| yes | 15:52 |
| → clever joined | 15:52 |
| → khaije|m` joined | 15:52 |
|
jast
| might even be an upstream patch | 15:52 |
|
| I don't quite remember the discussion | 15:52 |
| ← TrineLocke left | 15:52 |
| ← rlb3 left | 15:53 |
| ← smolyn left | 15:53 |
| ChanServ set mode: +v | 15:53 |
| → da5id joined | 15:53 |
| → urkud_ joined | 15:53 |
|
adymitruk
| Svn rocks! | 15:53 |
|
jast
| let's try this again | 15:53 |
| → rlb3 joined | 15:53 |
|
jast
| man git filter-branch | 15:53 |
|
| bleh | 15:53 |
|
adymitruk
| Yet another guy being miss guided on SO | 15:53 |
|
| http://stackoverflow.com/questions/5793734/svn-git-or-mercurial-for-local-servers/5794766#5794766 | 15:54 |
| ← siyb_ left | 15:54 |
| → AdamVancouver joined | 15:55 |
| ← adymitruk left | 15:55 |
| → AkumaStreak joined | 15:56 |
|
Silex
| where's the misguiding? | 15:56 |
|
bremner_
| he trolled us and left | 15:57 |
|
Silex
| ah, right | 15:57 |
|
jast
| trolled us? | 15:57 |
| → Agos joined | 15:58 |
| ← Agos left | 15:58 |
|
bremner_
| well, attempted to get us all excited? | 15:58 |
|
jast
| he strongly advocated git on that SO page, and we seemed to be bitter that he got downvoted for that | 15:58 |
|
| s/w/h/ | 15:58 |
|
Silex
| I think most of the answers are good guidance on that page | 15:58 |
|
| "use git/mercurial, avoid svn" looks sane to me | 15:59 |
| ← rettub left | 15:59 |
|
jast
| yeah... the topmost answer recommends SVN based on false premises, though | 15:59 |
| ← troessner left | 16:00 |
| → troessner joined | 16:01 |
| → verto_ joined | 16:01 |
| → rettub joined | 16:01 |
|
Silex
| hum, true | 16:02 |
|
bremner_
| dunno, the whole thing just reminded me of http://xkcd.com/386/ | 16:02 |
| ← AdamVancouver left | 16:02 |
|
Silex
| hehe | 16:03 |
| ← jsjgruber left | 16:04 |
| ← dyer left | 16:05 |
| ← gnufied left | 16:05 |
| → dyer joined | 16:05 |
| ← dyer left | 16:05 |
| → dyer joined | 16:05 |
| → ShadowBelmolve joined | 16:05 |
| → sandstrom joined | 16:06 |
| ← sandstrom left | 16:06 |
| → sandstrom joined | 16:06 |
| ← winterweaver left | 16:07 |
| → wilmoore joined | 16:07 |
| ← dreiss left | 16:07 |
| → _pingu joined | 16:08 |
| → adymitruk joined | 16:09 |
| ← f0i left | 16:10 |
| ← _pingu left | 16:10 |
| → phantomcircuit joined | 16:11 |
| → inc0 joined | 16:13 |
|
inc0
| hi, how can I ignore commiting changes to specified file? I cloned repo and want to add settings file to ignore list, how do I do that? | 16:14 |
|
panike
| inc0: man gitignore | 16:15 |
|
jast
| inc0: [automatic message] the 'gitignore' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/gitignore.html | 16:15 |
| ← urkud_ left | 16:15 |
| ← sebbi left | 16:15 |
| → Christie joined | 16:16 |
| → d3vic3 joined | 16:16 |
| → ddkilzer joined | 16:17 |
| ← dyer left | 16:18 |
| ← SNEI left | 16:19 |
|
fr0sty-away
| inc0: but keep in mind that gitignore doesn't work on tracked files. | 16:19 |
|
inc0
| I still cant get it work | 16:19 |
| → SJS joined | 16:19 |
|
inc0
| how to make file untracked? | 16:19 |
|
fr0sty-away
| git rm --cached <filename> && git commit. | 16:20 |
| → f0i joined | 16:20 |
|
inc0
| and hold on, I'll paste my /.git/info/exclude | 16:20 |
| → amerine joined | 16:20 |
| ← petrux left | 16:21 |
| → mattions joined | 16:21 |
|
inc0
| /settings/local* <-only one line, I want to remove file /settings/local.py from being tracked | 16:22 |
| → slonopotamus joined | 16:22 |
| ← ereslibre_laptop left | 16:23 |
| → atannus joined | 16:23 |
| → drake01 joined | 16:23 |
| ← justin-george left | 16:24 |
| → towski joined | 16:24 |
|
fr0sty-away
| inc0: once a file is tracked by git gitignore and .git/info/exclude (and core.excludesfile, for that matter) have _no_ effect. | 16:24 |
| → SeanMcMillan joined | 16:25 |
|
inc0
| well now after I rmed this file git status marks it as deleted | 16:26 |
| → DelphiWorld joined | 16:26 |
|
DelphiWorld
| hi | 16:26 |
| → pyrony joined | 16:26 |
|
DelphiWorld
| how do i import a svn repo into a local git repo? | 16:27 |
|
bryanl
| if i have a branch that i've pushed to origin, is there any way i can rebase those commits at a later date? Or am I stuck? | 16:27 |
| ← clever left | 16:27 |
| → rendar joined | 16:28 |
| → mheusser joined | 16:28 |
| → teweWork joined | 16:28 |
|
albel727
| you're stuck. or not, if you're the only one working with origin repo. | 16:29 |
| ← slonopotamus left | 16:29 |
| ← owst left | 16:29 |
| → smolyn joined | 16:29 |
| ← psoo left | 16:30 |
| ← DelphiWorld left | 16:30 |
| ← avinash_hm left | 16:30 |
| → troyt joined | 16:31 |
|
jast
| another test, please ignore | 16:31 |
|
| man git filter-branch | 16:31 |
|
| third failure... and that's why I didn't bother trying to implement it before | 16:32 |
| → aroop joined | 16:32 |
| ← SeanMcMillan left | 16:32 |
| → kenichi_ joined | 16:33 |
| → hyperair joined | 16:33 |
|
bremner_
| dmesg | 16:33 |
|
| oops | 16:33 |
| → SeanMcMillan joined | 16:33 |
| vals_ → tango_ | 16:33 |
| → owst joined | 16:33 |
| → clever joined | 16:33 |
| ← verto_ left | 16:33 |
| ← kenichi_ left | 16:33 |
| → nitish_mythology joined | 16:33 |
| → dhoss_ joined | 16:34 |
| ChanServ set mode: +v | 16:34 |
| ← chrisf|work left | 16:34 |
| → kenichi_ joined | 16:34 |
| yaotti → yaotti_aw | 16:34 |
|
SethRobertson
| I would be nice, jast, if there was a web page of what commands jastbot accepts... I know a nebulous subset of them. | 16:34 |
|
SeanMcMillan
| If you rebase a branch you've already pushed, it will just hurt people who have that branch checked out. | 16:34 |
| → chrisf|work joined | 16:35 |
| → verto_ joined | 16:35 |
| → winterweaver joined | 16:35 |
| yaotti_aw → yaotti | 16:35 |
|
jast
| SeanMcMillan: UTSL: http://j.mp/gitircsrc | 16:35 |
|
| wrong nick, sorry | 16:35 |
| ← inc0 left | 16:35 |
|
SeanMcMillan
| np | 16:35 |
|
SethRobertson
| thanks | 16:35 |
| ← dhoss_ left | 16:35 |
|
jast
| if you have an idea how to fix the new syntax, feel free to let me know :} | 16:35 |
| → Myth17 joined | 16:36 |
| ← Myth17 left | 16:36 |
| → Myth17 joined | 16:36 |
| → Vile joined | 16:36 |
| ← rgr left | 16:36 |
| ← nitish left | 16:36 |
|
winterweaver
| so I can add a submodule only in the toplevel of my working tree. But I would like the submodule to be checked out into a sub folder within my tree. Is there a way to do that? I was thinking I could create a symbolic link in the destination dir? | 16:37 |
| ← nicoulaj left | 16:37 |
|
jast
| winterweaver: no such restriction exists | 16:38 |
| ← rgb left | 16:38 |
| → gebi joined | 16:39 |
| ← nitish_mythology left | 16:39 |
|
winterweaver
| jast: I got this error --> You need to run this command from the toplevel of the working tree. | 16:39 |
| → friskd joined | 16:39 |
|
SethRobertson
| Try running the command from the top level, with a directory path. | 16:39 |
| → dhoss_ joined | 16:40 |
| ← dhoss_ left | 16:40 |
|
jast
| git submodule add /path/to/other/repository subdir/newlocationofsubmodule | 16:40 |
| ← sandstrom left | 16:41 |
| ← dpy left | 16:41 |
|
winterweaver
| oh i see... didn't see the second line on the man page there /doh | 16:41 |
| ChanServ set mode: +v | 16:41 |
|
Vile
| Good morning, All! Can you suggest any ideas about getting git cvsserver to do two things: 1. work with submodules correctly, 2. allow login through pserver ? | 16:41 |
| ← jbrokc left | 16:42 |
|
jast
| well, git doesn't deal in authentication, so so much for 2 | 16:42 |
| ← workmad3 left | 16:42 |
| → dhoss_ joined | 16:43 |
| ← dhoss_ left | 16:43 |
| ← SeanMcMillan left | 16:43 |
| → pdhborges joined | 16:43 |
|
Vile
| As far as I know it does authenticate through :ext:, but not through :pserver: for some reason | 16:43 |
|
SethRobertson
| And CVS doesn't understand submodules at all. Gitslave would be more CVS-like (though of course CVS would not do anything useful with the gitslave metadata | 16:43 |
| → veganadian joined | 16:44 |
| → avinash_hm joined | 16:44 |
|
jast
| iirc, :ext: means SSH takes care of authentication | 16:44 |
| ← amerine left | 16:44 |
| → thiago_home joined | 16:45 |
|
Vile
| SethRobertson: my main problem is that I need to provide access to git repository on some platforms that are not supported by git | 16:45 |
|
| And, what's worse, some of those repositories contain submodules | 16:46 |
| ← dharrigan left | 16:46 |
|
Vile
| And commit access required :( | 16:47 |
|
SethRobertson
| Do you need to provide versioned access or can you just supply tarballs? | 16:47 |
|
Vile
| Versioned access | 16:47 |
|
SethRobertson
| What do you expect to happen with a submodule and CVS? | 16:47 |
| ← unreal left | 16:47 |
| ← PigeonFriend left | 16:47 |
| ← drake01 left | 16:48 |
|
Vile
| Don't know. For example something like this, I setup intermediate repository, pull submodules into it and give CVS access to those | 16:48 |
| → drake01 joined | 16:48 |
| ← mishok13 left | 16:49 |
| → drev1 joined | 16:50 |
|
Vile
| I can even create a script that will pull submodule separately | 16:50 |
|
SethRobertson
| That would require git subtree merge. Getting changes back out would be challenging. | 16:50 |
|
Vile
| but, git cvsserver breaks half way through when I'm trying to get repository with submodules inside | 16:51 |
| → kipras joined | 16:51 |
|
Vile
| Good thing that main repository only will be changed through CVS, and not submodules | 16:51 |
| yaotti → yaotti_aw | 16:52 |
| → ch077179 joined | 16:53 |
|
Vile
| or, alternatively, I can try to build git on that platform :( | 16:53 |
| → candybar joined | 16:53 |
| ← candybar left | 16:53 |
| → candybar joined | 16:53 |
|
SethRobertson
| Your best bet might be to programatically convert the repos to non-submodules (retroactively), do a git-subtree-merge, then serve up the data. | 16:53 |
| ← hackez_work left | 16:53 |
| → helvete joined | 16:53 |
| → qdw joined | 16:53 |
|
SethRobertson
| Or switch from submodules to gitslave which will be much more friendly to one and all | 16:54 |
|
| What platform? | 16:54 |
|
Vile
| QNX 4/QNX 6.3 | 16:54 |
|
SethRobertson
| Um, done? Google seems to suggest that qnx.com provides it | 16:54 |
|
Vile
| for 6.4/6.5 | 16:55 |
| → sandstrom joined | 16:55 |
| ← sandstrom left | 16:55 |
| → sandstrom joined | 16:55 |
| → cilly joined | 16:56 |
|
SethRobertson
| Not being familiar with QNX versioning systems, would it be difficult to take their QNX-ported source code and update for your version? | 16:56 |
| ← pdhborges left | 16:57 |
| → halfline joined | 16:57 |
|
SethRobertson
| Oh good grief. Their "git" isn't git, it is "GNU Interactive Tools" | 16:57 |
| → RichardBronosky joined | 16:57 |
| → gigamonkey joined | 16:58 |
| → nvardar joined | 16:58 |
|
Vile
| SethRobertson: 6.3 looks doable. But QNX 4 is a different story, starting from the fact that it uses Watcom C++ | 16:59 |
|
cmn
| SethRobertson: it's an unfortunate name clash, try git-core | 16:59 |
| ← morganick left | 16:59 |
| → AdamVancouver joined | 16:59 |
| → namemon joined | 16:59 |
| ← owst left | 17:00 |
| → saschpe joined | 17:01 |
| → jhoepken joined | 17:01 |
| → Chillance joined | 17:01 |
|
gebi
| Vile: for git on qnx, http://lists-archives.org/git/707734-git-on-qnx.html has the required configure patches, but some tests fail | 17:01 |
| → ttelford joined | 17:01 |
| ← n1ck31 left | 17:01 |
| → etnt joined | 17:01 |
| ← adymitruk left | 17:02 |
|
Vile
| gebi: Thanks, I will check it out | 17:02 |
| ← davzie left | 17:02 |
| → nitish joined | 17:03 |
| ← dim_ left | 17:04 |
| → kumbayo joined | 17:05 |
| ← troyt left | 17:05 |
| → nitish_mythology joined | 17:05 |
| ← nitish_mythology left | 17:05 |
| → nitish_mythology joined | 17:05 |
|
Vile
| gebi: looks like this can sort out QNX 6.3 compatibility | 17:05 |
| → dim_ joined | 17:06 |
|
gebi
| seems most things are fixed in qnx 6.4.1 | 17:07 |
| ← Myth17 left | 17:07 |
| → simosx joined | 17:08 |
| ← simosx left | 17:08 |
| → simosx joined | 17:08 |
|
gebi
| maybe write a mail to [email@hidden.address] for a request to add git, git is a wonderfull testsuite for a plattform too ;) | 17:08 |
|
Vile
| gebi: yes, QSSL/RIM brought libraries closer to standard in recent versions. my problem is that we still have to support old versions | 17:09 |
| ← nitish left | 17:09 |
| → ebi joined | 17:10 |
| → justin-george joined | 17:10 |
| → yopp joined | 17:11 |
| ← nitish_mythology left | 17:11 |
| → phantomcircuit_ joined | 17:12 |
| ← teweWork left | 17:12 |
| → paolodedios joined | 17:12 |
| ← phantomcircuit_ left | 17:13 |
| ← deuterium left | 17:13 |
| ← pyrony left | 17:13 |
| → MikhX joined | 17:13 |
|
gebi
| ah nice to hear, i've not used qnx since ages | 17:13 |
| ← whitman left | 17:14 |
| → ericbarnes joined | 17:14 |
| → justin_george joined | 17:14 |
|
bremner_
| Vile: where is the qnx stuff based, waterloo? | 17:15 |
| → metcalfc joined | 17:15 |
| ← avinash_hm left | 17:15 |
|
bremner_
| oh, maybe I misread. I was just curious about RIM's qnx activities. | 17:16 |
| ← mdel left | 17:16 |
| ← justin-george left | 17:16 |
| ← jhoepken left | 17:17 |
| → dreiss joined | 17:18 |
| → cjz joined | 17:18 |
| ← drake01 left | 17:19 |
| → drake01 joined | 17:20 |
| → paja joined | 17:20 |
| ← orafu left | 17:21 |
| ← MikhX left | 17:22 |
|
gigamonkey
| How does show-branch decide what branch name to use for each commit? I.e. if a commit is present in multiple branches, say foo and bar it could just as well be bar~13 as foo~28, right? | 17:22 |
| → Vampire0 joined | 17:22 |
|
thiago_home
| right | 17:23 |
| → mikepack joined | 17:23 |
|
thiago_home
| I think it chooses the one that is closest | 17:23 |
| ← etnt left | 17:23 |
|
dropdrive
| Which of the git/emacs packages does #git recommend? | 17:23 |
|
bremner_
| magit | 17:24 |
| ← Vampire0_ left | 17:24 |
| ← frogonwheels_ left | 17:26 |
|
bitkiller
| i have a branch that appears in gitk --all, though i've got no reference to it. how can i clean it up? | 17:26 |
|
gigamonkey
| What does a revision like "master^2~10" mean? I can't find an explanation in the gitrevisions man page. | 17:27 |
| → cybernd joined | 17:27 |
|
patrikf
| gigamonkey: try again | 17:27 |
|
gigamonkey
| looking at the man page? | 17:28 |
| → kermit joined | 17:28 |
|
patrikf
| gigamonkey: yeah. note that the different modifiers can be nested as in this example | 17:28 |
|
| otherwise, it's very straightforward to find it in the manpage | 17:28 |
|
gigamonkey
| I'm not sure what you mean by nested. | 17:28 |
| ← cesario left | 17:28 |
|
gigamonkey
| I'd parse ^2~10 as the same as ~12 | 17:28 |
|
| But I don't think that's right because there's another commit labeled master~12 | 17:29 |
|
patrikf
| ^2 means second parent | 17:29 |
|
panike
| bitkiller: what is the name of the branch (full name including refs/... stuff) | 17:29 |
| → pyrony joined | 17:29 |
| → drake01__ joined | 17:29 |
|
patrikf
| gigamonkey: i.e. when you have a merge commit, ^ = ^1 is one side and ^2 is the other side | 17:29 |
|
gigamonkey
| Ah. I read "first parent" as "one generation ago" not "first of several co-parents" | 17:30 |
| ← paolodedios left | 17:30 |
|
bitkiller
| panike, i don't have any ref to that branch | 17:31 |
|
gigamonkey
| Thanks. | 17:32 |
| ← dv310p3r left | 17:33 |
|
panike
| Can you do 'git branch --contains <sha1>'? | 17:33 |
|
| Where sha1 is a commit on the branch? | 17:33 |
|
yrlnry
| what would that do? | 17:33 |
|
| Oh, it seems you can. | 17:34 |
| aroop → aroop|away | 17:34 |
|
yrlnry
| (Sorry, didn;'t know about--contains before) | 17:34 |
|
| worked for me, anyway. | 17:35 |
| hyperbor1ean → hyperboreean | 17:35 |
| ← giuserpe_ left | 17:35 |
| ← drake01 left | 17:35 |
| ← pdelgallego left | 17:36 |
| ← drake01__ left | 17:36 |
| aroop|away → aroop | 17:36 |
| → drake01 joined | 17:36 |
| ← pdelgallego_ left | 17:36 |
| ← guardian left | 17:37 |
| → alberto56 joined | 17:38 |
|
bitkiller
| panike, there was a stash mark on that branch | 17:38 |
| → Sebastian_ joined | 17:38 |
|
bitkiller
| panike, clering the stash solved | 17:38 |
| ← cbreak left | 17:38 |
|
bitkiller
| panike, clearing the stash solved my problem | 17:39 |
| → cbreak joined | 17:39 |
|
panike
| OK, excellent; I had not considered stashes | 17:39 |
| → Matt_R joined | 17:40 |
| → MikhX joined | 17:40 |
|
bitkiller
| well, i tried popping it, but it wasnt popping at all....it was applying always the same stashed changes | 17:40 |
|
| is that normal? | 17:40 |
| ChanServ set mode: +v | 17:41 |
| ← drake01 left | 17:41 |
|
Sebastian_
| hey there, we often use fixup commits to make changes to a branch before it is merged, so that reviewers can see how the found issues are addressed. Is the same possible for a tricky merge? git commit lets me create fixup commits for a merge without any issue, but I don't know how I would get them auto-squashed later. | 17:41 |
|
panike
| bitkiller: according to man git-stash, that is what the git stash pop command means | 17:42 |
|
jast
| bitkiller: [automatic message] the 'git-stash' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-stash.html | 17:42 |
| → drake01 joined | 17:42 |
|
Sebastian_
| I don't need to change any commits before the merge, just the merge commit itself. | 17:42 |
|
panike
| Looks like you meant the 'git stash drop' command? | 17:42 |
| ← bgerber left | 17:42 |
| ← Adys left | 17:43 |
| ← cilly left | 17:43 |
| → mdel joined | 17:43 |
| → binjured_ joined | 17:43 |
| ← erichammond left | 17:44 |
|
bitkiller
| panike, i meant pop --> apply and remove | 17:45 |
| → Adys joined | 17:45 |
|
bitkiller
| though it was applying and not removing | 17:45 |
|
patrikf
| maybe there were conflicts | 17:45 |
| ← dim_ left | 17:45 |
|
bitkiller
| hmmm | 17:45 |
| ← RaceCondition left | 17:46 |
| ← kirkwood left | 17:46 |
|
bitkiller
| but wouldnt it remove anyway? (yes there were conflict) | 17:46 |
| → dv310p3r joined | 17:46 |
| → dim_ joined | 17:46 |
|
patrikf
| the manpage will answer that | 17:46 |
|
bitkiller
| patrikf, yes, and it answered | 17:47 |
|
binjured_
| i ran a merge and got a conflict. i have branch HEAD and branch "local". what command do i run if i just want to resolve the conflict by taking "local?" | 17:47 |
|
bitkiller
| in case of conflicts, it's not removed. must remove manually with drop | 17:48 |
| → frogonwheels_ joined | 17:48 |
| → kenneth_reitz joined | 17:48 |
| ← drake01 left | 17:48 |
| → drake01 joined | 17:49 |
|
panike
| binjured: from man git-merge, seems like 'git merge -s theirs local' is what you are looking for | 17:49 |
|
jast
| binjured: [automatic message] the 'git-merge' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-merge.html | 17:49 |
| → vals_ joined | 17:50 |
| ← vals_ left | 17:50 |
| → vals__ joined | 17:50 |
| ← vals__ left | 17:50 |
| → vals_ joined | 17:50 |
| → captnemofulcrum joined | 17:50 |
|
panike
| Oh sorry, you will wnat to reset HEAD first and then run the merge command above | 17:51 |
| → jrots joined | 17:51 |
| ← tango_ left | 17:51 |
| ← spaceonline left | 17:51 |
| → dannas joined | 17:51 |
|
panike
| Or just manually edit the conflics present after the merge, to only use changes from 'local' | 17:52 |
| → newbie joined | 17:52 |
| → _pingu joined | 17:52 |
| newbie → Guest82304 | 17:52 |
| ← panike left | 17:52 |
| vals_ → tango_ | 17:52 |
| → ddilinger joined | 17:53 |
| ← brockm left | 17:53 |
|
ddilinger
| with gitolite, what might i need to setup to get it to send out emails whenever someone push's ? | 17:53 |
| → spaceonline joined | 17:53 |
| ← empity left | 17:54 |
| → jbrokc joined | 17:54 |
|
SethRobertson
| http://stackoverflow.com/questions/5055190/how-to-setup-post-receive-email-git-hook-with-gitolite | 17:55 |
| → kingfishr__ joined | 17:55 |
| ← f0i left | 17:55 |
| → skoop joined | 17:55 |
|
SethRobertson
| Found by googling "gitolite hooks email" | 17:55 |
| ← quiliro left | 17:55 |
| ← verto_ left | 17:56 |
| ← JacobSingh left | 17:56 |
| ← Guest82304 left | 17:57 |
| ← kumbayo left | 17:57 |
| → brockm joined | 17:57 |
| → RaceCondition joined | 17:57 |
| ← ecuderpam left | 17:58 |
| ← mattions left | 17:58 |
| → pdelgallego_ joined | 17:59 |
| → pdelgallego joined | 17:59 |
| ← babilen left | 18:01 |
| ← ki_ left | 18:01 |
| → pdhborges joined | 18:02 |
| ← pdhborges left | 18:02 |
| → deuterium joined | 18:03 |
| ← alberto56 left | 18:04 |
| ← helvete left | 18:04 |
| → hacim joined | 18:04 |
| → diegoviola joined | 18:04 |
|
hacim
| i'm trying to do a 'git fetch' from a remote repository, I authenticate, and then it just sits there, I've straced the processes on both side and they both seem to be waiting on a read() | 18:04 |
|
| the remote side has the process 'git-upload-pack repositories/puppet.git' | 18:05 |
|
yrlnry
| Maybe something in your login profile on the remote machine that is waiting for input? | 18:05 |
| ← _pingu left | 18:06 |
|
hacim
| yrlnry: i cant imagine what, it worked yesterday and I haven't been online to change anything | 18:06 |
|
yrlnry
| I have nothing useful to add, sorry. | 18:07 |
|
jast
| do other remote operations work (i.e. non-git stuff)? | 18:07 |
| ← drake01 left | 18:07 |
|
hacim
| jast: they do | 18:08 |
|
| i found this in the log: Apr 28 11:00:32 puppetmaster git-daemon[16715]: The remote end hung up unexpectedly | 18:08 |
|
jast
| hm.\ | 18:08 |
| → drake01 joined | 18:08 |
| ← drake01 left | 18:08 |
|
jast
| obscure firewall misconfiguration? I don't know :) | 18:08 |
| ← [ESphynx] left | 18:08 |
| ← tvw left | 18:09 |
| ← AdamVancouver left | 18:10 |
| → sylr joined | 18:10 |
| ← ttelford left | 18:11 |
| → troyt joined | 18:11 |
| → mojavy joined | 18:12 |
| → kumbayo joined | 18:12 |
|
hacim
| interesting, i tried to clone on the server | 18:13 |
|
| using the file path | 18:13 |
| → gnufied joined | 18:13 |
|
hacim
| error: copy-fd: write returned No space left on device | 18:13 |
|
| fatal: failed to copy file to 'puppet/.git/objects/pack/pack-836873fbc927e0ae3e699a11ba3630a1b2b84c9f.pack': No space left on device | 18:13 |
| ← namemon left | 18:13 |
|
hacim
| thats a useful error message, but I have plenty of space and inodes | 18:13 |
| ← pdelgallego left | 18:13 |
| ← Emtec left | 18:13 |
| ← pdelgallego_ left | 18:13 |
| → ki_ joined | 18:14 |
|
hacim
| well, i tried a different filesystem and no problem | 18:14 |
| → HG` joined | 18:14 |
| → owst joined | 18:14 |
|
SethRobertson
| Sounds like either you did run out of space, or the filesystem file size limit might have been smaller than the pack file size. | 18:15 |
|
cbreak
| hacim: maybe it's some kind of server enforced limit | 18:15 |
|
| or the error is a misdiagnosis | 18:15 |
|
SethRobertson
| Quotas could do it | 18:15 |
|
hacim
| cbreak: I think my /tmp is too small | 18:15 |
|
cbreak
| and writing failed for something else | 18:15 |
|
| you made /tmp on a different volume? | 18:15 |
|
hacim
| /tmp is a memory filesystem, only 16Mb | 18:16 |
|
SethRobertson
| I don't think in general /tmp is where git writes incoming pack files (unless you checkout in /tmp) | 18:16 |
|
cbreak
| doesn't sound very efficient :/ | 18:16 |
|
hacim
| well, I am using gitosis and git-daemon | 18:16 |
|
| so maybe they do? | 18:16 |
|
cbreak
| I'd put /tmp on the normal root fs | 18:16 |
|
| gitosis is just a bunch of scripts | 18:16 |
|
| git daemon is usually just for read only access | 18:16 |
|
SethRobertson
| hacim: Oh, and !gitosis while we are at it | 18:17 |
|
jast
| hacim: [automatic message] gitosis is no longer maintained and supported by the author; we usually recommend gitolite instead which has much better documentation and more features: http://github.com/sitaramc/gitolite | 18:17 |
|
hacim
| yeah yeah | 18:17 |
|
| I know | 18:17 |
|
| migrating to gitolite is on my list | 18:17 |
| ← Vile left | 18:17 |
|
cbreak
| I know git creates temporary pack files when you clone from a smart protocol | 18:17 |
| ← sylr left | 18:17 |
| ← vdv left | 18:18 |
| → cilly joined | 18:18 |
| ← jrots left | 18:18 |
|
SethRobertson
| On the server, right? | 18:19 |
| → McManiaC joined | 18:20 |
| ← cilly left | 18:21 |
| → dyer joined | 18:21 |
| ← dyer left | 18:21 |
| → dyer joined | 18:21 |
| → babilen joined | 18:22 |
| → verto joined | 18:22 |
| ← owst left | 18:23 |
| ← yopp left | 18:24 |
| → tanuki_ joined | 18:25 |
| ← troessner left | 18:27 |
| → troessner joined | 18:27 |
| → carve joined | 18:28 |
|
carve
| I'm having issues setting up gitolite with a win7 box, could anyone help me? | 18:28 |
|
thiago_home
| using win7 as a server? why? | 18:28 |
|
carve
| server = debian, home box = win7 x64 (having issues on this box, the server is setup) | 18:28 |
|
thiago_home
| but gitolite is on the debian machine? | 18:29 |
| → mando joined | 18:29 |
|
carve
| yes | 18:29 |
|
hacim
| ok, i got rid of /tmp as a memory based filesystem | 18:29 |
|
carve
| my problem is with keys | 18:29 |
|
hacim
| but I'm still not able to pull | 18:29 |
| ← diegoviola left | 18:29 |
|
thiago_home
| hacim: ssh into the server. Do you get in or do you get authentication failure? | 18:29 |
| → linusoleander joined | 18:30 |
| → RC joined | 18:30 |
|
hacim
| thiago_home: it works fine | 18:30 |
|
carve
| i've added my pub ssh key for the root user, do I need to create one on THIS win7 box and xfer it over and add to gitolite? | 18:31 |
| → henrikbjorn joined | 18:31 |
|
hacim
| thiago_home: i can authenticate fine, and I see git packs being talked about in strace | 18:31 |
| → HG`` joined | 18:31 |
|
hacim
| for example, I see: | 18:31 |
|
| write(5, "0073want b6558e8d2313bea8049cbf5"..., 119) = 119 | 18:31 |
|
| write(5, "0032have a25e946e2db11fc6bdc9824"..., 1604) = 1604 | 18:31 |
|
thiago_home
| so what's the problem with pulling? | 18:31 |
|
SethRobertson
| hacim: /tmp is not used on the client side. | 18:31 |
|
hacim
| thiago_home: i have no idea. it just does the above, and then does read(6, | 18:32 |
|
| thiago_home: and then doesn't go any further | 18:32 |
|
SethRobertson
| hacim: It has to be something with the filesystem. Too small, quotas, file too big, etc | 18:32 |
|
hacim
| SethRobertson: I know, i was talking about the remote side | 18:32 |
| → milx joined | 18:32 |
| → lanthan joined | 18:32 |
|
SethRobertson
| hacim: try `git repack` | 18:32 |
|
| or git gc --aggressive | 18:32 |
|
hacim
| SethRobertson: locally? | 18:32 |
|
SethRobertson
| Which side is generating the disk full error message? | 18:33 |
| ← lanthan left | 18:33 |
| ← HG` left | 18:33 |
|
hacim
| SethRobertson: well that was the server, when i tried to clone to /tmp, but I resolved that | 18:33 |
| ← joel_falcou left | 18:33 |
|
| thiago_home realises that he switched person talking to | 18:34 |
|
SethRobertson
| hacim: I guess I have lost track of what the problem is, then. | 18:34 |
|
thiago_home
| carve: ssh into the server. Do you get in? | 18:34 |
|
milx
| Hello..... question - I know rewriting history is bad, but so long as my collaborators are aware, can I destroy/squash commits and push back to the central repository? What will happen when they next pull? | 18:34 |
| → opalka joined | 18:34 |
| ← opalka left | 18:34 |
| → opalka joined | 18:34 |
| → lanthan joined | 18:34 |
|
jast
| milx: they'll get the old history merged with the new history | 18:35 |
| ← ki_ left | 18:35 |
| yaotti_aw → yaotti | 18:35 |
|
milx
| jast: hmm - that sounds bad. is it? Will the old commits just be sitting waiting for garbage collection or will they actually be visible in the branch? | 18:36 |
|
hacim
| SethRobertson: the problem is: I do a 'git fetch' on my client, it authenticates, but then never gets anything | 18:36 |
| → gionnico joined | 18:36 |
|
gionnico
| hello | 18:36 |
|
McManiaC
| is it possible to restrict git to go to subdirectories? I want to manage my dotfiles in $HOME with git, but I don't want to see I'm in a git project if I go to my document-folder | 18:36 |
|
jast
| milx: they'll be visible | 18:36 |
|
gionnico
| how can one get a good repository if he did git pull then corrupted something inside? | 18:36 |
|
| (rm some file) | 18:36 |
| → pantsman joined | 18:36 |
| ← pantsman left | 18:36 |
| → pantsman joined | 18:36 |
|
jast
| McManiaC: no. | 18:37 |
| → verto_ joined | 18:37 |
|
McManiaC
| :( | 18:37 |
|
milx
| jast: sounds like if I split or squash some commits and push back - the changes will be applied twice in their branch when they pull. Practical example - one commit I received today really needs to be split into two so that only half of it can be merged to another branch. How should I handle it? | 18:37 |
| ← fr0sty|mobile left | 18:38 |
|
SethRobertson
| hacim: If you avoid using gitosis and just ssh into the server as yourself, as a test, does it work? If the answer is yes, you know where the problem is and our opinion on the chances of getting it working. | 18:38 |
| → fr0sty joined | 18:40 |
|
carve
| Could anyone tell me where I need my ssh keys for my win7 box? (currently they're in C:\Users\Carve\.ssh - but I still get a PW prompt with TortoiseGIT and Git bash says "fatal: The remote host blah blah blah") | 18:41 |
| → gebi_ joined | 18:41 |
| → erichammond joined | 18:41 |
|
hacim
| SethRobertson: 'and our opinion on the chances of getting it working'? | 18:41 |
| → p3rg2z joined | 18:41 |
|
SethRobertson
| hacim: !gitosis | 18:41 |
|
jast
| hacim: [automatic message] gitosis is no longer maintained and supported by the author; we usually recommend gitolite instead which has much better documentation and more features: http://github.com/sitaramc/gitolite | 18:41 |
| ← mikewintermute left | 18:42 |
|
jast
| carve: git on bash should ask for a password if the SSH key isn't in the right place | 18:42 |
| ← sanguisleft left | 18:42 |
|
carve
| jast - doesn't work | 18:43 |
|
| it just hangs up the connection | 18:43 |
|
jast
| if it doesn't ask for a password, the problem is something else | 18:43 |
|
SethRobertson
| carve: More specifically, tortoisegit appears to use putty. Can you use putty individually to ssh around? | 18:43 |
|
carve
| I had gitosis installed previously | 18:43 |
|
jast
| it means the server authenticated you, but e.g. there might be a permissions problem on the server | 18:43 |
|
hacim
| christ | 18:43 |
|
carve
| I used plink w/ tortoiseGIT | 18:43 |
|
| but I have gitolite now | 18:43 |
|
| I can ssh in myself (of course I don't use SSH keys yet as I haven't set them up) | 18:44 |
| ← gebi left | 18:44 |
|
jast
| presumably gitolite (or your permissions within it) isn't set up correctly | 18:44 |
| ← RichardBronosky left | 18:44 |
|
carve
| I can however import the id_rsa key into plink correct? | 18:44 |
| ← homa_ran1 left | 18:44 |
| → homa_rano joined | 18:45 |
|
SethRobertson
| Yes, but does plink store it in the same place as git expects it? There is a web page that claims that storing it in Pagaent will let git's ssh find it. | 18:45 |
| ← ShadowBelmolve left | 18:45 |
|
carve
| I tried with both | 18:45 |
|
| pagent and plink | 18:45 |
|
SethRobertson
| Are you using the msysgit ssh or PuTTY with TortuiseGit? | 18:48 |
|
| Apparently it is some kind of configuration option. | 18:48 |
| ← DSpair left | 18:48 |
|
carve
| msysgit and tortoiseGIT | 18:48 |
| → trobrock joined | 18:48 |
|
SethRobertson
| Yes, but apparently you can either use msysgit's native ssh, or you can use an external ssh client, like PuTTY, while still using msysgit and TortuiseGit. | 18:49 |
|
carve
| msysgit is using plink | 18:50 |
|
| thats the only option I setup | 18:50 |
|
| besides the defaults for both apps | 18:50 |
| ← Kriss-|- left | 18:51 |
| → joel_falcou joined | 18:51 |
|
SethRobertson
| carve: More generally, these instructions purport to work. You should really test the ssh side without using git first, then without using gitosis, before doing the whole thing. http://petermorlion.blogspot.com/2010/03/okay-i-finally-got-git-to-work.html | 18:51 |
| ← trobrock left | 18:51 |
|
carve
| yeah I'm setting up ssh first | 18:52 |
|
| just to see if thats the issue | 18:52 |
|
| well.. setting it up to use keys instead of logins | 18:52 |
| → __sorin__ joined | 18:52 |
| → birbilakos joined | 18:53 |
|
__sorin__
| Hi. Is there a list of commands that open gitk, and is there a way to tell Git to open something else? Thanks. | 18:53 |
| ← dim_ left | 18:53 |
| ← ymasory left | 18:54 |
| ← verto_ left | 18:54 |
| ← verto left | 18:54 |
| → ymasory joined | 18:54 |
| ← birbilakos left | 18:54 |
| yaotti → yaotti_aw | 18:54 |
|
SethRobertson
| __sorin__: AFAIK only git-gui opens gitk | 18:55 |
|
fr0sty-away
| 'gitk' is the only one I'm aware of... | 18:55 |
|
| though I've never used git-gui... | 18:55 |
| → connerk joined | 18:55 |
| ← connerk left | 18:55 |
|
SethRobertson
| You have not missed anything | 18:55 |
| → pdelgallego joined | 18:56 |
|
__sorin__
| SethRobertson, There are some switches to some commands that open gitk. I just can't think of them. I always open it by mistake. | 18:56 |
|
SethRobertson
| __sorin__: Survey say: git-bisect, git-citool, and git-gui | 18:57 |
| → tvw joined | 18:57 |
|
milx
| jast: If I already pushed a branch to a remote server (github) and then want to rebase/squash stuff and re-push - that's OK right? Is the only problem if someone else has already cloned it? | 18:58 |
|
jast
| milx: yep | 18:58 |
| → berserkr joined | 18:58 |
|
milx
| jast: ok. and if someone had already cloned it what would be the best approach then - start a fresh branch and abandon the old one? | 18:58 |
|
SethRobertson
| __sorin__: You can try making a gitk supporting the same options in your path before gitk which runs a different command and see if that helps | 18:58 |
|
jast
| good question | 18:59 |
|
| that would work, I guess | 18:59 |
| ← p3rg2z left | 18:59 |
|
jast
| I don't know if there's a better method | 18:59 |
|
| I never need to do stuff like that :) | 18:59 |
| ← gnufied left | 18:59 |
|
__sorin__
| SethRobertson, I would have liked the ability to override gitk via gitconfig or a hook. | 18:59 |
|
SethRobertson
| milx: It is not fatal if you rewrite history. It is just annoying to the other people. It probably is more annoying to have to change branches. | 19:00 |
| → sanguisleft joined | 19:00 |
|
milx
| SethRobertson: OK - so assuming everyone sharing the branch is aware of the history rewrite - how can they update their branch safely to get the new history? just pull? | 19:01 |
| ← HG`` left | 19:01 |
| ← dyer left | 19:01 |
|
SethRobertson
| `git pull --rebase` is normally all you need. If the history change involves tags being rewritten, you probably have to do something more complicated. | 19:01 |
|
hacim
| SethRobertson: turns out it was something wrong with my local repository because I just recloned and now everything is fine with the new one | 19:02 |
|
milx
| SethRobertson: OK thanks will try | 19:02 |
| → skyl joined | 19:03 |
|
skyl
| I have some commits I found from ``git log --grep 852``, say. Can I run a show of some kind that will show the diffs one after the other so I can page through them .. or sth | 19:04 |
| ← RaceCondition left | 19:04 |
| ← robertdavid left | 19:04 |
| ← Matt_R left | 19:05 |
|
SethRobertson
| skyl: git log --grep a --format=%h | while read f; do git show $f | less; done | 19:07 |
|
McManiaC
| is there a git bug tracker or sth? | 19:09 |
| ← milx left | 19:10 |
| → bgerber joined | 19:10 |
|
McManiaC
| or a wiki/irc channel for git developers? | 19:10 |
| → unreal joined | 19:10 |
|
iveqy
| McManiaC: there's a mailing list | 19:11 |
| → ShadowBelmolve joined | 19:12 |
| → pdelgallego_ joined | 19:12 |
| adamholt → adamholt_away | 19:12 |
| adamholt_away → adamholt | 19:12 |
| ← juangiordana left | 19:12 |
| → p3rg2z joined | 19:12 |
| ← jonatasnona left | 19:13 |
| → dajhorn_ joined | 19:14 |
| ← RC left | 19:14 |
| ← dajhorn left | 19:15 |
| ← rlb3 left | 19:15 |
| → Vile joined | 19:16 |
| → dyer joined | 19:16 |
| ← dyer left | 19:16 |
| → dyer joined | 19:16 |
| preflex_ → preflex | 19:16 |
|
SethRobertson
| McManiaC: !bugtracker | 19:19 |
|
jast
| McManiaC: [automatic message] the developers of git don't use a bug tracker. If you want to report a bug, send an e-mail to the mailing list at [email@hidden.address] you can review past discussions at http://j.mp/gitlist | 19:19 |
| → lolfrenz joined | 19:20 |
|
lolfrenz
| is it common task to want to apply a commit from one branch to another? | 19:20 |
| ← veganadian left | 19:20 |
|
SethRobertson
| Yes. You can "merge" "rebase" or "cherry-pick" them | 19:21 |
|
lolfrenz
| I assume cherry-pick is just to "steal" one commit, let me rtfm | 19:21 |
|
SethRobertson
| merge/rebase is preferred if possible. If not, then cherry-pick | 19:21 |
| ← steveoliver left | 19:21 |
| → gnufied joined | 19:22 |
| → TrineLocke joined | 19:25 |
| ← p3rg2z left | 19:26 |
| → Bass10 joined | 19:26 |
| ← NetHawk left | 19:27 |
| → urkud_ joined | 19:27 |
| ← jedahan left | 19:28 |
| → dekroning joined | 19:28 |
| ← Bass10 left | 19:28 |
| → codebeaker joined | 19:28 |
| → Bass10 joined | 19:29 |
|
skyl
| thanks SethRobertson | 19:29 |
| ← shennyg_ left | 19:31 |
| → shennyg joined | 19:31 |
| ← d3vic3 left | 19:34 |
| → cesario joined | 19:34 |
| ← jophish left | 19:35 |
| → foo_ joined | 19:36 |
| ← lolfrenz left | 19:37 |
| → LekeFly joined | 19:38 |
| → Tay101 joined | 19:38 |
| → drizzd joined | 19:38 |
|
Tay101
| hi | 19:38 |
| ← gedevan left | 19:39 |
| ← McManiaC left | 19:40 |
| ← mando left | 19:41 |
| → giallu joined | 19:41 |
| ← LekeFly left | 19:41 |
| ← foo_ left | 19:41 |
| → NetHawk joined | 19:42 |
| → boombatower joined | 19:42 |
| ← boombatower left | 19:42 |
| → boombatower joined | 19:42 |
| → psoo joined | 19:42 |
| → jophish joined | 19:43 |
| ← Prism left | 19:44 |
| → hvoigt joined | 19:44 |
| ← ymasory left | 19:44 |
| → ymasory joined | 19:45 |
| ← winterweaver left | 19:46 |
| aroop → aroop|away | 19:47 |
| aroop|away → aroop | 19:47 |
| → quiliro joined | 19:48 |
| → Juo joined | 19:49 |
| ← Juo left | 19:50 |
| ← psoo left | 19:50 |
| → Juo joined | 19:51 |
| ← OOPMan left | 19:52 |
| → juangiordana joined | 19:53 |
| ← candybar left | 19:55 |
| ← troessner left | 19:56 |
| ← sandstrom left | 19:58 |
| ← curtana left | 19:58 |
| ← replore left | 19:58 |
|
speakman
| How do I search for in which commit a particular line in a particular file last existed? | 19:59 |
| ← ph^ left | 19:59 |
| → psoo joined | 19:59 |
| → alberto56 joined | 20:00 |
| → dl9pf joined | 20:00 |
| → gedevan joined | 20:00 |
| ← dv310p3r left | 20:01 |
| ← dl9pf_ left | 20:01 |
| ← eric-atl left | 20:01 |
| batrick_ → batrick | 20:01 |
| ← noonoooo left | 20:01 |
| ← Vile left | 20:02 |
| ← Tay101 left | 20:02 |
|
albel727
| speakman: man git-grep? | 20:02 |
|
jast
| speakman: [automatic message] the 'git-grep' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-grep.html | 20:02 |
| ← hvoigt left | 20:02 |
| ← ericbarnes left | 20:03 |
| → mando joined | 20:03 |
|
albel727
| speakman: oh wait. that's not it. | 20:03 |
|
speakman
| albel727: :) | 20:03 |
| → hvoigt joined | 20:03 |
|
speakman
| Although git grep does take an <tree> object. But then I have to know which tree object :) | 20:04 |
| ← eletuchy left | 20:05 |
|
albel727
| yeah, that's the main problem. ) | 20:05 |
| ← khaije|m` left | 20:05 |
| → khaije|m` joined | 20:05 |
|
albel727
| well, ofc you can go with git rev-list | xargs -n 1 git grep... | 20:06 |
|
gionnico
| how do you merge a file if there are conflicting versions? | 20:06 |
|
pantsman
| git log -S"some string from the line" -- path/to/file | 20:06 |
|
speakman
| To clearify my question: "When did this file last contain a certain line?" | 20:06 |
|
albel727
| damn. how could I forget that. | 20:06 |
|
speakman
| :D | 20:06 |
| → flavius joined | 20:07 |
| → OOPMan joined | 20:08 |
|
flavius
| Hi. There was a ressource on the web which taught git very well, "under the hood", by "forcing" you not to use specific commands. Unfortunately I haven't bookmarked it and I don't remember any keyword about it. Do you know which one I mean? | 20:08 |
|
albel727
| gionnico: you edit the file to be the way you want it, and then just git add it. | 20:08 |
|
gionnico
| albel727: doesn't seem so easy.. git add -A is the same? | 20:08 |
| → mm_202 joined | 20:09 |
|
gionnico
| Bob: change one file, git commit, git push. Alice: change the same file, and find out that there was a change.. | 20:09 |
|
flavius
| oh I think it was http://progit.org/book/ | 20:09 |
|
albel727
| gionnico: yeah, that's outta work. anyway man git-merge "how to resove conflicts" | 20:09 |
|
jast
| gionnico: [automatic message] the 'git-merge' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-merge.html | 20:09 |
|
speakman
| progit <3 | 20:09 |
| → tewecske joined | 20:10 |
| ← kumbayo left | 20:11 |
| ← dannas left | 20:11 |
| → rendez joined | 20:11 |
|
SethRobertson
| speakman: git log -S<data> | 20:11 |
| ← Dave^| left | 20:11 |
| ← gnufied left | 20:11 |
| → workmad3 joined | 20:12 |
| ← TrineLocke left | 20:12 |
| ← stamina left | 20:13 |
| ← sebersole left | 20:13 |
| → stamina joined | 20:13 |
| ← helgikrs left | 20:13 |
| → guardian joined | 20:13 |
| ← khaije|m` left | 20:15 |
| → excess^ joined | 20:15 |
| ← henrikbjorn left | 20:15 |
| → s0ber_ joined | 20:15 |
| ← s0ber left | 20:15 |
| → khaije|m` joined | 20:15 |
| s0ber_ → s0ber | 20:15 |
| → Heimidal joined | 20:15 |
| ← Heimidal left | 20:16 |
| → Heimidal joined | 20:16 |
| → TrineLocke joined | 20:16 |
| → owst joined | 20:17 |
| → steveoliver joined | 20:21 |
| → fr0sty|mobile joined | 20:21 |
|
brandonw
| progit + git man pages | 20:21 |
|
| so good :D | 20:21 |
|
avdg
| + hack internals :p | 20:22 |
| → gnufied joined | 20:22 |
| → gfto joined | 20:22 |
| ← _cballou left | 20:23 |
| → bodom joined | 20:24 |
| ← fr0sty left | 20:24 |
| → replore_ joined | 20:24 |
| ← kenneth_reitz left | 20:25 |
| ← alberto56 left | 20:25 |
| ← airborn left | 20:25 |
| ← khaije|m` left | 20:26 |
| → khaije|m` joined | 20:27 |
| ← owst left | 20:28 |
| ← dajhorn_ left | 20:29 |
| → Nate75Sanders joined | 20:30 |
| → ShadowBelmolve_ joined | 20:31 |
| → sandstrom joined | 20:32 |
| ← errordeveloper left | 20:33 |
| → kumbayo joined | 20:33 |
| ← ShadowBelmolve left | 20:34 |
| → hackez_work joined | 20:35 |
| ← lanthan left | 20:35 |
|
brockm
| If I have a project that is based on another project, but I want to be able to commit changes to both, ie keep the original branch and my personal changes seperate... would I set those up in the same repository or make one for each? | 20:35 |
|
carve
| can you utilize dsa keys with gitolite (debian server) and a win7 box as the client, or do I need to create a rsa keypair too? (SSH is working with the DSA as-is for just plain SSH) | 20:35 |
| → derek__ joined | 20:36 |
| ← derek__ left | 20:36 |
| → vanmik joined | 20:36 |
|
carve
| brock you could fork the original and just merge the forks changes | 20:36 |
|
brockm
| okay but specifically how would I have a master for that fork AND a master for my personal changes in the same repository? | 20:37 |
| ← erichammond left | 20:37 |
|
carve
| wouldn't the fork have it's own 'master' ? | 20:37 |
| → diegoviola joined | 20:37 |
| → errordeveloper joined | 20:37 |
|
brockm
| I'm new to git and I've been reading on git branching models and git flow...so | 20:38 |
| ← khaije|m` left | 20:38 |
| → khaije|m` joined | 20:38 |
|
carve
| a fork is pretty much a clone of whatever you 'fork' | 20:38 |
|
brockm
| I guess what I'm saying is, how would I support that kind of a repo structure with two projects? | 20:38 |
|
carve
| so in theory i would say it has its own master | 20:39 |
|
brockm
| yeah... | 20:39 |
| ← hvoigt left | 20:39 |
|
brockm
| I know that, it does have it's own master. | 20:39 |
|
| My question is | 20:39 |
|
carve
| R access for gitolite-admin DENIED to id_dsa <- Anyone know how to resolve this? | 20:40 |
| → hvoigt joined | 20:40 |
|
brockm
| if I remote add origin [email@hidden.address] | 20:40 |
| ← hvoigt left | 20:40 |
|
brockm
| then I git pull origin master | 20:40 |
|
| that means my local repo now is a copy of that repo's master branch right? | 20:41 |
|
carve
| yes | 20:41 |
|
brockm
| okay well let's say I wanted to branch to develop for MY site | 20:41 |
|
| and commit to my project without commiting back to origin | 20:42 |
|
| and then later, branch origin and include something from my project | 20:42 |
| ← codebeaker left | 20:42 |
| ← urkud_ left | 20:42 |
| → guns joined | 20:43 |
| ← bindaas left | 20:48 |
| → mcbluebeard joined | 20:48 |
| ← flavius left | 20:48 |
| ← khaije|m` left | 20:49 |
| ← chrisdev left | 20:49 |
|
mcbluebeard
| I did a filter-branch through sed to remove a committed password and would now like to push to a remote repository but am (obviously) getting rejected due to non-ffwd changes. How can I force the push? | 20:49 |
|
mmattice
| -f maybe | 20:50 |
|
| git help push is probably useful | 20:50 |
|
| but if the remote repo won't let you, you're hosed a bit | 20:50 |
| → khaije|m` joined | 20:50 |
|
gionnico
| how do you go back to some commit ? | 20:51 |
| ← replore_ left | 20:51 |
| → replore joined | 20:52 |
| → namemon joined | 20:52 |
| ← phantomcircuit left | 20:53 |
| → phantomcircuit joined | 20:53 |
| ← tewecske left | 20:53 |
|
dotCOMmie
| If I have a downstream and an upstream long lived branch how can I find out which branch a short lived story branch was started from? | 20:53 |
| ← jsick3 left | 20:54 |
| → emptyflask joined | 20:55 |
|
dotCOMmie
| merge-base takes me 1/2 way there but I cant figure out how to differentiate a story branch that was started of downstream and a story branch that was started from upstream and got merged down stream | 20:55 |
| → ShadowBelmolve joined | 20:55 |
| → tewecske joined | 20:55 |
| ← bartek left | 20:55 |
| → aidalgol joined | 20:56 |
| ← ShadowBelmolve_ left | 20:56 |
|
ayust
| dotCOMmie: compare mergebase(story,upstream) to mergebase(upstream,downstream)? | 20:57 |
| ← guardian left | 20:58 |
|
dotCOMmie
| ayust: that does not handle the latter case of branch which was started from upstream and got merged downstream | 20:58 |
| ← JEEB left | 20:58 |
| ← kermit left | 21:00 |
| ← khaije|m` left | 21:01 |
| ← rubydiamond left | 21:01 |
|
carve
| How do you resolve this issue: R access for gitolite-admin DENIED | 21:01 |
|
| Using a Windows box trying to clone the gitolite initial directory for admin | 21:01 |
| → khaije|m` joined | 21:01 |
|
ayust
| dotCOMmie: if it was started upstream and merged downstream, however, that's effectively merging the portion of upstream that wasn't mergef when story was started, into downstream, and then merging the story | 21:02 |
| ← emptyflask left | 21:02 |
| ← LongBeach left | 21:02 |
| → emptyflask joined | 21:02 |
|
ayust
| so as far as git commit history goes, the two are effectively the same, no? | 21:02 |
|
| merged* | 21:03 |
| → guardian joined | 21:03 |
| ← guardian left | 21:03 |
| → Schmallon joined | 21:04 |
|
dotCOMmie
| ayust: yeah. Perhaps some context would help. I want to find all branches which would be ok to merge upstream as they would not pull in any dowstream commits along with them | 21:04 |
| → sylr joined | 21:05 |
|
dotCOMmie
| and so if you branch of story from upstream then merge it to downstream its still safe to merge the story branch upstream | 21:05 |
|
ayust
| dotCOMmie: it should be okay to compare merge-base (upstream, downstream) with merge-base( upstream, story) then... as long as the latter is a parent of the former | 21:06 |
|
| it should be safe to merge ? | 21:06 |
|
cbreak
| merging is always safe as long as you have no local uncommitted changes | 21:06 |
|
ayust
| cbreak: different definition of safe | 21:07 |
| ← boutcher left | 21:07 |
| → chrisdev joined | 21:08 |
|
wereHamster
| ayust: it's safe in every sense of the word | 21:08 |
| ← sanguisleft left | 21:08 |
| ← drubies left | 21:08 |
| → boutcher joined | 21:09 |
| → candybar joined | 21:09 |
| ← saschpe left | 21:09 |
|
dotCOMmie
| for the purposes of this issue safe is: not pull changes against the stream | 21:09 |
| adamholt → adamholt_away | 21:09 |
| adamholt_away → adamholt | 21:09 |
|
ayust
| ^ wereHamster | 21:10 |
| ← q0rban left | 21:10 |
| ← replore left | 21:10 |
| ← setmeaway left | 21:10 |
|
wereHamster
| eh? 'aginst the stream'? | 21:11 |
| ← boutcher left | 21:11 |
| → setmeaway joined | 21:11 |
| ← setmeaway left | 21:11 |
| ← kipras left | 21:12 |
| → setmeaway joined | 21:12 |
| ← sylr left | 21:12 |
|
dotCOMmie
| ayust: I think that might make sense | 21:12 |
| ← khaije|m` left | 21:12 |
|
dotCOMmie
| is there a nice way to see if one commit is parent of another? | 21:12 |
|
ayust
| git log sha1..sha2 | 21:13 |
|
dotCOMmie
| yeah thats what I was thinking d: | 21:13 |
|
ayust
| (or just git rev-list) | 21:13 |
| → ereslibre joined | 21:14 |
| ← ereslibre left | 21:14 |
| → ereslibre joined | 21:14 |
| → khaije|m` joined | 21:14 |
| ← rendez left | 21:14 |
|
dotCOMmie
| wereHamster: if you have a development branch and a maintenance branch. The maintenance branch is upstream, it is safe to merge from it to a development branch. You do not however want to pull commits from the development branch to a maintenance branch. | 21:15 |
| ← deekayen left | 21:15 |
| ← Behi left | 21:16 |
| ← kumbayo left | 21:16 |
|
wereHamster
| is that a question? | 21:16 |
| ← boriskr left | 21:17 |
|
dotCOMmie
| wereHamster: I'm explaining "against the stream" | 21:17 |
|
| wereHamster is still not getting it | 21:17 |
| ← captnemofulcrum left | 21:18 |
| → bsajsb joined | 21:18 |
| ← bsajsb left | 21:19 |
|
dotCOMmie
| If you are developing a software and you release it. And a customer says there is this small bug, please fix it. You want to be able to provide them with a minimal patch to just address that issue vs having to provide them with a patch for that bug plus many other perhaps untested changes. | 21:19 |
| → deekayen joined | 21:19 |
| ← deekayen left | 21:19 |
| → deekayen joined | 21:19 |
|
| wereHamster is still not getting where the 'stream' comes into play | 21:20 |
| ← deekayen left | 21:20 |
| ← saschagehlich_ left | 21:20 |
| → deekayen joined | 21:21 |
|
dotCOMmie
| The stream is that you can have constant merges from your maintenance branch to your development branch | 21:21 |
|
| and you don't want the changes going from the development branch to a maintenance branch | 21:21 |
|
wereHamster
| that's common workflow. NOthing special there | 21:22 |
|
dotCOMmie
| right | 21:22 |
| ← afeijo left | 21:22 |
| ← gedevan left | 21:23 |
| ← spaceonline left | 21:23 |
| → sigh joined | 21:23 |
| → lolfrenz joined | 21:24 |
| ← khaije|m` left | 21:25 |
| ← ExtraSpice left | 21:27 |
| ← bodom left | 21:27 |
| → eletuchy joined | 21:28 |
| → khaije|m` joined | 21:28 |
| ← bran left | 21:28 |
| → jnylen joined | 21:29 |
|
jnylen
| Hi all... git stash pop had a merge conflict which I have resolved... now how do I finish the operation? | 21:29 |
| ← PabloM left | 21:30 |
| → fr0sty joined | 21:30 |
| ← ericdc left | 21:30 |
| ← grahamc left | 21:30 |
| ← fr0sty|mobile left | 21:30 |
|
thiago_home
| jnylen: git add | 21:31 |
| ← candybar left | 21:32 |
| → jhaddad joined | 21:33 |
| nixness → foocraft | 21:33 |
|
jnylen
| thiago_home: normally 'git stash pop' doesn't add anything to the index | 21:33 |
|
| i think that's why i was confused | 21:33 |
|
thiago_home
| right | 21:33 |
|
jnylen
| because now the conflicting files are added to the index, which I didn't want | 21:33 |
|
| so 'git reset' got things back to what i expected | 21:33 |
|
thiago_home
| yeah | 21:34 |
| → candybar joined | 21:34 |
|
jhaddad
| i've got a big project at work where i've done a whole bunch of commits in a branch, and pushed up to a remote branch of the same name. is there any harm of interactively rebasing it locally before I merge back into master? | 21:34 |
|
mmattice
| if someone else is playing with that branch, it may annoy them | 21:34 |
|
jhaddad
| mmattice: no one else is using it | 21:34 |
|
| i just didn't know if it would do anything weird with the merge history.. never tried it before. | 21:35 |
| → alecthegeek joined | 21:35 |
|
pantsman
| it won't do anything "weird" | 21:36 |
|
jhaddad
| pantsman: k, thanks | 21:37 |
|
mmattice
| you can always test it and push it somewhere safe to try it out | 21:37 |
| ← schweize1 left | 21:38 |
| → kwebble joined | 21:38 |
| ← khaije|m` left | 21:38 |
| ← Juo left | 21:39 |
| → pdhborges joined | 21:39 |
| ← joel_falcou left | 21:39 |
| → joel_falcou joined | 21:39 |
| ← pantsman left | 21:39 |
| ← larsl left | 21:40 |
| → khaije|m` joined | 21:43 |
| ← dyer left | 21:44 |
| ← rayners left | 21:44 |
| → juangiordana_ joined | 21:46 |
| → LekeFly joined | 21:47 |
| ← joel_falcou left | 21:47 |
| ← juangiordana left | 21:48 |
| ← binjured_ left | 21:49 |
| ← AkumaStreak left | 21:49 |
| ← aidalgol left | 21:50 |
| ← vsayer left | 21:51 |
| ← alecthegeek left | 21:52 |
| ← kwebble left | 21:53 |
|
devth
| curious about when appropriate to use push -f: let's say i'm working on repo w/ 1 other dev, who is currently asleep under their desk. i commit and push. then i realize i want to fix up that last commit with --amend. save to push -f here? | 21:53 |
|
| s/save/safe | 21:53 |
|
albel727
| yeah. as long as you're sure nobody has pulled during that time, it's ok. | 21:55 |
| ← khaije|m` left | 21:55 |
|
devth
| right. so push -f doesn't blow anything up except that last commmit | 21:55 |
|
albel727
| in described situation - yes. | 21:55 |
|
devth
| ok, ty | 21:56 |
|
RichiH
| devth: in theory, if you are only two devs, you can even push -f after he pulled | 21:56 |
|
| if you communicate clearly | 21:56 |
|
avdg
| or both devs have enough git knowledge ;-) | 21:56 |
|
jhaddad
| RichiH: how would that work | 21:56 |
|
devth
| RichiH: if he made commits, how would he cleanly pull? some rebase? | 21:56 |
| → lightcap joined | 21:56 |
|
devth
| cherry-pick? | 21:56 |
|
avdg
| rebase, merge, whatever to sync | 21:57 |
|
RichiH
| though if he pulls and pushes again without doing anything else, you will end up with both patch paths in your upstream if both series end in the same status. if not, things get conflicted | 21:57 |
| ← tanuki_ left | 21:57 |
|
RichiH
| devth: depends on the situation, really | 21:57 |
| → gholms|work joined | 21:57 |
| → khaije|m` joined | 21:58 |
|
devth
| well, he wouldn't just be able to do a "git pull" right? he'd have to git fetch then figure out how to merge origin/<branch> into his stuff | 21:58 |
| ← ereslibre left | 21:58 |
|
avdg
| the git tools are not really interesting actually, whats more interesting are whats happening with the commits and the branch pointers | 21:58 |
|
| but that requires some git core knowledge (how git objects works) | 21:59 |
|
devth
| avdg: yeah, i've read the progit interals a few times, but it's discussions like this that really help me understand :) | 21:59 |
| → replore joined | 21:59 |
| ← phantomcircuit left | 21:59 |
| ← _psychic_ left | 22:00 |
|
avdg
| the tools are just to help you with what you want to do | 22:00 |
| adamholt → adamholt_away | 22:00 |
|
RichiH
| devth: if you rebase your local repo but keep HEAD the same and then push --force, B pulls into his repo and pushes again, and you pull again, you will both have two parallel commit paths which both end in the same HEAD | 22:00 |
| adamholt_away → adamholt | 22:00 |
| ← excess^ left | 22:00 |
|
RichiH
| and by rebase, i meant interactive rebase with squashing, reordering, picking, etc | 22:01 |
| ← drev1 left | 22:01 |
| → vsayer joined | 22:01 |
| ← opalka left | 22:01 |
|
avdg
| :p interactive is really cool in git btw ;-) | 22:02 |
|
gholms|work
| Bleh, rebasing stuff that happened prior to a subtree merge is really hard. :-\ | 22:02 |
|
devth
| RichiH: ok right. but assume he pulled, i rebased -i & pushed -f, he made commits, now he wants to push his commits. how can he? | 22:02 |
| gholms|work → gholms | 22:02 |
| → _psychic_ joined | 22:02 |
|
avdg
| he can always sync | 22:02 |
|
| he just have the old commits, thats really everything | 22:02 |
| → Guest1729 joined | 22:02 |
|
avdg
| he is on an other track | 22:02 |
|
devth
| so a merge commit gets him into the same place as me | 22:03 |
|
| but his history is different? | 22:03 |
|
avdg
| well, rebase can still get ride of that if you really wants that | 22:03 |
|
| especially with interactive mode | 22:03 |
|
RichiH
| devth: in that case, you owe him beer | 22:04 |
| → EricInBNE joined | 22:04 |
|
RichiH
| and he will need to clone into a new repo and merge his stuff more or less manually | 22:04 |
|
devth
| before this discussion, i would have done this: B saves his stuff on another branch, reset --hard origin/master, then cherry-pick the work from that branch | 22:04 |
|
avdg
| or let him do the job :p | 22:04 |
| ← TrineLocke left | 22:05 |
|
devth
| lol, true, but this is all hypothetical | 22:05 |
| → Swimmin__ joined | 22:05 |
|
RichiH
| devth: there are several ways to do this | 22:05 |
| ← Swimming_bird left | 22:05 |
|
RichiH
| the basic guideline is: if someone else pulled changes already, you must only change history if there is a _really_ good reason to do so and only after talking to the others and getting their OK | 22:05 |
|
| also, you will owe them beer | 22:06 |
|
devth
| hah. ok. | 22:06 |
|
| so assume you bought the beers, you got their OK | 22:06 |
| → TrineLocke joined | 22:06 |
|
devth
| i what i set before about reset --hard the way for them to get their local histories inline with mine after i push -f? | 22:06 |
|
RichiH
| in that case, it depends | 22:06 |
|
devth
| *is | 22:06 |
| ← candybar left | 22:07 |
|
RichiH
| personally, i would most likely just clone into a new repo, merge all changes i want, and get rid of the old repo after making sure everything is OK. it's a bit of a ham-fisted approach, but it works | 22:08 |
| ← khaije|m` left | 22:08 |
|
devth
| ah, ok | 22:08 |
| ← TrineLocke left | 22:08 |
| ← Schmallon left | 22:08 |
| → candybar joined | 22:09 |
| → mtx_init joined | 22:09 |
| → alecthegeek joined | 22:10 |
| ← ThomasLocke left | 22:10 |
| ← pdelgallego left | 22:10 |
| ← pdelgallego_ left | 22:10 |
| ← PerlPilot left | 22:10 |
| → PerlJam joined | 22:11 |
| ← tty1 left | 22:11 |
|
hacim
| gah, what is wrong with this push | 22:11 |
|
avdg
| ? | 22:11 |
|
hacim
| i do a git push, and it does this: http://paste.debian.net/115416/ | 22:11 |
|
| and then it never finishes | 22:12 |
| elliottcable → ec|detached | 22:12 |
|
avdg
| patient? | 22:12 |
|
hacim
| i waited 30 minutes | 22:12 |
|
avdg
| hmm | 22:12 |
|
hacim
| and I'm sitting next to the machine and it is underloaded | 22:12 |
|
avdg
| looks like a very slow server or slow connection | 22:13 |
| → sylr joined | 22:13 |
| ← gionnico left | 22:13 |
|
hacim
| i tried git gc --aggressive and git fsck on both server and local repo | 22:13 |
| → tty1 joined | 22:13 |
|
hacim
| the load is 0.1 on the server, and i'm on the local lan where ssh interactivity in the shell is mighty fast | 22:13 |
| ← tgunr left | 22:13 |
|
avdg
| maybe permission | 22:13 |
| → gionnico joined | 22:14 |
|
avdg
| but nothing to be sure | 22:14 |
|
| what protocol are you using? | 22:14 |
| → khaije|m` joined | 22:15 |
| ← jbrokc left | 22:15 |
| ← berserkr left | 22:15 |
| ← resmo left | 22:15 |
| ← tgunr_ left | 22:15 |
| → jbrokc joined | 22:16 |
| ← fr0sty left | 22:16 |
|
hacim
| avdg: git:// | 22:17 |
| ← sylr left | 22:17 |
| ← drizzd left | 22:17 |
|
gholms
| Pushing over git://. Interesting. | 22:17 |
|
speakman
| hm! adding a git pre-commit script makes "reword" when "git rebase -i" not work! | 22:17 |
| ← tty1 left | 22:18 |
|
avdg
| hacim: did you tried over ssh? | 22:18 |
| → tty2 joined | 22:18 |
|
| avdg knows he's too inexperienced about the git protocol | 22:19 |
| ← gionnico left | 22:20 |
| ← gfto left | 22:22 |
| ← tvw left | 22:22 |
| wagle_ → wagle | 22:22 |
| → syphar joined | 22:23 |
| ← alex__c2022 left | 22:23 |
| → mklappstuhl joined | 22:24 |
| ← Heimidal left | 22:25 |
| ← eijk left | 22:25 |
| ← mheusser left | 22:25 |
| → rcreasey joined | 22:26 |
|
rcreasey
| I need some help removing some commits an over-zealous developer made and pushed to our repo | 22:26 |
| → jophish_ joined | 22:26 |
|
rcreasey
| I basically want to remove all changes he's made | 22:26 |
| ← khaije|m` left | 22:26 |
|
avdg
| git rebase -i ? | 22:26 |
|
gholms
| git revert? | 22:27 |
|
thiago_home
| rcreasey: git revert | 22:27 |
| ← syphar left | 22:27 |
|
thiago_home
| it will apply the reverse of the patches | 22:27 |
| ← psoo left | 22:27 |
|
rcreasey
| revert just unwinds the changes | 22:27 |
|
| there are a couple i'm going to need to keep that other people have made | 22:27 |
|
| so i'm wanting to rebase? | 22:27 |
|
thiago_home
| no | 22:27 |
|
| you want to revert | 22:27 |
|
gholms
| git revert works on a commit-by-commit basis. | 22:27 |
|
rcreasey
| oh, cool | 22:28 |
|
thiago_home
| never rebase a branch that people work on | 22:28 |
| ← skoop left | 22:28 |
| ← ZeroCoder left | 22:28 |
|
rcreasey
| so git revert, how do i tell it to go back to the commit I want? | 22:29 |
|
| say HEAD~14 | 22:29 |
|
thiago_home
| revert all commits in-between | 22:29 |
|
| alternatively: git checkout HEAD~14 .; git commit | 22:29 |
| ← sigh left | 22:29 |
|
rcreasey
| ah, so it's just clipping those commits | 22:29 |
|
thiago_home
| clipping? | 22:30 |
|
rcreasey
| so if i did git revert HEAD~14 | 22:30 |
| → pdelgallego joined | 22:30 |
|
gholms
| That would undo one commit. | 22:30 |
| → pdelgallego_ joined | 22:30 |
|
rcreasey
| just HEAD~14 | 22:30 |
|
| gotcha. | 22:30 |
| → alberto56 joined | 22:30 |
|
rcreasey
| and uh, dumb question | 22:30 |
| → whyking_ joined | 22:30 |
|
rcreasey
| revision hashes | 22:30 |
|
| what's the easiest way to get the shortform? | 22:30 |
| → resmo joined | 22:31 |
|
thiago_home
| for what? For an arbitrary commit? | 22:31 |
|
gholms
| Keep chopping off characters until git says it's too ambiguous. | 22:31 |
|
rcreasey
| ah, ok | 22:31 |
| ← n8o-mba left | 22:32 |
| → simplexity joined | 22:32 |
| ← simplexity left | 22:32 |
| → simplexity joined | 22:32 |
| ← simplexity left | 22:33 |
| ← tearsong left | 22:34 |
| ← kingfishr__ left | 22:34 |
| → welly joined | 22:34 |
|
rcreasey
| so there's like 10 commits this guy did that I need to remove | 22:35 |
|
| i should still be git reverting? | 22:36 |
| yaotti_aw → yaotti | 22:36 |
|
rcreasey
| but should i start with the most recent commit and work backward in time? | 22:36 |
|
gholms
| Yes | 22:36 |
| ← v0n left | 22:36 |
| → khaije|m` joined | 22:36 |
|
| gholms gives up on his rebase | 22:37 |
|
rcreasey
| does it work on merge commits? | 22:37 |
| → bonhoffer joined | 22:37 |
| → n8o-mba joined | 22:37 |
| → f00li5h joined | 22:37 |
|
gholms
| Reverting a merge is... umm... | 22:38 |
|
| gholms lets someone more knowledgeable take this one | 22:38 |
|
rcreasey
| i already want to stab this guy in the eyes | 22:38 |
| ← ymasory left | 22:38 |
|
gholms
| rcreasey: Some light reading on that: http://www.kernel.org/pub/software/scm/git/docs/howto/revert-a-faulty-merge.txt | 22:38 |
| → sylr joined | 22:39 |
| ← bonhoffer left | 22:39 |
| → joel_falcou joined | 22:40 |
| → dpy joined | 22:40 |
| ← __sorin__ left | 22:40 |
| ← necromancer left | 22:41 |
| ← vanmik left | 22:41 |
| → phantomcircuit joined | 22:41 |
| ← glcrazy left | 22:42 |
| ← pdhborges left | 22:43 |
| ← ngng left | 22:46 |
| ← sylr left | 22:46 |
| → ngng joined | 22:46 |
| ← khaije|m` left | 22:47 |
| ← giallu left | 22:48 |
| ← cyphase left | 22:48 |
| → angelsl joined | 22:49 |
| → gadams joined | 22:50 |
| → mkanat joined | 22:52 |
| → jds joined | 22:52 |
| → khaije|m` joined | 22:53 |
| ← jophish_ left | 22:53 |
| yaotti → yaotti_aw | 22:53 |
| → Octalot joined | 22:54 |
| ← LekeFly left | 22:54 |
| → ereslibre joined | 22:54 |
|
lolfrenz
| can I merge two commits into one? | 22:55 |
|
thiago_home
| that's not what merge means | 22:55 |
|
| you want to squash two commits together | 22:55 |
|
| have you pushed them somwhere where other people use them? | 22:55 |
|
lolfrenz
| nope | 22:55 |
|
thiago_home
| then git rebase -i $SUITABLE_COMMIT | 22:56 |
|
| the suitable commit may be one commit before the oldest of the two | 22:56 |
| ← Samual left | 22:57 |
| ← mdel left | 22:57 |
| ← cesario left | 22:57 |
| ← mkanat left | 22:58 |
| → JEEB joined | 22:58 |
| ← n8o-mba left | 22:58 |
| ← cannonball left | 22:58 |
| ← _psychic_ left | 22:59 |
|
rhl
| hi, I have an svn repository in which I have a directory with read/write access (otherwise I just have read access), and I am trying to use git svn to pull just the folder, how do I do that? | 22:59 |
| ← mklappstuhl left | 22:59 |
| ← DrNick left | 22:59 |
| → cyphase joined | 23:00 |
| ← cyphase left | 23:00 |
| → cyphase joined | 23:00 |
| → DrNick joined | 23:00 |
| ← replore left | 23:00 |
|
bla
| have you tried passing it just the necessary path to git svn clone? | 23:01 |
|
| If it won't work you can give it a relative path to trunk directory | 23:01 |
|
gholms
| I tried that once. It backed out to the top level of the repo and began parsing commits. | 23:01 |
|
| All 1.1 million of them. >_< | 23:01 |
| ← ch077179 left | 23:01 |
|
rhl
| I get something like: svn-remote.svn.url already set: <url> wanted to set to <url> | 23:02 |
| ← linusoleander left | 23:02 |
| → dyer joined | 23:03 |
| ← dyer left | 23:03 |
| → dyer joined | 23:03 |
| → dnorman joined | 23:04 |
|
rhl
| bla: specifically: http://fpaste.org/rwPm/ | 23:04 |
| ← dnorman left | 23:04 |
| → dnorman joined | 23:04 |
| ← namemon left | 23:04 |
| ← dnorman left | 23:04 |
| ← khaije|m` left | 23:05 |
|
rhl
| I have been able to check out it's parent directory, but i'm not sure if I commit back with changes in the subdirectory what will happen | 23:05 |
| → replore_ joined | 23:05 |
| ← Amorphous left | 23:05 |
|
rhl
| bla, ah, I see, nm, it creates the directory on failure, if I delete it, it works the second time through | 23:06 |
| ← chitragupt left | 23:06 |
| → linusoleander joined | 23:06 |
| ← ereslibre left | 23:07 |
| ← alecthegeek left | 23:07 |
| ← workmad3 left | 23:07 |
| ← deekayen left | 23:07 |
| ← ngng left | 23:07 |
| ← linusoleander left | 23:07 |
| → ngng joined | 23:08 |
| → linusoleander joined | 23:08 |
| ← milki_ left | 23:09 |
| → milki joined | 23:09 |
|
milki
| how can i delete branches that were made with 'git pull origin :refs/blah' where blah is not one of heads/tags/remotes via git | 23:09 |
|
| its says new branch, but i cant reference the branch | 23:10 |
| ← phantomcircuit left | 23:11 |
| → ymasory joined | 23:11 |
|
gadams
| In gitolite how do I modify where the default repositories go? | 23:11 |
| ← alip left | 23:12 |
| → khaije|m` joined | 23:12 |
|
dropdrive
| Is magit being maintained? I see very little (no?) activity on it in the past year. I'm hesistant to start using something that has stagnated. | 23:12 |
| ← kenichi_ left | 23:13 |
|
milki
| gadams: its in the conf file for gitolite | 23:13 |
|
bremner_
| dropdrive: what repo? | 23:13 |
|
milki
| gadams: when you install it | 23:14 |
| → smolyn_ joined | 23:14 |
| → JustinKSU joined | 23:14 |
|
gadams
| milki, the ENV{HOME} . "/projects.list", that variable? | 23:15 |
| ← mm_202 left | 23:15 |
| ← deuterium left | 23:15 |
|
milki
| shouldnt there be coments for it | 23:15 |
|
JustinKSU
| Help: I have used Eclipse to commit my code change in my GitHub Fork, but I don't see the change on github.org. Am I doing something wrong? | 23:15 |
| ← dr_win left | 23:15 |
|
milki
| i dont think its that one | 23:15 |
| ← smolyn left | 23:15 |
|
milki
| the default is /repositories | 23:15 |
| → drubies joined | 23:16 |
| → alip joined | 23:16 |
| → phantomcircuit joined | 23:16 |
|
milki
| $REPO_BASE | 23:16 |
|
| gadams: ^ | 23:16 |
|
| though it says not to change it | 23:17 |
|
| :P | 23:17 |
|
gadams
| milki, I just found that too. Thank you sir. I'm going to go facepalm myself | 23:17 |
|
milki
| make sure to migrate the admin repo properly | 23:17 |
|
| i guess | 23:17 |
|
gadams
| I'm doing a clean install | 23:17 |
| → nakkor joined | 23:17 |
|
milki
| o ok | 23:18 |
| → Mark_Morcom joined | 23:18 |
| → bonhoffer joined | 23:18 |
|
milki
| is there a way to pull/clone refs from /refs that arent heads/tags/remotes!? | 23:18 |
| ← simosx left | 23:19 |
|
milki
| cant seem to figure out how to reference them -.- | 23:19 |
|
thiago_home
| yes | 23:19 |
|
| git fetch reponame $REFNAME | 23:19 |
|
milki
| cant find remote ref | 23:20 |
|
thiago_home
| then you typed it wrong | 23:20 |
|
| git ls-remote reponame to list all available refs | 23:20 |
|
| all that exist | 23:20 |
|
milki
| well, i guess its already fetched because i can do git show SHA | 23:20 |
| → _psychic_ joined | 23:20 |
|
milki
| but its not under .git/refs | 23:20 |
| ← _psychic_ left | 23:20 |
|
thiago_home
| do you see the ref in the output of ls-remote? | 23:20 |
|
milki
| yes | 23:21 |
|
thiago_home
| what is it called? | 23:21 |
|
milki
| oo | 23:21 |
|
| i need pull name | 23:21 |
|
| s/pull/full | 23:21 |
|
| from / | 23:21 |
|
| ok | 23:21 |
|
thiago_home
| yes | 23:21 |
| ← nimrod10 left | 23:21 |
|
rcreasey
| bleh | 23:22 |
|
| okay, this repo is totally fucked up | 23:22 |
|
milki
| how can i delete branches that were made with 'git pull origin :refs/blah' where blah is not one of heads/tags/remotes via git | 23:22 |
| → Amorphous joined | 23:22 |
|
milki
| it didnt really create a branch but it shows up in show-ref | 23:22 |
|
rcreasey
| is there anyway for me to just delete the last 15 commits and reset the repo to that point in time? | 23:22 |
| ← khaije|m` left | 23:22 |
|
milki
| rcreasey: git rebase --hard | 23:22 |
|
| and uh | 23:23 |
| → kermit joined | 23:23 |
|
milki
| HEAD^15? | 23:23 |
|
| but its permanent | 23:23 |
|
| so...be careful... | 23:23 |
|
rcreasey
| good riddance | 23:23 |
|
milki
| or find the sha-1 hash of the commit you wnat to roll back to | 23:23 |
|
rcreasey
| HEAD~15? | 23:23 |
|
milki
| just to be safe | 23:23 |
|
rcreasey
| yeah | 23:23 |
|
| i have that. | 23:23 |
| ec|detached → elliottcable | 23:23 |
| → Samual joined | 23:24 |
|
gadams
| okay when I change $REPO_BASE it still attempts to /home/git/srv/git/repositories instead of /srv/git/repositories | 23:24 |
| ← javaanse_jongens left | 23:24 |
| ← Ryback_ left | 23:24 |
| ← bonhoffer left | 23:27 |
| ← gnufied left | 23:27 |
| → Textmode joined | 23:27 |
| ← JustinKSU left | 23:27 |
| ← ShadowBelmolve left | 23:28 |
| → khaije|m` joined | 23:29 |
| ← Swimmin__ left | 23:29 |
| → tao_ joined | 23:30 |
| ← jds left | 23:30 |
| ← replore_ left | 23:32 |
|
dropdrive
| bremner_: I couldn't find any that were recently updated. | 23:33 |
|
| bremner_: (magit, that is.) | 23:33 |
|
bremner_
| dropdrive: there's plenty of activity on the mailing list. Did you look on github? | 23:33 |
| aroop → aroop|away | 23:33 |
|
bremner_
| oh, it's just being reorganized on github. hmm. | 23:34 |
| → binjured_ joined | 23:34 |
|
dropdrive
| bremner_: Oh, which repo should I be using? | 23:34 |
| ← binjured_ left | 23:34 |
| → paolodedios joined | 23:35 |
|
dropdrive
| bremner_: (I couldn't find philjackson's.) | 23:35 |
| → javaanse_jongens joined | 23:35 |
|
bremner_
| https://github.com/magit/magit | 23:35 |
| ← dpy left | 23:36 |
| → jophish_ joined | 23:36 |
| → tgunr joined | 23:36 |
| ← icwiener_ left | 23:37 |
| → jrots joined | 23:37 |
|
dropdrive
| bremner_: Thanks. | 23:37 |
| ← Chillance left | 23:38 |
|
bremner_
| dropdrive: welcome! | 23:38 |
| → bonhoffer joined | 23:38 |
| shadowmaster → Shadowmbit | 23:38 |
|
bremner_
| I think google hasn't caught up with the re-org yet, so I can't even yell at you ;) | 23:38 |
|
gadams
| Has anyone ever changed $REPO_BASE when installtion gitolite? | 23:39 |
| ← beatak left | 23:39 |
| ← guns left | 23:39 |
| ← LiamH left | 23:40 |
| ← khaije|m` left | 23:41 |
| ← Christie left | 23:41 |
| → Christie joined | 23:41 |
| ← jophish_ left | 23:41 |
|
rcreasey
| okay, here's another problem i have. the same overzealous developer went and pushed his changes on to the master branch on a repo using the gitflow model (master/develop/features branches) | 23:42 |
|
| I've cleaned up everyting but the master branch | 23:42 |
|
| and master is currently sitting at 29 behind / 12 ahead of develop | 23:43 |
|
| those 12 are obviously the ones that this guy committed | 23:43 |
|
| how do I remove just those commits? | 23:43 |
| → drev1 joined | 23:43 |
|
devth
| rcreasey: sounds like you should merge master into develop to get those 12 commits in the right spot | 23:45 |
|
| rcreasey: then you could reset master back to where it should be (HEAD~12) | 23:45 |
| → ShadowBelmolve joined | 23:46 |
| ← ShadowBelmolve left | 23:46 |
| ← thiago_home left | 23:46 |
| ← Christie left | 23:47 |
| → drev1_ joined | 23:47 |
| ← drev1 left | 23:48 |
|
gholms
| ^ That is, of course, if the commits merely went into the wrong branch. | 23:48 |
| → khaije|m` joined | 23:50 |
|
rcreasey
| no, i want them totally removed. | 23:50 |
| ← tao_ left | 23:50 |
| ← cjz left | 23:50 |
|
rcreasey
| also, when doing git reverts | 23:50 |
|
| can i just do | 23:50 |
| → drev1 joined | 23:50 |
|
rcreasey
| git revert A; git revert B; git revert C ? | 23:50 |
|
| or do i need to do something inbetween each? | 23:50 |
| aroop|away → aroop | 23:51 |
| ← ormaaj left | 23:51 |
|
devth
| revert undoes commits by creating new commits | 23:51 |
|
rcreasey
| ah | 23:51 |
|
devth
| do you want to maintain that history, or do you want to completely abandon those commits? | 23:51 |
|
rcreasey
| well, this is being done on master | 23:51 |
|
| gholms recommends maintaining that history | 23:52 |
|
rcreasey
| so i'd rather them just disappear entirely | 23:52 |
| ← drev1_ left | 23:52 |
|
rcreasey
| because they need to come as feature branch merges onto develop | 23:52 |
|
gholms
| Unless no one has fetched, of course. But if anyone has fetched those commits they'll appear again in the future. | 23:52 |
|
rcreasey
| (and then merges from develop onto master) | 23:52 |
| ← Yuuhi left | 23:53 |
|
rcreasey
| well, if i maintain the history of those commits (and thusly the revert commits to undo them), doesn't that break the fast forward that master would have in relation to develop? | 23:53 |
|
gholms
| Move develop forward after you revert it in master. | 23:53 |
|
devth
| if he hasn't pushed yet, i'd go with the cleaner history and use reset | 23:54 |
|
| but if he pushed, use gholms's approach | 23:54 |
|
gholms
| Sure, if he hasn't pushed. | 23:54 |
|
rcreasey
| yeah, this is already up on github | 23:54 |
|
| which is why i'm having to deal with this | 23:54 |
|
gholms
| Since you'll have canceled out the content of the extra commits everyone else should be able to merge back into develop and then master. | 23:54 |
| Shadowmbit → shadowmaster | 23:54 |
| ← ymasory left | 23:55 |
|
rcreasey
| okay, so just so i'm clear | 23:55 |
| ← tjholowaychuk left | 23:55 |
|
rcreasey
| do a bunch of git revert -n <each of his revisions> on master | 23:55 |
|
| then merge in develop to master | 23:55 |
|
| gholms recommends git revert -n master~N..master | 23:55 |
|
gholms
| (where N is a number) | 23:55 |
|
| master will be ahead of develop. | 23:56 |
|
rcreasey
| but master is currently sitting 29 behind / 12 ahead of develop | 23:56 |
|
gholms
| So after you revert the changes in master you will need to merge master into develop. | 23:56 |
|
devth
| develop will pull in those 12+1 commits though | 23:57 |
|
| when you merge | 23:57 |
|
gholms
| Yeah, and when you're done master will be 20 behind / 0 ahead of develop. | 23:57 |
|
| 29, rather | 23:57 |
|
rcreasey
| you mean 30? | 23:57 |
|
| 29+1 | 23:57 |
|
| ? | 23:57 |
|
gholms
| Yep. ;) | 23:58 |
| ← nvardar left | 23:58 |
| → jophish_ joined | 23:58 |
|
gholms
| Because you'll be merging master into develop the things that are only in develop won't go back into master just yet. | 23:58 |
|
devth
| gl w/ that, i've gotta run :) | 23:58 |
| ← devth left | 23:59 |