| 2013-11-18 |
| → oldtopman joined | 00:00 |
| ← teran left | 00:00 |
| → Goplat joined | 00:01 |
|
oldtopman
| I just changed the port for ssh on my gitolite server - how do I use git and specify a port number? | 00:01 |
| → cagedwisdom joined | 00:02 |
| ← sam113101 left | 00:02 |
|
bremner
| oldtopman: you can specify it in the client ssh configuration | 00:02 |
|
| or, see man git-push URL | 00:03 |
|
gitinfo
| the git-push manpage is available at http://jk.gs/git-push.html | 00:03 |
| → carpii joined | 00:03 |
|
oldtopman
| bremner: git remote set-url origin is of no use then? | 00:03 |
| → GT4066 joined | 00:03 |
|
bremner
| sure, that should work too. | 00:03 |
| → undecim joined | 00:03 |
|
oldtopman
| I have to use that anyway, since the computer shuffles between local network and outside. | 00:04 |
|
carpii
| i want to step through some commits in series, to test each stage to see where a bug was introduced. So I git checkout HEAD~20 and test. Is there now an easy way to advance to the next commit ? | 00:04 |
| ← mdiers left | 00:04 |
|
bremner
| carpii: is there some reason you are not using git bisect? | 00:06 |
| → sam113101 joined | 00:06 |
|
carpii
| yes | 00:06 |
|
bremner
| carpii: maybe use git-rev-list in advance? | 00:07 |
|
carpii
| that looks useful, thankyou | 00:07 |
| ← hiroyuki left | 00:08 |
|
bremner
| I did something similar with rebase: http://paste.debian.net/66345/ | 00:08 |
| ← threesome left | 00:08 |
|
oldtopman
| bremner: How does git://host.xz[:port]/path/to/repo.git/ work when I specify the url as git://host.xz:repo.git | 00:08 |
|
bremner
| oldtopman: the latter is not correct syntax | 00:09 |
| ← Kayra left | 00:09 |
|
bremner
| and anyway git:// has nothing to do with ssh | 00:09 |
| → frojnd joined | 00:09 |
|
frojnd
| Hi. | 00:09 |
| ← mmcdaris left | 00:11 |
|
frojnd
| I try to push changes to branch and I get: ![rejected] mybranch -> mybranch (non-fast-forward) and then error: failed to push some refs... updates were rejected because the tip of your current branch is behind its remote counterpart. Integrate the remote changes e.g. git pull before pushing again | 00:11 |
|
| I tried git pull and it says up-to date | 00:11 |
| ← raonyguimaraes left | 00:12 |
|
carpii
| what does git status say ? | 00:12 |
| ← snuffeluffegus left | 00:12 |
| ← freestyl3r left | 00:12 |
| → freestyl3r joined | 00:13 |
| → mfeltner joined | 00:13 |
|
frojnd
| carpii: Your branch is ahead of 'origin/master' by 1 commit. | 00:13 |
|
| carpii: and: use "git push" to publsh your local commits | 00:13 |
| ← maestrojed left | 00:14 |
| ← freestyl3r left | 00:14 |
| ← m8 left | 00:14 |
|
EugeneKay
| That's for the master branch | 00:14 |
| → freestyl3r joined | 00:14 |
|
EugeneKay
| `git checkout mybranch; git status` | 00:14 |
| → hahuang65 joined | 00:15 |
|
EugeneKay
| And the error message is pretty self-explanatory ;-) | 00:15 |
| ← freestyl3r left | 00:15 |
|
frojnd
| EugeneKay: Your branch is ahead of 'origin/master' by 1 commit. | 00:15 |
|
| and (use "git push" to publish your local commits) | 00:15 |
|
EugeneKay
| Well either mybranch isn't the name of your branch, or you're doing something wrong | 00:15 |
| → freestyl3r joined | 00:16 |
|
| EugeneKay does not troubleshoot theoretical issues | 00:16 |
|
frojnd
| EugeneKay: I did as you asked except I changed mybranch with actual name of my branch | 00:17 |
|
EugeneKay
| !secret !repro | 00:17 |
|
gitinfo
| [!topsecret] If your situation is so secret that you can't tell us how to !reproduce it, there's really not much we can do. Perhaps you need to find or buy support you can trust? There are people with clearances even on #git but they may not want to identify themselves. However, you are protected by the biggest secret of all: We just don't care. | 00:17 |
|
| Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will help immensely with troubleshooting. | 00:17 |
| ← mfulz left | 00:18 |
| ← petey__ left | 00:18 |
|
frojnd
| EugeneKay: http://sprunge.us/IcGf | 00:19 |
|
oldtopman
| bremner: Thanks for the help - managed to figure it out with the link you gave me. | 00:20 |
| → john2x joined | 00:20 |
|
EugeneKay
| And that still doesn't show you what the output of `git status` is. That's why we look for /transcripts/ instead of the output of a single command. | 00:20 |
| ← tombee left | 00:20 |
| ← Spyro left | 00:21 |
|
frojnd
| EugeneKay: that's the git status output. Did I missed something? | 00:21 |
|
EugeneKay
| s/doesn't/only/ | 00:21 |
|
| The failed `git push`, your `git checkout`, etc | 00:21 |
|
frojnd
| eh ok | 00:21 |
| ← starsinmypockets left | 00:22 |
|
aartist
| How I can find out when the file was first added into repository? | 00:23 |
|
frojnd
| EugeneKay: git push http://sprunge.us/IMai | 00:24 |
|
| EugeneKay: and git checkcout just gives me: Your branch is ahead of 'origin/master' by 1 commit. | 00:26 |
| → Davey joined | 00:26 |
| ← wooy left | 00:26 |
|
frojnd
| EugeneKay: and (use "git push" to publish your local commits) | 00:26 |
| ← Balliad left | 00:26 |
| → wooy joined | 00:27 |
| → rjhunter joined | 00:27 |
| ← BSaboia_ left | 00:27 |
| → johnkevinmbasco joined | 00:28 |
|
frojnd
| EugeneKay: any ideas? | 00:28 |
| → oojacoboo joined | 00:28 |
| ← eletuchy left | 00:28 |
| ← Vivekananda left | 00:29 |
| → eletuchy joined | 00:29 |
| ← echo-area left | 00:29 |
|
frojnd
| can I undo last commit on my branch? and then git pull, do changes and then commit and push? | 00:30 |
| → macabre joined | 00:30 |
|
frojnd
| EugeneKay: do you need anymore info? | 00:32 |
|
carpii
| you seem to be trying to push a local branch to origin master | 00:33 |
| → BSaboia_ joined | 00:33 |
|
carpii
| just mere your branch into local master and then push master | 00:33 |
|
| merge | 00:33 |
| ← hyperair left | 00:34 |
|
frojnd
| carpii: on local I have two branches. If I do git branch I can see I'm in mybranch currently | 00:34 |
|
| anyways, how do I branch into local master? | 00:35 |
| ← SocalNick left | 00:35 |
|
thiago
| what do you mean by "branch into" ? | 00:35 |
|
carpii
| how do you switch to local master branch? | 00:35 |
|
| git checkout master | 00:35 |
|
frojnd
| wait why would I merge into local master? I need mybranch :) | 00:35 |
|
carpii
| oh i think you really need to just read a good git guide | 00:35 |
|
| no disrespect but i dont think you understand how to use git even on a basic level :/ | 00:36 |
| → dyng joined | 00:36 |
| ← freestyl3r left | 00:36 |
| → freestyl3r joined | 00:37 |
|
aartist
| I have a list of file and I like to know when they were first added into git repo. How I can find that out? | 00:37 |
| → Kayra joined | 00:37 |
|
frojnd
| carpii: no problem. I thought If I have second branch I can do changes in this second branch and then pushing changes for this second branch. | 00:38 |
| ← freestyl3r left | 00:38 |
|
carpii
| frojnd: you typically create a branch, work on that feature, then when you want to push to remote, you merge it into master and push that | 00:38 |
|
| alternativwly, if you want to push to a remote branch so another user can work on it | 00:38 |
|
| you can git push origin remote_branch_name | 00:39 |
|
rjhunter
| aartist: you could start with `git log path/to/myfilename` and look at the earliest commit | 00:39 |
| ← oldtopman left | 00:39 |
| ← endiruna left | 00:39 |
|
rjhunter
| aartist: `git log --folow` if you're interested following renames | 00:39 |
|
frojnd
| carpii: yeah I tried to use this second feature. git push origin remote_branch_name (which in my case is the same as my local) and I get these errors | 00:40 |
|
carpii
| aartist: this might help too -- git log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(cyan)<%an>%Creset' --abbrev-commit public/index.html | tail -n1 | 00:41 |
|
| just ensures its on one line | 00:41 |
|
| tho the colors are unnecessary, i just copied it from an alias :) | 00:42 |
|
rjhunter
| aartist: git log also has `--reverse --date-order` options | 00:43 |
|
carpii
| nice | 00:44 |
| ← nnyk_ left | 00:44 |
| ← ulkesh left | 00:44 |
| → nnyk_ joined | 00:45 |
| → macrover joined | 00:45 |
| ← ndngvr left | 00:45 |
| → ndngvr joined | 00:45 |
| → HumanSky joined | 00:47 |
| ← MattMaker left | 00:47 |
| → ewnd9 joined | 00:48 |
| → juvenal joined | 00:49 |
| ← ntio left | 00:49 |
| ← Vile left | 00:49 |
| ← BSaboia_ left | 00:49 |
|
frojnd
| carpii: don't know why but merging to master works | 00:49 |
|
| but when trying to push to other branch it wont work | 00:50 |
|
| gonna have to read few things | 00:50 |
|
carpii
| thats a great idea :) | 00:50 |
| → juls joined | 00:50 |
| → Evelynn joined | 00:51 |
| → mribeirodantas joined | 00:52 |
| ← ewnd9 left | 00:54 |
| → ewnd9 joined | 00:54 |
| ← Evelynn left | 00:55 |
| → raonyguimaraes joined | 00:56 |
| → rchavik joined | 00:57 |
| ← Kayra left | 00:57 |
| → Kayra joined | 00:58 |
| ← harish_ left | 01:00 |
| → vipzrx joined | 01:00 |
| ← ewnd9 left | 01:02 |
| ← nwertman left | 01:02 |
| → Spyro joined | 01:02 |
| → ewnd9 joined | 01:02 |
| ← Ange_blond left | 01:04 |
| → kukks joined | 01:05 |
| → JEEB joined | 01:06 |
| → Balliad joined | 01:06 |
| ← HumanSky left | 01:08 |
| ← ewnd9 left | 01:09 |
| → ewnd9 joined | 01:09 |
| ← rjhunter left | 01:09 |
| → hyperair joined | 01:10 |
| ← Davey left | 01:11 |
| ← PeterBooker left | 01:11 |
| → lvella joined | 01:11 |
| ← shruggar left | 01:11 |
| → freestyl3r joined | 01:13 |
| ← penguin42 left | 01:13 |
| ← Marbug left | 01:15 |
| → boombatower joined | 01:18 |
| → weiyang joined | 01:18 |
| ← musicmatze left | 01:22 |
| ← lvella left | 01:22 |
| → PDX-rmjack joined | 01:23 |
| ← pfFredd left | 01:24 |
| ← mizu_no_oto left | 01:25 |
| ← nnyk_ left | 01:26 |
| → musicmatze joined | 01:28 |
| → echo-area joined | 01:30 |
| → daito joined | 01:31 |
| ← carpii left | 01:33 |
| ← huli_ left | 01:34 |
| ← ewnd9 left | 01:35 |
| → SiliconDon joined | 01:35 |
| ← freestyl3r left | 01:36 |
| ← daito left | 01:36 |
| ← King_Hual left | 01:36 |
| → freestyl3r joined | 01:37 |
| ← SiliconDon left | 01:39 |
| ← rchavik left | 01:39 |
| ← BiggFREE left | 01:42 |
| ← rafaqueque left | 01:42 |
| → luc_ joined | 01:42 |
| ← bgerber left | 01:42 |
| → bgerber joined | 01:43 |
| → dhruvasagar joined | 01:44 |
| ← mribeirodantas left | 01:44 |
| ← kazi left | 01:46 |
| → bambams joined | 01:46 |
| ← bambams left | 01:46 |
| → bambams joined | 01:46 |
| → harish joined | 01:47 |
| ← DonRichie left | 01:48 |
| → DonRichie joined | 01:49 |
| → Chwing joined | 01:49 |
| ← causasui left | 01:51 |
| ← griotspeak left | 01:52 |
| ← pedda left | 01:52 |
| → lavaman joined | 01:53 |
| ← Guest__ left | 01:53 |
| juvenal → juvenal_away | 01:54 |
| → hwrd|work joined | 01:59 |
| → bwreilly joined | 01:59 |
| ← asQuirreL left | 02:00 |
| → Marbug joined | 02:00 |
| → saorge joined | 02:02 |
| → kazi joined | 02:03 |
| ← bgerber left | 02:05 |
| → bgerber joined | 02:05 |
| ← bambams left | 02:05 |
| → bambams joined | 02:05 |
| ← saorge_ left | 02:06 |
| → daito joined | 02:06 |
| → sagittarian joined | 02:06 |
| → tmcmahon joined | 02:07 |
| ← Balliad left | 02:07 |
| ← lavaman left | 02:07 |
| ← harish left | 02:08 |
| ← Kayra left | 02:08 |
| → pure joined | 02:09 |
|
pure
| Would there be an easy way to auto increment the @version tag in javadoc when a file is comitted? | 02:09 |
|
bremner
| pure: see "$Id$" in man gitattributes | 02:11 |
|
gitinfo
| pure: the gitattributes manpage is available at http://jk.gs/gitattributes.html | 02:11 |
|
EugeneKay
| The short answer is man git-describe | 02:11 |
|
gitinfo
| the git-describe manpage is available at http://jk.gs/git-describe.html | 02:11 |
|
bremner
| well, yeah, that would be better. | 02:11 |
| ← whitby left | 02:11 |
| → MattMaker joined | 02:13 |
|
pure
| So, would $Id$ be the only way to do it automatically? | 02:15 |
| ← jday_ left | 02:15 |
|
pure
| Oh, or I could just use a post commit hook and do some stuff. | 02:16 |
| → causasui joined | 02:16 |
| ← causasui left | 02:16 |
| → causasui joined | 02:18 |
| ← RaceCondition left | 02:18 |
| ← mitz_ left | 02:20 |
| → mitz_ joined | 02:22 |
| → chuckharmston joined | 02:24 |
| ← MattMaker left | 02:26 |
| ← GT4066 left | 02:26 |
| → kcj joined | 02:29 |
| ← chuckharmston left | 02:29 |
| → chuckharmston joined | 02:30 |
| → dsdeiz joined | 02:31 |
| → Vampire0 joined | 02:31 |
| → maslowbeer_ joined | 02:31 |
| ← abelsiqueira left | 02:31 |
| ← Vampire0_ left | 02:32 |
| → rjhunter joined | 02:32 |
| ← ozette left | 02:33 |
| → chuckhar_ joined | 02:33 |
| → Hexorg_ joined | 02:34 |
| → griotspeak joined | 02:34 |
| ← chuckharmston left | 02:35 |
| ← Watabou left | 02:35 |
| → Watabou joined | 02:35 |
|
Hexorg_
| Hey guys... I'm *really* new to git, and version control... Feel bad - very useful (thanks devs!), I should have learnt it earlier. Anyway, can I use git as an archive for my code? I usually write code at home and at work computers, so I want to transfer all the files to work, and then want to be able to transfer stuff from work back. | 02:36 |
|
offby1
| yep | 02:38 |
|
| it's quite good at that | 02:38 |
|
| granted, if that's _all_ you want, Dropbox or rsync might be even better | 02:38 |
|
| but chances are, you're gonna hack at home, then go to work and forget to sync, and start hacking; soon enough, you'll have created (without even intending to) "diverging branches", and git makes it super-easy to "merge" those back together. | 02:39 |
| → harish joined | 02:39 |
| ← Naoe-Kanno left | 02:39 |
|
offby1
| Hexorg_: so, use it. Also sign up for github, and use it too; it's super-slick | 02:39 |
| ← thelorax123 left | 02:39 |
|
| offby1 is not paid to endorse github, nor the Hair Club for Men | 02:39 |
| ← tmcmahon left | 02:39 |
|
Hexorg_
| offby1, yeah! I started a project in eclipse and I've been commiting changes. Is there a special way I should transfer now? Or can I just copy the whole project folder? | 02:40 |
| ← bambams left | 02:40 |
| ← PDX-rmjack left | 02:41 |
| → bambams joined | 02:41 |
| ← bambams left | 02:41 |
| → bambams joined | 02:41 |
|
offby1
| the way to "transfer" is to get _some_ git repository somewhere that's accessible via the Internet (like I say, github is a good choice). Then you "add" that repository as a "remote" to your eclipse repository. Then you "push". | 02:41 |
|
| Then you can "clone" that repository onto other machines. | 02:41 |
| → thelorax123 joined | 02:41 |
| ← griotspeak left | 02:41 |
|
Hexorg_
| I see. Awesome! Thanks! | 02:41 |
|
offby1
| for what it's worth, I found git to be quite confusing and prickly even after _months_ of using it. But I ultimately got to the point where I wouldn't give it up for anything | 02:41 |
|
| granted this was back in the Stone Age, when you had to create commits with pointed sticks and chipped-stone tools. But still. | 02:42 |
| → parcs joined | 02:44 |
|
Hexorg_
| I see gitHub wants a paid membership for private repos. I don't think I'm allowed to post this code for public. Is there a way to "push" into file? | 02:45 |
|
| offby1 stares blankly | 02:45 |
|
offby1
| Hexorg_: I think bitbucket offers private repositories for free. | 02:45 |
|
| I have no idea what '"push" into file' means. | 02:46 |
|
Hexorg_
| offby1, to create something like a tarball that will have all of my files AND commits | 02:46 |
| ← kpreid left | 02:46 |
| → w0ng joined | 02:47 |
|
offby1
| Hexorg_: you could do that by just tarring up your enitre repository. But why would you want to do that? | 02:47 |
| → kpreid joined | 02:47 |
|
offby1
| *entire | 02:47 |
|
deryni
| I believe git-bundle may do what you want, sort of. | 02:47 |
|
offby1
| let's figure out what he/she wants first | 02:47 |
|
Hexorg_
| Well I'm transfering the code over a flash drive. So I just wanted to have a tarball | 02:48 |
| → Gu_______ joined | 02:48 |
|
offby1
| well, if you're using git, it's quite unusual to transfer the entire tree. | 02:48 |
|
| typically you just transfer the minimum "delta" needed to bring one repository in sync with another. | 02:49 |
|
| "git push" and "git pull" do that for you. | 02:49 |
|
| so you could put a repository on the flash drive, and push to it, or pull from it. | 02:49 |
|
| so, you'd have (at least) three repositories: one on each machine on which you hack, and another on the flash drive. | 02:50 |
|
Hexorg_
| offby1, oh ok, so I don't have to use an online resource to push/pull? It looked like I HAD to use an online repo | 02:50 |
|
offby1
| You'd occasionally connect the flash drive to this machine or that, bringing each in sync with the other. | 02:50 |
|
deryni
| Putting the "online repo" on the flash drive would work. | 02:50 |
|
offby1
| you don't _have_ to use an online resource; a flash drive would be fine. It's just that "online resources" (I call them "hosted git repositories") are more common | 02:50 |
|
| and arguably more convenient, but Your Mileage May Vary™. | 02:51 |
|
deryni
| And no, the only thing that makes "online" a requirement is the "getting to it from both home and work" part. | 02:51 |
|
offby1
| nod | 02:51 |
|
| although I hear they make flash drives small enough to fit in the passenger seat of a car these days :) | 02:51 |
|
| a reasonably healthy fellow can lift carry it into and out of the car himself! | 02:52 |
| ← yogin left | 02:52 |
|
Hexorg_
| Yeah, I'm a university student, and by "work" I ment my lab haha | 02:52 |
|
| That's also why I don't want to use a paid account - I don't have much money. | 02:52 |
|
offby1
| I'd be afraid I'd lose the flash drive. | 02:52 |
|
| well, github is only like $7/month for a few private repositories. I think that's all I'm paying. | 02:53 |
|
| I bet your tuition is a tad more than that. | 02:53 |
|
Hexorg_
| I have an ssh access to my machine in the lab, I think I'll keep the main tree there. | 02:53 |
|
deryni
| Does your lab have internet accessible services? They could host the repo themselves. | 02:53 |
|
offby1
| oh sure; if you can get to the box via ssh, then it'll do just fine. | 02:53 |
|
Hexorg_
| Yeah :D thanks guys | 02:53 |
|
offby1
| You can have two repositories on the lab machine: one sort of common one, and one that you hack in. | 02:53 |
| ← Gu_______ left | 02:53 |
|
offby1
| each hacking repository will exchange data with that common one. | 02:53 |
|
| (You should really make the common repository be a "bare" repository, by the way.) | 02:54 |
|
Hexorg_
| Hmm. ok | 02:55 |
| ← Hexorg_ left | 02:57 |
|
offby1
| given that you can "talk to" the lab machine from home via ssh, you might be tempted to have just _two_ repositories: one on each machine. That can be made to work, but I advise against it; having _three_ repositories -- one central "bare" one and two for hackin' -- is conceptually easier. | 02:59 |
| ← Pyrogerg left | 02:59 |
|
| offby1 nods gravely | 02:59 |
| → Skrypter joined | 02:59 |
| ← CheckDavid left | 03:00 |
| ← Skrypter left | 03:00 |
| ← Bombe left | 03:01 |
| ← macrover left | 03:01 |
| → conan_ joined | 03:01 |
| → Pyrogerg joined | 03:01 |
| → silviof1 joined | 03:01 |
| → blahdodo joined | 03:01 |
| ← conan left | 03:02 |
| → Bombe joined | 03:04 |
| → jmg joined | 03:04 |
| ← jmg left | 03:04 |
| ← silviof left | 03:04 |
| ← chuckhar_ left | 03:04 |
| ← CKyle left | 03:04 |
| ← TGiFallen_ left | 03:05 |
| ← Sonderblade left | 03:05 |
| → abelsiqueira joined | 03:07 |
| → ThinkRusty87 joined | 03:09 |
| ← ThinkRusty87 left | 03:09 |
| → madewokherd joined | 03:09 |
| ← Bombe left | 03:10 |
| → leeN joined | 03:11 |
| ← hwrd|work left | 03:13 |
|
zacts
| can I easily convert an rcs repo over to git, while retaining rcs history? | 03:13 |
| ← raonyguimaraes left | 03:14 |
| juvenal_away → juvenal | 03:16 |
| → rchavik joined | 03:17 |
|
canoon
| i didn't know people used rcs | 03:17 |
|
| zacts, google seems to work http://stackoverflow.com/questions/1619737/migrate-project-from-rcs-to-git | 03:18 |
| ← shinnya left | 03:19 |
| ← kukks left | 03:19 |
|
deryni
| If you can fake it as a cvs repo there are tools you can use. I don't if any of them do rcs by itself though since I didn't think rcs really had a concept of "repos". | 03:19 |
| → Bombe joined | 03:20 |
| → PDX-rmjack joined | 03:21 |
| ← dyng left | 03:21 |
| → sarkis joined | 03:22 |
|
offby1
| people still use rcs? | 03:24 |
| ← oojacoboo left | 03:24 |
|
echo-area
| Hmm. I thought tailor might be able to do such things, but tailor's homepage had already gone down | 03:24 |
| → isleshocky77 joined | 03:26 |
| → jmaya joined | 03:27 |
|
isleshocky77
| I've been using git-svn for the last year or so. I'm getting ready to switch to pure git; however, I'm not ready yet. As part of this preparation I wanted to clean up the author names, emails. I did this through git filter-branch. That seems to work fine. I then ran "git update-ref -d refs/original/refs/heads/master" afterwards, cause I thought that was to clean up the back up made after the branch-filter. However, now when I try to ru | 03:29 |
|
deryni
| Cut off after 'However,' | 03:29 |
|
isleshocky77
| deryni: haha. Great. The meat and potatoes of it. | 03:30 |
|
| 'm not ready yet. As part of this preparation I wanted to clean up the author names, emails. I did this through git filter-branch. That seems to work fine. I then ran "git update-ref -d refs/original/refs/heads/master" afterwards, cause I thought that was to clean up the back up made after the branch-filter. However, now when I try to run git svn rebase or git svn dcommit, I'm getting: "BUnable to determine upstream SVN information fro | 03:30 |
| ← jmaya left | 03:30 |
|
rjhunter
| isleshocky77: try pasting one sentence at a time :-) | 03:30 |
|
deryni
| Cut off again. IRC message length limits. Just paste from 'However'. | 03:30 |
|
isleshocky77
| however, I'm not ready yet. As part of this preparation I wanted to clean up the author names, emails. I did this through git filter-branch. That seems to work fine. | 03:31 |
| ← Vinnie_win left | 03:31 |
|
isleshocky77
| I then ran "git update-ref -d refs/original/refs/heads/master" afterwards, cause I thought that was to clean up the back up made after the branch-filter. | 03:31 |
|
| However, now when I try to run git svn rebase or git svn dcommit, I'm getting: "BUnable to determine upstream SVN information from HEAD history. Perhaps the repository is empty. at /usr/lib/git-core/git-svn line 780.". Any thoughts on fixing this? | 03:31 |
| → beautifulmind joined | 03:32 |
|
isleshocky77
| rjhunter: Thanks. | 03:33 |
| → Vinnie_win joined | 03:33 |
|
rjhunter
| isleshocky77: does the error message literally start with "BUnable"? | 03:33 |
| ← thelorax123 left | 03:33 |
|
isleshocky77
| From what i've read, it looks like "git update-ref refs/remotes/git-svn refs/remotes/origin/master" May help me, but honestly, I have no idea what that command is doing - or which refs to have it use. | 03:33 |
|
| No. The "B" was a mistake | 03:34 |
|
rjhunter
| isleshocky77: if it were really there i'd have suggested re-installing git :-) | 03:34 |
| → MattMaker joined | 03:34 |
| ← dhruvasagar left | 03:35 |
|
deryni
| Does the current refs/remotes/git-svn ref point to what refs/original/refs/heads/master pointed to before you deleted it? | 03:35 |
|
isleshocky77
| rjhunter: Got it. yeah. I think I had a key board key hit while I hadn't expected the original command to take so long. It takes a bit of time to figure out it can't do it. | 03:35 |
| → thelorax123 joined | 03:35 |
|
isleshocky77
| deryni: I'm not sure.. .So that's the thing, I'm not sure if I have the same structure as the person saying to use that command. The first thing I know is that I have it under refs/remotes/svn, not "git-svn". But I don't see a refs/remotes/origin/master. I'm guessing I don't have exactly the same scenario as the person saying to use that. | 03:36 |
| ← thelorax123 left | 03:36 |
|
isleshocky77
| But basically I need to tell git-svn what git commit matches up to the svn remote commit. | 03:36 |
| juvenal → juvenal_away | 03:36 |
|
isleshocky77
| I've made one commit which isn't on the remote svn | 03:36 |
| → oojacoboo joined | 03:37 |
|
deryni
| Did update-ref spit out the sha of the ref it deleted? | 03:37 |
|
isleshocky77
| deryni: I no longer have the output of it. I didn't know it had messed anything up until an hour later when I tried dcommitting. | 03:38 |
| → thelorax123 joined | 03:38 |
|
deryni
| Hm... reflog might still have it. | 03:39 |
| → Guest99863 joined | 03:39 |
| → kukks joined | 03:39 |
| ← Guest99863 left | 03:39 |
| → War2 joined | 03:39 |
| ← War2 left | 03:39 |
| → War2 joined | 03:39 |
| → diegoviola joined | 03:39 |
| juvenal_away → juvenal | 03:40 |
| → Celelibi joined | 03:40 |
|
Celelibi
| Hello. | 03:40 |
|
| How can I see the url I pull from? | 03:40 |
|
isleshocky77
| HEAD@{1} is the filter-branche: rewrite, and HEAD@{0} is the latest commit which hasn't been pushed | 03:40 |
|
rjhunter
| Celelibi: git remote -v | 03:41 |
|
Celelibi
| thanks. | 03:41 |
|
| damn -v... | 03:41 |
|
deryni
| isleshocky77: HEAD@{1} is the rewritten history head? And HEAD@{2} is? | 03:41 |
|
isleshocky77
| HEAD@{2}: checkout: moving from master to master | 03:41 |
|
| it looks like part of my previous dcommit | 03:42 |
| ← Dougie187 left | 03:42 |
|
deryni
| isleshocky77: 'git update-ref refs/remotes/svn refs/heads/master' *might* fix things for you but I'm not at all sure about that since I don't really know what git-svn is expecting to find there. Make sure you keep track of what is currently under refs/remotes/svn just in case. | 03:42 |
|
isleshocky77
| deryni: That's the exact command I had waiting on the console that I was going to try, but decided to consult here first. I'm going to make a backup of the directory and try running it. I'm just wondering how that will affect the non-dcommitted comit | 03:44 |
|
zacts
| cannon: oh cool | 03:44 |
|
| rjhunter is scanning through the git-svn source to see exactly how it figures out what has been dcommitted. | 03:44 |
|
deryni
| isleshocky77: Should be ok I think but you can use 'master~' if you want to try that. | 03:44 |
|
isleshocky77
| rjhunter: Thank you. I was scanning through the docs to see if there was an obvious git svn SET COMMIT or something dumb. No such luck | 03:45 |
|
deryni
| Yeah. I took a quick scan through git-svn but perl isn't my thing and I wasn't giving it enough attention. | 03:45 |
|
rjhunter
| isleshocky77: If you're worried you might lose that commit, `git format-patch` can save it to a file. | 03:45 |
| → macabre^ joined | 03:45 |
|
zacts
| cannon: I am thinking that it might be useful for old UNIX tools that used rcs. | 03:45 |
|
isleshocky77
| rjhunter: Good point. I can pull a patch out of the backup now. | 03:45 |
| ← psyl0n left | 03:45 |
| dmamills → dmamills_zz | 03:45 |
| → corygibbons joined | 03:45 |
| ketas- → ketas | 03:46 |
|
isleshocky77
| deryni: rjhunter: error: there are still refs under 'refs/remotes/svn' \n fatal: Cannot lock the ref 'refs/remotes/svn'. | 03:46 |
| → AWinterman joined | 03:46 |
| → ging joined | 03:47 |
| ← abelsiqueira left | 03:47 |
| → CKyle joined | 03:47 |
| ← macabre left | 03:47 |
| → eletuchy_ joined | 03:48 |
|
parcs
| hello. why does git fetch take a lot of cpu time on a large repository? | 03:48 |
| ← sarkis left | 03:48 |
| ← eletuchy left | 03:48 |
| ← Celelibi left | 03:50 |
|
ging
| can someone help me out with using the format patch command? i am trying to get it to output a single patch to go to go from the latest commit to a specific older commit, i can only seem to get it to do hundreds of little patches | 03:50 |
|
isleshocky77
| ging: look at --stdout | 03:50 |
|
ging
| well the patch is to update the source from an older commit to the latest | 03:50 |
| → sohail joined | 03:50 |
|
isleshocky77
| ging: You can direct that into a single file. | 03:51 |
| → Northmance joined | 03:51 |
| ← Northmance left | 03:51 |
| ← eletuchy_ left | 03:53 |
| ← Vinnie_win left | 03:54 |
| → Vinnie_win joined | 03:55 |
|
parcs
| looks like git fetch performs a memcpy+malloc of each file in the tree. i wonder why | 03:56 |
| juvenal → juvenal_away | 03:56 |
|
parcs
| filename, that is | 03:56 |
| ← macabre^ left | 03:57 |
| → joelrobichaud joined | 03:57 |
|
rjhunter
| isleshocky77: it looks like git-svn looks up the last dcommitted push by 1) parsing log comments from `git rev-list --first-parent --pretty=medium` and 2) looking the svn info up in the "rev_map" | 03:58 |
|
isleshocky77
| rjhunter: Thanks for looking that up. Any idea what I would do to fix this? (sorry to be a pain) | 03:59 |
|
ging
| isleshocky77: thanks, but that's not really what i am looking for, that is basicly stiching them all together what i want is a single patch | 03:59 |
|
| i can get the diff and make my own patch without a problem but i really want to try and do it using the format patch command | 04:00 |
| → ezekielnoob joined | 04:00 |
| juvenal_away → juvenal | 04:01 |
|
canoon
| ging if you want to get it as one | 04:01 |
|
| you should do a rebase to squash them all | 04:01 |
|
| then format-patch | 04:01 |
|
isleshocky77
| ging: The description of format-patch is "Prepare each commit with its patch in one file per commit, formatted to resemble UNIX mailbox format." I think you would have to do what canoon just said. | 04:02 |
|
rjhunter
| isleshocky77: which is to say, if you've got a git commit message that ends with "git-svn-id: http://example.com/svn/trunk@3775 8092fc87-c524-0410-9efc-e669fe64eaf9", then git svn will look for .git/svn/refs/remotes/trunk/.rev_map-8092fc87-c524-0410-9efc-e669fe64eaf9 | 04:02 |
|
deryni
| ging: Why do you want to use format-patch for this specifically? | 04:02 |
| ← PDX-rmjack left | 04:03 |
| → PDX-rmjack joined | 04:03 |
| ← PDX-rmjack left | 04:03 |
|
rjhunter
| isleshocky77: how to fix it? i dunno yet but hopefully talking about it and looking depeer will lead to a solution :-) | 04:03 |
|
isleshocky77
| rjhunter: So I should be manually creating that file? | 04:03 |
|
| .../trunk is a file, not a directory. | 04:03 |
|
| rjhunter: it has one line which is a hash, but doesn't seem to correspond to anything in git-log | 04:04 |
|
SamB
| isleshocky77: you sound pretty hosed | 04:05 |
|
| I mean, trunk is a file? WTH? | 04:05 |
| ← War2 left | 04:05 |
|
SamB
| this may bear little relation to your current problem though | 04:05 |
|
ging
| deryni: i'm doing something which needs to be easily repeatable to go into some documentation instructions, i don't want to have to manually add all the patch header details to each diff | 04:07 |
|
isleshocky77
| It's just the end of the ref where I think it's supposed to point to the commit it's on. | 04:07 |
|
canoon
| isleshocky77, my recommendation would be to git svn clone it again and just copy your commit over and dcommit it from the new one | 04:07 |
|
isleshocky77
| SamB: I'm looking at some other git-svn checkouts and they all seem to have something similar at the end of the line. | 04:08 |
|
canoon
| and do the filter branch when you are actually going to convert | 04:08 |
|
deryni
| I'm with canoon on this one I think. | 04:08 |
|
| Then I think you are left with the rebase option. Which you can do in a throw-away branch if you want to keep the split commits in the real branch. | 04:09 |
|
isleshocky77
| canoon: Yeah, that's what I was thinking originally as well. But I'm really trying to leave that as the last last resort. It's a huge project with lots externals and 4000 commits and 20's of branches and like 75 tags. It was a huge pain to do it the first time and get it right. I want to smack myself for messing it up after 1 and a half over author names. | 04:09 |
| → Cervantes joined | 04:09 |
|
SamB
| isleshocky77: or, wait, you meant that there was a file named .git/svn/refs/remotes/trunk ? I dunno about that ... | 04:09 |
|
isleshocky77
| SamB: Yeah. | 04:09 |
|
deryni
| You don't need to get all the branches and tags if you don't need git to work with them I believe. | 04:10 |
|
isleshocky77
| SamB: It looks like when I did the original git svn clone I did it funky. All my other git svn clones have refs/remotes/git-svn as the file pointing to the commit. This has refs/remotes/svn/trunk | 04:10 |
|
SamB
| strange | 04:10 |
| → rurufufuss joined | 04:11 |
| → tang^m joined | 04:11 |
|
rjhunter
| a comment in the Git/SVN.pm source says the rev_map files "are disposable unless noMetadata or useSvmProps is set", and says they are pairs of SVN revision number + git commit SHAs | 04:12 |
|
| (stored in binary -- 4 bytes + 20 bytes) | 04:12 |
|
| isleshocky77: the name "trunk" or "git-svn" depends on options to "git svn clone" | 04:13 |
| → preflex_ joined | 04:13 |
| ← Vinnie_win left | 04:13 |
|
ging
| canoon i'm trying to do what you suggest but not quite sure how to make it work | 04:14 |
|
isleshocky77
| rjhunter: Got it. And I think at the time the tutorial I was following recommended putting it a level deeper for some reasons. Hence the remotes/svn/trunk | 04:14 |
| → dyng joined | 04:14 |
|
canoon
| ging, git rebase -i | 04:14 |
| ← preflex left | 04:14 |
| preflex_ → preflex | 04:14 |
|
canoon
| then just squash everything except for one | 04:15 |
| ← trusktr left | 04:15 |
| → Vinnie_win joined | 04:15 |
|
canoon
| ging, the real problem actually is the format patch includes the subject from one commit | 04:15 |
|
| so your really only getting one subject | 04:15 |
| ← Octalot left | 04:17 |
| ← undecim left | 04:18 |
| → eletuchy joined | 04:18 |
|
isleshocky77
| Has anyone used svn2git lately? Does it do a better job of handling externals? I remember that was a huge pia. I have 30 of them. | 04:19 |
| ← eletuchy left | 04:19 |
| → eletuchy joined | 04:19 |
|
deryni
| What are you expecting to happen to them? | 04:21 |
| → Quazil joined | 04:22 |
| ← aartist left | 04:23 |
|
Quazil
| Can you force the creation of an empty 'master' branch on a bare repo? | 04:23 |
|
rjhunter
| isleshocky77: just to clarify your repo's position, what do you see when you run `find -type f .git/svn`? | 04:23 |
|
| Quazil: you'll need to create a commit with an empty tree, then set "master" to that commit | 04:24 |
|
isleshocky77
| 394 lines of output. | 04:24 |
|
rjhunter
| isleshocky77: are they all rev_map files? | 04:25 |
|
Quazil
| rjhunter: Can you do that on the bare repo directly? Or do you have to clone it first? | 04:25 |
| → mizu_no_oto joined | 04:25 |
| → eruMelkor joined | 04:25 |
|
isleshocky77
| rjhunter: one .rev_map.*** and one unhandled.log for every tag and branch | 04:25 |
| → Katafalkas joined | 04:27 |
|
rjhunter
| Quazil: it's easiest to create commits from a non-bare clone, although you could use git plumbing commands to hand-craft a commit into a bare repository | 04:27 |
|
Quazil
| rjhunter: I'd be doing this from grit right after I created the repo, can you point me in the right direction to look up the plumbing? | 04:28 |
| juvenal → juvenal_away | 04:29 |
|
rjhunter
| Quazil: It's likely that grit exposes everything you need. You'd need to create an empty "tree" object, create a "commit" object that refers to that empty tree, then finally set the master "reference" to that commit | 04:30 |
|
Quazil
| ty | 04:30 |
| → zastern joined | 04:31 |
|
isleshocky77
| deryni: rjhunter: Thanks for trying to help me out. I'm trying a new clone with svn2git. The new directory is up to 50M, the old one was 6.5G :'( I love bloated projects. | 04:31 |
| → arjun_ joined | 04:32 |
|
deryni
| You shouldn't need to clone the whole thing. I assume most of that is in tags and branches you don't care about. | 04:32 |
| ← daito left | 04:33 |
| ← tang^m left | 04:34 |
| ← nerdfiles left | 04:34 |
| ← geomyidae left | 04:34 |
| ← sgambino left | 04:35 |
|
isleshocky77
| deryni: I'm not sure what i need yet and what I don't though | 04:35 |
| ← axfcampos left | 04:36 |
|
Quazil
| rjhunter: Sweet, it worked - thanks! | 04:37 |
|
rjhunter
| Quazil: :-) | 04:37 |
|
deryni
| isleshocky77: Depends what you are trying to do I suppose. | 04:38 |
| → geomyidae joined | 04:39 |
| ← chamunks left | 04:39 |
|
BombStrike
| Let's say I have 2 branches, "A" and "B", then I start a branch "C" using "B" as a base, later I merge "B" in "A", how do I rebase "C" to the HEAD of "A"? git rebase A C ? git rebase --onto A B C ? | 04:40 |
|
ging
| ah i've given up and gone for using diffs | 04:40 |
| ← sohail left | 04:41 |
|
ging
| i would have though it would be easy to make patches from any point to any point with the format patch command | 04:41 |
|
isleshocky77
| deryni: eff this. I just realized I have an old copy of this directory on an old machine I stopped using. I should just be able to run git svn rebase and get it up to speed. | 04:42 |
| → Vinnie_win_n joined | 04:43 |
| ← |Freeman| left | 04:43 |
| → szarubin joined | 04:44 |
|
deryni
| ging: It should be. Just not as one patch. | 04:44 |
| juvenal_away → juvenal | 04:44 |
|
rjhunter
| ging: If you want to be binary-safe, make sure you use `git diff --binary` | 04:44 |
| ← Vinnie_win left | 04:44 |
|
rjhunter
| ging: (and apply with `git apply`) | 04:44 |
| juvenal → juvenal_away | 04:45 |
| ← mizu_no_oto left | 04:45 |
| ← CKyle left | 04:46 |
| ← Goplat left | 04:46 |
|
ging
| deryni: the problem with doing all patches, certain things that get changed a lot get a huge list of patches, mostly undoing each other | 04:46 |
| ← yacks left | 04:47 |
| → tang^m joined | 04:47 |
|
canoon
| ging, doesn't matter | 04:47 |
| → undecim joined | 04:47 |
| → Goplat joined | 04:47 |
| ← kcm1700 left | 04:49 |
| ← zarubin left | 04:49 |
| ← karupanerura left | 04:49 |
| ← w0ng left | 04:49 |
| ← Tabmow left | 04:49 |
| ← wrp6 left | 04:49 |
| → wrp6 joined | 04:49 |
| → w0ng joined | 04:49 |
| → Tabmow joined | 04:49 |
| → kcm1700 joined | 04:49 |
| → zz_karupanerura joined | 04:49 |
|
deryni
| Sure, but that doesn't change the fact that format patch does support from X to Y easily, just not in the way you want. I'm still not sure what about the manual diff isn't what you want exactly. Unless you meant you want the overall diff but each commit message. | 04:49 |
| zz_karupanerura → karupanerura | 04:50 |
| ← tang^m left | 04:51 |
| ← kukks left | 04:51 |
|
ging
| deryni: well yeah what i want to do might not really always work, what i wanted was the over all diff and the latest commit message, but that could turn out to be the wrong one | 04:52 |
|
canoon
| ging, whats it for? | 04:55 |
| ← mfeltner left | 04:57 |
| → sqlnoob joined | 05:01 |
| ← eruMelkor left | 05:01 |
| → hwrd|work joined | 05:01 |
|
ging
| canoon: creating patches to go into a debain package | 05:02 |
| → chuckharmston joined | 05:04 |
| → maleknet joined | 05:04 |
| → jaseemabid joined | 05:05 |
| ← Vinnie_win_n left | 05:08 |
| → Vinnie_win joined | 05:10 |
| → irqq joined | 05:11 |
| → LAAJH3A joined | 05:12 |
| → guest242 joined | 05:15 |
| → aartist joined | 05:16 |
| ← diegoviola left | 05:17 |
| → trusktr joined | 05:18 |
| → daito joined | 05:18 |
| ← etcetera left | 05:21 |
| → etcetera joined | 05:23 |
| → dhruvasagar joined | 05:24 |
| → CKyle joined | 05:24 |
| → nptl joined | 05:24 |
| → War2 joined | 05:24 |
| → Pengoo joined | 05:24 |
| → mfeltner joined | 05:28 |
| ← dhruvasagar left | 05:29 |
| → dhruvasagar joined | 05:30 |
| ← mfeltner left | 05:32 |
| → a-l-e joined | 05:33 |
| ← dhruvasagar left | 05:33 |
| → maestrojed joined | 05:33 |
| ← thelorax123 left | 05:33 |
| → el3ctron joined | 05:33 |
| → Vile joined | 05:34 |
| ← Vile left | 05:34 |
| ← jaseemabid left | 05:35 |
| ← MattMaker left | 05:35 |
| → Guest25023 joined | 05:35 |
| → runeg joined | 05:35 |
| → thelorax123 joined | 05:35 |
| → dhruvasagar joined | 05:35 |
| ← Guest25023 left | 05:35 |
| → Guest25023 joined | 05:35 |
| Guest25023 → diegoviola | 05:36 |
| → MattMaker joined | 05:36 |
| ← Spyro left | 05:37 |
| → oddjobsman joined | 05:38 |
| ← maestrojed left | 05:38 |
| → Spyro joined | 05:40 |
| → Tommy[D]_ joined | 05:40 |
| ← bgerber left | 05:42 |
| → bgerber joined | 05:43 |
| → maveneagle joined | 05:43 |
| ← maveneagle left | 05:43 |
| ← warbaque left | 05:43 |
| ← Pengoo left | 05:43 |
| ← dhruvasagar left | 05:43 |
| → dhruvasagar joined | 05:44 |
| ← Tommy[D] left | 05:44 |
| → timthelion joined | 05:45 |
| ← nptl left | 05:45 |
| ← sagittarian left | 05:46 |
| ← Quazil left | 05:46 |
| ← chuckharmston left | 05:52 |
| ← dhruvasagar left | 05:53 |
| → dhruvasagar joined | 05:54 |
| ← guest242 left | 05:55 |
| → guest2421 joined | 05:55 |
| → warbaque joined | 05:55 |
| → maestrojed joined | 05:55 |
| ← maestrojed left | 05:56 |
| ← CKyle left | 06:01 |
| → hoschi joined | 06:02 |
| ← dhruvasagar left | 06:02 |
| → npnp joined | 06:03 |
| ← npnp left | 06:03 |
| → npnp joined | 06:03 |
| ← npnp left | 06:03 |
| → dhruvasagar joined | 06:03 |
| → npnp joined | 06:03 |
| ← npnp left | 06:04 |
| → jaseemabid joined | 06:04 |
| ← oddjobsman left | 06:05 |
| → npnp joined | 06:05 |
| → Skrypter joined | 06:06 |
| ← trusktr left | 06:06 |
| ← irqq left | 06:07 |
| → Pengoo joined | 06:07 |
| → blackwc joined | 06:08 |
| → nnyk_ joined | 06:08 |
|
blackwc
| hello. I have a message: leftover conflict marker. | 06:08 |
| ← oojacoboo left | 06:08 |
|
blackwc
| I've done no merging or anything like that. | 06:08 |
|
| how I can fix this? It gives me the file and the line of the file where the conflict marker is | 06:09 |
|
canoon
| blackwc, remove it? | 06:10 |
|
skorgon
| edit the file and resolve the conflict | 06:10 |
|
blackwc
| but I'm not sure why it is conflicting | 06:10 |
|
| I don't know what it wants me to do with it | 06:10 |
|
| canoon, it's a necessary README | 06:10 |
|
canoon
| no i mean remove the conflict marker | 06:10 |
|
| open the file there should be >>>> or <<< there | 06:11 |
|
| delete the part you don't want | 06:11 |
| → kbart joined | 06:11 |
|
canoon
| and git add the file | 06:11 |
|
blackwc
| open which file? | 06:11 |
|
canoon
| git status | 06:11 |
|
blackwc
| I opened the README it says it conflicting and there is no arrows | 06:11 |
| ← john2x left | 06:12 |
|
blackwc
| is conflicting** | 06:12 |
|
canoon
| what does git status tell you? | 06:12 |
|
blackwc
| canoon, it gives me a list of files ready for commit. I can't commit b/c of conflict | 06:12 |
|
| the conflicting file is "add new" because I removed it and added it again thinking it would resolve it. | 06:13 |
| ← PaulCapestany left | 06:13 |
|
blackwc
| er "new file"* | 06:13 |
| ← m0viefreak left | 06:13 |
| ← tpollard left | 06:13 |
|
canoon
| is everything staged for commit? | 06:14 |
| ← canoon left | 06:14 |
|
blackwc
| some modified files are not staged. | 06:14 |
| → guest242 joined | 06:14 |
|
blackwc
| nothing that would seem to cause this problem though. | 06:14 |
| → saurabh joined | 06:15 |
|
moritz
| just 'git add README' | 06:15 |
| ← guest2421 left | 06:15 |
|
blackwc
| i did | 06:15 |
| saurabh → Guest86971 | 06:15 |
|
blackwc
| scripts/README.md:2: leftover conflict marker | 06:16 |
|
| that's what it says when I try to commit | 06:16 |
| ← AWinterman left | 06:16 |
| → teran joined | 06:17 |
| ← maurycy left | 06:18 |
| → cff joined | 06:18 |
| → k_sze[work] joined | 06:18 |
|
k_sze[work]
| Is `git submodule update` supposed to fail if the submodule is dirty? | 06:19 |
| → JeremyWei joined | 06:19 |
|
skorgon
| blackwc: i think git by itself would let you commit conflict markers. is there some hook running that scans for some pattern and is causing the issue? | 06:21 |
| ← daito left | 06:21 |
| silviof1 → silviof | 06:21 |
|
blackwc
| I think I know the problem | 06:21 |
| ← DonRichie left | 06:21 |
|
blackwc
| it was a markdown file and I used "---------" under a subtitle in the document | 06:22 |
|
| at the exact location it said there was a conflict marker | 06:22 |
|
| I changed it to "## subtitle" and it worked | 06:22 |
| ← nnyk_ left | 06:22 |
| → nnyk_ joined | 06:23 |
| → ThomasLocke joined | 06:24 |
| ← Kabaka left | 06:25 |
|
mattcen
| Hi all. I've got a really messed up merge attempt that I can't explain; it's trying to change files it shouldn't. Is anybody able to have a look if I pastebin some output? I can't make the repo accessible, but can paste pretty much any output that'll help diagnose the issue. | 06:25 |
| → dreiss joined | 06:25 |
| ← hahuang65 left | 06:26 |
| → hahuang65 joined | 06:26 |
| → DonRichie joined | 06:26 |
| ← npnp left | 06:28 |
| → mfeltner joined | 06:29 |
| → ayaz joined | 06:29 |
| → daito joined | 06:29 |
| ← dreiss left | 06:29 |
|
milki
| mattcen: just pastebin it first | 06:30 |
| → sagittarian joined | 06:30 |
| ← Curtisbeef_ left | 06:30 |
| → matanya joined | 06:32 |
| → lavaman joined | 06:33 |
| ← mfeltner left | 06:33 |
| ← jaseemabid left | 06:34 |
|
mattcen
| Sure: http://paste.debian.net/66384/ | 06:34 |
| ← madewokherd left | 06:34 |
| ← guest242 left | 06:35 |
| → jaseemabid joined | 06:35 |
| → Guest95138 joined | 06:35 |
| ← the_cybersphinx left | 06:35 |
| ← leeN left | 06:35 |
|
mattcen
| I can't see why it is that despite only a handful of files being updated by the 22869-new-kernel branch, I get so many changes made when I try to merge that in, and *most* of the changes are wrong; the ones it staged on non-interactively mostly *revert* changes to the 'wtf' branch that I want to keep | 06:35 |
| ← Guest95138 left | 06:35 |
| → Guest95138 joined | 06:35 |
| ← diegoviola left | 06:36 |
| Guest95138 → diegoviola | 06:37 |
| ← hwrd|work left | 06:38 |
| → acl__ joined | 06:38 |
| ← acl__ left | 06:39 |
| → b_rare joined | 06:40 |
| ← acl_ left | 06:40 |
| ← blackwc left | 06:43 |
| ← nnyk_ left | 06:45 |
| ← Gamecubic left | 06:45 |
| ← dhruvasagar left | 06:45 |
| → dhruvasagar joined | 06:45 |
| → AWinterman joined | 06:47 |
| → guest242 joined | 06:47 |
| → maveneagle joined | 06:48 |
| ← maveneagle left | 06:48 |
| ← Eryn_1983_FL left | 06:48 |
| → Raging_Hog joined | 06:48 |
| → rob_w joined | 06:49 |
| → maveneagle joined | 06:49 |
| ← maveneagle left | 06:49 |
| ← AWinterman left | 06:51 |
| ← a-l-e left | 06:51 |
| ← matanya left | 06:53 |
| ← gonzzor left | 06:53 |
| ← dhruvasagar left | 06:54 |
| → diego1 joined | 06:55 |
| → freimatz joined | 06:55 |
| → dhruvasagar joined | 06:55 |
| ← diego1 left | 06:56 |
| → diego1 joined | 06:56 |
| diegoviola → Guest98870 | 06:56 |
| diego1 → diegoviola | 06:56 |
| ← heroux left | 06:56 |
| ← Guest98870 left | 06:56 |
| → abrkn joined | 06:57 |
| ← War2 left | 06:58 |
| ← Goplat left | 06:59 |
| ← MattMaker left | 07:00 |
| → MattMaker joined | 07:00 |
| → shoshin joined | 07:01 |
| → lite_ joined | 07:02 |
| ← jaseemabid left | 07:02 |
| ← rjhunter left | 07:02 |
| → pantsman joined | 07:04 |
| ← MattMaker left | 07:04 |
| ← h0rrorvacui left | 07:05 |
| ← dhruvasagar left | 07:05 |
| → zapb joined | 07:06 |
| → m0ltar joined | 07:07 |
| juls → master_j | 07:07 |
| ← echo-area left | 07:09 |
| → lb1a joined | 07:11 |
| → dhruvasagar joined | 07:11 |
| → bttf joined | 07:11 |
|
bttf
| i'm trying to write an automated process to bootstrap a machine with some apps, git included ... i have the scripts on github. is there a way i can wget a tarball of the source? | 07:12 |
| → echo-area joined | 07:12 |
| → chuckharmston joined | 07:12 |
| → cbreak-work joined | 07:14 |
|
lb1a
| bttf, yes | 07:15 |
| ← bwreilly left | 07:15 |
|
arand
| Nut sure about tarball, zip file of any arbitrary commit though, yes. | 07:15 |
| → TomyLobo joined | 07:16 |
|
Cork
| bttf: https://github.com/git/git/releases/tag/v1.8.5-rc2 | 07:16 |
|
| https://github.com/git/git/archive/v1.8.5-rc2.tar.gz | 07:16 |
|
lb1a
| bttf, https://www.google.com/search?q=github+get+tarball | 07:16 |
| ← teran left | 07:16 |
| → teran joined | 07:17 |
| ← galaris left | 07:17 |
| → AWinterman joined | 07:17 |
|
arand
| Oh, nevermind, they have tarballs of arbitrary commits as well, just replace the suffix in the zip link. | 07:17 |
| ← dhruvasagar left | 07:18 |
| ← chuckharmston left | 07:18 |
|
arand
| (or if you have a tag, use that, as per above) | 07:18 |
| ← teran left | 07:18 |
| ← diegoviola left | 07:19 |
| → dhruvasagar joined | 07:19 |
|
bttf
| thx guys for some reason my previous google searches did not unearth this | 07:20 |
| ← kazi left | 07:20 |
| → MattMaker joined | 07:21 |
| ← graphitemaster left | 07:21 |
| ← guest242 left | 07:22 |
| ← s0beit left | 07:22 |
| → guest242 joined | 07:22 |
| → s0beit joined | 07:22 |
| → graphitemaster joined | 07:23 |
| ← MattMaker left | 07:24 |
| → rath joined | 07:24 |
| → MattMaker joined | 07:24 |
| ← joelrobichaud left | 07:25 |
| ← b_rare left | 07:25 |
| karupanerura → zz_karupanerura | 07:26 |
| ← Cervantes left | 07:26 |
| ← bttf left | 07:27 |
| → b_rare joined | 07:27 |
| → takamichi joined | 07:28 |
| → Zarthus joined | 07:28 |
| ← AWinterman left | 07:28 |
| → user258467 joined | 07:28 |
| ← dhruvasagar left | 07:29 |
| ← szarubin left | 07:29 |
| → dhruvasagar joined | 07:29 |
| → mfeltner joined | 07:29 |
| ← pantsman left | 07:30 |
| → longbeach joined | 07:30 |
| ← ayaz left | 07:30 |
| → halu joined | 07:31 |
| ← arand left | 07:31 |
| → teran joined | 07:32 |
| → marthinal joined | 07:33 |
| → thierryp joined | 07:33 |
| ← mfeltner left | 07:34 |
| ← kermit left | 07:34 |
| → yargy joined | 07:34 |
| → papegaaij joined | 07:35 |
| → psoo joined | 07:35 |
| ← MattMaker left | 07:38 |
| → Josh1986 joined | 07:39 |
| → MattMaker joined | 07:39 |
|
freimatz
| hi, what git server should we choose for windows? | 07:39 |
| ← dhruvasagar left | 07:39 |
| → h0rrorvacui joined | 07:39 |
| ← lavaman left | 07:40 |
| ← Josh1986 left | 07:40 |
| → diegoviola joined | 07:40 |
| → dhruvasagar joined | 07:40 |
| ← _5kg left | 07:40 |
| → Josh1986 joined | 07:40 |
| → _5kg joined | 07:41 |
| ← diegoviola left | 07:41 |
| → diegoviola joined | 07:41 |
|
_ikke_
| Some suggestions found on google: http://bonobogitserver.com/ http://gitstack.com/ | 07:41 |
| → soee joined | 07:41 |
|
Josh1986
| cant authorize via ssh, win7 - authentication failed | 07:41 |
| → j0ran1 joined | 07:42 |
|
Josh1986
| what can it be, I generated and added public key? | 07:42 |
|
_ikke_
| Josh1986: What are you using | 07:43 |
|
freimatz
| _ikke_: thx | 07:43 |
| ← daito left | 07:44 |
| ← hans_henrik left | 07:45 |
| → daito joined | 07:45 |
|
freimatz
| _ikke_: atr that possible candidates or really suggestions? ;-) | 07:45 |
| ← el3ctron left | 07:45 |
| → hans_henrik_ joined | 07:47 |
|
_ikke_
| candidates | 07:47 |
| → ciampix joined | 07:47 |
| ← h12o left | 07:47 |
| → Search12 joined | 07:47 |
| → h12o joined | 07:48 |
| ← Norm_ left | 07:48 |
| → GeertV joined | 07:49 |
| ← daito left | 07:49 |
| → akiress joined | 07:49 |
|
thiago
| freimatz: git should be enough for Windows | 07:49 |
|
| freimatz: are you having problems with that? | 07:49 |
|
Josh1986
| _ikke_: i was installed gitlab, exactly like in installation guide | 07:50 |
|
| _ikke_: and now i want push changes, but cant | 07:50 |
|
thiago
| why not? | 07:51 |
|
| what's the error? | 07:51 |
| → ace_me joined | 07:51 |
|
ace_me
| I have a checkout repo,I did some modif and I want to revert to the checked out version | 07:52 |
|
thiago
| ace_me: have you committed your changes? | 07:52 |
|
Josh1986
| fatal: Could not read from remote repository | 07:52 |
|
thiago
| Josh1986: and before? | 07:52 |
| ← beautifulmind left | 07:52 |
|
Josh1986
| it works fine via http | 07:52 |
|
thiago
| Josh1986: pastebin the entire output, please | 07:53 |
|
_ikke_
| ace_me: So all changes you made can be deleted? | 07:53 |
|
Josh1986
| yes, I`m testing now | 07:53 |
| → netiul joined | 07:54 |
| → AWinterman joined | 07:55 |
| → zarubin joined | 07:56 |
| ← TomyLobo left | 07:57 |
| → arand joined | 07:57 |
| → daito joined | 07:58 |
| → npnp joined | 07:59 |
| → eijk joined | 07:59 |
| ← h0rrorvacui left | 07:59 |
| → _Qman joined | 08:00 |
|
Josh1986
| thiago: what exactly you want in p&b? | 08:00 |
| ← freimatz left | 08:00 |
| → bvi joined | 08:00 |
| → mishok13 joined | 08:01 |
| ← j0ran1 left | 08:01 |
| → jnavila joined | 08:01 |
| → harobed joined | 08:01 |
|
thiago
| Josh1986: from the moment the command prompt was displayed to the next | 08:02 |
| → h_kon joined | 08:02 |
|
ace_me
| git reset --hard will also delete new created files ? | 08:02 |
|
thiago
| ace_me: did you git add them? | 08:03 |
| ← Skrypter left | 08:03 |
| → holderbaum joined | 08:03 |
| → nnyk_ joined | 08:03 |
| → rethus joined | 08:03 |
| ← eijk left | 08:03 |
| ← zastern left | 08:04 |
| → juril joined | 08:04 |
| → Davey joined | 08:04 |
| ← bvi left | 08:05 |
| hans_henrik_ → hans_henrik | 08:05 |
| → n1x joined | 08:06 |
| ← Streward left | 08:07 |
| → Guest32821 joined | 08:07 |
| ← AWinterman left | 08:08 |
| ← Tuna-Fish left | 08:09 |
|
Josh1986
| http://pastebin.com/gnS9nbwv | 08:09 |
| → nixmaniack joined | 08:09 |
| ← ace_me left | 08:10 |
| → galaris joined | 08:10 |
| → chirayuk joined | 08:12 |
| → jaseemabid joined | 08:12 |
| → Tuna-Fish joined | 08:12 |
|
Josh1986
| thiago: I pasted with some debug info | 08:12 |
| → threesome joined | 08:12 |
| → johnkevi_ joined | 08:13 |
| ← Watabou left | 08:13 |
| ← johnkevinmbasco left | 08:13 |
| → chuckharmston joined | 08:14 |
| → h0rrorvacui joined | 08:14 |
| ← shoshin left | 08:15 |
| ← dhruvasagar left | 08:15 |
|
thiago
| Josh1986: your server didn't authenticate you | 08:15 |
|
| Josh1986: that's not a Git problem | 08:15 |
|
| Josh1986: please fix your SSH server first | 08:15 |
| → dhruvasagar joined | 08:15 |
|
Josh1986
| thiago: mmmm I dont understand, where is exactly my problem? | 08:16 |
| ← jaseemabid left | 08:16 |
| ← sam113101 left | 08:16 |
|
thiago
| Josh1986: in your SSH daemon | 08:17 |
|
| Josh1986: it's not authenticating properly. Fix it. | 08:17 |
| → jaseemabid joined | 08:17 |
| → shoshin joined | 08:18 |
|
Josh1986
| thiago: I`m using windows... | 08:18 |
| ← chuckharmston left | 08:18 |
| ← graphitemaster left | 08:19 |
| → graphitemaster joined | 08:19 |
|
thiago
| Josh1986: that has nothing to do with it | 08:19 |
|
| Josh1986: the problem is in the server | 08:19 |
|
| Josh1986: fix the server | 08:19 |
|
canton7
| if I'm reading the log correctly, you don't have a private key on your local machine? | 08:20 |
|
thiago
| he's authenticating by password | 08:20 |
|
lb1a
| anybody can explain this strange gitolite behaviour to me ? http://fpaste.org/54723/84762828/ or shall i ask in #gitolite? | 08:21 |
|
canton7
| cool, if that's what he intends to do (i.e. he's not using gitolite) | 08:21 |
| → Ozch joined | 08:21 |
|
canton7
| lb1a, don't use the repositories/ prefix | 08:21 |
|
Josh1986
| canton7: I have! I was generated and saved public key on server machine | 08:21 |
| → mklappstuhl joined | 08:21 |
|
canton7
| lb1a, line 6 doesn't have that prefix ;) | 08:22 |
|
thiago
| Josh1986: your SSH server offered to negotiate via keys. You didn't send them. | 08:22 |
|
canton7
| Josh1986, well you haven't saved the private key, with the right name and permissions, in ~/.ssh | 08:22 |
|
thiago
| Josh1986: lines 8 to 10 show that your SSH client found no keys | 08:22 |
|
| Josh1986: do you want to authenticate via key mechanism? | 08:22 |
| ← teran left | 08:23 |
|
lb1a
| canton7, hm i failed. shame on me. thanks | 08:23 |
| → shruggar joined | 08:24 |
| ← mtk left | 08:25 |
| ← jaseemabid left | 08:25 |
|
lb1a
| damn gitweb is trying to fuck me :/ | 08:26 |
| → mooperd joined | 08:26 |
| → jaseemabid joined | 08:26 |
|
Josh1986
| canton7: I just run ssh-keygen -t rsa -C "my@email.com" | 08:26 |
| → teran joined | 08:26 |
|
Josh1986
| thiago: Yes, working with gitlab needs key | 08:27 |
|
canton7
| Josh1986, right, and I've told you that there's more you need to do | 08:28 |
|
| there are a thousand and one tuts out there on getting this working; I'm afraid I need to go to work | 08:28 |
| ← Guest94419 left | 08:28 |
| ← maslowbeer_ left | 08:28 |
| → raar joined | 08:30 |
| → SimonNa joined | 08:30 |
| raar → Guest52506 | 08:30 |
| → mfeltner joined | 08:30 |
|
lb1a
| canton7, dont be afraid of going to work ;) | 08:30 |
|
Josh1986
| Just one question where exactly I should run ssh-keygen on the client or on server machine? | 08:30 |
| → Balliad joined | 08:30 |
| ← abrkn left | 08:30 |
| ← nixmaniack left | 08:30 |
| → halu_ joined | 08:31 |
| ← teran left | 08:32 |
| ← jwmann left | 08:32 |
| ← Balliad left | 08:33 |
| → Balliad joined | 08:33 |
| ← halu left | 08:33 |
| → AWinterman joined | 08:34 |
| ← mfeltner left | 08:35 |
| ← dhruvasagar left | 08:35 |
| → dhruvasagar joined | 08:35 |
| ← h0rrorvacui left | 08:35 |
| → sam113101 joined | 08:36 |
| ← Devastator left | 08:36 |
| → Devastator_ joined | 08:36 |
| → mtk joined | 08:37 |
| → sm0ke joined | 08:38 |
| → dreiss joined | 08:39 |
| → aChatir joined | 08:41 |
| ← aChatir left | 08:41 |
| → joel_falcou joined | 08:42 |
| → maslowbeer_ joined | 08:42 |
| → johnkevinmbasco joined | 08:43 |
| ← guest242 left | 08:43 |
| ← dhruvasagar left | 08:43 |
| ← johnkevi_ left | 08:44 |
| → dhruvasagar joined | 08:44 |
| → arvind_khadri joined | 08:44 |
| ← Khisanth left | 08:44 |
|
Josh1986
| question... I can't use windows command line? I always should use git-bash? | 08:45 |
| → Asenar joined | 08:46 |
| ← Georg3 left | 08:47 |
| → TomyWork joined | 08:47 |
|
thiago
| Josh1986: you can | 08:47 |
|
Josh1986
| I can clone [email@hidden.address] via git-bash, but via cmd - not | 08:48 |
| ← AWinterman left | 08:48 |
| ← jaseemabid left | 08:51 |
| → jaseemabid joined | 08:52 |
| ← JeremyWei left | 08:54 |
| → bitrixdo joined | 08:55 |
| ← dhruvasagar left | 08:56 |
| → dhruvasagar joined | 08:56 |
|
bitrixdo
| i need help ((= | 08:57 |
|
| there are some of you have free time? | 08:57 |
| ← mklappstuhl left | 08:58 |
| → vtunka joined | 08:58 |
| → Khisanth joined | 08:58 |
| → Anticom joined | 08:58 |
| → quetz joined | 08:59 |
| ← yetet left | 08:59 |
|
bitrixdo
| is there anyone free?) | 09:00 |
| → guest242 joined | 09:00 |
| → trusktr joined | 09:02 |
| ← Rob___ left | 09:02 |
|
lb1a
| i really want to use gitolite for my project hosting once and for all. but now i need to integrate a webviewer too. i kind of hate gitweb and i wanted to use this viewer: https://github.com/jonashaag/klaus. it runs as a wsgi app. now... how to handle the permissions correctly? | 09:03 |
| ← Search12 left | 09:03 |
| ← shruggar left | 09:03 |
| ← dhruvasagar left | 09:03 |
| ← guest242 left | 09:04 |
| → guest2421 joined | 09:04 |
| → dhruvasagar joined | 09:04 |
| → ixe joined | 09:04 |
|
lb1a
| little paste for this :/ http://fpaste.org/54727/47655231/ | 09:05 |
| → Rob___ joined | 09:06 |
|
lb1a
| of course www-data != git soo... should i setup gitolite in a different way? should i use custom acls? or what would you do? | 09:06 |
| → Norm_ joined | 09:09 |
| ← mooperd left | 09:09 |
|
moritz
| I don't think you need custom ACLs | 09:10 |
| ← ixe left | 09:10 |
| → mooperd joined | 09:10 |
| → jasonroyle joined | 09:11 |
| ← graphitemaster left | 09:11 |
| → graphitemaster joined | 09:11 |
|
moritz
| maybe make www-data the default group of use git, and change the group of the existing files | 09:11 |
|
| or maybe configure your apache with suexec to execute it in the context of the git user or group | 09:12 |
| → chuckharmston joined | 09:12 |
|
lb1a
| moritz, hm suexec seems to be a good option. | 09:13 |
| ← chuckharmston left | 09:13 |
| ← n1x left | 09:13 |
|
lb1a
| but since the repos have 700 permissions, changing the group would not function out of the box , am i right? | 09:14 |
| → chuckharmston joined | 09:14 |
|
moritz
| right | 09:14 |
|
lb1a
| so suexec would be better i think | 09:14 |
| → AWinterman joined | 09:15 |
| → shruggar joined | 09:16 |
| ← oznt left | 09:16 |
| → teran joined | 09:17 |
| ← chuckharmston left | 09:18 |
| → Jackneill joined | 09:19 |
| ← thegladiator_ left | 09:20 |
| → nesQuick joined | 09:20 |
| ← Layke left | 09:20 |
| kalleth_ → kalleth | 09:21 |
| ← jaseemabid left | 09:21 |
| → jaseemabid joined | 09:22 |
| → Kayra joined | 09:22 |
| juvenal_away → juvenal | 09:23 |
| → snql joined | 09:23 |
| → h0rrorvacui joined | 09:23 |
| shoshin → shoeshine | 09:24 |
| shoeshine → BlueOrg | 09:24 |
| ← rchavik left | 09:24 |
| ← maloik_ left | 09:24 |
| → Psy-Q_ joined | 09:27 |
| ← Psy-Q_ left | 09:27 |
| → Sonderblade joined | 09:28 |
| ← Sonderblade left | 09:29 |
| ← AWinterman left | 09:29 |
| ← terminalRepeat left | 09:31 |
| ← lite_ left | 09:31 |
| → mfeltner joined | 09:31 |
| ← h0rrorvacui left | 09:31 |
| ← dreiss left | 09:33 |
| ← boombatower left | 09:34 |
| ← mfeltner left | 09:35 |
| → Layke joined | 09:36 |
| ← guest2421 left | 09:37 |
| ← diegoviola left | 09:37 |
| → lite_ joined | 09:39 |
| ← trusktr left | 09:39 |
| ← graphitemaster left | 09:39 |
| → graphitemaster joined | 09:39 |
| ← mooperd left | 09:40 |
| → quetz^^ joined | 09:40 |
| ← harish left | 09:40 |
| → mooperd joined | 09:42 |
| ← quetz left | 09:43 |
| ← ktosiek_ left | 09:44 |
| ← johnkevinmbasco left | 09:44 |
| ← jaseemabid left | 09:44 |
| ← thiago left | 09:44 |
| → marhaban joined | 09:45 |
| → guest242 joined | 09:45 |
| ← hyperair left | 09:45 |
| → Ange_blond joined | 09:46 |
| ← weiyang left | 09:46 |
| ← dyng left | 09:47 |
| ← cbreak-work left | 09:47 |
| ← marhaban left | 09:47 |
| ← rurufufuss left | 09:48 |
| → Plouj- joined | 09:49 |
| → mikecmpbll joined | 09:49 |
| → ktosiek joined | 09:50 |
| → heroux joined | 09:51 |
| → cbreak-work joined | 09:52 |
| ← shruggar left | 09:52 |
| → freimatz joined | 09:52 |
| ← Plouj left | 09:52 |
| ← boblee left | 09:52 |
| → beautifulmind joined | 09:53 |
| → boblee joined | 09:53 |
| ← Kayra left | 09:56 |
| → AWinterman joined | 09:56 |
|
_rgn
| git show parameter for shorter output with only files and their +-? | 09:56 |
| → Kayra joined | 09:57 |
| ← M00sL0gB0t left | 09:57 |
| → rafeca joined | 09:57 |
| → M00sL0gB0t joined | 09:57 |
| → LeMike joined | 09:57 |
| → irqq joined | 09:58 |
| → ni__ joined | 09:59 |
| → jaeckel joined | 09:59 |
|
_rgn
| ah, --stat | 10:00 |
|
moritz
| _rgn: --stat | 10:00 |
|
| moritz too slow | 10:00 |
| ← ni_ left | 10:00 |
| → pixelgremlins joined | 10:00 |
|
lb1a
| moritz, by 2 seconds ;) | 10:00 |
| ← Davey left | 10:01 |
| → rurufufuss joined | 10:01 |
| ← beautifulmind left | 10:02 |
|
freimatz
| thiago: git should be enough for Windows? is there a server included? | 10:02 |
|
cbreak-work
| that was a question? | 10:02 |
| → raonyguimaraes joined | 10:03 |
| ← guest242 left | 10:03 |
| → thegladiator_ joined | 10:05 |
| Odd_Blok1 → Odd_Bloke | 10:06 |
|
freimatz
| from me: yes ;-) | 10:06 |
| ← echo-area left | 10:07 |
| → eijk joined | 10:07 |
|
cbreak-work
| You only need a server if you want to serve something. | 10:08 |
|
| normally, git is not served directly, it is used via ssh as transport, so a simple ssh server will do. | 10:08 |
|
| but on windows... no idea. | 10:08 |
| → spaceonline joined | 10:08 |
| → mfeltner joined | 10:09 |
| → JeremyWei joined | 10:10 |
| ← AWinterman left | 10:10 |
| → hs366 joined | 10:11 |
| → chuckharmston joined | 10:12 |
| → ewnd9 joined | 10:12 |
| → dyng joined | 10:13 |
| ← mfeltner left | 10:13 |
| ← mooperd left | 10:13 |
| → koda joined | 10:14 |
| → LimeBlast joined | 10:15 |
| ← hs366 left | 10:16 |
| ← chuckharmston left | 10:17 |
| → beautifulmind joined | 10:18 |
| → canoon joined | 10:18 |
| → twoface88 joined | 10:18 |
| ← chirayuk left | 10:19 |
| → Advocation joined | 10:19 |
| ← timthelion left | 10:20 |
| ← heroux left | 10:20 |
| → matanya joined | 10:20 |
| juvenal → juvenal_away | 10:21 |
| ← bitrixdo left | 10:22 |
| → bitrixdo joined | 10:22 |
| → heroux joined | 10:22 |
| → harish joined | 10:24 |
| → mooperd joined | 10:25 |
| → kewah joined | 10:25 |
| juvenal_away → juvenal | 10:25 |
| ← hoactzin left | 10:26 |
| → hs366 joined | 10:28 |
| → Misan joined | 10:29 |
| ← Kayra left | 10:33 |
| → jaseemabid joined | 10:34 |
| ← hs366 left | 10:34 |
| → guest242 joined | 10:34 |
| ← guest242 left | 10:34 |
| → guest242 joined | 10:35 |
| ← skorgon left | 10:35 |
| → xobb joined | 10:35 |
| → jeffreyio joined | 10:36 |
| → deuti joined | 10:36 |
| ← npnp left | 10:37 |
| → AWinterman joined | 10:37 |
| ← k_sze[work] left | 10:37 |
| → npnp joined | 10:37 |
| → mlechner joined | 10:38 |
| ← LimeBlast left | 10:38 |
| → Search12 joined | 10:39 |
| ← rob_w left | 10:40 |
| ← pixelgremlins left | 10:40 |
| → iamjarvo joined | 10:40 |
| juvenal → juvenal_away | 10:41 |
| → LimeBlast joined | 10:42 |
| ← luc_ left | 10:42 |
| ← iamjarvo left | 10:42 |
| → corygibb_ joined | 10:43 |
| → SHyx0rmZ joined | 10:43 |
| ← mooperd left | 10:43 |
| → Sonderblade joined | 10:44 |
| ← corygibbons left | 10:45 |
| → burzum joined | 10:45 |
| ← wrouesnel1 left | 10:45 |
| ← h_kon left | 10:46 |
| ← dyng left | 10:48 |
| juvenal_away → juvenal | 10:48 |
| → shruggar joined | 10:49 |
| → DanielHollands joined | 10:49 |
| ← LimeBlast left | 10:49 |
| → tma996 joined | 10:50 |
| → skorgon joined | 10:50 |
| → penguin42 joined | 10:51 |
| → mooperd joined | 10:51 |
| ← AWinterman left | 10:52 |
| ← GeertV left | 10:53 |
| → GeertV joined | 10:53 |
| ← guest242 left | 10:55 |
| → guest242 joined | 10:55 |
| ← rjc left | 10:55 |
| → rob_w joined | 10:55 |
| → xpe joined | 10:56 |
|
freimatz
| thx, we intended to have a server wit an repository used as origin for developers normally to push and pull and as base for jenkins | 10:56 |
| ← GeertV left | 10:57 |
| → h_kon joined | 10:58 |
| ← heroux left | 10:59 |
| → mdiers joined | 10:59 |
|
cbreak-work
| linux or mac os works fine for that. | 10:59 |
| ← guest242 left | 10:59 |
|
cbreak-work
| (with gitolite if you want to manage permissions) | 10:59 |
| → heroux joined | 10:59 |
|
cbreak-work
| maybe set up a small VM or so? | 11:00 |
| → guest242 joined | 11:00 |
| ← DanielHollands left | 11:00 |
| ← jnavila left | 11:00 |
| → jnavila joined | 11:00 |
|
freimatz
| we will take a look - but now i have to restart PC :-( | 11:01 |
|
| Windows ;-) | 11:01 |
| ← Advocation left | 11:01 |
| ← Ivo left | 11:02 |
| ← freimatz left | 11:02 |
| → LimeBlast joined | 11:02 |
| → Advocation joined | 11:02 |
| BlueOrg → worries | 11:03 |
| worries → BlueOrg | 11:04 |
| juvenal → juvenal_away | 11:04 |
| → guest2421 joined | 11:04 |
| → Davey joined | 11:04 |
| ← guest242 left | 11:04 |
| → jnavila_ joined | 11:05 |
| → dyng joined | 11:05 |
| juvenal_away → juvenal | 11:05 |
| ← daito left | 11:05 |
| → wrouesnel joined | 11:06 |
| → rhombus joined | 11:08 |
| rhombus → Guest30260 | 11:08 |
| ← jnavila left | 11:09 |
| → Vinnie1991 joined | 11:09 |
| → mfeltner joined | 11:10 |
| ← Vinnie1991 left | 11:10 |
| Guest30260 → rhombus | 11:10 |
| ← guest2421 left | 11:10 |
| → chuckharmston joined | 11:12 |
| → eaj joined | 11:12 |
| → jburcsik_ joined | 11:12 |
| ← Davey left | 11:13 |
| ← rhombus left | 11:13 |
| → rhombus joined | 11:13 |
| ← mfeltner left | 11:14 |
| ← jburcsik left | 11:14 |
| jburcsik_ → jburcsik | 11:14 |
| ← LimeBlast left | 11:16 |
| BlueOrg → shoshin | 11:16 |
| ← chuckharmston left | 11:17 |
| ← h_kon left | 11:17 |
| → AWinterman joined | 11:18 |
| → geekbri joined | 11:18 |
| ← geekbri left | 11:18 |
| → davividal joined | 11:19 |
| → Ivo joined | 11:20 |
| ← nesQuick left | 11:21 |
| ← _5kg left | 11:21 |
| → _5kg joined | 11:21 |
| → salamanderrake joined | 11:21 |
| → quetz joined | 11:21 |
| ← quetz^^ left | 11:22 |
| → timthelion joined | 11:22 |
| ← donmichelangelo left | 11:22 |
| ← jeffreyio left | 11:22 |
| → donmichelangelo joined | 11:22 |
| ← MattMaker left | 11:24 |
| → MattMaker joined | 11:25 |
| ← m0ltar left | 11:26 |
| → m0ltar joined | 11:28 |
| ← rouf left | 11:30 |
| ← m0ltar left | 11:31 |
| → the_cybersphinx joined | 11:31 |
| → j0ran joined | 11:32 |
| ← AWinterman left | 11:32 |
| → rouf joined | 11:33 |
| → axfcampos joined | 11:33 |
| → pfFredd joined | 11:34 |
| ← canoon left | 11:34 |
| → Sebastian_ joined | 11:35 |
| ← Sebastian_ left | 11:36 |
| → RaceCondition joined | 11:36 |
| → j0ran1 joined | 11:36 |
| ← j0ran left | 11:36 |
| shoshin → BlueOrg | 11:37 |
| → spheros joined | 11:38 |
| ← User458764 left | 11:39 |
| → Kabaka joined | 11:39 |
| ← sqlnoob left | 11:41 |
| ← RaceCondition left | 11:41 |
| ← harobed left | 11:41 |
| → Gavrisimo joined | 11:43 |
| → tapout joined | 11:43 |
| → Kayra joined | 11:44 |
| → tvw joined | 11:44 |
| ← j0ran1 left | 11:45 |
| → bschindler joined | 11:46 |
| → oriba joined | 11:46 |
| ← Josh1986 left | 11:47 |
| → RaceCondition joined | 11:47 |
| → khushildep joined | 11:47 |
| ← Kayra left | 11:48 |
| → tadasZ joined | 11:49 |
| ← mikecmpbll left | 11:49 |
| ← pfFredd left | 11:49 |
| ← mooperd left | 11:50 |
| ← mattcen left | 11:50 |
| → girfas joined | 11:51 |
|
girfas
| Hi, Do you guys know any place to practice basic git features? | 11:52 |
| → soooga_ joined | 11:52 |
| → mooperd joined | 11:52 |
| → mattcen joined | 11:52 |
|
lb1a
| girfas, !trygit | 11:53 |
|
gitinfo
| girfas: A quick, interactive, in-browser introduction to git is available at http://try.github.io | 11:53 |
| → mikecmpbll joined | 11:53 |
|
girfas
| thanks I will check it out | 11:54 |
| → soooga joined | 11:54 |
| → User458764 joined | 11:55 |
| ← soooga_ left | 11:55 |
| → asQuirreL joined | 11:55 |
| → pfFredd joined | 11:56 |
| ← harish left | 11:57 |
| → AWinterman joined | 11:58 |
|
MattMaker
| wat | 11:59 |
|
lb1a
| MattMaker, !wat | 11:59 |
|
gitinfo
| MattMaker: Wat: https://www.destroyallsoftware.com/talks/wat | 11:59 |
|
MattMaker
| why is github's pull request generator comparing to my master repo even when I point it at a branch | 11:59 |
| → johnkevinmbasco joined | 11:59 |
|
MattMaker
| I like that talk | 11:59 |
| ← davividal left | 12:00 |
|
MattMaker
| ah. it's a bug | 12:00 |
|
| I have to force-reload the page | 12:00 |
| → rjc joined | 12:01 |
| ← Kabaka left | 12:01 |
| → Criztian joined | 12:02 |
|
MattMaker
| doesn't seem to happen every time, either. *shrug* | 12:03 |
| ← Advocation left | 12:03 |
|
lb1a
| MattMaker, sounds like browser caching, but if you actually think it's githubs fault -> #github | 12:04 |
|
MattMaker
| thanks. I guess I'll leave it unless/until I can 100% reproduce it | 12:04 |
| → Gamecubic joined | 12:05 |
| ← sm0ke left | 12:05 |
| ← paulweb515 left | 12:06 |
| → Kayra joined | 12:06 |
| → quetz^^ joined | 12:06 |
| → mklappstuhl joined | 12:07 |
| ← quetz^^ left | 12:08 |
| → quetz^^ joined | 12:08 |
| → abelsiqueira joined | 12:09 |
| ← cdleonard left | 12:09 |
| ← quetz left | 12:10 |
| → mfeltner joined | 12:11 |
| ← jaseemabid left | 12:11 |
| ← mklappstuhl left | 12:12 |
| → chuckharmston joined | 12:12 |
| ← twoface88 left | 12:12 |
| ← AWinterman left | 12:13 |
| ← BlueOrg left | 12:13 |
| → j0ran1 joined | 12:14 |
| ← Z6 left | 12:14 |
| ← soooga left | 12:14 |
| → jaseemabid joined | 12:15 |
| ← mfeltner left | 12:15 |
| ← tadasZ left | 12:15 |
| → Kabaka joined | 12:15 |
| → Snetty joined | 12:16 |
| ← chuckharmston left | 12:17 |
| → yacks joined | 12:17 |
| → shoshin joined | 12:18 |
| → fightback joined | 12:19 |
| ← kewah left | 12:19 |
| → tadasZ joined | 12:20 |
| ← Rix left | 12:21 |
| ← dyng left | 12:22 |
| ← lite_ left | 12:24 |
| → lite_ joined | 12:25 |
| ← LeMike left | 12:26 |
| ← kcj left | 12:27 |
| → echo-area joined | 12:27 |
| → russoneto joined | 12:28 |
| → snag joined | 12:30 |
| → kewah joined | 12:30 |
| ← Entomo left | 12:31 |
| → freimatz joined | 12:33 |
|
Snetty
| on a remote with multiple urls, is it possible to suppress any errors so that a push completes all the urls? | 12:33 |
| ← shruggar left | 12:33 |
|
Silex
| Damnit, git is too smart. http://ideone.com/3ubVi1 | 12:34 |
|
| I made a commit have its parent as one of its children, but git log refuses to enter an infinite loop! | 12:34 |
| → D4N3 joined | 12:36 |
| ← tadasZ left | 12:36 |
| → harobed_ joined | 12:36 |
| ← lite_ left | 12:36 |
| ← alexbligh left | 12:36 |
| ← D4N3 left | 12:37 |
| → D4N3 joined | 12:37 |
| ← asQuirreL left | 12:38 |
| → kirillt joined | 12:38 |
|
kirillt
| Hi, guys. | 12:38 |
|
gitinfo
| kirillt: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 12:38 |
| → dsdeiz_ joined | 12:39 |
| ← j0ran1 left | 12:39 |
| → lite_ joined | 12:39 |
| → AWinterman joined | 12:39 |
| ← dsdeiz left | 12:40 |
|
kirillt
| What can be wrong with my git config? `git config author.name' and `git config --global author.name' give me proper value A when author of commit becomes wrong B. | 12:40 |
|
| How can it be? | 12:40 |
|
| I checked config right before commit. | 12:40 |
| → LimeBlast joined | 12:40 |
| → Pullphinger joined | 12:42 |
| ← johnkevinmbasco left | 12:43 |
| ← ewnd9 left | 12:44 |
| → twoface88 joined | 12:44 |
| → johnkevinmbasco joined | 12:45 |
| ← dhruvasagar left | 12:45 |
| ← Kayra left | 12:46 |
| → sebhoss joined | 12:46 |
| → rnsanchez joined | 12:46 |
| → JPeterson joined | 12:46 |
| ← [1]JPeterson left | 12:48 |
| ← mooperd left | 12:49 |
| → j0ran1 joined | 12:50 |
| ← andytoshi left | 12:50 |
| ← shoshin left | 12:51 |
| → Rix joined | 12:51 |
|
Sonderblade
| kirillt: just guessing, character encoding issue? | 12:51 |
| → abrkn joined | 12:52 |
| ← j0ran1 left | 12:52 |
| → stephCoue joined | 12:53 |
| → Roots47 joined | 12:53 |
| ← AWinterman left | 12:54 |
| → Squarism joined | 12:54 |
| → spheros1 joined | 12:55 |
| ← bgerber left | 12:56 |
| rethus → rethus_ZZzzzZZZ | 12:56 |
| → mooperd joined | 12:56 |
|
kirillt
| Sonderblade, no, "bad" name is my name in native language and "good" name is name in english | 12:57 |
|
| Sonderblade, not random stuff | 12:57 |
|
| Sonderblade, even can't find where I could set my native version of name | 12:57 |
| ← npnp left | 12:58 |
| → h_kon joined | 12:58 |
| ← ciampix left | 12:58 |
|
kirillt
| SSH public key seems to not contain name (and I don't think that it should). | 12:58 |
| ← spheros left | 12:58 |
| → franksta-imac joined | 12:59 |
| → asQuirreL joined | 12:59 |
| ← abrkn left | 12:59 |
| → donnib joined | 13:00 |
|
donnib
| hi, i am trying to convert a svn branch to git local branch with following command git branch -f -t mybranch refs/remotes/mybranch | 13:01 |
| → johnkevi_ joined | 13:01 |
|
lb1a
| kirillt, did you check it using "git config --list" ? | 13:01 |
| ← bitrixdo left | 13:01 |
|
donnib
| but it fails with : fatal: Cannot setup tracking information; starting point 'refs/remotes/mybranch' is not a branch. | 13:01 |
| ← snag left | 13:01 |
| ← johnkevinmbasco left | 13:01 |
|
donnib
| what am i doing wrong ? i am using git version 1.8.4.msysgit.0 | 13:02 |
| gitinfo set mode: +v | 13:03 |
|
donnib
| hi, i am trying to convert a svn branch to git local branch with following command git branch -f -t mybranch refs/remotes/mybranch | 13:03 |
| → bgerber joined | 13:03 |
|
donnib
| but it fails with : fatal: Cannot setup tracking information; starting point 'refs/remotes/mybranch' is not a branch. | 13:03 |
|
| what am i doing wrong ? i am using git version 1.8.4.msysgit.0 | 13:03 |
|
lb1a
| donnib, we heard you, the first time you pasted.... | 13:04 |
|
donnib
| lb1a: really sorry about that | 13:04 |
|
| i thought it did not go thru, i got the spam protection message | 13:04 |
| → harish joined | 13:04 |
|
donnib
| so i thought i had to paste again | 13:04 |
| rethus_ZZzzzZZZ → rethus | 13:04 |
|
lb1a
| donnib, you'd get a notifictaion from your IRC client that your messaged failed. | 13:04 |
| ← maleknet left | 13:05 |
| ← dsdeiz_ left | 13:05 |
|
donnib
| yeah i was wondering why i didn't do that but there was a reason ;) | 13:05 |
|
lb1a
| and that anti-spam system is currently disabled due to an outage of the responsibly bot | 13:05 |
| → VictorCL joined | 13:05 |
| → tmcmahon joined | 13:05 |
| ← ni__ left | 13:06 |
| ← SimonNa left | 13:06 |
| ← keller left | 13:06 |
| → kcj joined | 13:07 |
| → dfaught joined | 13:07 |
| → j0ran joined | 13:08 |
| ← tmcmahon left | 13:08 |
| dmamills_zz → dmamills | 13:08 |
| Guest49362 → kamal_ | 13:09 |
| ← beautifulmind left | 13:09 |
| → cannonball joined | 13:10 |
|
penguin42
| are there any git tools that 'know' about function boundaries? i.e. I want to find the history of changes to a C function (in this case I know that somewhere between two versions it lost a couple of parameters - I want to know what happened to them) | 13:10 |
| → danecando joined | 13:10 |
| → jonatasnona joined | 13:10 |
| ← stingsay` left | 13:11 |
|
grawity
| the -L option of `git log` may help, or -G to just search for when a specific word first appeared | 13:11 |
| → mfeltner joined | 13:12 |
| → renatow joined | 13:12 |
| → Kayra joined | 13:12 |
| → chuckharmston joined | 13:12 |
| → lavong joined | 13:12 |
|
penguin42
| grawity: Thanks! the -L looks good, I'd been using -S quite a bit | 13:13 |
| → PeterBooker joined | 13:14 |
| ← Fandekasp left | 13:14 |
|
grawity
| -S and -G are somewhat different; -S matches when the /count/ of the occurences changes, and -G matches when the word was in the commitdiff at all (so even if it was moved within the same line) | 13:14 |
| → johnkevinmbasco joined | 13:15 |
| ← mfeltner left | 13:16 |
|
penguin42
| yeh, I think I should start using -G generally rather than -S | 13:16 |
|
donnib
| no ideas ? | 13:16 |
| ← chuckharmston left | 13:16 |
| ← mtk left | 13:17 |
| ← johnkevi_ left | 13:17 |
| ← Kayra left | 13:18 |
|
lb1a
| donnib, what is it you dont understand? | 13:18 |
|
| donnib, you cant track a ref. | 13:18 |
|
| but you asked git branch for it | 13:18 |
| ← rafeca left | 13:19 |
|
donnib
| i am trying to convert the branch to a local branch from an svn branch | 13:19 |
|
| that's when i get this | 13:19 |
|
| sp i don't know how to create that branch then | 13:19 |
|
lb1a
| donnib, did you import the svn repo into a git repo? | 13:20 |
|
donnib
| yes | 13:20 |
|
| and i just did a git svn fetch | 13:20 |
|
| before trying to do the above | 13:20 |
| → AWinterman joined | 13:21 |
|
donnib
| i have a bunch of branches in \svn\refs\remotes | 13:21 |
| ← dmamills left | 13:21 |
|
donnib
| but nothing in refs\remotes | 13:21 |
| → dzan joined | 13:21 |
|
lb1a
| donnib, do you plan to interact with svn further or was it a one-time import? | 13:21 |
| → mtk joined | 13:21 |
|
donnib
| i plan to sync the svn -> every day | 13:22 |
|
dzan
| hi, if I want to run astyle over my whole codebase to force the code style guidelines but keep the author information is there a way to do that? | 13:22 |
|
lb1a
| donnib, so use git svn branch and not git branch. | 13:22 |
|
donnib
| doing git svn fetch | 13:22 |
|
| so will that create a local git branch ? | 13:22 |
|
| that i then can push to the git server | 13:23 |
|
lb1a
| donnib, and your error is complaining about "cannot track a ref" so just drop the "-t" (--track) parameter from your command | 13:23 |
| → MattStratton joined | 13:23 |
|
donnib
| fyi, i don't commit into the git, right now i am in the playmode to migrate to git | 13:23 |
|
| so by removing the -t i won't be tracking it anymore meaning ? | 13:24 |
| → mklappstuhl joined | 13:24 |
|
lb1a
| donnib, http://git-scm.com/book/en/Git-Branching-Remote-Branches#Tracking-Branches | 13:25 |
|
donnib
| ok so that means i won't be tracking the svn branch anymore, to get those changes into git i need to remove the git branch and recreate it ? | 13:26 |
|
Sonderblade
| i got branchA which is base for branchB which is base for branchC, how do i then move branchC from its base on branchC to branchA (master)? | 13:26 |
|
kirillt
| lb1a, your advice helped. git config --list shoed that I haven't configured "user.name"; I don't know where from git takes name for it but I manually set value for it and commits are ok now | 13:26 |
|
donnib
| but why is it that it can't track it ? | 13:26 |
| → sohail joined | 13:27 |
| ← sohail left | 13:27 |
| → sohail joined | 13:27 |
|
lb1a
| kirillt, \o/ | 13:27 |
|
| donnib, because it can only track a remote branch | 13:27 |
|
| you are pointing it to a ref. that's not the same | 13:28 |
|
donnib
| but it is a remove branch but a svn branch or am i missing somthing ? | 13:28 |
| ← mklappstuhl left | 13:28 |
|
kirillt
| btw, what's difference between "user" and "author"? | 13:30 |
| → War2 joined | 13:30 |
| ← quetz^^ left | 13:30 |
| → quetz joined | 13:31 |
| → rafeca joined | 13:31 |
| ← sohail left | 13:33 |
| → scampbell joined | 13:33 |
|
_ikke_
| kirillt: you mean comitter and author | 13:34 |
|
| ? | 13:34 |
| ← mikecmpbll left | 13:35 |
| ← AWinterman left | 13:35 |
| ← _Qman left | 13:36 |
| ← Raging_Hog left | 13:36 |
| → Plummer joined | 13:38 |
| → Advocation joined | 13:38 |
| → paulweb515 joined | 13:38 |
| ← MattStratton left | 13:39 |
| ← danecando left | 13:39 |
| ← fightback left | 13:40 |
| → ilhami joined | 13:40 |
|
ilhami
| Hey | 13:40 |
|
| How can I push my project to google code from the terminal? | 13:40 |
| → mcruz joined | 13:40 |
| → alexbligh joined | 13:41 |
| → GeertV joined | 13:42 |
| → freeed joined | 13:42 |
| ← mcruz left | 13:43 |
| → quetz^^ joined | 13:43 |
|
_ikke_
| ilhami: Have you cloned from google code? | 13:44 |
|
ilhami
| yes | 13:44 |
|
| I did | 13:44 |
| → ewnd9 joined | 13:44 |
|
moritz
| make your changes, git add, git commit, git push | 13:45 |
|
kirillt
| _ikke_, I thought that commiter and author are same | 13:46 |
| → wet88 joined | 13:46 |
|
kirillt
| _ikke_, I am about "user.name" and "author.name" in config | 13:46 |
| → decotii joined | 13:46 |
| ← j0ran left | 13:47 |
| ← quetz left | 13:47 |
| ← takamichi left | 13:47 |
|
_ikke_
| committer and author aren't necessarily the same | 13:47 |
|
| kirillt: have you looked at man git config? | 13:48 |
|
gitinfo
| kirillt: the git-config manpage is available at http://jk.gs/git-config.html | 13:48 |
|
thegorn
| kirillt: in git committer and author can be different, although it doesn't show in regular git log | 13:48 |
| → Snibble joined | 13:48 |
| → dsdeiz joined | 13:48 |
|
thegorn
| kirillt: if you think about things like the linux kernel where patches are accepted off a mailing list generally speaking.. git keeps track of who wrote the patch (person who emailed it) but also keeps track of who actually made the commit and added it as part of linux kernel, they are both useful pieces of information on projects like that | 13:49 |
| ← parcs left | 13:50 |
|
ilhami
| _ikke_: what do I do after ? | 13:50 |
| ← mooperd left | 13:50 |
| → fightback joined | 13:50 |
| ← fightback left | 13:50 |
| → parcs joined | 13:50 |
| → Sendoushi joined | 13:51 |
| → j0ran joined | 13:52 |
| → breakingthings joined | 13:53 |
| → mj12albert joined | 13:53 |
| ← Rix left | 13:53 |
| ← Sendoushi left | 13:53 |
| ← mj12albert left | 13:53 |
| → Sendoushi joined | 13:54 |
|
MattMaker
| if I'm submitting a pull request, and in addition to the actual content, it contains an unrelated commit and a reversal of that unrelated commit, is that going to make it any more difficult for the recipient to merge? | 13:54 |
| → sgambino joined | 13:55 |
| ← juril left | 13:56 |
|
grawity
| MattMaker: no, it's not, but the recipient is very likely to ask you to clean up the pull request | 13:56 |
|
_ikke_
| ilhami: after what | 13:56 |
|
ilhami
| after I cloned it? | 13:56 |
|
grawity
| MattMaker: just to reduce clutter in the stuff they're about to merge | 13:56 |
| ← Advocation left | 13:57 |
|
grawity
| MattMaker: it's common to clean up feature branches before merging them, using `rebase -i` | 13:57 |
| → faranjessani joined | 13:57 |
| ← Grum left | 13:58 |
|
MattMaker
| grawity: it is indeed a feature branch... I've never used rebase yet though | 13:58 |
| → spal joined | 13:58 |
|
ilhami
| _ikke_: ? | 13:58 |
|
kirillt
| _ikke_, thegorn, understood, thanks | 13:59 |
| → Grum joined | 13:59 |
| → Rix joined | 13:59 |
| → mooperd joined | 13:59 |
|
grawity
| MattMaker: see !sausage_making, !perfect | 13:59 |
|
gitinfo
| MattMaker: Some developers like to "hide the sausage making", transforming their commits before presenting them to the outside world. See http://sethrobertson.github.com/GitBestPractices/#sausage and !perfect | 13:59 |
|
| MattMaker: [!postproduction] So, you want to make your commit history look pretty before pushing? http://sethrobertson.github.com/GitPostProduction talks you through how to use 'rebase -i' to do this. | 13:59 |
| → dyng joined | 13:59 |
| → TheBrainWork joined | 13:59 |
| ← svector left | 13:59 |
|
MattMaker
| "your commits sprung full-formed in utter perfection into your git repository" haha thanks, reading | 14:00 |
|
| wait, did the git bot just try to invoke itself from its own answer? | 14:01 |
| → svector joined | 14:01 |
| → hellopat joined | 14:01 |
|
spal
| Is there a git option to do this: cd /foo; git clone <url>? In mercurial, this can be done as: hg --cwd /foo <url>. Anyway to do this in git? | 14:01 |
|
grawity
| no, it was invoked twice | 14:01 |
|
| spal: git clone <url> /foo | 14:01 |
| → AWinterman joined | 14:01 |
| → griotspeak joined | 14:02 |
|
grawity
| spal: also, if I remember correctly, the next git release will have -C that works the same way as --cwd in hg, or -C in make. | 14:02 |
|
| not that there's anything wrong with `cd` >_> | 14:02 |
|
spal
| grawity, that would set /foo as the repository directory. whereas I want to set /foo/reponame as the repository directory. so I probably want: git clone <url> /foo/reponame | 14:02 |
|
grawity
| spal: yeah, that | 14:02 |
|
spal
| thanks | 14:02 |
| → pixelgremlins joined | 14:04 |
| ← harobed_ left | 14:05 |
| ← bgerber left | 14:05 |
| → ni__ joined | 14:05 |
|
MattMaker
| auugh, I can't read this right now. I'm just going to re-create the feature branch. it's only 4 lines changed | 14:05 |
| ← Pyrogerg left | 14:05 |
|
MattMaker
| and i use SourceTree :-/ | 14:05 |
| → guns joined | 14:05 |
| → Advocation joined | 14:06 |
|
grawity
| which does not prevent you in any way from using other Git tools (including command-line git)... although I guess it takes longer to learn them than otherwise. | 14:07 |
|
MattMaker
| I have to balance between the pure learnings and the billable time.... | 14:08 |
| → FortySix2 joined | 14:08 |
|
grawity
| I suppose | 14:08 |
|
thegorn
| and to be fair, sourcetree is the best git gui i've seen by far, in at least when i go to a coworker's desk they haven't renamed every freaking git feature | 14:09 |
| → takamichi joined | 14:09 |
|
MattMaker
| thegorn: a thing I'd really like, is for every dialog box and checkbox to have a tooltip that explains what that particular UI feature is asking git to do underneath | 14:10 |
| ← tvw left | 14:10 |
| → bgerber joined | 14:10 |
|
thegorn
| oh i hadn't seen that, i'm just used to going over and seeing someone using tortoisegit, they ask me to help with something trivial and i get pissed and leave after i realize that any sort of actual git knowledge is useless for helping them | 14:11 |
| → Kayra joined | 14:11 |
|
cbreak-work
| thegorn: I help them. "just type git blahblah flags labels paths and so on" | 14:12 |
| → chuckharmston joined | 14:12 |
|
thegorn
| but by far i still prefer command-line git, but on windows the command line git is sorta painful sometimes, and some people i work with just type so freaking slow that maybe a gui is the right thing | 14:12 |
| → mfeltner joined | 14:12 |
|
thegorn
| cbreak-work: yea, that's probably a better way to go about it | 14:13 |
| ← Kayra left | 14:13 |
| → juril joined | 14:13 |
| ← jburcsik left | 14:13 |
| → Kayra joined | 14:14 |
| ← insejn left | 14:14 |
|
MattMaker
| thegorn: for me, I do a ton of staging hunks and individual lines, because I multitask and the changes don't belong together... and seeing all the hunks visually and in color and clickable all on the same screen, rather than being asked yes/no on each one by itself, is an entirely different experience to me | 14:14 |
|
thegorn
| MattMaker: git gui can do that and is built in, i actually do use that gui a lot for stuff like that | 14:15 |
| → mklappstuhl joined | 14:15 |
| ← AWinterman left | 14:16 |
|
MattMaker
| tortoisegit, ugh, agree. Windows Explorer Shell extensions are a great idea in theory, but in practice, at least in the past, they are a way to lock up your whole OS's UI | 14:16 |
|
thegorn
| well, in any case, if you are taking the time to do that, you will enjoy rebase -i, it helps a lot with the "oops, i forgot to add a line to that split out commit from earlier" | 14:16 |
| ← snql left | 14:16 |
| ← delasteve left | 14:17 |
| ← mfeltner left | 14:17 |
| → snql joined | 14:17 |
| ← j0ran left | 14:17 |
| ← chuckharmston left | 14:17 |
|
thegorn
| because you can squash a later commit into an earlier commit, so before i clean things up i'll have a lot of commits like "FIXME: add to the usb addition patch" or something like that | 14:17 |
| ← snql left | 14:18 |
| ← ilhami left | 14:18 |
| → snql joined | 14:18 |
|
MattMaker
| I can see how I might get into that, yeah | 14:18 |
| ← Kayra left | 14:18 |
| ← Chwing left | 14:19 |
| ← graphitemaster left | 14:19 |
| → graphitemaster joined | 14:19 |
|
MattMaker
| idly, I wonder if there aren't a bunch of things you can ask git to do that literally make no sense, but it will do them anyway | 14:19 |
|
| I know I've gotten a few repos into inconsistent states where everything was an error | 14:20 |
| ← blahdodo left | 14:20 |
| → mizu_no_oto joined | 14:20 |
| ← _5kg left | 14:20 |
| → Kayra joined | 14:20 |
|
MattMaker
| doesn't happen anymore, but only because the things I do now are less random and more intentional | 14:20 |
| → _5kg joined | 14:20 |
|
grawity
| there *are* some sanity checks in the 'porcelain' commands, but Git is not one of those programs that would say "thou shall not touch the repository contents directly", so yes, it's possible to corrupt repositories in various ways | 14:20 |
|
thegorn
| yea, i dunno, i'm actually very comfortable with git in the sense that if i have ever made a commit with objects, i feel safe that i can always get them back | 14:21 |
|
grawity
| that too | 14:21 |
| → j0ran joined | 14:21 |
|
MattMaker
| I have wandered off into some brambles before | 14:21 |
|
thegorn
| but you can get into some weird states if you don't know what's going on, detached heads, etc. | 14:21 |
|
MattMaker
| usually because I misunderstood what an action would mean | 14:21 |
|
thegorn
| or pushing to checked out branches can get a little confusing, heh | 14:21 |
|
MattMaker
| thegorn: I feel that way, but only because I keep an extra working copy around that I can flee to if I screw mine up | 14:22 |
| ← sebhoss left | 14:22 |
|
MattMaker
| I use a lot of external, tree-style visual merge/diff tools | 14:22 |
|
| looking at entire projects from above | 14:22 |
| → insejn joined | 14:23 |
|
MattMaker
| so it's handy to check out two branches locally and compare them with that | 14:23 |
| ← vipzrx left | 14:23 |
|
MattMaker
| github made a feature like this recently, but it's still just a flat list | 14:23 |
|
thegorn
| yea, i get that, there's a handy tool on linux called git new-workdir that lets you create a new git repo clone but it is linked to the other repo | 14:23 |
| ← Snetty left | 14:24 |
|
thegorn
| i.e. if you change a branch in one it changes in the other (no need to push, etc.) | 14:24 |
| → Droolio joined | 14:24 |
|
MattMaker
| I get you, that's neat | 14:24 |
| ← hyperboreean left | 14:24 |
| → Craig910 joined | 14:25 |
| → chuckharmston joined | 14:25 |
| ← Kayra left | 14:25 |
|
MattMaker
| I'm likely to use that all the time if I can get it on OS X | 14:25 |
| ← Kabaka left | 14:26 |
| → vipzrx joined | 14:26 |
| → Snetty joined | 14:26 |
|
MattMaker
| because I have this constant dual-working-copy workflow | 14:26 |
| ← vipzrx left | 14:26 |
|
thegorn
| MattMaker: oh i thought you were on windows | 14:26 |
|
| MattMaker: you can definitely do it on os x, it is just a shell script in the contrib/ directory in the git source code | 14:26 |
|
| put it in your path, and then git new-workdir should work fine | 14:27 |
|
| it uses a lot of symlinks in .git/ which is why i doubt it'll work well on windows | 14:27 |
| ← netiul left | 14:28 |
|
thegorn
| MattMaker: https://github.com/git/git/blob/master/contrib/workdir/git-new-workdir | 14:28 |
|
MattMaker
| whoa, hello there, "git gui". it's doing all the things SourceTree does, but with slightly less usability and discoverability | 14:28 |
|
| 'Visualize All Branch History' | 14:29 |
|
thegorn
| MattMaker: yea, it isn't a 100% replacement for sourcetree, but i do like how you can stage lines with it | 14:29 |
|
MattMaker
| *nod* | 14:29 |
| → vipzrx joined | 14:29 |
|
thegorn
| and it is builtin, which is a plus if you are on another machine | 14:29 |
| ← vipzrx left | 14:29 |
|
MattMaker
| definitely not ovious where to grab the split panes, in these windows :( | 14:30 |
| → kriks joined | 14:30 |
|
MattMaker
| *obvious | 14:30 |
| → harobed joined | 14:30 |
| ← kcj left | 14:30 |
| ← spudz_ left | 14:30 |
|
MattMaker
| not bad, though. | 14:31 |
| ← Devastator_ left | 14:31 |
| → Devastator_ joined | 14:31 |
|
MattMaker
| thanks, I'll check out get-new-workdir. no pun intended. | 14:31 |
| ← mizu_no_oto left | 14:32 |
| ← Criztian left | 14:32 |
| → macabre joined | 14:33 |
| → slopjong joined | 14:33 |
| ← macabre left | 14:33 |
| → CheckDavid joined | 14:33 |
| ← mooperd left | 14:33 |
|
thegorn
| MattMaker: yea, tcl/tk doesn't make the most beautiful gui's | 14:33 |
|
| but they are cross platform at least | 14:34 |
| → mooperd joined | 14:34 |
| → spudz joined | 14:34 |
| → Kayra joined | 14:35 |
| [emmajane] → emmajane | 14:36 |
| → dhruvasagar joined | 14:36 |
| ← spheros1 left | 14:36 |
| → Kabaka joined | 14:36 |
| → nzjrs joined | 14:36 |
| gitinfo set mode: +v | 14:37 |
|
nzjrs
| Hey all. I'm halfway through resolving a complicated merge and want to do something else. How can I pause/stash the merge and resume resolving it later? | 14:38 |
| ← jason237 left | 14:38 |
| ← Craig910 left | 14:39 |
| → joshbetz joined | 14:39 |
| → jason237 joined | 14:39 |
| ← nnyk_ left | 14:40 |
|
grawity
| the simplest way that comes to mind right now is to just `git clone` the repository again, and do the changes there | 14:40 |
|
moritz
| !backup and work in the backup | 14:40 |
|
gitinfo
| Worried about your data while trying out stuff in your repo? To back up commit history on all branches/tags: `git clone --mirror`. To backup everything, including work tree and staging area: `tar cf repo-backup.tar repodir`. Or do your experiment in a throwaway clone instead. See also http://sethrobertson.github.com/GitBestPractices/#backups | 14:40 |
| → Dougie187 joined | 14:42 |
| → nnyk_ joined | 14:42 |
| → AWinterman joined | 14:43 |
| ← j0ran left | 14:43 |
| ← oriba left | 14:43 |
| → huli_ joined | 14:43 |
| → tty-1 joined | 14:44 |
| ← sagittarian left | 14:44 |
| ← Kayra left | 14:44 |
| → mfeltner joined | 14:45 |
|
nzjrs
| OK, hmm. I thought that sort of use-case might be supported in a simple way. I will just clone it again | 14:45 |
| → DolphinDream joined | 14:46 |
| → natechan joined | 14:46 |
| ← hholtmann left | 14:46 |
| ← h_kon left | 14:46 |
|
cbreak-work
| nzjrs: you can clone locally | 14:47 |
|
DolphinDream
| howdy | 14:47 |
|
cbreak-work
| nzjrs: or use the new workdir contrib script from git.git | 14:47 |
| ← mfeltner left | 14:47 |
| → m0ltar joined | 14:47 |
|
nzjrs
| cbreak-work: ok, I'll check that out | 14:47 |
|
| thanks all | 14:48 |
| → vipzrx joined | 14:48 |
|
DolphinDream
| why is it that when i rename files with mv oldName newName the git status shows file deleted and file added.. but when i do the git mv newName oldName the git status shows file as renamed ? | 14:48 |
| ← vipzrx left | 14:48 |
| ← quetz^^ left | 14:48 |
| → quetz joined | 14:48 |
| → jwmann joined | 14:49 |
| → slopjong_ joined | 14:49 |
|
moritz
| DolphinDream: because in the first place, you didn't tell get to stage the deletion of the file | 14:49 |
| ← asQuirreL left | 14:49 |
|
DolphinDream
| oh :) so once i stage it status is going to reflect a rename ? | 14:49 |
|
arand
| DolphinDream: becase git mv stages the deletion and addition, and git runs rename detection against the staging area | 14:49 |
|
moritz
| so there's no renaming, just a copy | 14:49 |
|
DolphinDream
| oh.. i see. wonderful | 14:49 |
|
moritz
| git doesn't track renames, it just infers from the changes if a rename happened | 14:50 |
| → pandeiro joined | 14:50 |
| ← twoface88 left | 14:50 |
| ← khushildep left | 14:50 |
| hakril_ → hakril | 14:50 |
| ← Search12 left | 14:51 |
| ← juril left | 14:51 |
| ← slopjong left | 14:51 |
| ← Spyro left | 14:51 |
| → Spyro joined | 14:51 |
| ← ezekielnoob left | 14:52 |
| ← jaseemabid left | 14:52 |
| → treaki joined | 14:52 |
| ← donnib left | 14:52 |
| ← isleshocky77 left | 14:52 |
| → phile joined | 14:52 |
| → AaronMT joined | 14:53 |
| → bamj0rb joined | 14:53 |
| gitinfo set mode: +v | 14:53 |
| ← Gavrisimo left | 14:53 |
| ← Snetty left | 14:53 |
| → ojacobson_ joined | 14:54 |
| → Snetty joined | 14:54 |
| ← ojacobson_ left | 14:54 |
| → Gavrisimo joined | 14:54 |
| ← freestyl3r left | 14:55 |
| ← Guest86971 left | 14:56 |
| ← bgerber left | 14:56 |
| ← nzjrs left | 14:56 |
| → tvw joined | 14:56 |
| ← dyng left | 14:56 |
| → tadasZ joined | 14:57 |
| ← AWinterman left | 14:57 |
| → sohail joined | 14:57 |
| ← ojacobson left | 14:58 |
| ← Gavrisimo left | 14:58 |
| ← mdiers left | 14:58 |
| → jburcsik joined | 14:59 |
| → StarFire2 joined | 14:59 |
| → el3ctron joined | 14:59 |
| ← donmichelangelo left | 15:00 |
| → thiago joined | 15:00 |
| ← soee left | 15:00 |
| → donmichelangelo joined | 15:01 |
| → joelrobichaud joined | 15:01 |
| → dyng joined | 15:01 |
| → PaulCapestany joined | 15:01 |
| → bgerber joined | 15:01 |
| ← tadasZ left | 15:02 |
| → vipzrx joined | 15:02 |
| → RogerWS joined | 15:02 |
| ← Roots47 left | 15:03 |
| ← Ange_blond left | 15:03 |
| → robertnix joined | 15:04 |
| → pmdarrow joined | 15:04 |
| ← rethus left | 15:04 |
| ← joelrobichaud left | 15:05 |
| → tadasZ joined | 15:06 |
| → mizu_no_oto joined | 15:07 |
| → mikecmpbll joined | 15:07 |
| → macabre joined | 15:08 |
| ← kbart left | 15:09 |
| ← rouf left | 15:09 |
| ← Advocation left | 15:09 |
| → johnnyfuchs joined | 15:09 |
| ← huli_ left | 15:10 |
| → rouf joined | 15:10 |
| ← rob_w left | 15:11 |
| → hholtmann joined | 15:11 |
| ← hholtmann left | 15:11 |
| → hholtmann joined | 15:12 |
| → marcosRz joined | 15:14 |
| Xiti` → Xiti | 15:14 |
| → SynthesizerPatel joined | 15:14 |
| ← robertnix left | 15:15 |
|
marcosRz
| Hi guys. I have a single repo with n projects. I was wondering if there is a way to create and separate this repo in n repos in such a way that the changelog is not lost for each project. | 15:15 |
| → Kayra joined | 15:15 |
| → robertnix joined | 15:15 |
|
moritz
| marcosRz: man git-filterbranch | 15:15 |
|
marcosRz
| but the projects are not in different branch, they are all in master | 15:16 |
|
moritz
| sorry, man git-filter-branch | 15:16 |
|
gitinfo
| the git-filter-branch manpage is available at http://jk.gs/git-filter-branch.html | 15:16 |
|
grawity
| doesn't matter | 15:16 |
|
moritz
| marcosRz: yes, I got that. | 15:16 |
|
grawity
| create a separate clone for each project | 15:16 |
| → juril joined | 15:16 |
|
grawity
| or separate branches, same thing | 15:16 |
|
moritz
| marcosRz: the tool filters a branch, for example by directory | 15:16 |
|
grawity
| then filter each clone or branch to just contain files from a specific subdirectory | 15:16 |
|
moritz
| there are lots of tutorials on splitting git repos on the internet | 15:16 |
|
| google them if you don't like the man page :-) | 15:16 |
| → Roots47 joined | 15:16 |
| ← Kayra left | 15:16 |
|
marcosRz
| great, thanks :D | 15:17 |
|
grawity
| specifically, --subdirectory-filter | 15:17 |
| ← freimatz left | 15:17 |
| ← SHyx0rmZ left | 15:17 |
| → Kayra joined | 15:17 |
| ← mooperd left | 15:18 |
| ← robertnix left | 15:18 |
| → mfeltner joined | 15:18 |
| ← arvind_khadri left | 15:18 |
| → macabre^ joined | 15:18 |
| ← matanya left | 15:19 |
| ← timthelion left | 15:20 |
| → robertnix joined | 15:20 |
| ← dsdeiz left | 15:20 |
| ← macabre left | 15:21 |
| ← robbyoconnor left | 15:21 |
| → joelrobichaud joined | 15:21 |
| → SHyx0rmZ joined | 15:21 |
| ← salamanderrake left | 15:21 |
| → whaley joined | 15:21 |
| ← Kayra left | 15:22 |
| → matteo joined | 15:23 |
| → dharmaturtle joined | 15:23 |
| → mmitchell joined | 15:23 |
| → AWinterman joined | 15:24 |
| ← lite_ left | 15:24 |
| → petey_ joined | 15:24 |
| → lite_ joined | 15:25 |
| → acharlieh joined | 15:26 |
| ← whaley left | 15:26 |
| ← papegaaij left | 15:27 |
| → ojacobson joined | 15:28 |
| → whaley joined | 15:28 |
| → salamanderrake joined | 15:29 |
| ← wet88 left | 15:30 |
| ← lite_ left | 15:30 |
| ← scampbell left | 15:30 |
| ← girfas left | 15:30 |
| → john2x joined | 15:30 |
| → dort joined | 15:31 |
| ← ni__ left | 15:31 |
| ← dhruvasagar left | 15:33 |
| ← nfroidure left | 15:33 |
| → petey__ joined | 15:34 |
| → danman joined | 15:34 |
| → bwreilly joined | 15:34 |
| → herdingcat joined | 15:35 |
| ← mikecmpbll left | 15:35 |
| ← john2x left | 15:35 |
| ← corygibb_ left | 15:35 |
| ← arand left | 15:36 |
| ← petey_ left | 15:36 |
| → k4rtik joined | 15:37 |
| → timthelion joined | 15:38 |
|
dharmaturtle
| Hi, I'm having trouble removing a sensitive file from Windows - I'm getting a permisison error, I think. http://pastebin.com/8jzTDQCa is my attempts to follow https://help.github.com/articles/remove-sensitive-data | 15:38 |
| ← AWinterman left | 15:38 |
| → CKyle joined | 15:39 |
| ← bwreilly left | 15:39 |
| ← nnyk_ left | 15:40 |
|
milki
| dharmaturtle: fix the permission problem then? its all local to your computer | 15:41 |
| → rouf_ joined | 15:41 |
|
bamj0rb
| Ewww, spaces. | 15:41 |
|
moritz
| spaces and ' in the path | 15:41 |
|
| what could possibly go wrong? :-) | 15:41 |
|
dharmaturtle
| yeah that was a pretty bad idea x_x | 15:41 |
| → nnyk_ joined | 15:42 |
| ← jburcsik left | 15:42 |
|
dharmaturtle
| Well, I can delete the files from explorer, so I'm not sure why I'm getting a permission error. Maybe run it as Admin? | 15:42 |
|
| how should I specify where the file is, with an absolute path like the first or a relative like the second? | 15:42 |
| ← Norm_ left | 15:43 |
| ← lb1a left | 15:43 |
|
cbreak-work
| dharmaturtle: windows has its issues with open files. | 15:43 |
| → Davey joined | 15:44 |
| ← rouf left | 15:44 |
| → lavaman joined | 15:45 |
| → kevwil joined | 15:45 |
| ← macabre^ left | 15:45 |
| → macabre joined | 15:46 |
|
dharmaturtle
| :( well, I closed everything and I'm still getting that error with "/C#/plsremoveme.cs" as the path | 15:47 |
| ← macabre left | 15:47 |
| → infynyxx joined | 15:47 |
| → macabre joined | 15:47 |
|
bamj0rb
| dharmaturtle: You may want to remove that leading /... I'm not sure if Git would consider that the root of the repo or root of the file system. | 15:47 |
| → Gavrisimo joined | 15:48 |
|
bamj0rb
| Which OS? Certainly working outside of your "home" is a bit non-standard (unless you are an admin or it's just a data partition). | 15:48 |
|
| Also, Windows is just PITA. | 15:48 |
| → shinnya joined | 15:49 |
|
cbreak-work
| C#? hmm :/ | 15:49 |
| ← StarFire2 left | 15:49 |
|
dharmaturtle
| yeah, the more I program, the more I become a linux fan | 15:50 |
| → FRANGIUL joined | 15:50 |
| → Advocation joined | 15:50 |
| ← War2 left | 15:50 |
| ← FRANGIUL left | 15:50 |
|
bamj0rb
| Protip: it is a bit awkward to name a directory after a particular data type. :) Just my /pedantic. | 15:50 |
| ← dyng left | 15:51 |
| → FRANGIUL joined | 15:51 |
|
bamj0rb
| Apparently you can change that directory (.git-rewrite) with an option. So you could try moving that somewhere else, like maybe $TMP (though that may be a security consideration). | 15:51 |
| ← tadasZ left | 15:52 |
| → Streward joined | 15:52 |
| ← FRANGIUL left | 15:52 |
|
MattMaker
| dharmaturtle: it could also be an antivirus program locking the file to "scan" it | 15:52 |
|
dharmaturtle
| Removing the leading "/" seems to work. I'm not getting an error message now, but it doesn't seem to be updated when I visit the repo on github. Is it cached or something? http://pastebin.com/4g4CZtX0 | 15:53 |
| ← timthelion left | 15:54 |
|
bamj0rb
| You will have to delete the repo on GitHub and re-push (Danger Will Robinson! This will affect all other users of it). | 15:55 |
|
dharmaturtle
| @_@ wait really | 15:55 |
|
| I have to nuke the entire repo? | 15:55 |
| → keller joined | 15:55 |
| → King_Hual joined | 15:56 |
|
bamj0rb
| If you want to eliminate all traces, yes. Even after rewriting the history, the objects will still exist in the remote. They will still be accessible by SHA1. | 15:56 |
| → Xetius joined | 15:56 |
| ← Sendoushi left | 15:56 |
| → guide joined | 15:56 |
| ← CKyle left | 15:56 |
|
Xetius
| Hi | 15:56 |
|
dharmaturtle
| I'm not worried about the hash, it's not *that* sensitive | 15:56 |
|
bamj0rb
| If you had access then you potentially garbage collect them away, but I don't think you have that option with GitHub. So the easiest way (maybe the only way) is to delete the GitHub repo and create a new one. | 15:56 |
|
Xetius
| Can I use rebase if I have pushed to my main repository? | 15:57 |
| gitinfo set mode: +v | 15:57 |
|
bamj0rb
| dharmaturtle: You'll need to push --force in order to change the ref in the GitHub repo (e.g., origin/master for you). This will still affect users (if anybody already has this repo cloned then you can't force them to clean their repo). | 15:57 |
| gitinfo set mode: +v | 15:58 |
| → AWinterman joined | 15:58 |
|
ojacobson
| so it turns out that passing an entire git repo's object graph (not just commit graph, all the tags & trees & blobs too) to dot can take a looooong time to render | 15:58 |
|
| so far, all weekend | 15:58 |
|
bamj0rb
| Xetius: Depends. As a rule, you shouldn't. You can, but it could cause problems. Any clones will need to also rebase. So that means any other users of your repo would need to. | 15:58 |
|
| ojacobson: xD | 15:58 |
|
ojacobson
| 88k objects | 15:59 |
| → CKyle joined | 15:59 |
|
ojacobson
| well | 15:59 |
|
| 88k lines of .dot file | 15:59 |
|
| -Nshape=point for obvious reasons | 15:59 |
|
dharmaturtle
| bamj0rb: Oh *duh*. Thanks very much x_x pretty new and stupid to all this | 15:59 |
|
Xetius
| so the only way for everyone else to pick up changes would be to do the rebase themselves as well? | 15:59 |
|
ojacobson
| https://gist.github.com/ojacobson/98d624f54036907360fc if you're bored | 16:00 |
| → lite_ joined | 16:00 |
| ← marcosRz left | 16:00 |
|
Xetius
| or, if the fetch/merge would they pick up the rebase? | 16:00 |
|
bamj0rb
| dharmaturtle: No worries. It takes some practice to wrap your head around it. | 16:00 |
| → arietis joined | 16:01 |
|
bamj0rb
| Xetius: They will get the new commits from the rebase, but they won't lose the original commits. They'll end up merging the two together most likely. | 16:01 |
| → ZujkisNx joined | 16:01 |
|
Xetius
| bamj0rb: thanks | 16:01 |
|
| and arse | 16:01 |
|
bamj0rb
| Xetius: The other solution is to rebase, push -f, and then tell everybody else that they need to reclone. | 16:01 |
| ← macabre left | 16:01 |
| → bwreilly joined | 16:02 |
| → macabre joined | 16:02 |
|
Xetius
| ok, thanks. That just broke everything I spent today writing :) | 16:02 |
|
bamj0rb
| Xetius: They can take care to preserve any unpushed changes of their own that depend on the rebased commits, but it's an advanced maneuver so newbies will struggle with it and it probably won't be worth trying it. | 16:02 |
| ← macabre left | 16:03 |
| ← ikrabbe left | 16:03 |
| → nwertman joined | 16:04 |
| → hyperboreean joined | 16:04 |
| → tadasZ joined | 16:05 |
| ← chuckharmston left | 16:05 |
| → dhruvasagar joined | 16:07 |
| → jburcsik joined | 16:07 |
| ← el3ctron left | 16:07 |
| ← mlechner left | 16:07 |
| → rc111 joined | 16:08 |
| → timthelion joined | 16:08 |
| → kukks joined | 16:10 |
| ← natechan left | 16:10 |
| ← Snibble left | 16:10 |
| → natechan joined | 16:10 |
| ← tty-1 left | 16:10 |
| → asQuirreL joined | 16:11 |
| → FrodoTheHobbit1 joined | 16:12 |
| ← juril left | 16:12 |
| → obiwahn joined | 16:12 |
|
obiwahn
| hey there | 16:13 |
|
| which hook is triggered wehn i do a git pull? | 16:13 |
| ← petey__ left | 16:13 |
| ← cbreak-work left | 16:13 |
| ← shadok left | 16:14 |
| → petey_ joined | 16:14 |
| → shadok joined | 16:14 |
| ← shadok left | 16:14 |
| → shadok joined | 16:14 |
| → shruggar joined | 16:14 |
|
milki
| hm, probably post-merge? | 16:15 |
| ← Sonderblade left | 16:15 |
| ← FrodoTheHobbit left | 16:15 |
| → Cromulent joined | 16:15 |
|
milki
| lol, its even explicit in the manpage | 16:15 |
|
Dougie187
| When using a submodule that was created with the -b flag, whenever the submodules commit changes you have to commit to the repo using the submodule so that a clone gets that commit? | 16:16 |
| ← hike left | 16:16 |
| ← tadasZ left | 16:16 |
| ← tma996 left | 16:16 |
| → WaffleCat joined | 16:16 |
|
milki
| the later is always true, i dont know what you mean by -b flag | 16:16 |
|
grawity
| milki: git submodule add -b <branch>, of course | 16:17 |
| ← arietis left | 16:17 |
|
Dougie187
| `git submodule add -b <branch_name> <url> <path>` sets the submodule up to track a branch | 16:17 |
| ← Xetius left | 16:17 |
|
milki
| o, i havent learned the behaviour of branch tracking yet | 16:18 |
| → Kayra joined | 16:18 |
| ← ThomasLocke left | 16:18 |
| → macabre joined | 16:18 |
| → sanguisdex joined | 16:18 |
|
Dougie187
| It seems like even if you set it up like that, it still needs a commit in the "super project" to force a clone to track the latest commit on the submodule. | 16:18 |
| → SeptDePique joined | 16:19 |
| → joelm joined | 16:19 |
|
obiwahn
| is post-commit called when post-merge is used? | 16:20 |
|
ojacobson
| obiwahn: !xy | 16:20 |
|
gitinfo
| obiwahn: Woah, slow down for a bit. Are you sure that you need to jump to that particular hoop to achieve your goal? We suspect you don't, so why don't you back up a bit and tell us about the overall objective... | 16:20 |
|
milki
| and read man githooks | 16:21 |
|
gitinfo
| the githooks manpage is available at http://jk.gs/githooks.html | 16:21 |
| → kenperkins joined | 16:21 |
| ← infynyxx left | 16:22 |
|
obiwahn
| ok we want to write the hash of the current checkout to a file whenever the repo is changed and wonder which hooks are needed. i suggested post-commit and post-checkout. | 16:22 |
| ← Kayra left | 16:22 |
| ← GeertV left | 16:22 |
| → psyl0n joined | 16:22 |
| → sebhoss joined | 16:23 |
| → GeertV joined | 16:23 |
|
sanguisdex
| I have some new changes on aa feature branch that I would like to merge in behind the changes in head (so that the head changes are not over written by the changes here, should I use rebase? | 16:23 |
| ← Gavrisimo left | 16:23 |
| → tadasZ joined | 16:24 |
| → Robarelli joined | 16:24 |
| → infynyxx joined | 16:24 |
| → nfroidure joined | 16:24 |
| ← psyl0n left | 16:24 |
| → psyl0n joined | 16:24 |
| → chuckharmston joined | 16:24 |
| → leeN joined | 16:25 |
| → arietis joined | 16:26 |
| → LuxuryMode joined | 16:27 |
| rm_work|away → rm_work | 16:27 |
| ← GeertV left | 16:27 |
| ← sebhoss left | 16:28 |
| → hwrd|work joined | 16:28 |
| ← jnavila_ left | 16:28 |
|
ojacobson
| obiwahn: run `git describe` in your build/packaging/deployment script. | 16:28 |
|
| Git's not good at modifying the work tree except as described by versioned contents | 16:28 |
|
| (or git rev-parse HEAD, if you want the bare hash, but `git describe` is generally more useful) | 16:29 |
| ← rath left | 16:29 |
| ← Misan left | 16:29 |
|
bamj0rb
| sanguisdex: Rebasing might be an option, though I guess that depends on what "head" you're referring to, and whether other people have it. | 16:30 |
| → m0viefreak joined | 16:32 |
| ← sohail left | 16:32 |
|
bamj0rb
| sanguisdex: As a rule, your feature branch should only do One Thing(tm), and if you're merging that thing then it should be good. If you don't want to merge everything that it did then you should probably rebase the feature branch. | 16:32 |
| ← Ozch left | 16:32 |
| → sohail joined | 16:33 |
| ← sohail left | 16:33 |
| → sohail joined | 16:33 |
| ← asQuirreL left | 16:33 |
| → Ozch joined | 16:33 |
| qsusOFFcs → qsuscs | 16:33 |
| → zhost joined | 16:34 |
| → asQuirreL joined | 16:34 |
| ← joel_falcou left | 16:35 |
| → sebhoss joined | 16:36 |
|
bamj0rb
| sanguisdex: And you can always add new commits to undo those things before merging... It depends on what you want history to reflet. | 16:37 |
|
| reflect* | 16:37 |
|
sanguisdex
| thanks bamj0rb you have given me plenty to think of | 16:38 |
| → Snibble joined | 16:38 |
| → therealkoopa joined | 16:39 |
| ← hwrd|work left | 16:39 |
| ← halu_ left | 16:42 |
| → ngladitz joined | 16:42 |
| ← ngladitz left | 16:42 |
| → ngladitz joined | 16:42 |
| ← lite_ left | 16:42 |
| ← etcetera left | 16:42 |
| ← johnkevinmbasco left | 16:43 |
| → lite_ joined | 16:44 |
| ← Balliad left | 16:45 |
| → mdiers joined | 16:46 |
| ← w0ng left | 16:47 |
| → SocalNick joined | 16:48 |
| ← JeremyWei left | 16:49 |
| → shoshin joined | 16:50 |
| ← AWinterman left | 16:50 |
| → halu joined | 16:51 |
| ← m0ltar left | 16:51 |
| → AWinterman joined | 16:51 |
| ← shruggar left | 16:52 |
| → scampbell joined | 16:52 |
| ← Davey left | 16:52 |
| → h0rrorvacui joined | 16:53 |
| ← user258467 left | 16:53 |
| ← User458764 left | 16:53 |
| ← asQuirreL left | 16:54 |
| ← griotspeak left | 16:54 |
| → mooperd joined | 16:54 |
| ← halu left | 16:55 |
| → jnl joined | 16:57 |
| ← robertnix left | 16:57 |
| ← SeptDePique left | 16:58 |
| ← Snetty left | 16:58 |
|
jnl
| is there a script-friendly way of doing 'git branch --contains'? (ie without the *-marker, detatched head etc) | 16:59 |
| ← ehmatthes left | 16:59 |
| ← bwreilly left | 17:00 |
| ← paulweb515 left | 17:00 |
| ← dhruvasagar left | 17:00 |
| → davividal joined | 17:01 |
| → Skrypter joined | 17:01 |
| ← Anticom left | 17:01 |
| ← calcifea left | 17:02 |
| → halu joined | 17:03 |
| ← infynyxx left | 17:03 |
| ← rhombus left | 17:04 |
| → kermit joined | 17:04 |
| → russ_ joined | 17:05 |
| → ciampix joined | 17:05 |
| → aberrant joined | 17:06 |
| ← wrouesnel left | 17:06 |
| → infynyxx joined | 17:06 |
| ← mizu_no_oto left | 17:06 |
|
ojacobson
| jnl: you can assemble one; I'd use `git branch --contains HASH | cut -c 3-' | 17:08 |
| ← halu left | 17:09 |
| ← nnyk_ left | 17:09 |
| ← ewnd9 left | 17:10 |
| ← xpe left | 17:10 |
| ← sebhoss left | 17:10 |
| → ehmatthes joined | 17:11 |
| → anderse joined | 17:11 |
| ← psoo left | 17:11 |
| ← sohail left | 17:11 |
|
jnl
| yeah, and then "grep -v '(detatched'", and then i thought maybe there is a better way :) but ill make do | 17:12 |
| → dhruvasagar joined | 17:12 |
| → imachuchu joined | 17:12 |
| ← CKyle left | 17:12 |
| → hwrd|work joined | 17:12 |
|
grawity
| maybe hack something with 'show-ref' and 'rev-list' or some other commands | 17:12 |
| → halu joined | 17:12 |
| → devbug joined | 17:12 |
|
grawity
| I don't know what's closest to --contains :( | 17:12 |
| → SeptDePique joined | 17:13 |
| ← irqq left | 17:14 |
| → mizu_no_oto joined | 17:14 |
| → rethus joined | 17:14 |
|
ojacobson
| jnl: I can make something up along the lines grawity suggests if you really want me to | 17:14 |
| ← rurufufuss left | 17:15 |
| → cff_ joined | 17:15 |
| → m0ltar joined | 17:15 |
|
jnl
| ojacobson: thanks! but no worries :) --contains will do | 17:15 |
| → sohail joined | 17:16 |
| → Shusshu joined | 17:16 |
| ← Shusshu left | 17:16 |
| ← Katafalkas left | 17:16 |
| → Kayra joined | 17:16 |
|
ojacobson
| https://gist.github.com/ojacobson/019203856fef10ac9fb8 (untested) is probably a tolerable starting point | 17:17 |
| → etcetera joined | 17:17 |
| → maestrojed joined | 17:17 |
| ← SeptDePique left | 17:17 |
|
jnl
| cheers | 17:17 |
| ← mishok13 left | 17:17 |
|
ojacobson
| turns out --shell is not what you want there | 17:18 |
|
| reasons why left as an exercise ;) | 17:18 |
|
| also if you only want branch names, not ref names, you'll need to tweak the echo | 17:18 |
| → royho joined | 17:18 |
| ← Kayra left | 17:18 |
|
jnl
| yeah i could add a pattern to for-each-ref | 17:20 |
| → matanya joined | 17:20 |
|
jnl
| oh, sorry, misread | 17:20 |
| ← mmitchell left | 17:20 |
| ← koda left | 17:20 |
|
jnl
| no full names are only a plus, its going into other git-commands anyway :) | 17:21 |
| → mmitchell joined | 17:21 |
| → bwreilly joined | 17:21 |
| ← pfFredd left | 17:22 |
| → CKyle joined | 17:23 |
| ← teran left | 17:23 |
| ← joshbetz left | 17:24 |
| → teran joined | 17:24 |
| ← h0rrorvacui left | 17:24 |
| → joshbetz joined | 17:24 |
| ← matanya left | 17:25 |
|
DolphinDream
| somewhat (not) of a git question:.. how is git able to suggest options via tab completion ? i guess this is more of a unix command /tabcompletion thing.. but anyhow.. how can you make any application return options on tab completion . ideas? | 17:25 |
| ← thiago left | 17:26 |
| ← snql left | 17:26 |
| → twoface88 joined | 17:27 |
|
ojacobson
| DolphinDream: it's shell-dependent | 17:27 |
|
| read `man bash`, `man zsh`, or whichever man page is appropriate for your shell | 17:27 |
| → lolfrenz joined | 17:27 |
|
grawity
| or better, read the completion definitions themselves | 17:27 |
|
| if the shell uses those (bash and zsh do) | 17:28 |
| → matanya joined | 17:28 |
| ← tvw left | 17:28 |
| → tvw joined | 17:28 |
| ← teran left | 17:29 |
| → dvide joined | 17:29 |
| ← kukks left | 17:29 |
| ← dhruvasagar left | 17:29 |
| ← Roots47 left | 17:29 |
| ← Cassiel left | 17:30 |
| ← donmichelangelo left | 17:30 |
| → donmichelangelo joined | 17:31 |
| ← shoshin left | 17:31 |
| ← matanya left | 17:32 |
| → erichynds joined | 17:33 |
| → matanya joined | 17:33 |
| ← ikoo left | 17:33 |
| ← rethus left | 17:34 |
| ← Asenar left | 17:34 |
| ← PaulCapestany left | 17:34 |
| ← AWinterman left | 17:34 |
| → PaulCapestany joined | 17:36 |
| ← whaley left | 17:36 |
| → GeertV joined | 17:36 |
| → m8 joined | 17:39 |
| ← Guest32821 left | 17:39 |
| → billy_ran_away joined | 17:41 |
| → boombatower joined | 17:41 |
| → Sonderblade joined | 17:42 |
| ← Sonderblade left | 17:42 |
| → CorySimmons joined | 17:42 |
| → War2 joined | 17:42 |
| ← hahuang65 left | 17:42 |
|
CorySimmons
| I tried to rebase -i to squash some commits and I ended up with another branch somehow? http://i.imgur.com/Vdr2cU3.png | 17:42 |
|
| How can I fix this so there aren't 2 branches anymore? | 17:43 |
| → Sonderblade joined | 17:43 |
|
CorySimmons
| And what happened anyway? | 17:43 |
|
grawity
| basically, when you rewrite history, you aren't modifying the old commits (that's pretty much impossible) but rather creating new, rewritten ones | 17:44 |
| ← SocalNick left | 17:44 |
|
grawity
| after the rewrite, git points the branch to the new latest commit, and leaves the old ones collecting dust | 17:44 |
|
| (dangling commits get garbage-collected after a while) | 17:44 |
|
| but the old ones are still reachable by their commit-hash and the like | 17:45 |
| ← mklappstuhl left | 17:45 |
|
grawity
| so if you somehow give your GUI both the new and old histories, it shows them just like that | 17:45 |
| ← matanya left | 17:45 |
| → paulweb515 joined | 17:45 |
| → matanya joined | 17:46 |
|
grawity
| although I have no idea what command you ran to open that graph | 17:46 |
|
CorySimmons
| gitx | 17:46 |
|
grawity
| ah | 17:46 |
|
| maybe you did that while having checked out the 'old latest' commit, or maybe it found that in some other way, I dunno | 17:46 |
| → SocalNick joined | 17:46 |
| ← billy_ran_away left | 17:47 |
| ← shinnya left | 17:47 |
| → kukks joined | 17:47 |
| ← kukks left | 17:47 |
| → kukks joined | 17:47 |
|
CorySimmons
| Is there any way to combine them from this point? | 17:49 |
|
| It's weird, it usually doesn't do this but sometimes it does | 17:49 |
| → nnyk_ joined | 17:49 |
| → teran joined | 17:49 |
| → hyperair joined | 17:49 |
| → Asenar joined | 17:49 |
| → shoshin joined | 17:50 |
|
imachuchu
| CorySimmons: git reset changes which commit your ref points to, and a branch is just a pointer to a commit anyway, so checkout the branch you want to move and reset --hard it to where you want it to point to. Of course if you haven't seen it: !rewrite | 17:51 |
|
gitinfo
| CorySimmons: [!rewriting_public_history] Rewriting public history is usually bad. Everyone who has pulled the old history have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push -f` to force (and the remote may reject that, anyway). See http://goo.gl/waqum | 17:51 |
| ← undecim left | 17:51 |
| → mikecmpbll joined | 17:51 |
| → nafg joined | 17:51 |
| ← tadasZ left | 17:52 |
| → spheros joined | 17:53 |
| → stodan joined | 17:53 |
| ← matanya left | 17:53 |
| → juanmabc joined | 17:53 |
|
grawity
| CorySimmons: you don't want to combine them, just think about it | 17:53 |
|
BlaDe^
| I have a git submodule which i added to .gitmodules however it doesn't show up in git submodule status | 17:53 |
| ← vtunka left | 17:53 |
|
BlaDe^
| what else do I need to do? | 17:53 |
|
grawity
| BlaDe^: git submodule init | 17:54 |
|
BlaDe^
| tried that, didn't do anything | 17:55 |
| ← takamichi left | 17:55 |
| → matanya joined | 17:55 |
| → _iron joined | 17:56 |
| ← arjun_ left | 17:56 |
| ← psyl0n left | 17:56 |
| → mishok13 joined | 17:56 |
| ← tvw left | 17:56 |
| ← infynyxx left | 17:57 |
| → tadasZ joined | 17:57 |
| ← matanya left | 17:59 |
| → abbycabs joined | 17:59 |
| → matanya joined | 18:01 |
| → AWinterman joined | 18:02 |
| → matanya_ joined | 18:03 |
|
Dougie187
| BlaDe^: `git submodule update --init`? | 18:03 |
|
BlaDe^
| Dougie187: nope :( should I run that in my git repo or the submodule? neither seemed to work | 18:04 |
|
Dougie187
| If you're repo | 18:04 |
| → SpNg joined | 18:04 |
|
Dougie187
| Why don't you just `git submodule add` rather than manually editing .gitmodules? | 18:04 |
|
| s/If/in | 18:04 |
|
BlaDe^
| it didn't do anything | 18:04 |
|
CorySimmons
| grawity imachuchu: Thanks guys. Got it right with git push -f. I understand the cons associated with it, but it's a local thing anyway so no one is working from it (safe to force push) | 18:04 |
|
grawity
| aha | 18:04 |
| → shwaiil joined | 18:05 |
|
grawity
| so maybe gitx was just showing origin/master oddly unlabeled | 18:05 |
|
shwaiil
| hi | 18:05 |
|
Dougie187
| BlaDe^: using `git submodule add` didn't do anything? | 18:05 |
| ← matanya left | 18:06 |
| ← Dreamer3 left | 18:06 |
| ← petey_ left | 18:06 |
| → marhaban joined | 18:06 |
| ← juanmabc left | 18:06 |
| → chirayuk joined | 18:07 |
| ← rafeca left | 18:07 |
|
CorySimmons
| grawity: Yeah that too, had to restart gitx and everything looked fine after the force push | 18:07 |
|
| So weird | 18:07 |
|
BlaDe^
| Dougie187: the problem is I added it myself before so I get: 'library/merchant-sdk-php' already exists in the index | 18:07 |
|
Dougie187
| BlaDe^: why not remove .gitmodules, and add it using the infrastructure. | 18:07 |
|
| ? | 18:07 |
| → ntio joined | 18:07 |
|
Dougie187
| Though, you have to remove the directory too. | 18:07 |
| → beastd joined | 18:08 |
| → thiago joined | 18:08 |
| ← twoface88 left | 18:08 |
|
Dougie187
| BlaDe^: basically, clean the index. And use `git submodule add` | 18:08 |
| → dreiss joined | 18:08 |
| → faBimon joined | 18:09 |
| ← CorySimmons left | 18:10 |
| → a-l-e joined | 18:11 |
|
BlaDe^
| Dougie187: i just removed the .git folder and commited it to my repo | 18:11 |
|
| submodules are awlays a slight headache | 18:11 |
| ← marhaban left | 18:11 |
|
Dougie187
| They aren't that bad. | 18:11 |
|
| Though, if you don't like submodules, and you want to keep the "subproject" separate. You should look into subtree | 18:11 |
| ← eaj left | 18:11 |
| ← VictorCL left | 18:12 |
| → regreddit joined | 18:13 |
| → snql joined | 18:14 |
| ← lolfrenz left | 18:14 |
| → eaj joined | 18:14 |
| ← pmdarrow left | 18:14 |
| ← kewah left | 18:15 |
| → juanmabc joined | 18:16 |
| ← quetz left | 18:16 |
| → Kayra joined | 18:16 |
| emmajane → emmajane|food | 18:16 |
| ← stodan left | 18:17 |
| → takamichi joined | 18:18 |
| ← takamichi left | 18:18 |
| ← kukks left | 18:19 |
| ← eaj left | 18:19 |
| ← echo-area left | 18:20 |
| → infynyxx joined | 18:20 |
| → tureba_ joined | 18:20 |
| ← Kayra left | 18:21 |
| ← cff_ left | 18:23 |
| ← tureba left | 18:24 |
| → kesha joined | 18:24 |
| → tty-1 joined | 18:24 |
| → ahmedelgabri joined | 18:26 |
| ← mooperd left | 18:26 |
| → Gabri joined | 18:26 |
| ← dreiss left | 18:26 |
| → hahuang65 joined | 18:26 |
| ← Advocation left | 18:28 |
| ← ahmedelgabri left | 18:28 |
| ← galaris left | 18:29 |
| → iamjarvo joined | 18:29 |
| matanya_ → matanya | 18:29 |
| → griotspeak joined | 18:29 |
| → mooperd joined | 18:30 |
| ← iamjarvo left | 18:30 |
| → iamjarvo joined | 18:31 |
| → Bass10 joined | 18:31 |
| → Norm_ joined | 18:31 |
| → SocalNick_ joined | 18:31 |
| ← Exio4 left | 18:31 |
| ← mooperd left | 18:32 |
| → mooperd joined | 18:32 |
| → Exio4 joined | 18:32 |
| ← Gabri left | 18:32 |
| → ahmedelgabri joined | 18:33 |
| ← Exio4 left | 18:33 |
| → psyl0n joined | 18:33 |
| ← SocalNick left | 18:34 |
| SocalNick_ → SocalNick | 18:34 |
| ← scampbell left | 18:35 |
| → takamichi joined | 18:35 |
| ← matanya left | 18:35 |
| → angasulino joined | 18:36 |
| ← kermit left | 18:36 |
| → foucist joined | 18:36 |
| ← ahmedelgabri left | 18:37 |
| → matanya joined | 18:37 |
| → Dreamer3 joined | 18:37 |
| → ahmedelgabri joined | 18:37 |
|
angasulino
| I'm looking for information on git subtree (the apparent replacement to submodules?) but I'm not finding much more than the man page, any good links that explain how to use it and how it works internally? | 18:38 |
| ← Cromulent left | 18:38 |
| ← rc111 left | 18:38 |
|
foucist
| when i do git rebase -i HEAD~5 and then change some of the picks to squash, and :wq , i end up not in any branch and it just says "Could not apply 786bdad... merge organization model" what do i do? | 18:38 |
|
Dougie187
| angasulino: http://blogs.atlassian.com/2013/05/alternatives-to-git-submodule-git-subtree/ | 18:38 |
| ← ahmedelgabri left | 18:38 |
| → pmdarrow joined | 18:39 |
|
Dougie187
| foucist: First step. Read the rest of the error message. It stops after a patch application that fails. It expects you to clean it up (you can see what files need to be merged with `git status`). Second step, clean it up, and `git add` the cleaned files. Then final step is `git rebase --continue` | 18:40 |
| ← natechan left | 18:41 |
|
foucist
| Dougie187: yeah except there wasn't any files to merge, nothing shows up in git st, and git rebase --continue didn't do anything | 18:41 |
|
Dougie187
| foucist: I think that's about as much help as I can be. But if you want to get back to where you were, you can do `git rebase --abort` | 18:42 |
| → shoshin_ joined | 18:42 |
| ← shoshin_ left | 18:42 |
| → sq-one joined | 18:43 |
| ← griotspeak left | 18:44 |
| → oojacoboo joined | 18:44 |
| → sarkis joined | 18:46 |
| ← jonatasnona left | 18:47 |
| ← dort left | 18:47 |
| → jonatasnona joined | 18:48 |
| → griotspeak joined | 18:48 |
| ← thelorax123 left | 18:49 |
| → mklappstuhl joined | 18:49 |
| → ewokchewy joined | 18:50 |
| ← SocalNick left | 18:50 |
| ← matanya left | 18:50 |
| → thelorax123 joined | 18:51 |
| → richwestcoast joined | 18:52 |
| → SocalNick joined | 18:52 |
| → whaley joined | 18:52 |
| → alexim joined | 18:52 |
| → whunt_ joined | 18:52 |
| ← freeed left | 18:52 |
| whunt_ → whunt | 18:52 |
| → matanya joined | 18:52 |
| → freeed joined | 18:53 |
| ← jonatasnona left | 18:54 |
| ← shoshin left | 18:54 |
| → jonatasnona joined | 18:55 |
|
angasulino
| Dougie187, thank you! | 18:56 |
| ← timthelion left | 18:56 |
|
angasulino
| Dougie187, I had already read that article, though :) | 18:56 |
| ← ewokchewy left | 18:57 |
| → irqq joined | 18:57 |
| → LBV_User joined | 18:57 |
|
| angasulino hates horizontal scrollbars when there is plenty of space on both sides... | 18:57 |
| ← alexim left | 18:57 |
| → petey joined | 18:58 |
| → timthelion joined | 18:59 |
| ← War2 left | 18:59 |
| ← TomyWork left | 18:59 |
| ← oojacoboo left | 19:00 |
| → oojacoboo joined | 19:01 |
| ← lavong left | 19:01 |
| → endiruna joined | 19:03 |
| ← kevwil left | 19:04 |
| ← eletuchy left | 19:04 |
| ← timthelion left | 19:05 |
| ← ZujkisNx left | 19:06 |
| → rouf joined | 19:07 |
| ← k4rtik left | 19:07 |
| → rafaqueque joined | 19:07 |
| ← r00tWearsRedHats left | 19:07 |
| ← hoschi left | 19:07 |
| ← rouf_ left | 19:09 |
| ← mikecmpbll left | 19:10 |
| → alexim joined | 19:10 |
| → Seus joined | 19:11 |
| → tang^ joined | 19:11 |
| ← alexim left | 19:11 |
| ← davividal left | 19:11 |
| → kewah joined | 19:11 |
| → ZujkisNx joined | 19:12 |
| ← mizu_no_oto left | 19:13 |
| → mizu_no_oto joined | 19:14 |
| → thegladiator__ joined | 19:14 |
| → kukks joined | 19:14 |
| ← kukks left | 19:14 |
| → kukks joined | 19:14 |
| → Roots47 joined | 19:15 |
| ← slopjong_ left | 19:15 |
| → TGiFallen joined | 19:17 |
| ← juanmabc left | 19:17 |
| ← vipzrx left | 19:17 |
| ← takamichi left | 19:17 |
| ← matanya left | 19:18 |
| → matanya joined | 19:18 |
| → aard joined | 19:19 |
| ← minty left | 19:19 |
| ← nwertman left | 19:19 |
| → pr0ton joined | 19:20 |
| → dreiss joined | 19:20 |
| → sfz joined | 19:20 |
| ← pr0ton left | 19:20 |
| → nwertman joined | 19:21 |
| ← aartist left | 19:22 |
| → mintyFresh joined | 19:22 |
| mintyFresh → Guest68827 | 19:22 |
| → davividal joined | 19:23 |
| → MacWinner joined | 19:23 |
| → guzzlefry joined | 19:24 |
|
guzzlefry
| hello | 19:24 |
|
| I have existing code that's not tracked in Git, I'd like to add it to a new branch of an existing repo. Is this sane/possible? | 19:25 |
| ← spheros left | 19:25 |
|
_ikke_
| Is it related to the existing repo? | 19:25 |
|
guzzlefry
| yep | 19:25 |
|
jrn
| guzzlefry: you mean a new branch of the existing remote repo? | 19:25 |
| → hs366 joined | 19:25 |
| → spheros joined | 19:25 |
| ← spheros left | 19:25 |
| ← dropdrive left | 19:25 |
|
guzzlefry
| jrn: That's more accurate, yes. | 19:26 |
|
jrn
| guzzlefry: the maintainer of git does something like this with his "todo" branch | 19:26 |
|
_ikke_
| guzzlefry: Do you want an 'emty' branch/ | 19:26 |
|
jrn
| guzzlefry: within his clone of git.git, he makes a separate repo named Meta | 19:26 |
|
| guzzlefry: like this: "cd git; git init Meta" | 19:26 |
|
| guzzlefry: he sets it up to push to the same remote repo: "(cd Meta && git remote add origin ssh://.../git.git)" | 19:27 |
| ← ZujkisNx left | 19:27 |
|
jrn
| guzzlefry: then he makes commits and pushes them like usual from there | 19:27 |
|
canton7
| guzzlefry, so you want to start tracking it within the existing repo? | 19:27 |
|
guzzlefry
| canton7: if possible. | 19:27 |
|
canton7
| if so, you dont' want to create a new git repo inside your existing one | 19:27 |
|
| just create a new branch as normal, paste in your files, add commit | 19:28 |
|
guzzlefry
| I might just create a new one if this is going to be a ton of work. | 19:28 |
|
| ah | 19:28 |
|
jrn
| guzzlefry: it's possible (and likely) I misunderstood what you were looking for | 19:28 |
|
| guzzlefry: do you mean that you just want a new branch with more files in it? | 19:28 |
|
| guzzlefry: i.e., it should have the same files as "master" plus a few more? | 19:28 |
|
guzzlefry
| I have another developer who did some changes to existing code, basically a rewrite. | 19:28 |
|
canton7
| I imagine that someone took a snapshot from a git repo, worked on it, and he wants to re-integrate that snapshot | 19:28 |
|
guzzlefry
| But he wasn't using Git. :/ | 19:29 |
| → ZujkisNx joined | 19:29 |
|
jrn
| guzzlefry: ah, that's way simpler than what I was talking about :) | 19:29 |
|
guzzlefry
| oh :) | 19:29 |
|
canton7
| yeah, new branch (branched off the point where the snapshot was made), paste in the files | 19:29 |
| emmajane|food → emmajane | 19:29 |
|
jrn
| guzzlefry: I'd do "git checkout -b topic <branched off point where the snapshot was made" | 19:29 |
|
| guzzlefry: then "git rm -fr ." | 19:29 |
|
| guzzlefry: then extract the snapshot there and "git add ." | 19:29 |
| → rcu joined | 19:30 |
|
jrn
| guzzlefry: then "git diff --cached" to see if it looks sane | 19:30 |
|
| guzzlefry: commit, and you're done | 19:30 |
| ← arietis left | 19:30 |
| → kevwil joined | 19:30 |
| ← m0ltar left | 19:31 |
| → eletuchy joined | 19:31 |
| → alvaro_o joined | 19:31 |
| ← endiruna left | 19:32 |
| ← oojacoboo left | 19:32 |
| → endiruna joined | 19:33 |
| → timthelion joined | 19:33 |
| → v_y joined | 19:34 |
|
v_y
| when i run git config, does it apply to the repository i'm working in or globally? | 19:34 |
| → pantsman joined | 19:34 |
| ← pantsman left | 19:34 |
| → pantsman joined | 19:34 |
|
v_y
| i want to set "git config core.filemode false" on a MS-FAT usb stick fs | 19:34 |
| ← iamjarvo left | 19:35 |
| → iamjarvo joined | 19:35 |
| → eruMelkor joined | 19:36 |
| → Devastator joined | 19:36 |
| Tectu_ → Tectu | 19:36 |
| ← Devastator_ left | 19:36 |
| ← sarkis left | 19:37 |
| ← mklappstuhl left | 19:38 |
| → shruggar joined | 19:38 |
|
DolphinDream
| how do i undo the last push ? (assuming noone fetched latest push) | 19:38 |
| ← shruggar left | 19:38 |
| ← endiruna left | 19:39 |
| ← kevwil left | 19:39 |
| → endiruna joined | 19:39 |
|
jrn
| DolphinDream: when you pushed it should have shown the old and new locations of the pushed branch, like this: fcafab3..87ca8cfg | 19:41 |
|
| DolphinDream: you can rewind the ref with a command like "git push origin +fcafab3:master" | 19:41 |
| ← v_y left | 19:42 |
| ← endiruna left | 19:42 |
| → endiruna joined | 19:43 |
| → iamjarvo_ joined | 19:43 |
| ← lite_ left | 19:43 |
| ← eruMelkor left | 19:43 |
| → mfulz joined | 19:45 |
|
endiruna
| how can i merge a file from a different commit with the current one. not the whole thing | 19:45 |
| ← iamjarvo_ left | 19:46 |
| → TomyLobo joined | 19:46 |
| → iamjarvo_ joined | 19:46 |
| ← iamjarvo left | 19:46 |
| → vipzrx joined | 19:47 |
| ← vipzrx left | 19:47 |
| ← tty-1 left | 19:47 |
| → tty-1_ joined | 19:47 |
| ← matanya left | 19:48 |
| → mklappstuhl joined | 19:48 |
| ← phile left | 19:49 |
| → phile joined | 19:49 |
|
foucist
| endiruna: git show <SHA of diff commit>:path/to/file/from/git/root > file | 19:50 |
|
| git add file | 19:50 |
| → matanya joined | 19:50 |
| → btree joined | 19:50 |
|
_ikke_
| That won't merge the file | 19:50 |
|
| It will overwrite it with the one from the other branch | 19:50 |
|
foucist
| git amend | 19:50 |
| ← kukks left | 19:50 |
|
foucist
| oh | 19:50 |
|
guzzlefry
| This is more of a headache than I thought. | 19:51 |
| ← kesha left | 19:51 |
|
endiruna
| i can of course put it somewhere and than merge the two. just thought that there is some standard way in git | 19:51 |
| → dort joined | 19:52 |
|
bamj0rb
| A bad way might be to: git diff -- path > patch && patch -p1 < patch. You're probably just doing it wrong though. :) | 19:52 |
|
_ikke_
| endiruna: It's not a very common usecase, because you normally merge history, not single files | 19:52 |
|
bamj0rb
| Git doesn't track "files". It considers the entire tree. | 19:52 |
|
| With proper history, you would be able to merge just fine. If you need to merge just a single file then you're probably doing history wrong. :) | 19:53 |
| ← DonRichie left | 19:53 |
|
obiwahn
| mh my git started recently to show escape codes instead of colors | 19:53 |
| ← russoneto left | 19:53 |
|
obiwahn
| all other applications behave normal | 19:53 |
| → eruMelkor joined | 19:53 |
|
_ikke_
| obiwahn: export | grep -i less | 19:53 |
| ← mooperd left | 19:53 |
|
obiwahn
| declare -x LESSCLOSE="/usr/bin/lessfile %s %s" | 19:54 |
|
| declare -x LESSOPEN="/usr/bin/lessfile %s" | 19:54 |
| ← eruMelkor left | 19:54 |
|
obiwahn
| type less | 19:54 |
|
| less is aliased to `less -R' | 19:54 |
| → m0ltar joined | 19:55 |
| → eruMelkor joined | 19:55 |
|
_ikke_
| and pager? | 19:55 |
|
DolphinDream
| jrn, what i did is revert the last change .. git reset --hard lastCommitSHA .. then git push -f | 19:55 |
|
foucist
| endiruna: so yeah do what i suggested. . git show <SHA of diff commit>:path/to/file/from/git/root > file and then add that file to your current commit .. seems like the simplest approach? | 19:55 |
|
_ikke_
| obiwahn: echo $PAGER | 19:55 |
| → mooperd joined | 19:56 |
|
obiwahn
| empty | 19:56 |
| ← Skrypter left | 19:56 |
| → Skrypter joined | 19:56 |
|
obiwahn
| happens on debian sid | 19:56 |
|
_ikke_
| try unset less | 19:57 |
|
| and then again | 19:57 |
|
bamj0rb
| foucist: That isn't merging. That is overwriting. You can just git checkout <SHA1> -- <path> for that. | 19:57 |
|
jnl
| endiruna: how about merge with --no-commit, and zap everything except that file? | 19:57 |
|
_ikke_
| bamj0rb: same! | 19:57 |
| ← tty-1_ left | 19:57 |
|
_ikke_
| bamj0rb: That will overwrite also | 19:57 |
|
bamj0rb
| _ikke_: That's what I said. ;) | 19:57 |
|
_ikke_
| ah, I misunderstood you then | 19:57 |
|
bamj0rb
| Perhaps the shell no longer interprets colors (or ANSI colors)? | 19:58 |
| ← eruMelkor left | 19:58 |
|
obiwahn
| git config --global core.pager 'less' fixed it | 19:58 |
| ← abbycabs left | 19:59 |
|
CareBear\
| the shell never interprets colors | 19:59 |
|
| the terminal emulator does | 19:59 |
|
jnl
| endiruna: or maybe --squash, depending on how you want your history | 19:59 |
|
bamj0rb
| CareBear\: Fair enough. :) | 19:59 |
| → Snibble1 joined | 19:59 |
|
foucist
| _ikke_: bamj0rb: overwriting what? | 19:59 |
|
| assume the other commit is in a different branch | 19:59 |
| ← Snibble1 left | 19:59 |
|
_ikke_
| foucist: The file in your worktree | 19:59 |
|
foucist
| lets say the file doesn't exist in the worktree | 20:00 |
| ← Snibble left | 20:00 |
| ← matteo left | 20:00 |
|
_ikke_
| Then git checkout is the easiest | 20:00 |
| ← spaceonline left | 20:00 |
|
_ikke_
| git checkout <sha> -- <file>, as bamj0rb said | 20:00 |
| → Mars joined | 20:00 |
| Mars → Mars` | 20:00 |
|
obiwahn
| mh | 20:00 |
|
foucist
| ah | 20:00 |
| ← Skrypter left | 20:00 |
|
obiwahn
| i would like to fix it for all | 20:00 |
|
| user | 20:00 |
| → Skrypter joined | 20:00 |
| ← matanya left | 20:01 |
| ← sgambino left | 20:01 |
| ← Devastator left | 20:02 |
| → Devastator joined | 20:02 |
| → macabre^ joined | 20:02 |
| → matanya joined | 20:03 |
| ← Droolio left | 20:03 |
| ← ZujkisNx left | 20:03 |
| → ZujkisNx joined | 20:04 |
| → rc111 joined | 20:05 |
| ← parcs left | 20:05 |
| ← macabre left | 20:05 |
| → sgambino joined | 20:05 |
| ← endiruna left | 20:05 |
| → jnavila joined | 20:06 |
| → vladgh joined | 20:06 |
| → kevwil joined | 20:06 |
| ← mklappstuhl left | 20:06 |
| → tvw joined | 20:07 |
| ← Grum left | 20:08 |
| ← matanya left | 20:09 |
| → Grum joined | 20:09 |
| ← macabre^ left | 20:11 |
| ← Ozch left | 20:13 |
| → tombee joined | 20:13 |
| → crater2150 joined | 20:13 |
| ← tombee left | 20:13 |
| → tombee joined | 20:13 |
| ← erichynds left | 20:14 |
| ← hs366 left | 20:14 |
| → mmitchel_ joined | 20:14 |
| → avantgeek_ joined | 20:15 |
| ← hwrd|work left | 20:15 |
| ← avantgeek left | 20:15 |
|
guzzlefry
| Anyone accessing gitolite via Windows? | 20:15 |
| ← m0ltar left | 20:16 |
| → Ozch joined | 20:16 |
| → VictorCL joined | 20:16 |
| → erichynds joined | 20:16 |
| ← avantgeek_ left | 20:17 |
|
charon
| !anyone | 20:17 |
|
gitinfo
| Usually, it does not help to ask for someone specific to help you. Without knowing your specific problem, nobody knows if they can be of assistance. Please ask your questions and wait until somebody speaks up. | 20:17 |
|
guzzlefry
| ah, good call | 20:18 |
| ← mmitchell left | 20:18 |
| ← a-l-e left | 20:18 |
| → avantgeek_ joined | 20:18 |
|
cbreak
| guzzlefry: it works. | 20:18 |
|
| gitolite is transparent as far as clients are concerned | 20:19 |
|
guzzlefry
| I have a dev working in Windows, and I having a bit of a time getting him setup to use gitolite as a remote. | 20:19 |
|
| cbreak: yeah, it's getting ssh/git setup on Windows that seems to be the issue. | 20:19 |
| ← KillYourTV left | 20:19 |
|
cbreak
| installing git should be easy with that msysgit installer thing | 20:19 |
|
| just select openssh and then treat it like a normal computer | 20:20 |
| → KillYourTV joined | 20:21 |
|
obiwahn
| the color issue really drives me mad | 20:22 |
| → aknewhope joined | 20:22 |
| ← aknewhope left | 20:22 |
| → lawltoad joined | 20:23 |
| ← eletuchy left | 20:23 |
| → vipzrx joined | 20:23 |
| ← richwestcoast left | 20:23 |
| → aknewhope joined | 20:23 |
| → richwestcoast joined | 20:24 |
| ← vladgh left | 20:24 |
| ← aknewhope left | 20:25 |
| → gkze joined | 20:25 |
| → macabre joined | 20:25 |
| → |Freeman| joined | 20:26 |
| ← Mars` left | 20:26 |
| ← kewah left | 20:26 |
| → vladgh joined | 20:27 |
| → silviof1 joined | 20:29 |
| ← btree left | 20:29 |
| ← joki left | 20:29 |
| ← silviof left | 20:30 |
| ← nnyk_ left | 20:30 |
| → zeograd joined | 20:31 |
| → ni_ joined | 20:33 |
| → revyd joined | 20:34 |
| → joki joined | 20:34 |
| ← mfeltner left | 20:34 |
| ← ZujkisNx left | 20:34 |
| → hwrd|work joined | 20:35 |
| → ajm203 joined | 20:35 |
| ← petey left | 20:35 |
| → petey joined | 20:35 |
| ← dort left | 20:35 |
| → nickpresta joined | 20:36 |
| → cff_ joined | 20:37 |
| → mfeltner joined | 20:38 |
| → Snibble joined | 20:38 |
| ← stephCoue left | 20:39 |
| → jefferai joined | 20:39 |
| → runa_ joined | 20:39 |
| ← Skrypter left | 20:39 |
| → Skrypter joined | 20:39 |
| → eletuchy joined | 20:39 |
| → schemanic joined | 20:39 |
| ← Skrypter left | 20:40 |
|
runa_
| I'm not sure how, I but I managed to add an empty directory to my repo. I suspect I did *something* related to submodules. How can I do to remove it? | 20:40 |
| → Skrypter joined | 20:40 |
| ← petey left | 20:40 |
| ← Skrypter left | 20:41 |
| → petey joined | 20:41 |
| → Skrypter joined | 20:41 |
| → calcifea joined | 20:42 |
|
imachuchu
| runa_: do you mean remove it from this point on or remove it from all history? | 20:42 |
|
guzzlefry
| runa_: Check to see if it's a submodule. Run `git submodule` in the root directory. | 20:42 |
| ← abelsiqueira left | 20:43 |
| → kukks joined | 20:43 |
| ← kukks left | 20:43 |
| → kukks joined | 20:43 |
| ← davividal left | 20:43 |
| ← Skrypter left | 20:45 |
| ← revyd left | 20:46 |
| ← Squarism left | 20:46 |
| → axl_ joined | 20:47 |
| ← vipzrx left | 20:47 |
| ← frogonwheels left | 20:48 |
| ← gkze left | 20:49 |
|
mooperd
| If I have an old version. How do I reload my local clone | 20:49 |
|
| or reclone | 20:49 |
|
| or | 20:49 |
| here____ → he_re | 20:50 |
| ← rcu left | 20:50 |
|
jrn
| mooperd: what do you have an old version of? | 20:50 |
| ← leeN left | 20:51 |
| → wet88 joined | 20:51 |
| → ilhami joined | 20:51 |
| → Skrypter joined | 20:51 |
|
ilhami
| Hey how do I push my whole project to google code server? | 20:51 |
|
| from the terminal | 20:51 |
|
mooperd
| jrn, I have a local clone that is a really old version of some scripts and stuff. | 20:51 |
|
| I want to grab the most recent versiion | 20:51 |
|
lov
| ilhami: ./toTheCloud.sh | 20:52 |
|
jrn
| mooperd: take a look at man git-pull | 20:52 |
|
gitinfo
| mooperd: the git-pull manpage is available at http://jk.gs/git-pull.html | 20:52 |
|
jrn
| mooperd: !pull = fetch + merge | 20:52 |
|
gitinfo
| mooperd: pull=fetch+merge (or with flags/config also fetch+rebase). It is thus *not* the opposite of push in any sense. A good article that explains the difference between fetch and pull: http://longair.net/blog/2009/04/16/git-fetch-and-merge/ | 20:52 |
|
ilhami
| lov: wait. | 20:52 |
| → nnyk_ joined | 20:52 |
| ← pmdarrow left | 20:52 |
|
lov
| too late, it's already in the cloud | 20:53 |
|
| it's gone | 20:53 |
|
| whoosh | 20:53 |
| ← pandeiro left | 20:53 |
|
ilhami
| lov: I need to add all files to index first. how do I do that? | 20:53 |
|
mooperd
| jrn, thanks | 20:53 |
| ← shwaiil left | 20:53 |
|
jrn
| sure | 20:53 |
|
lov
| ilhami: not to be rude, but have you read any git tutorials yet? | 20:53 |
| → groglogic joined | 20:53 |
|
ilhami
| lov: I am looking for one | 20:53 |
|
lov
| ilhami: you might want to look at the first chapter or two of the !book | 20:53 |
|
gitinfo
| ilhami: There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable | 20:53 |
|
ilhami
| I will read vogellas. I don't like that book you are referring you... | 20:54 |
|
| to* | 20:54 |
|
lov
| ok, up to you. | 20:54 |
| → aChatir joined | 20:54 |
| ← SocalNick left | 20:54 |
|
bremner
| vofellas? | 20:54 |
|
jrn
| ilhami: also see man gittutorial | 20:54 |
|
gitinfo
| ilhami: the gittutorial manpage is available at http://jk.gs/gittutorial.html | 20:54 |
| → revyd joined | 20:55 |
| → abbycabs joined | 20:55 |
|
ilhami
| you dont know Vogella bremner ? | 20:55 |
|
bremner
| nope. | 20:55 |
| → Mars` joined | 20:55 |
| ← bgerber left | 20:55 |
|
ilhami
| He has made a lot of tutorials. Search his name | 20:56 |
|
bremner
| sounds like a !blog | 20:56 |
|
gitinfo
| Blog posts, while helpful and informative, are quite often outdated, give bad advice, or are just plain wrong. Please don't rely solely upon them, or treat them as authoritative. | 20:56 |
| → SocalNick joined | 20:56 |
|
obiwahn
| * 0 /usr/bin/lv 80 auto mode | 20:56 |
|
| wtf? | 20:56 |
|
lawltoad
| Hi. So if I have commit A that is the parent of commits B1 and B2 each a different branch. While on B1 if I check out File F from B2, the underlying file object still points to the object in B2 right? so if I remove B2, the file's individual history has a commitless object in it? | 20:57 |
|
bremner
| ilhami: it looks a bit java centric for my taste. but whatever makes you happy I guess. | 20:57 |
| → dropdrive joined | 20:57 |
|
ilhami
| bremner: yeah I like Java :D | 20:57 |
| → bgerber joined | 20:58 |
|
lov
| ilhami: just a bit of warning, vogella makes a lot of tutorials, but they're not necessarily GOOD tutorials. | 20:58 |
| → vipzrx joined | 20:58 |
|
lov
| he might suggest you do something that's out and out wrong, for example. | 20:58 |
| → Georg3 joined | 20:58 |
|
ilhami
| e.g.? | 20:59 |
|
| do you have any examples? | 20:59 |
| ← longbeach left | 20:59 |
|
imachuchu
| lawltoad: "underlying file object" are you saying what git is storing? | 21:00 |
| ← mfeltner left | 21:00 |
| ← hwrd|work left | 21:00 |
| ← sohail left | 21:00 |
| ← tureba_ left | 21:00 |
| → tureba joined | 21:00 |
|
ilhami
| how do I add my project files to the folder I cloned. It's empty. | 21:00 |
| → yetet joined | 21:01 |
| ← MacGyver left | 21:01 |
| ← bamj0rb left | 21:01 |
| ← _iron left | 21:02 |
|
bremner
| ilhami: man gittutorial answers that question | 21:02 |
| ← Nickeeh left | 21:02 |
|
gitinfo
| ilhami: the gittutorial manpage is available at http://jk.gs/gittutorial.html | 21:02 |
|
ilhami
| I am looking there now. | 21:02 |
| ← roflin_ left | 21:02 |
| → hwrd|work joined | 21:02 |
|
ilhami
| I am trying to follow it. | 21:03 |
|
imachuchu
| lawltoad: checkout just modifies your working copy, nothing about your history will change unless you commit the changes (or more complex git commands) | 21:03 |
| ← skorgon left | 21:03 |
| → mfeltner joined | 21:03 |
|
ilhami
| I moved to the git folder. the problem is I don't know how to move my project. Do I need to export is as an archive file ? | 21:03 |
| → spaceonline joined | 21:04 |
| ← aChatir left | 21:04 |
| → MacGyver joined | 21:04 |
| ← MacGyver left | 21:04 |
| → MacGyver joined | 21:04 |
| → skorgon joined | 21:05 |
| → Nickeeh joined | 21:05 |
| ← LBV_User left | 21:06 |
| → pr0ton joined | 21:08 |
| ← iamjarvo_ left | 21:08 |
| ← pr0ton left | 21:09 |
| → iamjarvo joined | 21:09 |
| ← spaceonline left | 21:09 |
| ← acharlieh left | 21:09 |
| → roflin joined | 21:09 |
| → pr0ton joined | 21:09 |
| ← pr0ton left | 21:10 |
|
ilhami
| can anyone help me ? I really need to push this | 21:10 |
| → pr0ton joined | 21:11 |
| ← anderse left | 21:11 |
|
lov
| ilhami: the problem is that no one wants to guide you, step by step, through your own problem that is easily solvable if you follow intro tutorials, because then we will literally be writing a tutorial, just for you. | 21:11 |
|
| except that it will only be applicable to ilhami | 21:11 |
| ← SocalNick left | 21:11 |
|
ilhami
| lov: I know what you mean. If you can just help me now I promise I will read about it. | 21:12 |
|
lov
| we're happy to answer specific questions if you're confused about something, but we're not going to Do Your Work For You | 21:12 |
|
ilhami
| It doesn't have to be step to step. | 21:12 |
| → tpollard joined | 21:12 |
|
ilhami
| I just need to know how to copy my project to the hidden git folder. THat's all. The rest I will handle myself. | 21:12 |
|
lov
| Are you having a particular problem (which is more granular than "hey guys how do I use git?") | 21:12 |
|
| you uh | 21:12 |
|
| you don't actually want to do that. | 21:12 |
|
| that's not how git works. | 21:12 |
|
| look. | 21:12 |
|
| git add . | 21:13 |
|
| git commit -m "My first commit!" | 21:13 |
|
| git push | 21:13 |
|
ilhami
| yes I did that. | 21:13 |
|
DolphinDream
| what do u guys have to say about his idea: to check if any user pushes a change that breaks the code (e.g does not compile) a push to remote will trigger the pull on a build machine that pulls the latest changes, compiles the code and if there are any errors emails the last committer that they broke the code | 21:13 |
|
lov
| assuming that you have a repo set up | 21:13 |
|
ilhami
| I did that lov but that didn't work. Let me give you the "error" | 21:13 |
|
grawity
| DolphinDream: sounds like Travis or Jenkins | 21:13 |
|
ilhami
| lov: nothing to commit (create/copy files and use "git add" to track) | 21:13 |
|
lov
| DolphinDream: It sounds like you reinvented Jenkins! | 21:13 |
|
bekks
| DolphinDream: There are build servers like Jenkins doing exactly that. | 21:13 |
|
lov
| ilhami: is there any content in your repo? | 21:13 |
|
grawity
| DolphinDream: in fact, I've already been emailed by Travis when I broke a project once | 21:13 |
| ← mizu_no_oto left | 21:14 |
|
ilhami
| no thats what Im talking about. My repo is empty. | 21:14 |
| → rcu joined | 21:14 |
| ← petey left | 21:14 |
| ← vipzrx left | 21:14 |
|
lov
| ok, so, put content into there (NOT the .git directory, its parent directory) | 21:14 |
|
ilhami
| I'm using Eclipse and have my workspace in another folder. | 21:14 |
|
lov
| >_< | 21:14 |
|
| so, see | 21:14 |
|
ilhami
| Wait. I think I have it now. | 21:14 |
|
lov
| this is why I don't want to help. | 21:14 |
|
ilhami
| Wait | 21:14 |
| → petey joined | 21:14 |
|
ilhami
| don't hate me but I think I have solved this. | 21:14 |
|
DolphinDream
| grawity, ?:) you mean i'm not the first one to think of this ?? :p | 21:14 |
|
| what's Travis or Jenkins ? | 21:15 |
|
lov
| DolphinDream: if only there was a company that provided a way to search the internet for things. | 21:15 |
|
| Perhaps you could invent that too? | 21:15 |
|
grawity
| DolphinDream: what's Google? | 21:15 |
|
DolphinDream
| lov, :) ok ok | 21:15 |
|
| you guys are better than google | 21:15 |
|
ilhami
| lov: so my .git folder should be in the same as the project folder, right? | 21:15 |
|
bremner
| what is this, #jeopardy? | 21:15 |
|
ToxicFrog
| DolphinDream: the search keys you want here are "jenkins", "build server" and "continuous integration" | 21:16 |
|
DolphinDream
| google can give me 10 posts.. and 5 of them are crap.. you guys give me the BEST reference that i can trust ;) | 21:16 |
| → Kayra joined | 21:16 |
|
ilhami
| Use Bing instead. Much better. :D | 21:16 |
| → lite_ joined | 21:16 |
|
DolphinDream
| thx ToxicFrog | 21:16 |
|
lov
| ilhami: yes. your structure should be something like /content/ , /content/.git/ | 21:17 |
|
ilhami
| wait lov | 21:17 |
| → DrShoggoth joined | 21:17 |
| ← fionnan left | 21:17 |
|
ilhami
| how do you make space in terminal? | 21:18 |
|
| e.g. in a file name? | 21:18 |
|
lov
| .... | 21:18 |
|
| come on bro :( | 21:18 |
|
ojacobson
| ilhami: quote the filename or escape the space | 21:18 |
|
| and then read `man bash` | 21:18 |
|
| (`man zsh`, whatever) | 21:18 |
|
ilhami
| ok | 21:18 |
|
lov
| either "like this" or like\ this | 21:18 |
|
ilhami
| sure | 21:19 |
|
osse
| if the file already exists you can tab-complete it and the shell will deal with it for you | 21:19 |
|
ojacobson
| lov: fwiw I habitually use 'single quotes' for filenames, because bash will "helpfully" expand vars and history markers inside "double quotes" and it's never what I want | 21:19 |
|
ilhami
| Nice osse . :) it did | 21:19 |
|
lov
| ojacobson: that's a fair reason. | 21:19 |
| ← tadasZ left | 21:20 |
|
ilhami
| and move folder is like this, right? mv | 21:20 |
|
| its just mv? | 21:20 |
|
lov
| git doesn't understand the concept of folders. | 21:20 |
|
osse
| ojacobson: it has to expand at some point :P | 21:20 |
|
lov
| but sure, mv is mv from bash | 21:20 |
|
ilhami
| ok. good | 21:20 |
|
ojacobson
| osse: oh, sure, and when I want that, I use double quotes :) | 21:20 |
|
| do not get into fights with me about bash tokenization, I will win every time /bravado | 21:20 |
| ← mmitchel_ left | 21:20 |
|
osse
| ojacobson: oh, I got the impression you didn't want expansion inside those either | 21:21 |
| ← lite_ left | 21:21 |
| ← Kayra left | 21:21 |
|
ojacobson
| no, I just don't want expansion most of the time, at all | 21:21 |
|
| When I want it, I know how to get it | 21:21 |
| → acharlieh joined | 21:21 |
|
DolphinDream
| i assume that jenkins works well with gitolite | 21:21 |
|
Dougie187
| In what sense? | 21:22 |
|
DolphinDream
| in the sense that when i push to remote server managed by gitolite, the jenkins system can be triggered to have builds made on remote build machines.. (I'm still reading about jenkins) | 21:23 |
|
ilhami
| guys I will solve my problem, don't worry and don't hate. | 21:23 |
|
lov
| DolphinDream: Jenkins has the ability to periodically poll source control | 21:23 |
|
ilhami
| Haters gonna hate. | 21:23 |
|
| :D | 21:23 |
|
lov
| you can probably set up a trigger or something | 21:23 |
|
| but, polling is usually good enough | 21:23 |
|
DolphinDream
| lov, what if i want the pull to happen immediately after a push ? | 21:24 |
|
| is it? ok | 21:24 |
| ← iamjarvo left | 21:24 |
|
lov
| what some teams do is combine Gerrit with Jenkins, so that Jenkins will ensure that the proposed patch builds | 21:24 |
|
ilhami
| lov, look I am in my project folder now | 21:24 |
|
lov
| DolphinDream: sure? | 21:24 |
|
Dougie187
| DolphinDream: It will happen once for each commit. gitolite isn't anything to jenkins | 21:24 |
|
ilhami
| I will clone from google source now. OK? | 21:24 |
|
| GOogle code* | 21:24 |
| → iamjarvo joined | 21:24 |
|
Dougie187
| Well, I forget if it actually tests each commit, but it does in buildbot. so I assume it does on jenkins too | 21:24 |
|
lov
| ilhami: you probably want to use add remote. Really, I'd VERY VERY VERY STRONGLY RECOMMEND that you read a few tutorials so that you HAVE ANY CLUE WHATSOEVER WHAT YOU ARE DOING. | 21:24 |
|
| I also VERY VERY VERY strongly recommend that you make a copy of all of your source code, in case you screw it up. | 21:25 |
|
ilhami
| Hahahaha | 21:25 |
|
| Yeah | 21:25 |
|
DolphinDream
| Dougie187, did not say gitolite means anything to jenkins.. not knowing yet how jenkins works i just wanted to make sure there are no issues here | 21:25 |
|
lov
| Because I'm getting the feeling that you are going to do exactly that | 21:25 |
| ← etcetera left | 21:25 |
|
lov
| because you're not bothering to learn what you're doing | 21:25 |
|
| at all | 21:25 |
|
ilhami
| lov: I have used git before.. Just with Egit. Thats something else. Now I want to learn it with terminal | 21:25 |
| ← Jackneill left | 21:26 |
| ← leprechau left | 21:26 |
| → leprechau joined | 21:26 |
| → Fenikkusu joined | 21:26 |
|
osse
| DolphinDream: you could investigate if Jenkins has some sort of REST/URI/POST thing. Maybe you can do 'curl --data job=yesplease http//your-jenkins-instance/something/something' | 21:26 |
| ← GeertV left | 21:26 |
| → abelsiqueira joined | 21:26 |
| → nutron joined | 21:27 |
|
osse
| in a hook on the server I mean | 21:27 |
| → GeertV joined | 21:27 |
| → etcetera joined | 21:27 |
| → Kayra joined | 21:27 |
|
ilhami
| lov: code uploaded to Dropbox just in cae. Hehehehe | 21:27 |
|
| case* | 21:27 |
|
DolphinDream
| osse, thx | 21:28 |
|
ajm203
| DolphinDream: what are you using for source repo? | 21:28 |
|
DolphinDream
| git | 21:29 |
| ← iamjarvo left | 21:29 |
|
Fenikkusu
| I've a software (Magento) that is notorious for an upgrade consisting of starting with a fresh copy of the code. What is the best way to accomplish this on a git repo and not lose the past history? IE: Create New Branch, Remove All Files, Add New Files, Etc. | 21:29 |
|
DolphinDream
| what do u mean ajm203 ? | 21:29 |
| → SocalNick joined | 21:29 |
| ← foucist left | 21:29 |
|
ojacobson
| yes, you can trigger jenkins builds remotely | 21:29 |
|
| writing a hook to do it on git-push is trivial | 21:30 |
|
| the jenkins git plugin documents how it works | 21:30 |
|
| (there's a URL that you can GET to cause jenkins to re-poll all the jobs for a given repository) | 21:30 |
| → iamjarvo joined | 21:30 |
|
ajm203
| DolphinDream: gitolite can operate as a remote, so you can push to staging/production and it'll verify the build before deploying | 21:30 |
|
osse
| ojacobson: i see there is only a pre-push hook, so I suppose one needs to delay the job somehow. | 21:31 |
| ← GeertV left | 21:31 |
|
ilhami
| lov, you know what? | 21:31 |
|
ojacobson
| osse: you install the hook on the recieving repo (post-receive or post-update). | 21:31 |
|
| eg. in gitolite. | 21:32 |
|
ilhami
| lov, say "what?" | 21:32 |
| ← RaceCondition left | 21:32 |
|
ojacobson
| That way the hook doesn't fire until the data is definitely already available for jenkins | 21:32 |
| ← rcu left | 21:33 |
| → valheru7 joined | 21:33 |
|
osse
| ojacobson: then I follow. That's what I would do. I just misunderstood you whrn you wrote "do it on git-push" | 21:33 |
|
ilhami
| ojacobson: IT WORKED!!!! YES | 21:33 |
| → bamj0rb joined | 21:33 |
|
valheru7
| so I'm still getting used to git. with svn, you could use svn:remote properties to assign a remote repository to a certain folder in your repo. How do you go about doing this in git? | 21:33 |
| gitinfo set mode: +v | 21:33 |
| ← timthelion left | 21:34 |
|
ilhami
| SVN is so old school. :D Use git | 21:34 |
|
lov
| valheru7: look into !submodules | 21:34 |
|
gitinfo
| valheru7: [!submodule] git-submodule is ideal to add subsidiary git repositories to a git superproject when you do not control the subprojects or more specifically wish to fix the subproject at a specific revision even as the subproject changes upstream. See http://book.git-scm.com/5_submodules.html | 21:34 |
|
ojacobson
| osse: ah, yeah, I see how I misspoke :) | 21:34 |
|
valheru7
| ilhami, thats what I'm working on ;) | 21:34 |
| ← lawltoad left | 21:34 |
|
valheru7
| thanks lov | 21:34 |
|
ilhami
| thanks lov | 21:35 |
|
bamj0rb
| Of course, while you're looking into submodules, consider whether what you're doing is really what you want to do anyway. Subversion might have taught you some backwards ways of doing things. >:) | 21:35 |
| ← faranjessani left | 21:35 |
| → hopkin joined | 21:35 |
| ← lamont left | 21:36 |
|
valheru7
| bamj0rb, haha good point. Basically I want to be pulling in an open source project to my project and be able to update any bugfixes from upstream without having to re download a zipfile and just replace files everytime | 21:36 |
| → asQuirreL joined | 21:36 |
| ← erichynds left | 21:37 |
|
ilhami
| how do I go out of a log? :D | 21:37 |
|
| it keeps saying end | 21:37 |
|
| LO | 21:37 |
|
| LOL | 21:37 |
| → RaceCondition joined | 21:37 |
| → endiruna joined | 21:37 |
|
ilhami
| ok found out. | 21:37 |
| ← kukks left | 21:38 |
|
lov
| valheru7: no problem. Just be aware that submodules have limitations, and aren't exactly like svn:remote | 21:38 |
| → amcsi joined | 21:38 |
| ← bschindler left | 21:38 |
| → petey_ joined | 21:39 |
| → grafi joined | 21:39 |
|
grafi
| hello peoples! | 21:39 |
|
gitinfo
| grafi: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 21:39 |
|
valheru7
| lov ok thanks | 21:39 |
|
grafi
| so i've just found out i have ssh access to my crappy webspace | 21:40 |
|
| now im trying to set it up for the "git workflow" | 21:40 |
|
| bit it doesnt seem to work | 21:40 |
|
| *but | 21:40 |
|
lov
| grafi: OK, so what's going wrong? | 21:40 |
| → tadasZ joined | 21:41 |
|
grafi
| not sure, i did git init --bare project.git inside the project directory | 21:41 |
|
| i set up the remote | 21:41 |
|
_ikke_
| grafi: Why did you do that? | 21:41 |
|
grafi
| because the internet told me | 21:41 |
|
| :D | 21:41 |
|
lov
| an excellent reason | 21:41 |
|
grafi
| am I confused? | 21:41 |
|
| :P | 21:41 |
| → vipzrx joined | 21:41 |
| → lamont joined | 21:41 |
|
lov
| if you were not, you would not be here :D | 21:42 |
| ← vipzrx left | 21:42 |
|
_ikke_
| So if the internet told you to do sudo rm -rf /*, you'd do that also? | 21:42 |
|
m0viefreak
| a repo in a repo -- gitception! | 21:42 |
| ← petey left | 21:42 |
| → spaceonline joined | 21:42 |
|
grafi
| accidentally i know what rm -rf /* does, so yes of course :D | 21:42 |
| → kukks joined | 21:42 |
| ← kukks left | 21:42 |
| → kukks joined | 21:42 |
|
grafi
| but dont i have to have some kind of repo on the wepspace side of things? | 21:42 |
|
_ikke_
| grafi: nope | 21:43 |
|
ilhami
| lov: I pushed my changes to the remote. It worked! :) | 21:43 |
|
_ikke_
| grafi: You can just have a local repo all on it's own | 21:43 |
|
lov
| ilhami: congratulations, well done. | 21:43 |
|
grafi
| so how do I push to the webspace then? | 21:43 |
|
_ikke_
| grafi: webspace? | 21:43 |
| ← LuxuryMode left | 21:43 |
|
grafi
| the server, if you will | 21:43 |
|
ilhami
| I can see the files under source in Google Code. | 21:44 |
| → vipzrx joined | 21:44 |
|
ilhami
| I think I did it correctly. | 21:44 |
| → seanz joined | 21:44 |
| → FernandoBasso joined | 21:45 |
| ← petey_ left | 21:45 |
|
ilhami
| But the thing with password I haven't figured out yet. How to store the password. | 21:45 |
| → petey joined | 21:45 |
|
grafi
| _ikke_ so what do I do to be able to push from my local machine to the server? | 21:45 |
|
_ikke_
| grafi: Why do you want to push to the server? | 21:46 |
|
grafi
| so I dont have to upload the files via ftp? | 21:46 |
| ← ilhami left | 21:46 |
|
m0viefreak
| rsync | 21:46 |
| → Someguy123 joined | 21:46 |
|
grafi
| on a windows machine? | 21:47 |
|
| :x | 21:47 |
| → kcj joined | 21:47 |
|
_ikke_
| grafi: Using git for deployment is not really advisable | 21:47 |
| ← endiruna left | 21:48 |
|
grafi
| and here I thought that was what everybody was talking about :x | 21:48 |
|
| so how do I do it? | 21:48 |
|
_ikke_
| What kind of server is it/ | 21:48 |
|
| ? | 21:48 |
| ← thiago left | 21:48 |
| → cn28h joined | 21:48 |
|
grafi
| well I have restricted access to it, im surprised im able to use ssh | 21:49 |
| → HicksD_ joined | 21:49 |
|
grafi
| what should I look for to answer your question to your satisfaction? | 21:49 |
|
_ikke_
| And are you able to install git on it? | 21:49 |
| → mribeirodantas joined | 21:49 |
|
cn28h
| what's the significance of including push = refs/tags/* in a remote config? does this mean that tags will automatically be pushed, or simply to allow them to be pushed? | 21:49 |
|
grafi
| git is apparently installed | 21:49 |
| ← HicksD left | 21:49 |
| ← mribeirodantas left | 21:50 |
|
cn28h
| and by "automatically" I mean without having to explicitly use --tags or call the tag out by name | 21:50 |
|
_ikke_
| grafi: look at !deploy | 21:50 |
|
gitinfo
| grafi: Git is not a deployment tool, but you can build one around it(in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/the-list-and-irc/deploy.html | 21:50 |
| → endiruna joined | 21:50 |
|
grafi
| I just discovered that, I was under the impression that it was the typical webspace/you get ftp access type of deal | 21:50 |
|
_ikke_
| shared hosting | 21:50 |
| ← tadasZ left | 21:50 |
|
grafi
| yeah well you can have a vserver and that would be shared hosting too, no? | 21:50 |
|
| thanks for the link | 21:51 |
|
| reading now :p | 21:51 |
|
_ikke_
| vserver? | 21:51 |
| → galaris joined | 21:51 |
|
grafi
| virtual? | 21:51 |
|
seanz
| Greetings. If I initialize a git repository as shared, will the FETCH_HEAD also retain group write permissions? | 21:51 |
| ← SocalNick left | 21:51 |
| → thiago joined | 21:51 |
|
_ikke_
| a vps is not shared hosting | 21:51 |
| → RogerWS_ joined | 21:51 |
| ← guzzlefry left | 21:51 |
| ← hholtmann left | 21:52 |
|
_ikke_
| seanz: You seem to have problems with it? | 21:52 |
| ← RogerWS left | 21:52 |
|
grafi
| well you share the actual hardware with other people though | 21:53 |
|
| or at least you probably are | 21:53 |
|
ojacobson
| cn28h: the normal behaviour of a remote created with `git remote add foo URL` is that `git push foo some-branch` will push some-branch to foo, and push any tags pointing to commits that are in some-branch's history to foo | 21:53 |
|
_ikke_
| yeah, but it's not really called shared hosting | 21:53 |
|
ojacobson
| with that ref in place, then `git push foo` will push all tags, possibly in addition to whatever other behaviour is configured | 21:54 |
|
seanz
| _ikke_: I've got a git repo on a server that the release engineers update, but whichever was the last engineer to do a fetch ends up owning FETCH_HEAD, causing the next person to need to use sudo. | 21:54 |
|
_ikke_
| grafi: Unless you are on a real cheap vps provider, you do have your own memory | 21:54 |
|
seanz
| I'm looking for a fix for that. | 21:54 |
|
| It looked like core.sharedRepository set to group...might be a solution. | 21:54 |
|
_ikke_
| seanz: Sounds like a non-bare repo? | 21:54 |
|
seanz
| _ikke_: Yes, non-bare. | 21:55 |
| ← freeed left | 21:55 |
| ← axl_ left | 21:56 |
| ← spaceonline left | 21:56 |
| ← Ozch left | 21:56 |
| ← ni_ left | 21:57 |
| ← galaris left | 21:58 |
|
grafi
| _ikke_ real cheap is always what im going for ;) | 21:59 |
| ← Robarelli left | 21:59 |
| ← DrShoggoth left | 22:00 |
|
milki
| seanz: since you are talking about release engineers and stuff, you should probably invest in a !gitolite setup | 22:00 |
|
gitinfo
| seanz: Gitolite is a tool to host git repos on a server. It features fine-grained access control, custom hooks, and can be installed without root. Download: https://github.com/sitaramc/gitolite Docs: http://gitolite.com/gitolite/ | 22:00 |
|
seanz
| milki: No way. We just switched from gitolite to GitHub Enterprise. | 22:00 |
|
| This is for a deployment. | 22:00 |
|
milki
| seanz: then you should read !deploy | 22:01 |
|
gitinfo
| seanz: Git is not a deployment tool, but you can build one around it(in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/the-list-and-irc/deploy.html | 22:01 |
| → psoo joined | 22:01 |
|
seanz
| milki: Thanks! | 22:01 |
| ← TheBrainWork left | 22:02 |
| ← pr0ton left | 22:02 |
|
cn28h
| ojacobson, aha, interesting | 22:03 |
| → pr0ton joined | 22:03 |
| ← Snibble left | 22:03 |
| → sword joined | 22:03 |
| ← pixelgremlins left | 22:04 |
|
_ikke_
| seanz: Or use a proper deploy system | 22:04 |
| → pixelgremlins joined | 22:04 |
|
seanz
| _ikke_: As in packages built for the target OS? | 22:04 |
|
ojacobson
| or, hell, rsync | 22:05 |
|
milki
| hell rsync | 22:05 |
|
seanz
| Oh gosh. I don't want to go that far. That's where we came from. That can be messy. | 22:05 |
|
ojacobson
| there are almost always some steps between "I have a pristine, source-controlled tree" and "the service is running/packaged/available" | 22:05 |
|
milki
| thats what scripts are for | 22:05 |
|
seanz
| Either git or packages. Something that lets me work in "units", as it were. | 22:05 |
|
ojacobson
| whether it's compiling sources, or setting config values, or restarting apache | 22:05 |
| ← sq-one left | 22:05 |
| ← cannonball left | 22:06 |
| → iamjarvo_ joined | 22:06 |
| ← schemanic left | 22:06 |
|
_ikke_
| seanz: As in a application that is specialized in deploying code on servers | 22:06 |
| ← mdiers left | 22:07 |
| ← irqq left | 22:08 |
|
ojacobson
| you can build OS packages (debs, RPMs, whatever) from your git tree, sure | 22:08 |
| → jkremser joined | 22:08 |
| ← jkremser left | 22:08 |
| → jkremser joined | 22:08 |
|
ojacobson
| or use capistrano/fabric/ansible/etc to handle rollout, or | 22:08 |
| → SocalNick joined | 22:08 |
| juvenal → juvenal_away | 22:09 |
| ← iamjarvo left | 22:09 |
| → Fandekasp joined | 22:10 |
| ← iamjarvo_ left | 22:10 |
| → hashguy joined | 22:11 |
| → sgu joined | 22:12 |
| ← abbycabs left | 22:12 |
| ← zapb left | 22:13 |
| → GODDOG joined | 22:13 |
|
angasulino
| I'm reading the article http://blogs.atlassian.com/2013/05/alternatives-to-git-submodule-git-subtree/ about git subtree, but I'm not clear on how it works (plus the examples all require horizontal scrolling... wtf?), especially committing and pulling in the subrepo, and I'm assuming having a subrepo in one branch but not in another is fine? It's not like with submodules? | 22:14 |
|
sgu
| Hi all, after an failed merge, I have unmerged path. When I try to use `git checkout --theirs`, I got an error "fatal:--ours/--theirs is incompatible with switching branched". What does that mean? Whan can I do if I want the changes from the another branch? | 22:14 |
| → galaris joined | 22:15 |
| ← mishok13 left | 22:16 |
| → knuth joined | 22:17 |
| ← kaendfinger left | 22:17 |
| ← jkremser left | 22:17 |
|
ojacobson
| sgu: 'git checkout --theirs -- path' or 'git checkout --ours -- path' | 22:17 |
|
| do _not_ include branch names in the checkout command for this | 22:17 |
| ← DolphinDream left | 22:18 |
|
ojacobson
| also, it's rarely what you want, as both options overwrite the changes from one branch or the other | 22:18 |
| juvenal_away → juvenal | 22:18 |
| ← ValicekB left | 22:18 |
| → SoftwareMechanic joined | 22:19 |
| ← rnsanchez left | 22:19 |
| ← pr0ton left | 22:19 |
| ← SoftwareMechanic left | 22:20 |
| ← Fenikkusu left | 22:21 |
|
sgu
| ojacobson: Does it have the same effect of `git merge --squash -s recursive -X theirs B`? | 22:21 |
| ← psoo left | 22:21 |
| Guest68827 → minty | 22:21 |
| → refried_ joined | 22:22 |
|
ojacobson
| No. | 22:22 |
| ← beastd left | 22:23 |
|
sgu
| ojacobson: What are the differences? | 22:23 |
|
ojacobson
| They don't do anything like the same thing. | 22:24 |
| → kaendfinger joined | 22:24 |
|
ojacobson
| `git merge --squash ...options...` creates a new commit with a single parent, whose diff is the aggregate of the diffs on B | 22:24 |
|
milki
| oo, so concise | 22:25 |
| → ValicekB joined | 22:25 |
| → uknownalgorithms joined | 22:25 |
|
ojacobson
| `git merge B` creates a new commit with two parents (HEAD and B); if it runs into a conflict, it exits so you can resolve it. `git checkout --theirs -- PATH` marks PATH as resolved, using the contents of PATH exactly as they are in B, regardless of what happened on HEAD since B diverged. | 22:25 |
|
| It's a travesty of UI development that `git merge` even has a --squash option -- in any sane UI it would be its own command, because it's strictly not a merge. | 22:26 |
| → macabre^ joined | 22:26 |
|
ojacobson
| (For some useful definitions of "merge", anyways) | 22:26 |
|
| It does happen to use a lot of the merge machinery, which is probably why it's an option on merge (git has a bad case of implementer-oriented UIs) | 22:26 |
| ← kirin` left | 22:27 |
| ← jnavila left | 22:28 |
| → kirin` joined | 22:28 |
| → pr0ton joined | 22:28 |
| ← hellopat left | 22:28 |
|
uknownalgorithms
| Git was telling me i was ahead of origin master by 1 commit but wouldn't let me push the changes. I did a pull --rebase which broke the code im guessing when it merged automatically. I did a reset head --hard to my earlier commit with all the correct code but now my local master has diverged from origin master with 1 and 3 commits respectively. How can i fix this, ideally i have the correct version of the files right now and i | 22:28 |
| ← hopkin left | 22:29 |
|
milki
| thats wierd, your rest --hard should have put you 1 ahead of origin/master | 22:29 |
| ← macabre left | 22:30 |
| ← donmichelangelo left | 22:30 |
|
milki
| also, pull shouldnt have done anything at all | 22:30 |
|
| o.O | 22:30 |
| → donmichelangelo joined | 22:31 |
|
ojacobson
| milki: it was "one ahead" because refs/remotes/origin/master was stale | 22:31 |
|
| git pull runs git-fetch, which updated it | 22:31 |
| ← ValicekB left | 22:31 |
|
ojacobson
| he's in the same state before and after, other than no longer having stale remote-tracking branches :) | 22:31 |
|
milki
| oo | 22:31 |
|
| uknownalgorithms: do you want to ignore those 3 new commits in your remote? | 22:32 |
| → mklappstuhl joined | 22:32 |
| → mdiers joined | 22:32 |
|
milki
| o wait | 22:32 |
|
uknownalgorithms
| That would be fine as i have the latest and correct version of the code in my working directory | 22:32 |
|
milki
| theres a dnalging i | 22:33 |
|
sgu
| ojacobson: Does `git merge --squash B` look at the common ancestor of B and HEAD? | 22:33 |
|
ojacobson
| sgu: yes. | 22:33 |
|
milki
| uknownalgorithms: you _could_ just push -f, but think of !rewriting | 22:33 |
|
gitinfo
| uknownalgorithms: [!rewriting_public_history] Rewriting public history is usually bad. Everyone who has pulled the old history have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push -f` to force (and the remote may reject that, anyway). See http://goo.gl/waqum | 22:33 |
| ← TGiFallen left | 22:33 |
|
uknownalgorithms
| initially i was trying to git push --force but the remote was rejecting it | 22:34 |
|
| im not sure rewriting is the way to go as theres other devs working on it | 22:34 |
| ← infynyxx left | 22:34 |
| → axl_ joined | 22:35 |
| → dkpi joined | 22:35 |
|
uknownalgorithms
| if i try to git push -f now it gives me error:denying non-fast forward refs/heads/master. you should pull first | 22:36 |
| ← mklappstuhl left | 22:36 |
| → srayner joined | 22:38 |
| ← nutron left | 22:39 |
| → halu_ joined | 22:39 |
|
sgu
| ojacobson: so `git merge --squash -s recursive -X theirs B` and (git merge --squash B;git checkout --theirs -- all-unmerged-path) are the same? They both create a single parent commit and the diff are the aggregate of diff of B? | 22:39 |
|
ojacobson
| uknownalgorithms: okay so your server is configured to not let you destroy history | 22:39 |
| → infynyxx joined | 22:39 |
|
ojacobson
| now you have to decide how you want to combine the remote changes with your local changes | 22:39 |
|
| welcome to source control | 22:39 |
| ← ngladitz left | 22:39 |
|
ojacobson
| 'git merge origin/master' is one option, 'git rebase origin/master' is another | 22:39 |
|
milki
| uknownalgorithms: !fixup, i suggest doing a revert of those 3 commits, then redoing your changes | 22:39 |
|
gitinfo
| uknownalgorithms: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history! | 22:39 |
| → ValicekB joined | 22:40 |
| → TGiFallen joined | 22:40 |
| ← pixelgremlins left | 22:40 |
| → takamichi joined | 22:40 |
| ← vladgh left | 22:41 |
| ← lavaman left | 22:41 |
| ← halu left | 22:41 |
| ← macabre^ left | 22:42 |
| ← danman left | 22:42 |
| → ZujkisNx joined | 22:42 |
| → tinti joined | 22:43 |
| → mribeirodantas joined | 22:43 |
| ← Zarthus left | 22:44 |
| → jiffe99 joined | 22:44 |
| ← jiffe99 left | 22:45 |
| → Zarthus joined | 22:45 |
| ← breakingthings left | 22:45 |
| → macabre joined | 22:46 |
| → corygibbons joined | 22:46 |
| → snuffeluffegus joined | 22:46 |
| → nutron joined | 22:46 |
| ← macabre left | 22:47 |
| ← ValicekB left | 22:47 |
| ← skorgon left | 22:47 |
| → macabre joined | 22:47 |
| ← threesome left | 22:47 |
| ← dropdrive left | 22:48 |
| ← cff_ left | 22:48 |
| → DanielHollands joined | 22:49 |
| ← marthinal left | 22:50 |
| ← renatow left | 22:51 |
| ← takamichi left | 22:51 |
| ← LimeBlast left | 22:52 |
| ← endiruna left | 22:53 |
| ← joelrobichaud left | 22:53 |
| ← uknownalgorithms left | 22:53 |
| ← zarubin left | 22:53 |
| → macabre^ joined | 22:53 |
| ← Pullphinger left | 22:54 |
| → renatow joined | 22:54 |
| → ValicekB joined | 22:55 |
| ← whaley left | 22:55 |
| ← nickpresta left | 22:56 |
| ← m8 left | 22:56 |
| ← CKyle left | 22:56 |
|
sgu
| Hi all: is there an easy way to undo "git checkout --theirs -- file" and put file back to conflict state(unmerge-path)? | 22:56 |
| → midnightmagic joined | 22:56 |
| ← macabre left | 22:56 |
|
ojacobson
| git checkout -m -- PATH | 22:57 |
| → ni_ joined | 22:57 |
|
ojacobson
| as it says in man git-merge | 22:57 |
|
gitinfo
| the git-merge manpage is available at http://jk.gs/git-merge.html | 22:57 |
| ← YoungFrog left | 22:57 |
| ← devbug left | 22:58 |
| → undecim joined | 22:58 |
| → quackgyver_ joined | 22:58 |
| ← Roots47 left | 22:59 |
| → pandeiro joined | 22:59 |
| ← Dougie187 left | 23:01 |
| ← TomyLobo left | 23:01 |
| ← vipzrx left | 23:01 |
| ← petey left | 23:02 |
| → h0rrorvacui joined | 23:02 |
| ← GODDOG left | 23:02 |
| ← ntio left | 23:02 |
| → kermit joined | 23:02 |
| → petey joined | 23:02 |
| → ntio joined | 23:03 |
| ← bwreilly left | 23:03 |
| → bwreilly joined | 23:04 |
| qsuscs → qsusOFFcs | 23:04 |
| ← hwrd|work left | 23:04 |
| → SimonNa joined | 23:05 |
| ← axl_ left | 23:05 |
| ← pilif left | 23:06 |
| → nickpresta joined | 23:06 |
| ← acharlieh left | 23:06 |
| ← mitz_ left | 23:06 |
| ← macabre^ left | 23:07 |
| ← aard left | 23:07 |
|
sgu
| Hi all: `git status` shows unmerge path, however when I try to run `git checkout --theirs -- path`, nothings happened and the path is still in the unmerge path. What might be the problem? | 23:07 |
| ← srayner left | 23:08 |
| → endiruna joined | 23:08 |
| → mitz_ joined | 23:08 |
|
sgu
| never mind. I am being stupid, I need to run `git add` to staged the changes | 23:10 |
| ← rc111 left | 23:10 |
| ← jburcsik left | 23:10 |
| ← tinti left | 23:11 |
| → acharlieh joined | 23:11 |
| ← mooperd left | 23:12 |
| ← endiruna left | 23:12 |
| → mooperd joined | 23:12 |
|
pure
| Is it at all possible to version my git hooks? | 23:12 |
|
ojacobson
| Sure: store them in the repo, and put a symlink in .git/hooks/ (or make .git/hooks a symlink). | 23:12 |
| ← FernandoBasso left | 23:12 |
| → endiruna joined | 23:12 |
|
ojacobson
| There's no way to automatically configure that for new clones, because sending people code to run isn't really a great idea in the general case :) | 23:13 |
|
| (it can work for simple cases where everyone trusts all collaborators) | 23:13 |
|
pure
| Alrighty. :) | 23:13 |
| ← endiruna left | 23:14 |
| → endiruna joined | 23:14 |
| ← pantsman left | 23:15 |
| ← nutron left | 23:16 |
| → canoon joined | 23:17 |
| ← tombee left | 23:17 |
| ← halu_ left | 23:17 |
| ← pr0ton left | 23:17 |
| ← Sonderblade left | 23:18 |
| → hwrd|work joined | 23:19 |
| → pr0ton joined | 23:19 |
| → marhaban joined | 23:19 |
| ← hyperair left | 23:20 |
| ← ajm203 left | 23:21 |
| ← knuth left | 23:21 |
| ← endiruna left | 23:21 |
| → endiruna joined | 23:22 |
| ← infynyxx left | 23:23 |
| ← marhaban left | 23:24 |
| ← cn28h left | 23:24 |
|
jayne
| has anyone found a workaround for the git-svn assertion failure when attempting to commit a rename? | 23:25 |
| → petey_ joined | 23:27 |
| ← hwrd|work left | 23:29 |
| → primitive joined | 23:29 |
| → joelrobichaud joined | 23:30 |
| ← petey left | 23:30 |
| ← mooperd left | 23:31 |
| ← zeograd left | 23:32 |
| ← pr0ton left | 23:32 |
| ← petey_ left | 23:32 |
| ← kadoban_ left | 23:33 |
| → pr0ton joined | 23:33 |
| → mooperd joined | 23:34 |
| ← mribeirodantas left | 23:35 |
| ← mdiers left | 23:35 |
| → vipzrx joined | 23:36 |
| → kadoban joined | 23:36 |
| ← vipzrx left | 23:36 |
| → frogonwheels joined | 23:36 |
| juvenal → juvenal_away | 23:36 |
| ← nwertman left | 23:37 |
| → dropdrive joined | 23:37 |
| ← SHyx0rmZ left | 23:37 |
| ← snql left | 23:37 |
| ← mooperd left | 23:37 |
| ← kevwil left | 23:38 |
| ← Kicer86 left | 23:38 |
| → nwertman joined | 23:38 |
| ← wet88 left | 23:39 |
| → mooperd joined | 23:39 |
| ← mfeltner left | 23:39 |
| ← frogonwheels left | 23:40 |
| → frogonwheels joined | 23:40 |
| ← mfulz left | 23:40 |
| ← dropdrive left | 23:41 |
| juvenal_away → juvenal | 23:41 |
| → jimmyeatworld joined | 23:42 |
| → zjdriver joined | 23:42 |
| → mdiers joined | 23:42 |
| ← Kayra left | 23:46 |
| → lavaman joined | 23:46 |
| ← groglogic left | 23:47 |
| ← ValicekB left | 23:48 |
| ← sgambino left | 23:49 |
| → schemanic joined | 23:49 |
| ← kriks left | 23:50 |
| → mfeltner joined | 23:51 |
| → nutron joined | 23:53 |
| → dropdrive joined | 23:53 |
| ← insejn left | 23:53 |
| ← asQuirreL left | 23:53 |
| → ValicekB joined | 23:55 |
| ← King_Hual left | 23:55 |
| ← bgerber left | 23:55 |
| ← harobed left | 23:56 |
| → Kicer86 joined | 23:57 |
| ← nwertman left | 23:58 |
| → insejn joined | 23:58 |
| ← amcsi left | 23:58 |
| ← ojacobson left | 23:58 |
| → King_Hual joined | 23:59 |
| → wirrbel joined | 23:59 |
| ← wirrbel left | 23:59 |
| → nwertman joined | 23:59 |