| 2010-04-22 |
| ← enherit left | 00:00 |
| enherit_ → enherit | 00:00 |
| ← ShooterMG left | 00:01 |
| → saccade joined | 00:02 |
| ← Arelius left | 00:04 |
| → Arelius joined | 00:04 |
| ← eighty4 left | 00:04 |
| ← fgiraldeau left | 00:05 |
| → codetroll joined | 00:06 |
|
tgunr
| I have one object in my server repo giving me greate grief, i need to delete it but using git filter-branch causes 'too much memory' error on my host, is there any other way to remove this object, the repo is new and only has 2 commits | 00:07 |
| → jrmuizel joined | 00:08 |
| ← schacon_ left | 00:08 |
| ← airborn left | 00:11 |
| → pheaver joined | 00:11 |
| → binjured joined | 00:11 |
| → developernotes joined | 00:12 |
| → dreiss joined | 00:13 |
| → cmoney joined | 00:13 |
| ← rolfb left | 00:15 |
| ← cmoney left | 00:17 |
| → stantont joined | 00:20 |
| → cmoney joined | 00:21 |
| ← Arelius left | 00:21 |
| → kenneth_reitz joined | 00:21 |
|
cmoney
| quick question, i'm using 1.6.4.2, i have a local branch i created, I pushed it to main repo via git push origin branch | 00:21 |
| → Arelius joined | 00:21 |
|
Ilari
| tgunr: Is it part of first or second commit? | 00:22 |
|
cmoney
| do i need to specifically tell my local branch to track that remote branch that was created? | 00:22 |
|
| so i can git push and git pull remote changes in that branch | 00:22 |
|
Ilari
| tgunr: Also, did you try index or tree filtering? | 00:22 |
| → unreal joined | 00:23 |
|
Ilari
| cmoney: Yes, and since git version is old, that needs to be done by editing the config file. | 00:23 |
| ← friskd left | 00:23 |
|
Ilari
| cmoney: 'git pull' on that branch gives settings you needs. | 00:23 |
|
| *need | 00:23 |
|
cmoney
| it tells me it doesn't appear to be a repo | 00:24 |
|
Ilari
| cmoney: What is the exact error message? | 00:25 |
|
cmoney
| 'origin/branch' does not appear to be a git repository | 00:25 |
| → webchick joined | 00:25 |
|
cmoney
| in my config i just set remote (= origin/branch) and merge (= refs/heads/branch) | 00:25 |
|
Ilari
| cmoney: origin/branch is very likely incorrect. Try 'origin'. | 00:26 |
| → ryan_scott joined | 00:26 |
| ← dreiss left | 00:26 |
|
cmoney
| ah | 00:26 |
|
| i think that did it | 00:26 |
|
| thanks! | 00:27 |
| ← webchick left | 00:30 |
|
eli
| Is there a convenient way to show a single file from a repository based on some revision? | 00:30 |
|
| Something like `ls-tree', but for a file. | 00:30 |
| → mithro joined | 00:31 |
| → webchick joined | 00:32 |
|
tgunr
| llari, i took out the 2 files and my hosting server still errors out on memory usage so i guess it's a no go for this repo | 00:32 |
| → wjames5_ joined | 00:32 |
|
Ilari
| eli: 'git show revision:path/file'? | 00:32 |
| ← defectiv left | 00:32 |
| ← developernotes left | 00:32 |
|
wjames5_
| hi | 00:32 |
|
eli
| Ilari: Thanks! (I saw it, but forgot the ":" syntax...) | 00:33 |
|
wjames5_
| so trying to resolve a bunch of conflicts and in my current case I dont want to go through each file, id be happy to say screw my workspace version, lets just go with what came from the pull | 00:33 |
|
| is there an easy way to tell git to throw away 'my' work and use what i pulled | 00:34 |
|
Caelum
| how do you revert a specific commit? | 00:34 |
|
wjames5_
| on a file by file bases, or even for a whole dir of files | 00:34 |
|
| thanks in advance | 00:34 |
| → rektide joined | 00:35 |
| ← christophsturm left | 00:35 |
| → christophsturm joined | 00:36 |
|
wjames5_
| git reset --hard HEAD maybe? | 00:36 |
|
Caelum
| ahh, it's just git revert sha | 00:37 |
|
| cool | 00:37 |
| ← Arelius left | 00:38 |
| → Arelius joined | 00:38 |
| ← christophsturm left | 00:40 |
|
wjames5_
| nope reset sends me in a circle | 00:41 |
| ← mjf left | 00:42 |
| ← blaines left | 00:44 |
| → Raimondi joined | 00:45 |
|
sitaram
| divVerent: ping | 00:47 |
|
godlygeek
| i want to merge two branches without affecting any files in the working directory. i'm trying something like: export GIT_INDEX_FILE=`mktemp`; git read-tree -m -i branch1; git read-tree -m -i branch2; git ls-files -s ... and only the files from branch2 are in the index. what am i misunderstanding? | 00:48 |
| ← tgunr left | 00:50 |
| ← Guthur left | 00:50 |
| → jaysern joined | 00:52 |
| ← Alagar left | 00:53 |
| wjames5_ → wjames5 | 00:54 |
| ← Arelius left | 00:55 |
| → Arelius joined | 00:55 |
|
pipegeek
| Is there some way to embed a commit template in a repository such that people cloning the repo will get the template? | 00:57 |
| ← ipatrol left | 00:58 |
| → stringo0 joined | 01:01 |
| ← hakunin left | 01:02 |
|
Semikolon
| A colored git add -i? Is that possible? | 01:03 |
|
| more than just the diffs | 01:03 |
| → scarabx joined | 01:03 |
|
godlygeek
| what, other than the diffs, do you want to color? | 01:04 |
| ← tedoc2000 left | 01:05 |
| ← manyoso left | 01:05 |
|
ilteris-
| hey guys, I do have a remote repo that I have been working on another computer and I pushed and now sits on the remote server. Now I get a new computer and I just want to continue working on that project. Should I just first create a local git repo and then pull or just clone and go from there? | 01:06 |
| ← adiabatic left | 01:07 |
| → dreiss joined | 01:09 |
| ← slonopotamus left | 01:09 |
| → Vampire0_ joined | 01:09 |
|
Semikolon
| godlygeek ‣ not sure, hm, maybe less important text could be made grey or something... and the file list could be colored | 01:10 |
| ← webchick left | 01:12 |
| ← Arelius left | 01:12 |
| → Arelius joined | 01:13 |
| → pheaver_ joined | 01:18 |
| ← pheaver left | 01:20 |
| pheaver_ → pheaver | 01:20 |
| ← jrmuizel left | 01:24 |
| → _VVSiz_ joined | 01:24 |
| → kur1j joined | 01:24 |
| → warlock_mza joined | 01:25 |
| → hyperair joined | 01:28 |
| ← Bass10 left | 01:29 |
| ← Arelius left | 01:30 |
| → Arelius joined | 01:31 |
| ← tildeequals left | 01:32 |
| → alester joined | 01:33 |
| ← navetz left | 01:33 |
| → coolcat_ joined | 01:35 |
| → EricInBNE joined | 01:35 |
| ← warlock_mza left | 01:35 |
| coolcat_ → Guest61757 | 01:35 |
| ← justin-george left | 01:40 |
| → rduplain joined | 01:42 |
| → KatrinaTheLamia joined | 01:46 |
|
KatrinaTheLamia
| oh, hey--having issues setting up my git repo... it claims that gitosis-admin.git does not appear to exist. | 01:47 |
|
| well, gitosis server rather | 01:47 |
|
crab
| how does it make this claim? | 01:47 |
| ← Arelius left | 01:49 |
| → Arelius joined | 01:49 |
|
KatrinaTheLamia
| crab: via the standard error message: fatal: 'gitosis-admin.git' does not appear to be a git repository | 01:50 |
|
| fatal: The remote end hung up unexpectedly | 01:50 |
| ← simNIX left | 01:51 |
| ← timofonic left | 01:51 |
|
KatrinaTheLamia
| looking up some stuff on google on a "fix"--though.. most of these do not seem to be any more affective than goggles | 01:51 |
| → timofonic joined | 01:52 |
| ← fcoury|away left | 01:52 |
|
kur1j
| where are you trying to run these command? | 01:52 |
|
crab
| you ran gitosis-init and got no errors? where does your gitosis-admin.git live? | 01:52 |
| ← meanburrito920 left | 01:54 |
|
crab
| and what were you doing that gave this error message? the initial clone of [email@hidden.address] or something else? | 01:54 |
|
KatrinaTheLamia
| crab: no errors on gitosis-init | 01:55 |
|
| and yeah, the initial clone attempt of it | 01:55 |
| → consolers joined | 01:55 |
|
KatrinaTheLamia
| kur1j: from a computer that has a valid public rsa key | 01:56 |
| → meanburrito920 joined | 01:56 |
| ← dreiss left | 01:56 |
| ← enherit left | 01:57 |
|
kur1j
| what would be the best way to do this...gitolite is running under the user "git", I have redmine looking at the repo in /home/git/repository/blah.git...redmine is running under the www which is in the www group...when I push to a repository in /home/git/repository/blah.git the repo gets set to 755 and redmine can't read from the repository, should I just add the git user to the www group or is there a better way to do this? | 01:58 |
|
| KatrinaTheLamia: so I assume you did this? sudo -H -u git gitosis-init < /tmp/id_rsa.pub | 01:58 |
| → mdr22 joined | 01:58 |
| → yarg joined | 01:59 |
| → t0rc joined | 01:59 |
| ← ericlee left | 01:59 |
| → felipe joined | 01:59 |
| → justin-george joined | 01:59 |
| → jamescarr joined | 01:59 |
|
KatrinaTheLamia
| kur1j: well, if I didn't I hardly was following directions then. | 01:59 |
|
jamescarr
| hey, how can I ignore all files beginning with dot? | 01:59 |
|
KatrinaTheLamia
| kur1j: so in short, yet. | 01:59 |
|
| yes* | 01:59 |
|
kur1j
| so at what point did you get this error? | 02:00 |
|
yarg
| Hi, I realized that, in a project I was working on, which I was thinking of splitting into sub modules, it would be best if I could merge two of the repos into one. If I have two repos which are distinct, but one would be contained in the other, how can I have the | 02:00 |
|
KatrinaTheLamia
| uh... right after trying to initally grab the gitosis-admin.git repo? | 02:00 |
|
yarg
| embedded one become part of the top one, and save history? Is that possible? | 02:00 |
|
KatrinaTheLamia
| kur1j: also for further information, yes, gitosis is installed in ~git. And I did make certain the permission on hooks/post_update were correct | 02:02 |
|
kur1j
| jamescarr: .gitignore? | 02:02 |
|
| and you have your private key on the machine you are trying to clone from? | 02:03 |
|
yarg
| I'll try clarifying a bit: Is it possible to merge two repos into one and combine their histories? That would be a nice starting point. Appreciate any tips I can receive. | 02:03 |
|
kur1j
| yarg: fetch from one repot | 02:04 |
|
| repo* | 02:04 |
| ← t0rc left | 02:05 |
|
KatrinaTheLamia
| oh, right, just incase there are any issues wih my distro I am trying to setup gitosis on, it would be Arch Linux. | 02:05 |
| → byang joined | 02:05 |
| ← LRN left | 02:06 |
|
kur1j
| KatrinaTheLamia: it shouldn't be a problem just as long as python and setuptools is installed correctly | 02:06 |
| ← ehabkost left | 02:06 |
|
kur1j
| (and git of course) | 02:06 |
| ← Arelius left | 02:06 |
|
KatrinaTheLamia
| kur1j: they should be... but symptoms are pointing to something not being correctly installed/setup | 02:07 |
| → Arelius joined | 02:07 |
|
sitaram
| kur1j: simplest is to add secondary group membership of group git to user www | 02:07 |
|
KatrinaTheLamia
| Python is 2.6.5 (if that makes a difference) | 02:07 |
|
kur1j
| sitaram: well gits main repo is wheel | 02:08 |
|
sitaram
| kur1j: I fail to understand why 755 prevents read... | 02:08 |
|
| by anyone! | 02:08 |
| → LRN joined | 02:08 |
|
KatrinaTheLamia
| and setuptools are versioned at 0.6c11 | 02:09 |
| → Gulug joined | 02:09 |
| ← wjames5 left | 02:09 |
|
kur1j
| sitaram: well redmine is trying to write something in the repo | 02:09 |
|
sitaram
| why? and what? | 02:09 |
|
| (and your first message did say "...can't read from the repository..." :-) | 02:10 |
|
kur1j
| sorry, it should have been write | 02:11 |
| → tildeequals joined | 02:11 |
|
kur1j
| actually im not real sure what redmine is trying to write to | 02:11 |
|
sitaram
| oh I got that now :) but I'm curious what redmine wants to write... does it want to push a commit or something? | 02:11 |
| ← parasti left | 02:12 |
|
sitaram
| until you figure that out, it's going to be hard. You can always umask the whole thing to get 775 and make www user part of git group and then setgid, and all that (just like "git init --shared") but it would be dangerous not knowing what redmine is trying to write | 02:12 |
|
kur1j
| I understand | 02:13 |
|
sitaram
| because that might subvert gitolite security if someone were to find a hole in redmine that could be used to get into gitolite | 02:13 |
|
godlygeek
| i want to merge two branches without affecting any files in the working directory. i'm trying something like: export GIT_INDEX_FILE=`mktemp`; git read-tree -m -i branch1; git read-tree -m -i branch2; git ls-files -s ... and only the files from branch2 are in the index. what am i misunderstanding? is there no easier way to do this than using git mktree? | 02:13 |
|
jamescarr
| do I need to commit / push the .gitignore? | 02:14 |
|
sitaram
| godlygeek: your nick is great; only godlygeek's should be using plumbing commands in 2010 :) | 02:15 |
|
| godlygeek: but plumbing or not, you cannot merge without using the working directory. I suggest you stash, merge, resolve conflicts if any (this is why it *needs* a working directory, and I say this without even knowing what read-tree -m does), and unstash | 02:16 |
| ← Guest61757 left | 02:16 |
| ← meanburrito920 left | 02:16 |
|
kur1j
| jamescarr: yes | 02:16 |
|
jamescarr
| frak... it ignore my .gitignore :( | 02:17 |
|
| do I put .gitignore inside the .git dir? | 02:17 |
|
kur1j
| http://stackoverflow.com/questions/767147/how-do-i-tell-git-to-ignore-gitignore | 02:17 |
|
| ? | 02:17 |
|
sitaram
| godlygeek: hmm... the read-tree manpage does not come right out and say it needs a working tree... interesting | 02:18 |
|
mugwump
| jamescarr: .git/info/exclude | 02:19 |
| ← juan_arandaalvar left | 02:19 |
|
sitaram
| godlygeek: and the "-i" option's description indicates it *can* work without touching the work tree. Oh well, that's I'm not a godly geek :) | 02:20 |
| ← aresnick left | 02:20 |
|
jamescarr
| which is it? .gitignore or .git/info/exclude? | 02:20 |
| ← sh1mmer left | 02:21 |
| → rgr joined | 02:21 |
| → cytrinox_ joined | 02:21 |
| → meanburrito920 joined | 02:21 |
|
godlygeek
| sitaram: it's guaranteed that there won't be any conflicts. :) | 02:21 |
|
mugwump
| jamescarr: both | 02:22 |
|
godlygeek
| in my case, i'm trying to just merge together two different git-svn branches into a single (fake) "upstream" branch - and i know that there are no duplicate files. | 02:22 |
|
mugwump
| jamescarr: .git/info/exclude is not a part of the project history, .gitignore is | 02:23 |
| ← stantont left | 02:23 |
| → gdey joined | 02:23 |
| ← Arelius left | 02:23 |
| → Arelius joined | 02:24 |
| cytrinox_ → cytrinox | 02:24 |
| → sh1m joined | 02:25 |
| → stantont joined | 02:25 |
| ← sh1m left | 02:28 |
| ← kenneth_reitz left | 02:28 |
| → coppro joined | 02:28 |
| → Remixman joined | 02:31 |
|
Remixman
| j #math | 02:31 |
| ← novas0x2a1 left | 02:32 |
| ← consolers left | 02:33 |
| → johnw joined | 02:39 |
| ← byteframe left | 02:40 |
| ← Remixman left | 02:40 |
| ← Arelius left | 02:41 |
|
kur1j
| sitaram: ok so I figured it out I think...so when I do a push the "master" file in the refs directory gets set as 600 | 02:42 |
| → Arelius joined | 02:42 |
| → mefesto joined | 02:45 |
| → blaines joined | 02:45 |
| ← iruediger left | 02:45 |
| ← rgr left | 02:46 |
| → rgr joined | 02:46 |
| → Remixman joined | 02:48 |
| ← coppro left | 02:50 |
| → novas0x2a joined | 02:51 |
| ← johnw left | 02:51 |
| → schacon_ joined | 02:52 |
| → timj_ joined | 02:52 |
| → johnw joined | 02:54 |
| ← mdr22 left | 02:54 |
|
kur1j
| so how do I go about making the push create the master file with different permissions on the file? | 02:57 |
| ← kukks left | 02:57 |
| → treak007 joined | 02:58 |
| ← Arelius left | 02:58 |
| → Arelius joined | 02:59 |
| ← Remixman left | 02:59 |
| ← Semikolon left | 03:00 |
| ← rgr left | 03:01 |
| ← schacon_ left | 03:01 |
| ← ajonat left | 03:02 |
| ← scarabx left | 03:03 |
| → xmms2|nano joined | 03:04 |
| → Remixman joined | 03:04 |
| → schacon_ joined | 03:06 |
| ← schacon_ left | 03:08 |
| → Fatal joined | 03:09 |
| → stantont_ joined | 03:10 |
| → quotemstr joined | 03:12 |
|
quotemstr
| How do I push an _old_ version of a repository to a remote location? | 03:12 |
| ← Remixman left | 03:13 |
| → mdel joined | 03:14 |
|
offby1
| hmm | 03:15 |
|
| quotemstr: obviously it'd be easier to push the current version, and maybe somehow use older commits. But something tells me you don't want that | 03:16 |
| ← Arelius left | 03:16 |
|
quotemstr
| No. I'd like to ensure that no changes made later than two weeks ago make it to the remote side. | 03:16 |
|
| Granted, I _just_ started using git, so maybe I should RTFM first. | 03:16 |
|
sitaram
| kur1j: so it's not actually writing anything? | 03:17 |
|
| it == redmine | 03:17 |
|
kur1j
| sitaram: no I was incorrect | 03:17 |
|
| the refs/master file is just being made 600 every time I push | 03:17 |
|
sitaram
| kur1j: if that's all it is, then you need to set the umask in ~/.gitolite.rc -- it's well commented | 03:17 |
| → Arelius joined | 03:17 |
| → superjoe joined | 03:17 |
| → hakunin joined | 03:17 |
|
kur1j
| sitaram: ok great thanks | 03:17 |
|
superjoe
| is there a way to get a nice list of changes between 2 tags? | 03:17 |
|
sitaram
| kur1j: look for UMASK (in caps) in that file and follow the comments to change the value as you like | 03:18 |
| → slonopotamus joined | 03:19 |
| ← meanburrito920 left | 03:19 |
|
superjoe
| kinda like the output of shortlog but only between 2 tags | 03:20 |
| → Remixman joined | 03:20 |
|
sitaram
| superjoe: what's wrong with git shortlog tag1..tag2 | 03:20 |
| ← blaines left | 03:20 |
|
quotemstr
| Basically, I want to push a snapshot of the repository as it was two weeks ago. | 03:21 |
|
| Any ideas? | 03:21 |
|
superjoe
| sitaram, that'll do it. I didn't know you needed 2 periods | 03:21 |
|
kur1j
| sitaram: perfect thats it | 03:22 |
| ← stantont left | 03:22 |
| → Belna_ joined | 03:23 |
|
sitaram
| superjoe: A..B is standard syntax for "all commits in B but not in A" | 03:23 |
| → jacobat_ joined | 03:23 |
|
superjoe
| I see | 03:24 |
| ← Twisted_Mentat left | 03:25 |
| → bsnyder joined | 03:25 |
|
sitaram
| kur1j: if you do have any 'read' restrictions at all, I still suggest you make 'www' have a secondary group of 'git' and use 0027 as the umask | 03:26 |
|
| instead of 0022 | 03:26 |
|
kur1j
| already did that :D | 03:29 |
|
| thanks | 03:29 |
| ← mdel left | 03:29 |
| → mdel joined | 03:30 |
| ← Remixman left | 03:32 |
| ← Arelius left | 03:34 |
| → Arelius joined | 03:35 |
| → fgiraldeau joined | 03:36 |
| ← dabd left | 03:36 |
| Belna_ → Belna|home | 03:37 |
| → Remixman joined | 03:38 |
| ← jaysern left | 03:38 |
| ← gaveen left | 03:40 |
| → dreiss joined | 03:42 |
| → blaines joined | 03:44 |
| ← blaines left | 03:44 |
| ← bx2 left | 03:44 |
| ← icefox left | 03:46 |
| ← camonz left | 03:50 |
| ← Arelius left | 03:50 |
| → camonz joined | 03:50 |
| ← Remixman left | 03:50 |
| → Arelius joined | 03:51 |
| → coppro joined | 03:52 |
| ← urkud left | 03:54 |
| ← camonz left | 03:55 |
| → Remixman joined | 03:58 |
| → reprore_ joined | 03:58 |
| ← slonopotamus left | 04:01 |
| ← rduplain left | 04:01 |
| ← Remixman left | 04:02 |
| → joeconyers joined | 04:05 |
| → alireza_ joined | 04:06 |
| → altogether joined | 04:07 |
| ← fgiraldeau left | 04:07 |
| ← Arelius left | 04:07 |
| ← jmcantrell left | 04:08 |
| → Arelius joined | 04:09 |
| → Remixman joined | 04:09 |
| → eighty4 joined | 04:10 |
| → meanburrito920 joined | 04:11 |
| ← jfkw left | 04:12 |
| ← Remixman left | 04:14 |
| → Remixman joined | 04:19 |
| ← mythos left | 04:21 |
| → icefox joined | 04:22 |
| ← mdel left | 04:22 |
| ← ryan_scott left | 04:22 |
| → mdel joined | 04:22 |
| → AAA_awright_ joined | 04:23 |
| ← altogether left | 04:26 |
| ← Arelius left | 04:26 |
| → Arelius joined | 04:27 |
| ← Remixman left | 04:27 |
| → webchick joined | 04:28 |
| ← mefesto left | 04:28 |
| → Twisted_Mentat joined | 04:29 |
| ← tty1 left | 04:31 |
| → Remixman joined | 04:33 |
| ← gnufied left | 04:33 |
| → mythos joined | 04:34 |
| → gnufied joined | 04:37 |
| ← Remixman left | 04:38 |
| ← eletuchy left | 04:38 |
| ← tanoku left | 04:38 |
| ← bsnyder left | 04:41 |
| ← Arelius left | 04:43 |
| → Arelius joined | 04:44 |
| → navetz joined | 04:45 |
| → Remixman joined | 04:45 |
| → jjuran joined | 04:46 |
| ← gnufied left | 04:46 |
| ← johnw left | 04:46 |
| → jony joined | 04:47 |
| → gnufied joined | 04:48 |
| → bsnyder joined | 04:48 |
| → resmo joined | 04:49 |
| → tiger2wander joined | 04:51 |
| ← Meow`` left | 04:51 |
|
tiger2wander
| halo all | 04:51 |
| → eighty4_ joined | 04:51 |
|
tiger2wander
| How I can allow user to push new repository in gitolite configuration file? please help me! | 04:52 |
| ← Remixman left | 04:52 |
| ← MattDeKrey left | 04:53 |
| ← eighty4 left | 04:53 |
| → kblin joined | 04:54 |
|
kblin
| hi folks | 04:54 |
| ← madewokherd left | 04:55 |
|
offby1
| nobody here but us zombie processes. | 04:55 |
| → schacon_ joined | 04:55 |
|
offby1
| tiger2wander: I don't think that's possible. I think you need to create the new repo first. | 04:55 |
|
kblin
| I can deal with that | 04:56 |
| → friskd joined | 04:56 |
|
| kblin gets a cricket bat | 04:56 |
|
| offby1 flees | 04:56 |
|
sitaram
| offby1: hmm no; the recommended way is to add it to the config, add/commit/push that change, and an empty repo is created on the server | 04:56 |
|
offby1
| hm | 04:56 |
|
sitaram
| tiger2wander: how did you install? | 04:57 |
|
| tiger2wander: how did you install gitolite? | 04:57 |
| → khelll joined | 04:57 |
| → Remixman joined | 04:57 |
|
| offby1 suspects the tiger has wandered off | 04:59 |
| ← Twisted_Mentat left | 04:59 |
| → psankar joined | 04:59 |
|
sitaram
| LOL! | 04:59 |
| ← Yuffster left | 05:00 |
|
tiger2wander
| sitaram, I have install gitolite by easyinstall using pu branch | 05:00 |
|
sitaram
| tiger2wander: at the end of the install did you get a message that looked like this: http://pastebin.com/Qw6Cxez7 | 05:00 |
| ← khelll left | 05:01 |
| ← Arelius left | 05:01 |
| ← schacon_ left | 05:01 |
| → Yuffster joined | 05:01 |
| ← Remixman left | 05:01 |
| → Arelius joined | 05:02 |
| ← Belna|home left | 05:02 |
|
tiger2wander
| sitaram, I don't remember exactly, because of I have installed it a long time ago | 05:03 |
| ← friskd left | 05:04 |
|
tiger2wander
| sitaram, Is there anyway to do that? | 05:04 |
| ← gnufied left | 05:04 |
|
sitaram
| tiger2wander: yeah you can run it again (with exactly the same arguments) to see the same message if you like, but for now, just take a look at line 11 of that paste and do what it says | 05:05 |
|
tiger2wander
| sitaram, ok, reading... | 05:07 |
| → peritus- joined | 05:08 |
| → Remixman joined | 05:09 |
|
tiger2wander
| sitaram, yes, I known about that. There is only one way to create a repository is write it into gitolite's configuration file | 05:09 |
| ← joeconyers left | 05:10 |
|
tiger2wander
| sitaram, but it will be hard or become complex for normal user that need to manage a group of repositories, they are not system admin then do that things may hard to them :( | 05:10 |
|
| tiger2wander is away: Away | 05:10 |
|
Textmode
| night all | 05:11 |
| ← Textmode left | 05:11 |
| → consolers joined | 05:12 |
| ← jakubzalas left | 05:12 |
| → Adaptee joined | 05:13 |
| → adaro_ joined | 05:13 |
| → aspotashev|eeepc joined | 05:14 |
| ← dreiss left | 05:14 |
|
sitaram
| tiger2wander: if editing a simple file, git add, git commit, and git push is hard then he should not be doing this job, sorry... | 05:15 |
|
| tiger2wander: perhaps you want one of the web-based tools for this like github or gitorious or girocco | 05:15 |
| ← Theravadan left | 05:17 |
| ← Yuffster left | 05:17 |
| → Theravadan joined | 05:18 |
| ← Arelius left | 05:19 |
| → mdel_ joined | 05:19 |
| → Arelius joined | 05:19 |
| → tty1 joined | 05:19 |
| ← jamescarr left | 05:19 |
| ← consolers left | 05:19 |
| ← tg left | 05:19 |
| → johnw joined | 05:20 |
| → tg joined | 05:20 |
| ← mdel left | 05:20 |
| → robinr joined | 05:23 |
| ← Remixman left | 05:24 |
| → priidu joined | 05:25 |
| AAA_awright_ → AAA_awright | 05:26 |
| ← jony left | 05:27 |
| → dj_tjerk joined | 05:29 |
| → posciak joined | 05:30 |
| → Remixman joined | 05:31 |
| → roop joined | 05:32 |
| ← wolog left | 05:33 |
| → sh1mmer joined | 05:33 |
| ← Arelius left | 05:33 |
| → Arelius joined | 05:34 |
| → opalka joined | 05:34 |
| → jony joined | 05:34 |
| → shennyg joined | 05:37 |
| → vu3rdd joined | 05:39 |
| ← timofonic left | 05:39 |
| → timofonic joined | 05:39 |
| → gnufied joined | 05:40 |
| ← justin-george left | 05:42 |
| → iaefai joined | 05:48 |
|
iaefai
| Any ideas why git thinks I have renamed a file that I have not? | 05:48 |
|
coppro
| If you created a file that is very similar to a deleted one, it will think that | 05:49 |
| → xiong joined | 05:49 |
| ← Arelius left | 05:49 |
| → Arelius joined | 05:50 |
|
xiong
| I may have done something dumb. I started a project and it stalled. Now I want to continue it but under a different name. I created the new project and set up my folder structure. Now I want to pick up where I left off. The folder structures don't match. | 05:51 |
| ← peritus- left | 05:51 |
|
tiger2wander
| sitaram, yes, I'm reviewing them, perhaps it fit my requirement or at least work fine with gitolite in some case :) | 05:51 |
|
coppro
| iaefai: There's probably some command to suppress this, but I don't know it | 05:51 |
|
xiong
| Um, I'm quite willing to throw out the new git repo entirely. But I'm not sure how to import the old one into the new project. Should I just duplicate the entire old project? | 05:51 |
|
iaefai
| I just did something manually to fix it | 05:52 |
| → eighty4 joined | 05:53 |
| → eletuchy joined | 05:53 |
| ← eighty4_ left | 05:54 |
| ← kblin left | 05:56 |
| ← adaro_ left | 05:56 |
| ← jsilver left | 05:56 |
| Belna → Belna|work | 05:57 |
|
wereHamster
| xiong: what exactly do you want to change on the old project? Just the name? | 05:57 |
| → tbf joined | 05:57 |
|
xiong
| wereHamster, I forgot a key point of version control and tried to do two things at once. I changed the name and the overall folder organization. | 05:58 |
| → cozmo joined | 05:59 |
|
wereHamster
| changing the name is as easy as renaming the folder | 05:59 |
|
xiong
| wereHamster, Right, except I want the old project to remain in place; I'm actually using it to build the new version of itself. | 05:59 |
|
wereHamster
| and to change the folder structure, well, just move the folders around how you like it (with git mv) | 05:59 |
| → Heimidal joined | 05:59 |
| ← Heimidal left | 05:59 |
| → Heimidal joined | 05:59 |
|
wereHamster
| clone the old project to a new directory | 05:59 |
|
xiong
| ... and redo the folder structure changes. What I thought. Would have liked to keep the folder structure I've already fixed. | 06:00 |
|
wereHamster
| why redo? | 06:00 |
|
xiong
| Thanks for using the word 'clone', that tells me how to do it with git. | 06:01 |
|
| Um, I did the folder structure changes in the new project, which was empty. | 06:01 |
|
| -- I copied the old folder structure template, which I now see can be simplified. | 06:01 |
|
| Ha ha, if this at times seems weird, it's because the purpose of the project is to do stuff like initialize new projects. :) | 06:02 |
| ← Remixman left | 06:03 |
| → Remixman joined | 06:03 |
| ← hakunin left | 06:04 |
| ← Arelius left | 06:05 |
| → Arelius joined | 06:06 |
|
xiong
| I think I will temporarily rename the new project, which contains nothing of real value; git clone old new; fix the new-now folder structure to match new-previous; and trash the temp. Thank you wereHamster++ I'm on my way. | 06:06 |
|
| -- and the first order of business will be to fix the project script so that it calls git-clone! | 06:06 |
| → tvw joined | 06:07 |
| → skoop joined | 06:07 |
| → osier joined | 06:08 |
| ← treak007 left | 06:08 |
| ← mdel_ left | 06:08 |
| ← akamaus left | 06:10 |
| ← eighty4 left | 06:11 |
| ← robinr left | 06:11 |
| → cbreak_work joined | 06:12 |
| → robinr joined | 06:12 |
| ← warthog9 left | 06:13 |
| ← yarg left | 06:15 |
| ← gnufied left | 06:16 |
| → gnufied joined | 06:16 |
| ← icefox left | 06:17 |
|
xiong
| Please don't laugh, but: If I git clone --no-hardlinks foo bar, are *any* links created? Is bar completely independent of foo after the action? | 06:18 |
| → dmg joined | 06:22 |
| ← iaefai left | 06:22 |
| ← ph^ left | 06:22 |
| → steffkes joined | 06:22 |
| ← Arelius left | 06:23 |
| → fmardini joined | 06:23 |
| → Arelius joined | 06:24 |
| → hakunin joined | 06:24 |
|
robinr
| xiong: yes | 06:24 |
|
xiong
| Great, thank you robinr++ | 06:26 |
| ← alester left | 06:26 |
|
xiong
| I'm going to beat sense into this miserable machine some day. git gives me the whip hand; thanks to you *all*. | 06:26 |
| → carl- joined | 06:28 |
| → thiago_home joined | 06:28 |
| → airborn joined | 06:29 |
| → bentob0x joined | 06:30 |
| → nor3 joined | 06:30 |
| → cilly joined | 06:30 |
| ← robinr left | 06:30 |
| → ProperN[out] joined | 06:31 |
| ← Remixman left | 06:31 |
| ← xiong left | 06:34 |
| ← ProperNoun left | 06:35 |
| ← dj_tjerk left | 06:35 |
| → TBBle joined | 06:36 |
|
TBBle
| Is there a way to extract a specific object from a pack file without the whole "move pack files out of the way, use git unpack-objects and then file the loose object you want"? I'm trying to fix another coder's repo, one of his loose commit objects got corrupted and I was going to give him my copy of it, but mine's in a pack. | 06:37 |
| ← Pupeno left | 06:37 |
| → warthog9 joined | 06:38 |
| ← aspotashev|eeepc left | 06:38 |
| → lanwin joined | 06:39 |
| → sanmarcos joined | 06:39 |
|
lanwin
| hi | 06:39 |
|
sanmarcos
| is there a way to store a log message? I find myself opening a text file to store the log message I will write when I commit | 06:39 |
|
lanwin
| i need help recover an git svn dcommit problemem | 06:39 |
| ← dmg left | 06:39 |
| ← vasandgvd left | 06:39 |
|
lanwin
| when ive try to dcommit it says: Merge conflict during commit: Your file or directory 'Components' is probably out-of-date: | 06:40 |
|
| but git svn rebase says: Current branch svn is up to date. | 06:40 |
|
| currently using the latest msysgit | 06:40 |
| → FFighter joined | 06:41 |
|
FFighter
| hello | 06:41 |
|
| what is the easiest way to reapply an existent tag to another commit (i.e move it) | 06:41 |
|
Raimondi
| sanmarcos: Is this what you're looking for: git commit -m 'Log message' | 06:41 |
|
thiago_home
| first of all, you shouldn't move tags | 06:41 |
|
FFighter
| remove, apply, push force? | 06:41 |
|
thiago_home
| yes, that's the way | 06:42 |
|
FFighter
| thiago_home I know about this one ;) | 06:42 |
|
| thanks | 06:42 |
|
sanmarcos
| Raimondi: you mean be more atomic? | 06:42 |
|
thiago_home
| note that people who have the tag will not see the moving | 06:42 |
| ← Arelius left | 06:42 |
| → Arelius joined | 06:42 |
| ← nor3 left | 06:43 |
|
sitaram
| thiago_home: even if they do "git remote update --prune"? | 06:43 |
|
| sitaram is just curious; doesn't like moving tags either | 06:43 |
| → giallu joined | 06:43 |
|
TBBle
| Is there a way to query which pack file contains an object? | 06:43 |
| → lol_h joined | 06:43 |
|
thiago_home
| sitaram: yes | 06:44 |
|
| tag fetchin doesn't overwrite the tag | 06:44 |
|
| they need to delete it locally first | 06:44 |
| ← bentob0x left | 06:44 |
| ← Raimondi left | 06:45 |
| ← Heimidal left | 06:47 |
|
sitaram
| thiago_home: thanks! (/me learned something today...!) | 06:48 |
| ← TBBle left | 06:50 |
| ← gnufied left | 06:50 |
| → gnufied joined | 06:50 |
| ← tty1 left | 06:52 |
| → akamaus joined | 06:54 |
| → wolog joined | 06:55 |
| ← codetroll left | 06:57 |
| → codetroll joined | 06:58 |
| → ntoll joined | 06:58 |
| ← Arelius left | 07:00 |
| → Arelius joined | 07:00 |
| ← tiger2wander left | 07:02 |
|
sanmarcos
| anyone use git with xcode, how do you deal with branches? | 07:02 |
|
| can you "Check out" branches in different directories? | 07:02 |
|
| files/directories dissapearing at any moment does not sound good for Xcode | 07:03 |
| ← johnw left | 07:03 |
|
sanmarcos
| with branch switches that is | 07:03 |
| → johnw joined | 07:03 |
| ← shennyg left | 07:03 |
| → rafalkoszyk joined | 07:04 |
|
rafalkoszyk
| Whats the best way to merge code using git? | 07:04 |
| → tty1 joined | 07:05 |
| → steinberg joined | 07:06 |
| → raichoo joined | 07:06 |
|
thiago_home
| git merge otherbranch | 07:07 |
|
| that's the best way | 07:07 |
| ← drizzd_ left | 07:07 |
| ← jony left | 07:08 |
| ← _VVSiz_ left | 07:08 |
| ← cozmo left | 07:08 |
| ← binjured left | 07:08 |
| ← onigiri_ left | 07:08 |
| ← maddog_ left | 07:08 |
| ← ghe left | 07:08 |
| ← KatrinaTheLamia left | 07:09 |
| → dmg joined | 07:11 |
| ← bsnyder left | 07:12 |
| ← killerchicken_ left | 07:12 |
| → ph^ joined | 07:13 |
| → killerchicken_ joined | 07:13 |
| → cozmo joined | 07:13 |
| → jony joined | 07:13 |
| → KatrinaTheLamia joined | 07:13 |
| → _VVSiz_ joined | 07:13 |
| → binjured joined | 07:13 |
| → onigiri_ joined | 07:13 |
| → maddog_ joined | 07:13 |
| → ghe joined | 07:13 |
| → deavid joined | 07:13 |
| → merlin83 joined | 07:13 |
| → ankit9 joined | 07:13 |
| → Boriskr joined | 07:13 |
| → spb joined | 07:13 |
| → SRabbelier joined | 07:13 |
| → mord joined | 07:13 |
| → Pistahh joined | 07:13 |
| → cworth joined | 07:13 |
| → caseyw joined | 07:13 |
| → Aikawa joined | 07:13 |
| → numbah joined | 07:13 |
| → FoxFurry1 joined | 07:13 |
| → JackWinter joined | 07:13 |
| → ijuma joined | 07:13 |
| → fda314925 joined | 07:13 |
| → huslu_ joined | 07:13 |
| → harleypig joined | 07:13 |
| → Husio joined | 07:13 |
| → BP{k} joined | 07:13 |
| → awx joined | 07:13 |
| → squentin joined | 07:13 |
| → ekneuss joined | 07:13 |
| → jailbox joined | 07:13 |
| → marowit joined | 07:13 |
| → avar joined | 07:13 |
| → robinsmidsrod joined | 07:13 |
| → Elfix joined | 07:13 |
| → Weiss joined | 07:13 |
| → bs joined | 07:13 |
| → maxb joined | 07:13 |
| → andres joined | 07:13 |
| → eco joined | 07:13 |
| → MadCoder joined | 07:13 |
| → eplots joined | 07:13 |
| → jaswope joined | 07:13 |
| → imarcusthis joined | 07:13 |
| → pmcnabb joined | 07:13 |
| ← zuez left | 07:13 |
| → zuez_ joined | 07:13 |
| → neutrino joined | 07:14 |
| neutrino → tar- | 07:14 |
| → Heimidal joined | 07:15 |
| ← Heimidal left | 07:15 |
| → Heimidal joined | 07:15 |
| ← Arelius left | 07:18 |
| → werdan7 joined | 07:18 |
| → Arelius joined | 07:19 |
| → tPl0ch joined | 07:19 |
| ← thiago_home left | 07:20 |
| → khelll joined | 07:23 |
| → chrowe joined | 07:23 |
| → Zephyrus joined | 07:27 |
| ← tPl0ch left | 07:27 |
| → lucsky joined | 07:28 |
| → trivol joined | 07:28 |
| → ixti joined | 07:31 |
| ← onigiri_ left | 07:31 |
| ← ixti left | 07:31 |
|
divVerent
| sitaram: I am back again | 07:33 |
| → yarg joined | 07:34 |
| ← trivol left | 07:34 |
|
divVerent
| things I still want to change about the doc is mainly: i want to get rid of manually editing passwd/shadow, and instead find the correct useradd command :P | 07:34 |
|
johnw
| divVerent: The Return | 07:34 |
|
divVerent
| well, I am from Germany, and sitaram apparently is not :P | 07:34 |
|
| (time zones) | 07:34 |
| → chittoor joined | 07:35 |
| → sveinse joined | 07:35 |
| → voxpelli joined | 07:35 |
| ← jovianjake left | 07:36 |
| ← Arelius left | 07:36 |
|
sveinse
| Hi. I'm working on many checked out copies of the same tree. However, having 4 copies of the same tree with the same .git/ directory is inefficient. Can I ln -s ../project/.git .git to save space? | 07:36 |
| → saLOUt joined | 07:36 |
| → Arelius joined | 07:37 |
|
sanmarcos
| depends on how git stores file references absolute or relative | 07:37 |
|
| hat could cause trouble | 07:37 |
|
saLOUt
| why isn't local git repo not working when accessing via sshfs? | 07:37 |
|
doener
| sveinse: if you do a clone using a path, the object database is just hardlinked, so no space wasted | 07:37 |
|
| sveinse: and part of the .git directory is at least HEAD, which stores what you have checked out, so the symlink wouldn't work | 07:37 |
|
| sveinse: if you're working on a different branch in each clone, you could use git-new-workdir, which is to be found in contrib/workdir | 07:38 |
|
sveinse
| doener: Ah, so I clone from the directory where I cloned from externally? | 07:38 |
|
| doener: No, I'm not. Up until now I have done cp -a dir1 dir2 which copies the checked out files and the entire repo | 07:39 |
| ← ereslibre left | 07:39 |
|
doener
| sveinse: you could also use "clone --shared" or "clone --reference" (see the man page). | 07:39 |
|
sveinse
| doener: thanks, I'll check it out | 07:40 |
|
doener
| sveinse: and finally, may I ask why you don't simply create branches and switch between them? | 07:40 |
|
saLOUt
| when using sshfs: git status fails with the error fatal: unable to write new_index file | 07:41 |
|
sveinse
| doener: sure. I need the build tree. Its the linux kernel we're talking about, and I have one tree compiles with debug and one without. I need access to the .o files while debugging | 07:41 |
|
doener
| out of tree builds should work quite ok for that. | 07:42 |
|
sveinse
| doener: Hence I have two identical copies of the trees. (I have experimented with source-outside-build-dir, but some of the toolchain/debug doesnt cope with that | 07:42 |
| ← FFighter left | 07:42 |
|
doener
| e.g. "make O=../non-debug" and "make O=../debug" or so | 07:43 |
|
sveinse
| doener: It's for cross compilation kernel, so the tools are a bit different from ordinary native tools. | 07:43 |
|
| doener: But thanks for suggesting | 07:43 |
| → FFighter joined | 07:44 |
| ← ph^ left | 07:45 |
| ← tvw left | 07:46 |
| ← warthog9 left | 07:47 |
|
sveinse
| BTW: Is there a way to remove all files known to .git leaving all the non-commited files behind? I.e. a kind of anti-checkout | 07:47 |
|
johnw
| you could parse the output from git ls-files | 07:48 |
|
| and pipe them to xargs rm | 07:48 |
|
| then you need to do something with a depth-first find to remove empty directories | 07:48 |
| ← johnw left | 07:49 |
| → mastro joined | 07:51 |
| ← Arelius left | 07:52 |
| → Arelius joined | 07:53 |
| → Paraselene_ joined | 07:54 |
| ← FFighter left | 07:56 |
| → hebz0rl joined | 07:57 |
| ← krawek left | 07:57 |
| → d0ugal joined | 07:58 |
| → warthog9 joined | 07:58 |
| → sde_antrix1 joined | 07:59 |
| → galderz joined | 08:00 |
| → radarek joined | 08:02 |
| → zoniq joined | 08:03 |
| → barbi joined | 08:05 |
|
barbi
| hi | 08:05 |
| → jefferai joined | 08:05 |
|
barbi
| git newbie here. Need help with installing an application | 08:05 |
|
| git clone git://git.gnome.org/pygtk | 08:05 |
|
| on mac os 10.5 | 08:06 |
|
wereHamster
| cd pygtk; ./autogen.sh; ./configure; make | 08:06 |
| → Remixman joined | 08:06 |
|
barbi
| that was quick, thanks weerHmaster! :) | 08:08 |
|
wereHamster
| that, though, has nothing to do with git... | 08:08 |
| ← Arelius left | 08:09 |
| → shruggar joined | 08:09 |
| → masterkorp joined | 08:09 |
| → Arelius joined | 08:10 |
|
barbi
| ya, nothing to do with git, <#$%?4> thanks anyway | 08:11 |
| ← khelll left | 08:12 |
| ← jjuran left | 08:12 |
| → afrasi joined | 08:13 |
| ← ShaunR left | 08:15 |
| → ph^ joined | 08:15 |
| ← Theravadan left | 08:16 |
| ← sanmarcos left | 08:16 |
| lol_h → bentob0x | 08:16 |
| ← Remixman left | 08:20 |
| → Remixman joined | 08:21 |
| → simplechat joined | 08:25 |
| ← psankar left | 08:25 |
| ← airborn left | 08:27 |
| ← Arelius left | 08:28 |
| → Arelius joined | 08:29 |
| → jmut joined | 08:33 |
| → psankar joined | 08:33 |
|
jmut
| where can I see nice GUIs for git windows mainly. I am only one with linux box at office..kinda want them to move to git but neeed to show alternative and why it's better than svn. For me personally it's because of easy branching/manipulating and speed. I guess most people here will cry out because they don't have gui and stuff | 08:34 |
| ← dmg left | 08:34 |
|
tango_
| there is a tortoisegit but I never personally used it. also, gitk and git-gui should work if you have tcl/tk | 08:41 |
| ← sveinse left | 08:44 |
| ← alireza_ left | 08:44 |
| → zequix joined | 08:44 |
| → torben joined | 08:46 |
| ← Arelius left | 08:47 |
| → Arelius joined | 08:47 |
| → christophsturm joined | 08:47 |
| ← barbi left | 08:48 |
| → Remixman_ joined | 08:48 |
| ← Remixman left | 08:48 |
|
AAA_awright
| jmut: Yeah TortoiseGit is a pretty good UI | 08:48 |
| → GarethAdams|Work joined | 08:49 |
| → tvw joined | 08:49 |
| → jonalv joined | 08:49 |
| → dj_tjerk joined | 08:51 |
| → j416 joined | 08:52 |
| → gergap joined | 08:52 |
| → dmg joined | 08:54 |
| ← zequix left | 08:54 |
| ← Remixman_ left | 08:54 |
| → zequix joined | 08:54 |
|
sitaram
| divVerent: I had tried to send you an email using the email address in your patch... bounced; wait let me paste | 08:56 |
| → Bennid joined | 08:56 |
| → aziz joined | 08:58 |
| ← stringo0 left | 08:58 |
| → urkud joined | 09:00 |
| → Remixman joined | 09:03 |
| ← zequix left | 09:04 |
| ← hyperair left | 09:06 |
| ← Arelius left | 09:06 |
| ← locklace left | 09:07 |
| → Arelius joined | 09:07 |
| → locklace joined | 09:08 |
| → bluenovember joined | 09:09 |
| ← eletuchy left | 09:09 |
| → curtana joined | 09:10 |
| ← project2501a left | 09:10 |
| ← dmg left | 09:10 |
| → jjuran joined | 09:11 |
| → glasspen joined | 09:20 |
| glasspen → Guest50772 | 09:20 |
| ← Guest50772 left | 09:21 |
| → glasspen_ joined | 09:21 |
| ← darwin_ left | 09:22 |
| ← bentob0x left | 09:23 |
| → bentob0x joined | 09:23 |
| → hyperair joined | 09:23 |
| ← Heimidal left | 09:24 |
| → Heimidal joined | 09:24 |
| ← Heimidal left | 09:24 |
| → Heimidal joined | 09:24 |
| ← Arelius left | 09:25 |
| → d0k joined | 09:25 |
| → Arelius joined | 09:26 |
| ← ilteris- left | 09:27 |
| ← mithro left | 09:27 |
| → Yuuhi joined | 09:29 |
| → Tommy[D] joined | 09:31 |
| ← tmske left | 09:31 |
| Garen_ → Garen | 09:31 |
| → froschi joined | 09:31 |
| xmms2|nano → nano- | 09:34 |
| ← nano- left | 09:34 |
| → nano- joined | 09:34 |
| ← zoniq left | 09:37 |
| → zoniq joined | 09:38 |
| → quotemstr_ joined | 09:39 |
| → quotemstr__ joined | 09:40 |
| ← quotemstr_ left | 09:40 |
|
lanwin
| is there a simple way of applying a list of patches in git where each patch is a single commit?` | 09:42 |
| frakturfreak_ → frakturfreak | 09:42 |
|
thiago
| so you have a set of patch files? | 09:42 |
|
posciak
| lanwin: do you have any control on how they are generated? | 09:42 |
|
lanwin
| yes | 09:43 |
| ← quotemstr left | 09:43 |
| quotemstr__ → quotemstr | 09:43 |
|
j416
| lanwin: man git-am | 09:43 |
|
Gitbot
| lanwin: the git-am manpage can be found at http://git.or.cz/man/git-am | 09:43 |
|
posciak
| lanwin: use format-patch and git-am | 09:43 |
|
j416
| ↑ | 09:43 |
|
lanwin
| isnt git-am only for mbox or maildir files? | 09:43 |
|
j416
| lanwin: an mbox file is a text file, with concatenated e-mails | 09:43 |
|
thiago
| cat *.patch | git am - | 09:43 |
|
j416
| git format-patch generates patch files in this format, you can just cat them together | 09:44 |
|
lanwin
| ok | 09:44 |
|
| i will try | 09:44 |
| ← Arelius left | 09:44 |
| → Arelius joined | 09:46 |
|
sgronblo
| How do I get git status to show files which are not added if they are in a subdir which is not added? | 09:46 |
|
Rhonda
| git only lists the subdir on itself, it doesn't traverse into unknown territory. | 09:48 |
|
sgronblo
| but can I get it to do that? | 09:49 |
|
j416
| sgronblo: git status -u | 09:49 |
| → mithro joined | 09:49 |
|
j416
| sgronblo: if it's for a script, you might want to consider 'git status --untracked-files=all' for clarity | 09:50 |
|
| sgronblo: also: man git-status | 09:51 |
|
Gitbot
| sgronblo: the git-status manpage can be found at http://git.or.cz/man/git-status | 09:51 |
|
sgronblo
| j416: yeah i just had a look at it | 09:51 |
|
| thanks | 09:51 |
|
| does exactly what i wanted | 09:51 |
|
j416
| :) | 09:52 |
| → simNIX joined | 09:53 |
| → khaase joined | 09:55 |
| ← raichoo left | 09:56 |
| → Weasel[DK] joined | 09:58 |
| → raichoo joined | 09:58 |
|
glasspen_
| : | 09:58 |
| ← j416 left | 10:00 |
| ← Arelius left | 10:02 |
| → Arelius joined | 10:02 |
| → tatsuya joined | 10:03 |
| ← mithro left | 10:04 |
| ← hyperair left | 10:04 |
| ← torben left | 10:04 |
| ← masterkorp left | 10:04 |
| ← radarek left | 10:04 |
| ← tg left | 10:04 |
| ← jomofo left | 10:04 |
| ← s4msung left | 10:04 |
| ← kenyon left | 10:04 |
| → iizukaway joined | 10:05 |
| → eean joined | 10:05 |
| → kalmah joined | 10:05 |
|
kalmah
| DCC SEND "XXXXXXXXXXXXXXXXXXXXXXXXXX" 0 0 0 | 10:05 |
| ← zoniq left | 10:05 |
| ← iizukaway left | 10:05 |
| ← gnufied left | 10:05 |
| → gnufied joined | 10:06 |
| → mithro joined | 10:06 |
| → hyperair joined | 10:06 |
| → torben joined | 10:06 |
| → masterkorp joined | 10:06 |
| → radarek joined | 10:06 |
| → tg joined | 10:06 |
| → jomofo joined | 10:06 |
| → s4msung joined | 10:06 |
| → kenyon joined | 10:06 |
| → joevano joined | 10:06 |
| → d1b joined | 10:06 |
| → ThiefMaster joined | 10:06 |
| → jkp joined | 10:06 |
| → uau joined | 10:06 |
| → tro joined | 10:06 |
| → candybar joined | 10:06 |
| → shikamaru joined | 10:06 |
| → AlexanderS joined | 10:06 |
| → clb__ joined | 10:06 |
| → suzak_ joined | 10:06 |
| → knittl joined | 10:06 |
| → tmz joined | 10:06 |
| → sgronblo joined | 10:06 |
| → dna joined | 10:06 |
| → et joined | 10:06 |
| → Woody2143 joined | 10:06 |
| → RandalSchwartz joined | 10:06 |
| → rotty joined | 10:06 |
| → Stravy joined | 10:06 |
| → s0enke joined | 10:06 |
| → levifig joined | 10:06 |
| → fredriv joined | 10:06 |
| → kupsch joined | 10:06 |
| → BeerSerc joined | 10:06 |
| ← zuez_ left | 10:06 |
| → zuez__ joined | 10:06 |
| → iizukaway joined | 10:06 |
| ← tar- left | 10:06 |
| → neutrino joined | 10:06 |
| ← joevano left | 10:06 |
| ← shikamaru left | 10:06 |
| ← RandalSchwartz left | 10:06 |
| ← rotty left | 10:06 |
| ← d1b left | 10:06 |
| ← masterkorp left | 10:06 |
| ← neutrino left | 10:06 |
| → neutrino joined | 10:06 |
| neutrino → tar- | 10:06 |
| → d1b joined | 10:06 |
| → naeu joined | 10:06 |
| ← tmz left | 10:06 |
| ← iizukaway left | 10:06 |
| → tmz joined | 10:07 |
| → rotty joined | 10:07 |
| → shikamaru joined | 10:07 |
| ← shikamaru left | 10:07 |
| → shikamaru joined | 10:07 |
| → joevano joined | 10:07 |
| → iizukaway joined | 10:07 |
| → masterkorp joined | 10:07 |
| ← curtana left | 10:07 |
| → gebi joined | 10:08 |
| ← kalmah left | 10:08 |
| ← ThiefMaster left | 10:08 |
| → curtana joined | 10:09 |
| → zoniq joined | 10:09 |
| ← roger_padactor left | 10:09 |
|
lanwin
| hmm when i try git-am i get a bunch of | 10:10 |
|
| cat: .dotest/next: No such file or directory | 10:10 |
|
| cat: .dotest/binary: No such file or directory | 10:10 |
|
| warnings | 10:10 |
| → roger_padactor joined | 10:10 |
| → ThiefMaster joined | 10:10 |
| → aspotashev|eeepc joined | 10:10 |
| ← cilly left | 10:12 |
|
Dieterbe
| lanwin: what i would do is prepend the command with strace | 10:13 |
|
| ie: strace git-am .. | 10:13 |
|
| that might give you a clue on why it does that | 10:13 |
| → cilly joined | 10:14 |
| ← superjoe left | 10:14 |
| → flazz joined | 10:15 |
| ← Arelius left | 10:16 |
| → Arelius joined | 10:17 |
|
lanwin
| Dieterbe: u it outputs a lot things | 10:18 |
|
Dieterbe
| yep. | 10:19 |
|
| $PAGER is your friend :) | 10:19 |
| → stamina joined | 10:20 |
| ← gergap left | 10:26 |
| ← gdey left | 10:28 |
| ← Arelius left | 10:32 |
| → Arelius joined | 10:32 |
| ← riz2 left | 10:32 |
| → LeLutin_ joined | 10:34 |
| ← gnufied left | 10:34 |
| → gnufied joined | 10:34 |
| ← kenyon left | 10:34 |
| → parasti joined | 10:35 |
| ← webchick left | 10:35 |
| ← akamaus left | 10:35 |
| ← glasspen_ left | 10:37 |
| → lcw joined | 10:37 |
|
lcw
| hello there - does anyone know how remove a subproject? | 10:37 |
| ← LeLutin left | 10:37 |
| ← urkud left | 10:43 |
|
sgronblo
| I'm occasionally getting some pretty weird merge conflicts for lines that I haven't done anything to (at least not knowingly) when trying to merge with changes pulled from svn | 10:44 |
| → Schmidt joined | 10:47 |
| → bobself joined | 10:47 |
| ← Arelius left | 10:48 |
| → Arelius joined | 10:48 |
| → petercoulton joined | 10:52 |
|
bluenovember
| sgronblo, perhaps something to do with line endings? Do you have a mix of linux/windows developers? | 10:54 |
| ← lcw left | 10:56 |
| → ehabkost joined | 10:57 |
|
sgronblo
| i guess it could be something related to that | 10:57 |
| → JohnFlux joined | 10:57 |
|
JohnFlux
| Hey all | 10:57 |
|
| What was the command to go back to what head was before | 10:57 |
|
sgronblo
| So is anyone here using svn through git? | 10:57 |
|
| And if so, how do you make sure you get nice commits and messages pushed to the svn repo | 10:58 |
|
| I just committed some stuff that ended up with just the "Merged branch A into branch B" | 10:58 |
|
JohnFlux
| sgronblo: I didn't think that was possible when using git svn | 10:59 |
|
| sgronblo: you should be always doing a rebase | 10:59 |
| → TheNewAndy joined | 11:00 |
|
sgronblo
| yeah i am doing git svn rebase | 11:01 |
| ← zoniq left | 11:01 |
| → zoniq joined | 11:01 |
| → linduxed joined | 11:02 |
|
linduxed
| i just did a "git svn rebase" and i got the following error | 11:02 |
|
| Password for 'linduxed': Can't locate Term/ReadKey.pm in @INC (@INC contains: /usr/share/perl5/site_perl/5.10.1 /usr/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current .) at /usr/lib/git-core/git-svn line 3972. | 11:02 |
|
| is this a lack of a package? | 11:02 |
|
| or something like that? | 11:02 |
|
curtana
| yes | 11:03 |
| → leo2007 joined | 11:03 |
| ← aspotashev|eeepc left | 11:04 |
| ← tg left | 11:04 |
| → tg joined | 11:04 |
| ← yarg left | 11:05 |
|
linduxed
| lack of perl? | 11:07 |
|
shruggar
| it wouldn't have gotten that far if you didn't have perl | 11:07 |
| ← zoniq left | 11:07 |
|
shruggar
| read the message: you're missing Term/ReadKey.pm | 11:08 |
| → zoniq joined | 11:08 |
|
shruggar
| so you need to install Term::ReadKey | 11:08 |
| ← galderz left | 11:11 |
| → webchick joined | 11:13 |
| → jpetersson2 joined | 11:13 |
|
jpetersson2
| hi all, I've recently gotten ahold of some git-patches I would need to merge with the linux-kernel git repository, right now I have all of these patches in a file, is there any easy function available in git or am I stuck using patch? | 11:14 |
| → NickMyers joined | 11:15 |
| ← zoniq left | 11:15 |
| → zoniq joined | 11:15 |
|
shruggar
| jpetersson2, "git am" or "git apply", depending on the format | 11:16 |
|
jpetersson2
| awesome thanks! | 11:16 |
|
shruggar
| if it is to do with the linux-kernel, they were probably created with format-patch, in which case "git am" is what you want | 11:16 |
| → jonalv` joined | 11:16 |
|
jpetersson2
| shruggar, doesn't git-am require you to pull the patches from a mailbox? | 11:17 |
| ← christophsturm left | 11:17 |
| → christophsturm joined | 11:17 |
| ← ntoll left | 11:17 |
|
shruggar
| jpetersson2, git-am reads a format which is identical to that of a mailbox, which is what git-format-patch outputs. If someone sent you output from git-format-patch, git-am can read it | 11:17 |
| ← jonalv left | 11:18 |
|
linduxed
| shruggar: how would i install Term::Readkey? | 11:18 |
|
jpetersson2
| ok that should do the trick then, thanks again | 11:18 |
|
shruggar
| if someone sent you a bunch of diffs, even though they were using git at the time, you should go back and slap that person :) | 11:18 |
|
jpetersson2
| shruggar, well I found them in an email-list :) | 11:18 |
| ← curtana left | 11:18 |
|
shruggar
| linduxed, depends on your distribution, but something like cpan -i Term::ReadKey might do it (I don't actually know the syntax for cpan, I'm just making a wild guess) | 11:19 |
|
| linduxed, for example, I'd type: apt-get install libterm-readkey-perl | 11:20 |
|
NickMyers
| Hiya guys n gals, I'm trying to get gitosis working on my ubuntu server (9.10) but having real problems when I try and run the clone command 'git clone git@SERVER:gitosis-admin.git'. I think the problem is related to ssh authentication, but I know nothing more than what I've followed in the howto. Basically when I run the cmd I get 'Agent admitted failure to sign using the key' and asked for a password (which shouldn't be necessary as it should | 11:20 |
| ← zoniq left | 11:20 |
| → zoniq joined | 11:20 |
| ← NickMyers left | 11:22 |
| ← christophsturm left | 11:22 |
| ← zoniq left | 11:22 |
| → NickMyers joined | 11:22 |
| → zoniq joined | 11:23 |
| → domcat joined | 11:24 |
|
bobself
| I'm trying to get git submodules to work. | 11:24 |
|
| I have 2 git repositories in ~/tmp: | 11:24 |
|
| app1 | 11:24 |
|
| app2 | 11:24 |
|
| lib | 11:24 |
|
| In app1 I tried this: | 11:24 |
|
| git submodule add ../lib lib | 11:24 |
|
| But I get this error message: | 11:24 |
|
| remote (origin) does not have a url defined in .git/config | 11:25 |
|
| My goal is to commit the state of the library when I commit app1. The libray | 11:25 |
|
| is used by other apps, so I don't want the lib directory under the app1 directory. | 11:25 |
|
| How do you do this? | 11:25 |
|
| I mean 3 .git repositories are in ~/tmp | 11:26 |
| ← masterkorp left | 11:26 |
| ← lanwin left | 11:27 |
| → galderz joined | 11:27 |
| ← zoniq left | 11:28 |
| ← NickMyers left | 11:28 |
| ← Arelius left | 11:28 |
| → Arelius joined | 11:29 |
| → zoniq joined | 11:29 |
| → curtana joined | 11:33 |
| → engla joined | 11:36 |
| ← zoniq left | 11:38 |
| → khelll joined | 11:38 |
| → zoniq joined | 11:38 |
| → akamaus joined | 11:39 |
| → jamescarr joined | 11:40 |
| → bx2 joined | 11:41 |
| → enyovelcora joined | 11:42 |
|
enyovelcora
| Hi! | 11:42 |
|
| I have a fork of a project, and want to get it up to date with the forked repo | 11:42 |
| → urkud joined | 11:43 |
|
enyovelcora
| pulling it gets me lots of merge conflicts | 11:43 |
| ← stantont_ left | 11:43 |
| ← zoniq left | 11:43 |
| → Silex joined | 11:43 |
|
Silex
| say I erased a file that was under versioning, how do I restore it? "git pull" doens't seem to work | 11:43 |
|
enyovelcora
| What's the best way to just say: get my fork up to date - don't try to resolve anything | 11:43 |
| → zoniq joined | 11:43 |
|
enyovelcora
| Silex: I think checkout should work | 11:45 |
|
Silex
| ok so I recheckout my current branch? will try | 11:45 |
| ← webchick left | 11:45 |
|
enyovelcora
| No | 11:46 |
|
| Just the file | 11:46 |
|
| Silex: http://thefinerstuff.posterous.com/git-saved-my-day-restore-accid | 11:46 |
| ← merlin83 left | 11:46 |
|
Silex
| thanks | 11:46 |
|
enyovelcora
| yw | 11:46 |
| → coyo|pingout joined | 11:47 |
| → Guthur joined | 11:47 |
| → DavidKlein joined | 11:47 |
| ← jamescarr left | 11:47 |
| ← Bennid left | 11:49 |
| ← urkud left | 11:50 |
| ← zoniq left | 11:50 |
| → zoniq joined | 11:51 |
| → rgr_ joined | 11:51 |
| → cannonball joined | 11:52 |
| ← timofonic left | 11:53 |
|
steffkes
| is there any config-option that "git add" tells me how many files are added with the actual pattern? | 11:53 |
| ← psankar left | 11:53 |
| → mdr22 joined | 11:54 |
| → xelister joined | 11:55 |
|
xelister
| how to get 1.3 of debug kit? http://github.com/cakephp/debug_kit | 11:55 |
| ← Silex left | 11:56 |
| → kar8nga joined | 11:57 |
| → flaguy48 joined | 11:57 |
| ← bobself left | 11:58 |
| ← jony left | 11:59 |
|
engla
| enyovelcora: for starters, fetch, don't pull | 12:00 |
|
enyovelcora
| That's what I did now... | 12:01 |
|
| Also started looking into rebase... which seems the more logical thing to do, but still gets me the merge conflicts | 12:01 |
| → jfkw joined | 12:02 |
|
engla
| you'll get the same conflicts basically | 12:02 |
|
| you know if there are conflicts, you have to resolve them. git tracks your project, it's not some automated decision maker | 12:03 |
|
enyovelcora
| Isn't there a way to say: resolve all conflicts with the remote? | 12:03 |
|
engla
| you can file by file check out the "their" or "our" version | 12:03 |
|
enyovelcora
| I don't get how this even happens... I forked a project.. made 2 changes | 12:04 |
|
| they are already pulled back in the main repo | 12:04 |
|
| So, I have no changes on my own | 12:04 |
|
| How can this result in so many merge conflicts? | 12:04 |
|
engla
| well then just throw away your fork and clone again? :-) | 12:04 |
|
divVerent
| enyovelcora: how did you provide the changes? | 12:04 |
|
enyovelcora
| I'm using github | 12:04 |
|
divVerent
| format-patch? or did they actually pull? | 12:04 |
|
enyovelcora
| I did a pull request | 12:05 |
|
divVerent
| oh... THEN I have no damn clue why this may happen :P | 12:05 |
|
enyovelcora
| And they pulled | 12:05 |
|
engla
| the code was subsequently changed then | 12:05 |
|
divVerent
| I wonder if they used the forbidden command with "r" :P | 12:05 |
|
engla
| the merge is just a three-way merge, it considers three versions, trees of file | 12:05 |
|
| your version, their version and the common ancestor | 12:05 |
|
| it doesn't go through the whole history to find patches that match | 12:05 |
|
divVerent
| engla: normally yes, but if they merged his commit, pulling from their repo would be fastforward | 12:06 |
|
engla
| yes of course, and that's not the case | 12:06 |
|
enyovelcora
| That's what I don't get: a new rebase or pull should just be fastforward | 12:06 |
|
divVerent
| can you check if your commits, in their repo, have the same commit hashes? | 12:07 |
|
engla
| well if it's not, it's not. there is a considerable freedom in how you might incorporate changes | 12:07 |
|
divVerent
| I bet they do not, causing the conflicts | 12:07 |
|
enyovelcora
| Ah you mean the didn't really pull my changes? | 12:07 |
|
divVerent
| yes | 12:07 |
|
| they may have cherry-picked or rebased instead | 12:08 |
|
engla
| cherry-picking is often more convenient | 12:08 |
|
divVerent
| engla: personally, I prefer a direct merge | 12:08 |
|
| even if it causes somewhta messy history :P | 12:08 |
|
| I don't care how it looks in gitk, as long as git-bisect can grok it I am fine :P | 12:08 |
|
enyovelcora
| Ok... So what: the best way is to just delete my fork and fork again? | 12:08 |
|
divVerent
| enyovelcora: not delete, but essentially, yes | 12:08 |
|
| you probably should git reset to "their" commit hash | 12:09 |
|
enyovelcora
| Ah... | 12:09 |
|
divVerent
| git reset --hard theirremote/master | 12:09 |
|
| for example | 12:09 |
| → urkud joined | 12:09 |
|
enyovelcora
| THAT's what I've been looking for then I guess :) | 12:09 |
|
divVerent
| after that, a git push will likely fail | 12:09 |
|
| you may need git push -f | 12:10 |
| → timofonic joined | 12:10 |
|
divVerent
| and yes, it IS bad to reset/rebase published history, but apparently you have no coice | 12:10 |
|
| *choice | 12:10 |
|
| because "they did it first" :P | 12:10 |
| ← zoniq left | 12:10 |
| → zoniq joined | 12:11 |
|
enyovelcora
| Wow git mergetool is getting funky! | 12:11 |
|
| It's in an endless loop | 12:11 |
|
| Wow.. had to kill it.. strange | 12:11 |
| ← Arelius left | 12:11 |
|
enyovelcora
| But, why is it bad in that case... | 12:11 |
|
| I just want THEYR version.. make changes, and ask them to pull it | 12:12 |
| → Arelius joined | 12:12 |
| → Bass10 joined | 12:12 |
|
divVerent
| enyovelcora: it is bad if someone else has checked out your repo | 12:13 |
| ← kpreid_ left | 12:13 |
|
enyovelcora
| Yeah ok... that's very very unlikely :) | 12:13 |
|
divVerent
| then go ahead :P | 12:13 |
| ← voxpelli left | 12:14 |
|
qfr
| git pull requires a remote and a branch - what do I need to modify in my .git/config to have it default to a certain remote and a certain branch? | 12:14 |
|
| branch.master.remote = <nickname>; branch.master.merge = <remote-ref>; remote.<nickname>.url = <url>; remote.<nickname>.fetch = <refspec> | 12:15 |
|
| nickname refers to the name I have given to my remote? | 12:15 |
|
| (in this case "github", or "origin", for example) | 12:15 |
|
enyovelcora
| divVerent: Oh no... github doesn't let me push non-fast-forward updates | 12:15 |
| → defectiv joined | 12:17 |
| → voxpelli joined | 12:18 |
| ← domcat left | 12:18 |
| ← tg left | 12:19 |
|
wereHamster
| qfr: yes | 12:19 |
|
qfr
| branch.master.[...] is equivalent to [branch "master"] I suppose? | 12:20 |
| → tg joined | 12:20 |
|
qfr
| Unluckily I have no branch sections in my .git/config, trying to google examples right now | 12:20 |
| ← zoniq left | 12:21 |
| ← mythos left | 12:21 |
|
wereHamster
| qfr: branch.master.remote is what you pass to git config (git config branch.master.remote origin) | 12:21 |
| → zoniq joined | 12:21 |
|
qfr
| Ahh | 12:21 |
|
wereHamster
| [branch "master"] is what you use in the config file | 12:21 |
|
qfr
| I always tend to edit it manually | 12:21 |
|
divVerent
| enyovelcora: then delete the branch, and recreate it | 12:21 |
|
qfr
| What do I probably want as <remote-ref>? | 12:21 |
|
wereHamster
| qfr: there is usually no reason for that, especially with something as common as setting the remote | 12:21 |
|
| refs/heads/branchyouwanttomerge | 12:22 |
|
qfr
| wereHamster well I'd have to specify it every time I pull otherwise | 12:22 |
|
| I guess it's because my remote is called github and not origin | 12:22 |
|
| Because it defaults to origin? | 12:22 |
|
wereHamster
| I don't think pull defaults to anything if the config file doesn't tell it what to do | 12:23 |
|
qfr
| Oh you mean it's not necessary to specify the remote ref there? Ok | 12:23 |
| → jony joined | 12:23 |
|
wereHamster
| either you specify that on the commandline or pull reads it from the config file | 12:24 |
|
| but if it's not specified in either, pull aborts | 12:24 |
|
qfr
| Ah, cheers, it works after specifying remote (github) + remote-ref (master) | 12:25 |
| ← naeu left | 12:25 |
| ← galderz left | 12:25 |
| → naeu joined | 12:27 |
| jonalv` → jonalv | 12:27 |
| → koki joined | 12:27 |
|
koki
| hey, is there a config setting to tell git to always --track remote branches that i check out? | 12:27 |
| ← gabeodess left | 12:28 |
| ← Arelius left | 12:28 |
| → Arelius joined | 12:28 |
| → MrSamuel joined | 12:29 |
|
MrSamuel
| I have a project which is currently branch master | 12:29 |
|
| Can I move everything to a new branch called development | 12:29 |
|
| and then clear out branch master? | 12:30 |
|
wereHamster
| koki: git --version ? | 12:30 |
| → domcat joined | 12:30 |
|
wereHamster
| MrSamuel: how 'clear out' the master branch? | 12:30 |
|
koki
| wereHamster: 1.7.0 | 12:30 |
|
MrSamuel
| wereHamster: It might seem stupid, but this project has a large history of crap code and I don't want to publish it | 12:31 |
|
wereHamster
| koki: git already does that (try git checkout <somebranch> where <somebranch> is a remote tracking branch) | 12:31 |
|
| MrSamuel: so what exactly do you want to do with the master branch? | 12:32 |
|
koki
| wereHamster: Note: moving to 'origin/PageCache' which isn't a local branch | 12:32 |
|
wereHamster
| koki: git checkout PageCache | 12:32 |
|
MrSamuel
| wereHamster: make it the "development branch" and kick off a new master branch | 12:32 |
| ← zoniq left | 12:32 |
|
wereHamster
| MrSamuel: git branch development; | 12:32 |
| → zoniq joined | 12:33 |
| → CWardUSC joined | 12:34 |
|
MrSamuel
| wereHamster: ok | 12:34 |
|
koki
| wereHamster: nice! | 12:34 |
|
| and when i push the branch, how do i set it up to auto-track it? | 12:34 |
|
| a new one, that i create locally? | 12:34 |
|
wereHamster
| push it where? | 12:35 |
|
koki
| to origin in this case | 12:35 |
| → mythos joined | 12:35 |
| → fcoury joined | 12:35 |
| → camonz joined | 12:35 |
|
cYmen
| What's a detached worktree? | 12:36 |
|
wereHamster
| git did set up branch tracking when you checked out that branch | 12:36 |
|
| cYmen: faq detached | 12:36 |
|
Gitbot
| cYmen: You are on a detached HEAD and might lose commits.. See https://git.wiki.kernel.org/index.php/GitFaq#detached | 12:36 |
|
koki
| wereHamster: no, i created a branch locally, git checkout -b new_branch | 12:36 |
|
| no i want to push that to origin (to go home) ... and next morning, i want to pull from my home changes | 12:37 |
|
wereHamster
| koki: http://pastie.org/929615 | 12:37 |
|
| koki: ah, you mean you created a new local brnach and want to push it to origin? | 12:38 |
| → btsteve_ joined | 12:39 |
|
koki
| wereHamster: YES, you got me now | 12:39 |
|
| i can of course say git push origin feature:feature | 12:39 |
|
wereHamster
| koki: git push --set-upstream origin new_branch | 12:39 |
| ← linduxed left | 12:40 |
| ← MrSamuel left | 12:40 |
| → galderz joined | 12:40 |
|
koki
| wereHamster: thx --set-upstream is the one | 12:41 |
| ← btsteve_ left | 12:41 |
| → Sigma joined | 12:42 |
|
cYmen
| wereHamster: can you check if that's actually the same detached worktree as this guy http://toroid.org/ams/git-website-howto is talking about please | 12:42 |
|
| It sounds like they might mean different things... | 12:42 |
|
wereHamster
| cYmen: no, he means that the working tree and .git are in different directories | 12:43 |
| ← Arelius left | 12:43 |
| → Arelius joined | 12:44 |
| → auslander joined | 12:44 |
| ← auslander left | 12:44 |
| → auslander joined | 12:44 |
| → kpreid_ joined | 12:45 |
|
cYmen
| ah | 12:46 |
| → bauruine joined | 12:48 |
| → rolfb joined | 12:48 |
| → gh34 joined | 12:49 |
| ← adaro left | 12:52 |
| → aspotashev|eeepc joined | 12:53 |
| → t0rc joined | 12:54 |
| → alester joined | 12:54 |
| ← Arelius left | 12:59 |
| → Arelius joined | 12:59 |
| → RandalSchwartz joined | 12:59 |
| ← RandalSchwartz left | 12:59 |
| → RandalSchwartz joined | 12:59 |
| → merlin83 joined | 13:00 |
| ← merlin83 left | 13:01 |
| → merlin83 joined | 13:01 |
| → disappearedng__ joined | 13:01 |
| ← alester left | 13:01 |
| → k0001 joined | 13:01 |
| → rduplain joined | 13:01 |
| ← rgr_ left | 13:02 |
| → j416 joined | 13:04 |
| ← j416 left | 13:04 |
| ← disappearedng left | 13:04 |
| → NET||abuse joined | 13:04 |
| ← disappearedng_ left | 13:05 |
| → stringo0 joined | 13:05 |
| → bsnyder joined | 13:05 |
| → roop_ joined | 13:08 |
| ← disappearedng__ left | 13:08 |
| ← roop left | 13:09 |
| → jayne joined | 13:09 |
| → Hunner joined | 13:11 |
| → Pupeno joined | 13:11 |
| ← stringo0 left | 13:11 |
| ← roop_ left | 13:12 |
| ← Remixman left | 13:12 |
| → Remixman_ joined | 13:12 |
| ← jmut left | 13:13 |
| Remixman_ → Remixman | 13:13 |
| → HG` joined | 13:13 |
| → roop_ joined | 13:13 |
| ← Arelius left | 13:14 |
| → Arelius joined | 13:14 |
| ← aziz left | 13:14 |
| → eli joined | 13:15 |
| → onigiri_ joined | 13:17 |
| → roop__ joined | 13:18 |
| → christophsturm joined | 13:18 |
| ← roop_ left | 13:19 |
| → Sr_X joined | 13:19 |
| → stringo0 joined | 13:19 |
| ← jomofo left | 13:21 |
| ← navetz left | 13:22 |
| → joeconyers joined | 13:23 |
| → gregg joined | 13:23 |
| ← gh34 left | 13:23 |
| ← bentob0x left | 13:25 |
|
gregg
| msysgit / plink on windows question... in git bash (newly set up), trying to clone a repo from githb: get The server's host key is not cached in the registry. | 13:25 |
| → brodyberg joined | 13:25 |
| → wylecoyote joined | 13:25 |
|
divVerent
| gregg: simplest solution: start putty, connect to the server once, click yes on the host key dialog question | 13:26 |
|
gregg
| fair enough :) | 13:26 |
|
| will try, report back | 13:26 |
|
divVerent
| it SHOULD be easier, but if it were, you'd already have found it :P | 13:26 |
| ← cilly left | 13:27 |
|
gregg
| divVerernt, works perfectly (github, already had keys set up). Thanks. I'm trying to get it working on windows "for a friend" (shamefully!). | 13:27 |
|
divVerent
| oh, and when going my route: you won | 13:28 |
|
| 't be able to log in. Ignore that :P | 13:28 |
|
| all that counts is the host key unknown, yes/no dialog :P | 13:28 |
|
gregg
| correct, that dind't surprise me, and I've done it from unix before, so no worries, but a good caveat | 13:28 |
|
wylecoyote
| so I had a file in a repo, and now I've decided to add it to the gitignore list, so I edit .gitignore and add a line config/environment.rb and then I do git add .;git confirm -am "added ignore file"; git push origin master. Then on the client I do git pull, and I get this: http://pastebin/c8XcvF3V | 13:29 |
| → ilteris_ joined | 13:30 |
| ← Arelius left | 13:30 |
| → Remixman_ joined | 13:30 |
| ← rolfb left | 13:30 |
| ← Remixman left | 13:30 |
| → tzafrir joined | 13:30 |
| → Arelius joined | 13:30 |
|
wylecoyote
| I think I'm missing a step | 13:30 |
|
gregg
| 2ndary msysgit windows... any fix ot getting symlinks in repos working? | 13:30 |
|
tzafrir
| another git-svn -related question: | 13:31 |
| Remixman_ → Remixman | 13:31 |
|
tzafrir
| I'm trying to get 'git describe' produce a useful output for a repository that is a git-svn mirror of an original SVN repo | 13:32 |
| → ph^_ joined | 13:33 |
|
divVerent
| tzafrir: hehe, forget that... git svn cannot support git tags, as svn tags are just directories and git tags are essentially immutable | 13:33 |
| → flazz_ joined | 13:33 |
| ← flazz left | 13:33 |
|
divVerent
| you can however manually create git tags from the svn tags | 13:33 |
|
| when you KNOW the svn remote won't change the content of the tag directory | 13:33 |
|
tzafrir
| Problem: "tags" are actually branches. I already create git tags automatically from those svn tags, | 13:33 |
|
divVerent
| and git describe still does not work? | 13:34 |
| → mefesto joined | 13:34 |
| → jony1 joined | 13:34 |
|
tzafrir
| http://gitorious.org/asterisk-tools/asterisk-tools/blobs/master/update_tags | 13:34 |
|
divVerent
| sure | 13:34 |
|
| not sure if the -r is the right way, but essentially fine | 13:34 |
|
tzafrir
| What I wonder is: is there a simple enough method to generate a tag from the branching point from the branch? | 13:34 |
|
divVerent
| branching point? | 13:35 |
|
| OH... so the tags were committed to in svn actually? | 13:35 |
|
| and you instead want the tags to point to when they were initially created from in trunk? | 13:35 |
|
| try: git merge-base refs/remotes/tags/whatever refs/remotes/trunk | 13:35 |
|
| does that return the ref you want? | 13:35 |
|
| *commit | 13:35 |
|
tzafrir
| in (that specific) svn repo a "tag" is created by first branching off the branch. I want to try to spot that exact branching point | 13:36 |
| ← osier left | 13:36 |
| ← jony left | 13:36 |
|
divVerent
| I suppose the merge-base is what you want | 13:36 |
| ← ph^ left | 13:36 |
|
divVerent
| given that merged-in commits to the branch will get a different commit hash in git, thanks to the commit message containing the svn revision :P | 13:36 |
| → Ryback_ joined | 13:37 |
|
divVerent
| merge-base of two commits is the closest common ancestor (basically) | 13:37 |
|
PerlJam
| but that won't be the same thing as locating a branch point in svn | 13:37 |
|
divVerent
| and as git-svn's history is not a DAG but a simple tree... the merge base should be just fine | 13:37 |
|
PerlJam
| but that won't *necessarily* be the same thing | 13:37 |
|
tzafrir
| divVerent, ok, thanks. That looks like basically what I wanted | 13:37 |
| ← Adaptee left | 13:37 |
|
divVerent
| PerlJam: when can it differ? | 13:37 |
| ← stringo0 left | 13:38 |
| ← zoniq left | 13:38 |
|
PerlJam
| divVerent: when you've merged | 13:38 |
|
tzafrir
| btw: repo in question: http://svnview.digium.com/svn/dahdi/tools/ (and others on that server) | 13:38 |
| → zoniq joined | 13:38 |
|
divVerent
| PerlJam: hm... when you merged in svn? | 13:39 |
|
| that doesn't turn git-svn's history into a non-tree DAG | 13:39 |
|
| git-svn's history is always a tree, as it doesn't detect merges | 13:39 |
|
PerlJam
| divVerent: in an svn universe, those are still separate lines of development. With git, the merge collapses the commits so that they appear in both branches, but there's only one set of commits, thus possibly moving the merge-base commit. | 13:40 |
|
wylecoyote
| how do I force git to pull? | 13:40 |
|
divVerent
| PerlJam: sure | 13:40 |
|
| but we are talking about a pure git-svn managed repo :P | 13:40 |
|
| once you do merges inside git, sure, the merge-base then no longer is the branch-off point | 13:40 |
| → AAABeef joined | 13:40 |
|
PerlJam
| divVerent: sure ... until we're not. I like to make sure the caveats are out front for when people omit information in their problem description | 13:41 |
|
tzafrir
| well, I keep the svn branches clean | 13:41 |
| ← wylecoyote left | 13:41 |
| → rgr_ joined | 13:41 |
|
divVerent
| IIRC one MUST keep the git-svn managed branches clean anyway | 13:41 |
|
| and base one's own work as extra branches on them | 13:41 |
| → altrux joined | 13:41 |
|
divVerent
| otherwise git svn will happily overwrite the refs :P | 13:41 |
|
tzafrir
| svnmerge is used in various branches. But I suppose git-svn does not count those as merges | 13:41 |
|
divVerent
| yes | 13:41 |
|
| it does not detect these | 13:42 |
| ← ph^_ left | 13:42 |
|
divVerent
| but if it DID, there would be no concept of a branchpoint in git any more | 13:42 |
|
| as git doesn't remember when a branch was where on the remote | 13:42 |
|
| (the reflog is local to each repo) | 13:42 |
| → ph^ joined | 13:42 |
|
divVerent
| basically, finding "the" branchpoint in git is impossible | 13:42 |
|
| as that info is simply not stored (apart from the auto-expiring reflog) | 13:43 |
| ← ph^ left | 13:43 |
|
divVerent
| this BTW is a minor annoyance for gitk users and should maybe be fixed in the future :P | 13:43 |
| ← defectiv left | 13:43 |
|
divVerent
| it's not always trivial to follow the development of a branch directly | 13:43 |
|
| once merges happen | 13:43 |
| → schacon_ joined | 13:43 |
|
divVerent
| and sometimes info needed for it is missing, which is why gitk doesn't even try :P | 13:44 |
| → [Po]lentino joined | 13:45 |
| → spearce joined | 13:45 |
| ← Arelius left | 13:45 |
| → kbrandt joined | 13:45 |
| → Arelius joined | 13:45 |
|
kbrandt
| Is it possible to grep through all revisions? | 13:46 |
| ← zoniq left | 13:47 |
| → zoniq joined | 13:48 |
| → nevyn^ joined | 13:49 |
| ← zuez__ left | 13:50 |
| ← zoniq left | 13:51 |
| → zoniq joined | 13:51 |
| ← spearce left | 13:52 |
| → spearce joined | 13:52 |
| ← caseyw left | 13:52 |
| → TeckniX joined | 13:53 |
| ← zoniq left | 13:54 |
| → zoniq joined | 13:54 |
| ← cbreak_work left | 13:55 |
| → marshall joined | 13:57 |
| ← schacon_ left | 13:58 |
| ← zoniq left | 14:00 |
| ← Arelius left | 14:00 |
| → Arelius joined | 14:01 |
| → Aciid joined | 14:01 |
| → zoniq joined | 14:02 |
|
Aciid
| hey how can I findout remote git repo size? | 14:02 |
| → MattDeKrey joined | 14:02 |
|
posciak
| Aciid: do you have ssh access? | 14:03 |
| → gaveen joined | 14:03 |
|
Aciid
| posciak: no, I would have used du -h if I would have access | 14:03 |
|
| but I'm interested is it possible with git client :\ | 14:03 |
| ← ilteris_ left | 14:04 |
|
Aciid
| I'm downloading chromiumos.git and I'ts ~1.2gb now, no idea how big it really is | 14:04 |
|
posciak
| Aciid: no idea then, sorry | 14:05 |
|
Aciid
| damn :\ | 14:05 |
| → icefox joined | 14:07 |
| ← roop__ left | 14:07 |
| → ShooterMG joined | 14:08 |
| ← jony1 left | 14:09 |
| → eshira joined | 14:09 |
|
eshira
| say I am at commit A. I do some (unstaged/uncommitted) modifications. I realize that I wanted to branch with A as the parent, but I want the new branch to have the uncommited modifications I just did. Is this possible? | 14:10 |
|
PerlJam
| eshira: just make a branch and commit your changes | 14:11 |
|
RandalSchwartz
| git branch foo | 14:11 |
|
| git commit | 14:11 |
|
| yeah, what pj said | 14:11 |
|
eshira
| well that works | 14:11 |
|
RandalSchwartz
| of course :) | 14:11 |
| → altogether joined | 14:12 |
|
eshira
| i guess i assumed that you needed to commit your stuff before branchign | 14:15 |
| ← przemoc left | 14:15 |
| ← merlin83 left | 14:15 |
| ← zoniq left | 14:15 |
|
PerlJam
| eshira: nope. | 14:15 |
| → zoniq joined | 14:15 |
|
RandalSchwartz
| you *could* of course. | 14:16 |
|
PerlJam
| eshira: you can also use "git stash" to squirrel away your changes if you don't really want a branch | 14:16 |
|
RandalSchwartz
| that would have looked like... | 14:16 |
|
| git commit | 14:16 |
|
| git branch otherbranch | 14:16 |
|
| git checkout firstbranch | 14:16 |
|
| git reset --hard HEAD~ | 14:16 |
| → zehrique joined | 14:16 |
| → j416 joined | 14:17 |
| ← Arelius left | 14:17 |
| ← gebi left | 14:17 |
| → kukks joined | 14:17 |
| → Arelius joined | 14:17 |
| ← TheNewAndy left | 14:18 |
| ← opalka left | 14:19 |
| ← chittoor left | 14:21 |
|
| RandalSchwartz wanders off | 14:21 |
|
eshira
| i see, thanks | 14:21 |
| ← eshira left | 14:21 |
| → przemoc joined | 14:22 |
| → Yuffster joined | 14:22 |
| ← zoniq left | 14:23 |
| → zoniq joined | 14:23 |
| ← leo2007 left | 14:23 |
| → ph^ joined | 14:24 |
| ← aspotashev|eeepc left | 14:24 |
| → unix_remote joined | 14:25 |
| ← zoniq left | 14:25 |
| ← reprore_ left | 14:25 |
| → zoniq joined | 14:25 |
| → alester joined | 14:25 |
| → reprore joined | 14:26 |
| ← reprore left | 14:26 |
| ← gnufied left | 14:27 |
| ← domcat left | 14:29 |
| ← coppro left | 14:32 |
| ← Arelius left | 14:32 |
| ← naeu left | 14:32 |
| → Remixman_ joined | 14:33 |
| → Arelius joined | 14:33 |
| → naeu joined | 14:33 |
| ← Remixman left | 14:33 |
| Remixman_ → Remixman | 14:33 |
| ← altogether left | 14:34 |
| → infogulch joined | 14:34 |
| → altogether joined | 14:35 |
| → malesca joined | 14:36 |
| ← timj_ left | 14:37 |
| ← zoniq left | 14:38 |
|
malesca
| When I rename a file to change the case, git doesn't notice (git status lists no changes). I have "[core]\nignorecase = false" in my .gitignore. git 1.6.6.1. Any ideas? | 14:38 |
|
| OS X | 14:38 |
| → zoniq joined | 14:38 |
| → sagsousuke joined | 14:38 |
| → tedoc2000 joined | 14:39 |
| ← Remixman left | 14:39 |
|
engla
| Your filesystem is case-insensitive (probably) so maybe it's not a surprise | 14:39 |
|
malesca
| duh, nevermind. ignorecase was true in .git/config | 14:39 |
| → Remixman joined | 14:39 |
|
malesca
| engla: Thanks. Yeah, that's why I mentioned OS X. It's hopefully this, though. | 14:39 |
|
engla
| I didn't know git had config for this so | 14:40 |
| ← bauruine left | 14:40 |
| → ben_h joined | 14:40 |
|
malesca
| Works now. | 14:40 |
| ← MattDeKrey left | 14:41 |
|
malesca
| And when I said .gitignore above, I meant ~/.gitconfig, of course. | 14:41 |
|
Ilari
| BTW: Anybody got an idea what's going on here: 'git reflog show refs/tags/JPC-RR-r10' -> '133ec87 26d161f 8d82d57 25cee55 6d7c8a9 46be12e ec4c04a 1cc8014 bfef063 25ff4e0 204b247 eded343 062c47d <and so on...>'. Tags don't seem to have reflogs and those IDs look like commit IDs... | 14:43 |
| ← zoniq left | 14:44 |
| → icwiener joined | 14:44 |
| → zoniq joined | 14:44 |
| → Remixman_ joined | 14:46 |
| ← Remixman left | 14:46 |
| → ijuma_ joined | 14:46 |
| ← zoniq left | 14:48 |
| → zoniq joined | 14:48 |
| ← Arelius left | 14:49 |
| → Arelius joined | 14:49 |
| ← vu3rdd left | 14:49 |
| → timj_ joined | 14:50 |
| ← zoniq left | 14:51 |
| ← Remixman_ left | 14:51 |
| → Remixman_ joined | 14:51 |
| → schacon_ joined | 14:51 |
| → zoniq joined | 14:52 |
| ← zoniq left | 14:53 |
| → zoniq joined | 14:54 |
| → Remixman joined | 14:56 |
| ← zoniq left | 14:56 |
| → jtauber joined | 14:56 |
| ← agile left | 14:57 |
| ← Remixman_ left | 14:57 |
| ← jtauber left | 14:57 |
| ← sde_antrix1 left | 14:57 |
| → zoniq joined | 14:57 |
| ← kpreid_ left | 14:58 |
| ← icwiener left | 14:58 |
| ← khelll left | 14:59 |
| ← skoop left | 14:59 |
| ← zoniq left | 15:00 |
| → kpreid_ joined | 15:01 |
| → iaefai joined | 15:01 |
| → Remixman_ joined | 15:01 |
| ← Remixman left | 15:01 |
|
avar
| Can I get a log of all revisions known in the repo, ordered by date (not just on a branch) | 15:02 |
| ← flazz_ left | 15:02 |
| → zoniq joined | 15:03 |
| → lemonchicken joined | 15:04 |
| ← rgr_ left | 15:04 |
| → Remixman joined | 15:04 |
| → ShaunR joined | 15:04 |
| ← ShaunR left | 15:04 |
| → ShaunR joined | 15:04 |
| ← tro left | 15:04 |
| ← kbrandt left | 15:04 |
| → disappearedng joined | 15:05 |
| → tro joined | 15:05 |
| ← jonalv left | 15:05 |
| ← Arelius left | 15:06 |
| → Arelius joined | 15:06 |
|
wereHamster
| avar: git log --all --date-order | 15:06 |
| ← Remixman_ left | 15:07 |
|
wereHamster
| puh, was that easy ;) | 15:07 |
|
AlericInglewood
| I want to apply the diff of a single commit to my current working tree, how can I do that? | 15:07 |
| ← EricInBNE left | 15:08 |
|
wereHamster
| AlericInglewood: where do you have that diff? DOes it come from another commit? | 15:08 |
| → khelll joined | 15:08 |
|
AlericInglewood
| I thought I did this right last time, but I ended up with partly inversed patches :/ | 15:08 |
|
| The commit is at say SHA1 wereHamster | 15:08 |
|
| and I want to apply to whereever I'm now. | 15:09 |
|
jY
| AlericInglewood, cherry-pick if its on the origin | 15:09 |
| ← zoniq left | 15:09 |
|
wereHamster
| AlericInglewood: yeah, use cherry-pick | 15:09 |
|
AlericInglewood
| I used cherry-pick last time and the result was not what I wanted :/ | 15:09 |
| ← christophsturm left | 15:09 |
| → christophsturm joined | 15:09 |
|
AlericInglewood
| What I'm doing is this: | 15:09 |
|
| I have the history: A - B - C - D .. etc | 15:10 |
| → zoniq joined | 15:10 |
| → ksn joined | 15:11 |
|
AlericInglewood
| and I am splitting up each commit manually in many different 'topics', at first by creating branches topic/A1, topic/A2, topic/A3 etc at A, and topic/B1, topic/B2 etc at B. | 15:11 |
| ← giallu left | 15:11 |
|
AlericInglewood
| When I tried to cherry pick B, I ended up with the inverse of A as well as B :/ | 15:11 |
|
avar
| wereHamster: thanks | 15:12 |
|
wereHamster
| cherry-pick does exactly what you asked for: it takes the diff of the commit and applies it to your current working tree and index | 15:12 |
| → ambuli joined | 15:12 |
| ← zoniq left | 15:12 |
| ambuli → jelari | 15:12 |
|
AlericInglewood
| So, now I'm in a partial copy B - where parts have already been staged and committed as topic/B1, and I need to apply the commit topic/A1 to it, because that was inversed. | 15:12 |
|
| copy of* | 15:13 |
| jelari → ambuli | 15:13 |
| fcoury → fcoury|away | 15:13 |
| → zoniq joined | 15:13 |
| ← christophsturm left | 15:14 |
| ← Remixman left | 15:14 |
| → Remixman joined | 15:14 |
| ← raichoo left | 15:14 |
| → j0shua joined | 15:14 |
| → CosmicRay joined | 15:16 |
|
j0shua
| I am trying to "git commit" and I get tons of: * trailing whitespace (line 137) even though i set "config --gloabel apply.whitespace nowarn" I also tried as fix. what do i need to do ? | 15:17 |
| ← zoniq left | 15:17 |
|
CosmicRay
| Hi folks. I've got several repos like this: my local machine contains several branches, each of which tracks a branch by the same name on origin. I frequently need to pull updates for each from origin. It is a true hassle to checkout each branch and pull/merge manually. Is there any trick to say "pull all tracking branches"? | 15:17 |
| ← naeu left | 15:18 |
| → zoniq joined | 15:18 |
|
shruggar
| CosmicRay, no. Though you're welcome to not pull until you actually want to | 15:18 |
|
CosmicRay
| shruggar: I don't follow the comment about not pulling until I want to? | 15:19 |
|
shruggar
| as in, why are you switching to each branch and pulling all the time? If you find that to be a hassle, don't do it | 15:19 |
| ← carl- left | 15:20 |
| ← radarek left | 15:20 |
|
CosmicRay
| ah. because I have others that are pushing changes there, which I need to work with and merge in various ways | 15:20 |
| ← Zephyrus left | 15:20 |
| → fool__ joined | 15:20 |
| ← fool__ left | 15:20 |
| → fool__ joined | 15:20 |
| ← meanburrito920 left | 15:20 |
|
j0shua
| when i try to commit into my proj i get " * You have some suspicious patch lines:" and tehn a slew of trailing whitespace (line 137) how do i ignore this and run my commit ? | 15:20 |
|
shruggar
| CosmicRay, well how about not pulling until you're working with them, and then only when you actually want other people's changes? | 15:21 |
|
CosmicRay
| the reason I'm pulling is because I need to be working with them ;-) | 15:21 |
|
shruggar
| CosmicRay, okay, so your situation is that you have lots and lots of separate repositories and you work with them all simultaneously? | 15:22 |
|
CosmicRay
| er no. branches. | 15:22 |
| ← Arelius left | 15:22 |
| → Arelius joined | 15:22 |
|
shruggar
| okay, so that's my point. Why do you want to pull before you would normally be switching to one of those branches anyway? | 15:23 |
| → _iron joined | 15:23 |
|
CosmicRay
| I could give a bit more detail perhaps. There are some software packages for which I'm the upstream author. I am also part of a Debian team that maintains these packages for Debian. I have an "upstream" branch for my original code. There are also "master" and "pristine-tar" branches that Debian developers commit to. In order to build a Debian package, all three branches must be up to date. | 15:23 |
|
shruggar
| I suppose I'm confused by "It is a true hassle to checkout each branch and pull/merge manually", when a normal workflow would mean something more like "It is a true hassle to pull/merge manually for every branch I check out" | 15:24 |
| ← auslander left | 15:24 |
| → auslander joined | 15:24 |
| ← auslander left | 15:24 |
| → auslander joined | 15:24 |
|
CosmicRay
| I am not sure I am grasping the difference. | 15:25 |
|
shruggar
| okay, so you have some automated script or something like that which looks at all the different branches at the same time? | 15:25 |
|
CosmicRay
| for building the Debian packages, yes. | 15:25 |
| → cilly joined | 15:26 |
| → webchick joined | 15:26 |
| ← schacon_ left | 15:26 |
|
shruggar
| okay. This doesn't help you at all, btw. I was just wondering what your situation was where this would come up. The answer is still "no, there's not really anything for automatically merging a bunch of things at once" | 15:26 |
| → iatrou joined | 15:26 |
| → agile joined | 15:26 |
|
CosmicRay
| ok. guess I can write something with for | 15:27 |
|
| PerlJam wonders what it means to be looking at multiple branches "at the same time" | 15:27 |
|
shruggar
| If you want, I could spend five seconds writing a one-liner which would do it for you, but I get the impression that as a maintainer of various things, you were already aware of that option and wondered if others had solved the problem already :) | 15:27 |
|
CosmicRay
| shruggar: exactly | 15:27 |
|
PerlJam
| you can only ever have one branch checked out in your working copy anyway | 15:27 |
|
CosmicRay
| I'm thinking along the lines of git fetch origin; for ASDF in `git branch | sed 's/\*//g'`; do git checkout $ADSF; git merge origin/$ASDF; done | 15:28 |
|
| PerlJam: of course. but you can generate diffs between branches. | 15:29 |
|
shruggar
| PerlJam: if he has some script which operates on all three branches through a single firing, then to him they all need to be in-sync "at the same time" | 15:29 |
|
CosmicRay
| git push --all is very handy for this stuff | 15:29 |
|
| alas git pull --all doesn't do the same thing at all | 15:29 |
| ← zoniq left | 15:30 |
|
n3kl
| Somehow, the commit I want is master^, which got overwritten by master. Is there a way to promote it or somethign? | 15:30 |
| → karpar joined | 15:31 |
|
CosmicRay
| git reset --hard master^ | 15:31 |
|
n3kl
| If I do git checkout master^, the file structure is like I want | 15:31 |
|
CosmicRay
| beware that you will lose anything more recent than master^ though | 15:31 |
| → zoniq joined | 15:31 |
| → kipras joined | 15:32 |
| → theZagnut joined | 15:32 |
|
n3kl
| cool | 15:32 |
|
| do I need to commit after that? | 15:32 |
|
shruggar
| be aware that "lose" means "will need to use the reflog to get back to" | 15:32 |
|
| no | 15:32 |
|
CosmicRay
| right | 15:32 |
|
n3kl
| Sweet. Thank you | 15:33 |
| → jrmuizel joined | 15:33 |
| → [Po]lentino_ joined | 15:35 |
|
AlericInglewood
| How can I collapse the last two commits into one? | 15:36 |
| ← [Po]lentino left | 15:36 |
|
shruggar
| two options: git reset HEAD~2 && git commit; or (more generic and feature-rich): git rebase -i HEAD~2 | 15:37 |
| ← karpar left | 15:37 |
|
shruggar
| probably many many more options, really | 15:38 |
|
| rebase -i is the favorite, though | 15:38 |
| ← zoniq left | 15:38 |
| → zoniq joined | 15:38 |
| ← Arelius left | 15:38 |
|
shruggar
| git reset HEAD^ && git commit --amend, would also tend to be what is wanted | 15:39 |
| → Arelius joined | 15:39 |
| ← zoniq left | 15:40 |
| ← t0rc left | 15:40 |
| → zoniq joined | 15:41 |
| → defectiv joined | 15:41 |
| → AaronMT joined | 15:42 |
| → sjokkis joined | 15:42 |
| → Zephyrus joined | 15:42 |
| → jay-mccarthy joined | 15:43 |
|
sjokkis
| hi. i've been working on features in two separate files in a branch, and i've introduced a bug in one of them. i know for a fact that the other one is okay. is it possible to merge the file that's okay back to master, without doing a full merge? | 15:43 |
| ← novas0x2a left | 15:44 |
| ← zoniq left | 15:44 |
| ← galderz left | 15:44 |
| → zoniq joined | 15:45 |
|
shruggar
| sjokkis, if you committed the bugfix in its own commit, you can cherry-pick the bugfix | 15:45 |
| → aziz joined | 15:45 |
|
sjokkis
| shruggar: my changes the file1 and file2 are in the same commit | 15:46 |
| → leo2007 joined | 15:46 |
|
sjokkis
| file1 has a bug | 15:46 |
| ← enyovelcora left | 15:46 |
|
sjokkis
| i want to merge file2 back to aster | 15:46 |
|
| master* | 15:46 |
|
Ilari
| sjokkis: Merge can't be done unless you split the changes somehow (by history editing). | 15:46 |
|
shruggar
| in that case no, there's no direct way. | 15:46 |
|
sjokkis
| splitting the history works... | 15:47 |
|
| how is it done? | 15:47 |
| → poseid joined | 15:47 |
| → \mjd joined | 15:47 |
|
Ilari
| sjokkis: Interactive rebase likely (watch out, if others have the branch, they are going to get nasty surprise). | 15:47 |
|
j0shua
| how do i fix * You have some suspicious patch lines: * trailing whitespace (line 72) * trailing whitespace (line 172) ...... ?? | 15:48 |
|
poseid
| I get a /usr/lib/git-core/git-pull: 163: tr: not found, when trying to git pull origin master.... | 15:48 |
|
\mjd
| I have a failed merge and the merging will be complicated. A wanted to use "ediff", and I hoped it would have a mode where it deals with a single file that is in conflicted-merge format. But it seems it only deals with two separate files. | 15:48 |
|
j0shua
| it is not letting me commit NEW files beacuse of suspisious patch lines ?!? | 15:48 |
|
Ilari
| poseid: What OS? | 15:48 |
| → Remixman_ joined | 15:48 |
|
poseid
| 2.6.31-16-server #53-Ubuntu | 15:48 |
| → reprore joined | 15:49 |
|
sjokkis
| Ilari: thanks. second question. when i've got uncommited changes, how can i compile my code while ignoring those changes? | 15:49 |
|
\mjd
| I could reset the merge, and use ediff to merge the two different versions of the file but it seems a little silly when the conflicts are already written out. | 15:49 |
| ← Remixman left | 15:49 |
|
Ilari
| poseid: How did you end up with system with no tr? Try running 'tr' from command line? | 15:49 |
| → mw joined | 15:49 |
|
Ilari
| sjokkis: Stash them first. | 15:49 |
|
sjokkis
| thanks | 15:49 |
| ← zoniq left | 15:49 |
|
poseid
| I see... it's a test system, I am helping to debug... will pass the problem to the dev team.... | 15:50 |
| → zoniq joined | 15:50 |
|
Ilari
| poseid: I thought one couldn't install system without having 'tr' installed (unless it is seriously stripped and one should know what one is doing if so). | 15:50 |
| ← reprore left | 15:51 |
| → shennyg joined | 15:51 |
|
poseid
| let's see what the dev team says.... maybe they are on diet... | 15:51 |
|
shruggar
| I'd guess path problems, overzealous security settings | 15:51 |
| ← voxpelli left | 15:52 |
|
sjokkis
| Ilari: works like a charm. thank you | 15:52 |
|
| at first i thought git was bloody voodoo, but it has a few features i don't know how i managed withoutt | 15:53 |
| → psankar joined | 15:53 |
| ← psankar left | 15:53 |
| → psankar joined | 15:53 |
| ← zoniq left | 15:54 |
|
shruggar
| git /is/ voodoo. The only difference is: the wild claims are true | 15:55 |
| → zoniq joined | 15:55 |
| ← Arelius left | 15:55 |
| → Arelius joined | 15:55 |
|
sjokkis
| shruggar: this incremental merge worked out splendidly. found the bug, and it was NOT where i thought it would be | 15:56 |
| ← froschi left | 15:57 |
|
AlericInglewood
| oops | 15:58 |
| ← Dieterbe left | 15:58 |
|
AlericInglewood
| I typed: git stash clean | 15:58 |
|
| How can I revert that? | 15:58 |
| ← sh1mmer left | 15:58 |
|
AlericInglewood
| (I wanted to type git stash clear) | 15:58 |
| → galderz joined | 15:59 |
|
AlericInglewood
| Now it said Saved "On current: clean" and my working directory is clean :/ | 15:59 |
|
| Oh... it's the same as git stash save clean I guess... so just an apply should work. | 16:00 |
|
shruggar
| usually "pop", rather than "apply", is what you want | 16:00 |
| → gebi joined | 16:00 |
| → Remixman joined | 16:01 |
| ← Remixman_ left | 16:01 |
| → schacon joined | 16:02 |
| → airborn joined | 16:02 |
| → aspotashev|eeepc joined | 16:02 |
| → unixtippse joined | 16:03 |
| ← nevyn^ left | 16:03 |
| ← sagsousuke left | 16:03 |
| → sh1mmer joined | 16:04 |
|
AlericInglewood
| How can I change the comment of a commit? | 16:05 |
| → Remixman_ joined | 16:05 |
|
j416
| AlericInglewood: if it's the last commit, you can do: git commit --amend | 16:05 |
|
| if it's not the last commit, you cannot, unless you alter history. Check man git-filter-branch | 16:06 |
|
Gitbot
| j416: the git-filter-branch manpage can be found at http://git.or.cz/man/git-filter-branch | 16:06 |
| ← Remixman left | 16:06 |
|
AlericInglewood
| The last on that branch you mean? | 16:06 |
|
j416
| also man git-rebase | 16:06 |
|
Gitbot
| j416: the git-rebase manpage can be found at http://git.or.cz/man/git-rebase | 16:06 |
|
j416
| AlericInglewood: most recent, yes | 16:06 |
| ← fmardini left | 16:06 |
| → lhz joined | 16:06 |
| ← infogulch left | 16:07 |
| → infogulch joined | 16:07 |
| → novas0x2a joined | 16:08 |
| → psoo joined | 16:09 |
| → slonopotamus joined | 16:10 |
| → dreiss joined | 16:10 |
| → qrc1 joined | 16:10 |
| ← qrc1 left | 16:11 |
| ← kpreid_ left | 16:11 |
| → ilteris_ joined | 16:11 |
| ← Arelius left | 16:11 |
| → bradhaydon joined | 16:11 |
| ← bradhaydon left | 16:11 |
| → Arelius joined | 16:11 |
| → giallu joined | 16:12 |
| ← Remixman_ left | 16:13 |
|
shruggar
| agh,,, using svn is painful and annoying after git | 16:15 |
|
slonopotamus
| hehe. using <any other> scm is painful after git | 16:16 |
|
shruggar
| I just miss my index | 16:16 |
| → Remixman joined | 16:16 |
| → gnufied joined | 16:16 |
|
gebi
| shruggar: git-svn no option? | 16:16 |
|
slonopotamus
| so use git-svn | 16:17 |
| ← ilteris_ left | 16:17 |
| ← ksn left | 16:17 |
|
shruggar
| I use git-svn normally, but right now I'm working on the server where svn actually runs | 16:18 |
| ← Pupeno left | 16:19 |
| [Po]lentino_ → [Po]lentino | 16:21 |
| ← Remixman left | 16:22 |
| → Remixman joined | 16:22 |
| ← _iron left | 16:24 |
| → enherit joined | 16:25 |
| ← Arelius left | 16:26 |
| → Arelius joined | 16:26 |
| ← tvw left | 16:27 |
| → bauruine joined | 16:28 |
| → Remixman_ joined | 16:29 |
|
AlericInglewood
| When I do 'git add -i', and then choose "5: patch", can't I select more than one file and do all the hunks in one session? I keep forgetting what file I did last so it's annoying I can only select one file at a time. | 16:29 |
| ← cmoney left | 16:29 |
|
_rane
| gw2 ois varmaa jeee | 16:29 |
| ← Remixman left | 16:29 |
| → stringo0 joined | 16:30 |
|
shruggar
| AlericInglewood, just type "git add --patch" | 16:31 |
| → raichoo joined | 16:31 |
| → AkumaStreak joined | 16:32 |
| → countd joined | 16:33 |
| ← AAA_awright left | 16:33 |
| → AAA_awright joined | 16:34 |
| ← Remixman_ left | 16:35 |
| → rseifert joined | 16:35 |
| ← gnufied left | 16:35 |
| ← simplechat left | 16:35 |
| ← stringo0 left | 16:36 |
| → masterkorp joined | 16:37 |
| → merlin83 joined | 16:37 |
| ← hyperair left | 16:37 |
| ← merlin83 left | 16:37 |
| → merlin83 joined | 16:37 |
| → Nemurenai joined | 16:38 |
| ← altogether left | 16:41 |
| ← Arelius left | 16:42 |
| → Arelius joined | 16:42 |
| ← mastro left | 16:43 |
| → stringo0 joined | 16:43 |
| → darwin_ joined | 16:43 |
| ← joeconyers left | 16:44 |
| ← ajpiano left | 16:45 |
| → Theravadan joined | 16:45 |
| → altogether joined | 16:45 |
| → alley_cat joined | 16:45 |
| → gnufied joined | 16:46 |
| → ajpiano joined | 16:46 |
| → thiago_home joined | 16:48 |
| → ProperNoun joined | 16:48 |
| ← ProperNoun left | 16:49 |
| → ProperNoun joined | 16:49 |
| → Belna joined | 16:50 |
| ← shruggar left | 16:51 |
| ← Heimidal left | 16:51 |
| ← ProperN[out] left | 16:51 |
| → vu3rdd joined | 16:51 |
| ← poseid left | 16:51 |
| → justin-george joined | 16:52 |
| ← theZagnut left | 16:52 |
| ← justin-george left | 16:52 |
| ← d0ugal left | 16:56 |
| → d0ugal joined | 16:57 |
| ← webchick left | 16:58 |
| → disappearedng_ joined | 16:58 |
| ← wolog left | 16:59 |
| → kpreid_ joined | 16:59 |
| → Pupeno joined | 16:59 |
| ← zoniq left | 16:59 |
| → zoniq joined | 17:00 |
| ← Arelius left | 17:00 |
| → Arelius joined | 17:00 |
| → xiong joined | 17:00 |
| ← galderz left | 17:00 |
| ← Zephyrus left | 17:01 |
| → vinse joined | 17:02 |
| ← xelister left | 17:03 |
| ← Nemurenai left | 17:04 |
| ← [Po]lentino left | 17:05 |
| ← khaase left | 17:06 |
| ← Pupeno left | 17:06 |
| → Pupeno joined | 17:07 |
| → user_ joined | 17:07 |
| ← bluenovember left | 17:08 |
| → brizly joined | 17:09 |
| ← saLOUt left | 17:09 |
| ← petercoulton left | 17:10 |
| → petercoulton joined | 17:10 |
| → radioman-lt joined | 17:11 |
| → tvw joined | 17:11 |
|
engla
| AlericInglewood: git add -p | 17:11 |
| ← slonopotamus left | 17:12 |
| ← petercoulton left | 17:13 |
| → petercoulton joined | 17:13 |
| ← curtana left | 17:14 |
|
\mjd
| I did git diff -- foo BRANCH:foo and got no output. But the two versions of that file are surely different, and when I do git show BRANCH:foo | diff -u foo - , I see the expected differences. | 17:15 |
|
| What is the first one doing? | 17:15 |
|
| Oh, it's the -- screwing it up. | 17:16 |
| ← Arelius left | 17:16 |
| → Arelius joined | 17:16 |
|
\mjd
| But why no output? | 17:16 |
| → meanburrito920 joined | 17:16 |
| ← petercoulton left | 17:17 |
| ← dreiss left | 17:18 |
| → petercoulton joined | 17:18 |
| ← Gitzilla left | 17:18 |
| → disturb joined | 17:18 |
| ← petercoulton left | 17:18 |
|
murbank
| Is there a way to convert line numbers in version foo~5 to equivalent line numbers in version foo? | 17:18 |
| → petercoulton joined | 17:18 |
| ← hakunin left | 17:19 |
|
DrNick
| murbank: no | 17:19 |
|
| at least, not using git | 17:19 |
|
| I'm not sure that anybody has written a tool to do that, actually | 17:20 |
| ← jrmuizel left | 17:20 |
|
GyrosGeier
| hmm | 17:20 |
|
DrNick
| beyond the usual graphical diff tools | 17:20 |
|
eco
| So I've been using git-svn for awhile and would like to switch over to just git. What's the proper way of doing this? | 17:20 |
|
GyrosGeier
| you could parse the "@@" lines from git diff | 17:20 |
|
crab
| \mjd: i don't know what it's doing, but i think you wanted: git diff master..branch -- foo | 17:20 |
|
GyrosGeier
| these have "old" and "new" line numbers | 17:20 |
|
| for each chunk | 17:20 |
|
| for anything finer than that, you need to look at the + and - lines | 17:21 |
|
murbank
| GyrosGeier: Yeah that's what I was thinking. I was hoping their was an easier or pre-cooked way. | 17:21 |
|
eco
| Do I just use the git repository git-svn created as a regular git repository? | 17:21 |
|
GyrosGeier
| no, but you could write one | 17:21 |
|
\mjd
| crab: Thanks! | 17:21 |
|
schacon
| i would assume one of the git difftool options would do that | 17:21 |
|
eco
| Make a clone of it and throw it up on the server? | 17:21 |
|
schacon
| git difftool master...master~5 | 17:21 |
| → friskd joined | 17:22 |
| ← user_ left | 17:22 |
|
schacon
| doesn't tkdiff3 do nice side by sides? | 17:22 |
| → wolog joined | 17:22 |
| ← Pupeno left | 17:23 |
|
murbank
| schacon: I need text: I have a bunch of line numbers that need to be updated to a new version. | 17:23 |
| ← psoo left | 17:23 |
|
schacon
| murbank: i have no idea what that means | 17:23 |
|
| oh | 17:24 |
|
murbank
| schacon: "On line 45 in version foo~5" -> "On line 67 in version foo" | 17:24 |
| → Pupeno joined | 17:24 |
| → IslandUsurper joined | 17:24 |
| → wonder95 joined | 17:25 |
|
wonder95
| is there a web tool for viewing a Git repo on the server? | 17:27 |
|
DrNick
| gitweb and/or cgit | 17:28 |
| ← enherit left | 17:28 |
| → markelikalderon joined | 17:28 |
| ← countd left | 17:29 |
| ← vinse left | 17:30 |
| → bentob0x joined | 17:30 |
| → enherit joined | 17:30 |
| ← psankar left | 17:31 |
| → Heimidal joined | 17:31 |
| ← Heimidal left | 17:31 |
| → Heimidal joined | 17:31 |
| ← Arelius left | 17:31 |
| → Arelius joined | 17:32 |
| → aresnick joined | 17:32 |
|
iaefai
| Is it possible to change a previous commit description? (about 4 commits back) | 17:34 |
| ← meanburrito920 left | 17:34 |
|
Chani
| iaefai: if you havn't pushed, then yes | 17:35 |
|
iaefai
| Everything is pushed | 17:35 |
|
RandalSchwartz
| then no | 17:35 |
|
| RandalSchwartz grins | 17:35 |
|
RandalSchwartz
| a commit message is part of the sha1 calculation | 17:35 |
|
| change it, you're changing the commits | 17:36 |
|
iaefai
| I see | 17:36 |
|
schacon
| iaefai: "git commit --allow-empty -m 'that previous commit message should really say XX'" | 17:36 |
|
iaefai
| schacon: It is a matter of extra spaces before the text that I would rather get rid of | 17:36 |
|
| Something major | 17:37 |
|
schacon
| git commit --allow-empty -m 'that previous commit message should really not have so many spaces' | 17:37 |
|
| done | 17:37 |
|
iaefai
| heh | 17:37 |
|
schacon
| lil git humor there | 17:37 |
|
| i'm just cracking myself up this morning | 17:37 |
|
iaefai
| My git must be old, 1.6.6.2, if 1.7.0.5 is out | 17:38 |
|
RandalSchwartz
| I rebuild my git every morning. | 17:38 |
|
| git version 1.7.1.rc2.7.g3e7f1 | 17:38 |
|
j416
| iaefai: as long as nobody has pulled from it, you can force-push an altered history | 17:38 |
| ← Boriskr left | 17:39 |
|
j416
| but if anyone has pulled, they will be confused as to why everything suddenly conflicts | 17:39 |
|
iaefai
| RandalSchwartz: A little frequent, eh? | 17:39 |
| → Boriskr joined | 17:39 |
| → psankar joined | 17:39 |
|
iaefai
| j416: Is there a way to determine if anyone has pulled? (github) | 17:39 |
|
schacon
| no | 17:39 |
|
iaefai
| The project isn't very old, maybe a week, but I have given out the address - but I don't think anyone has said anything about it | 17:40 |
| ← markelikalderon left | 17:41 |
|
schacon
| you can always just fix it with a rebase -i, force push the result and then email everyone to tell them about the update - that they might then need to cherry pick any changes they've made onto your new history | 17:41 |
|
| depends on how savvy and widespread your users are | 17:41 |
| → csgeek joined | 17:41 |
|
j416
| iaefai: moral of the story: don't push without being satisfied with your changes | 17:42 |
|
iaefai
| schacon: shouldn't have any users yet :p (no reason yet, not developed enough). | 17:42 |
|
| j416: certainly | 17:42 |
|
| How exactly does one change this stuff? I am willing to take the risk that nobody has pulled yet. | 17:43 |
|
j416
| iaefai: man git-pull | 17:45 |
|
Gitbot
| iaefai: the git-pull manpage can be found at http://git.or.cz/man/git-pull | 17:45 |
|
j416
| er, typo | 17:45 |
|
| iaefai: man git-push | 17:45 |
|
Gitbot
| iaefai: the git-push manpage can be found at http://git.or.cz/man/git-push | 17:45 |
|
j416
| check --force | 17:45 |
|
schacon
| iaefai: http://schacon.github.com/history.html | 17:45 |
|
j416
| (-f) | 17:45 |
|
schacon
| that might help with the rewriting history portion | 17:46 |
| ← Arelius left | 17:46 |
|
j416
| schacon: you should add the git filter-branch method of changing commit messages :) | 17:46 |
| → Arelius joined | 17:46 |
| ← onigiri_ left | 17:49 |
| ← tildeequals left | 17:49 |
| → tchan joined | 17:52 |
| ← masterkorp left | 17:53 |
| ← disturb left | 17:53 |
| → lamont joined | 17:55 |
| → riz2 joined | 17:58 |
|
iaefai
| I think I will forget about rebase and count my blessings. | 17:58 |
|
crab
| blessing 1: having forgotten about rebase | 17:59 |
| ← rseifert left | 17:59 |
| → lambda joined | 18:00 |
| ← maddog_ left | 18:01 |
| → adaro joined | 18:01 |
| → dj_tjerk| joined | 18:02 |
| → unreal_ joined | 18:02 |
| ← tvw left | 18:02 |
|
lambda
| hi all, I have question about converting svn repo to git, is there any way how to ignore some directories during import, let say, that original svn repo has three directories 'a', 'b', 'c' and I want to create git repo containing only 'b' a 'c'. Thanks for any pointers. ML | 18:02 |
| ← lamont left | 18:03 |
| ← Pupeno left | 18:03 |
| ← AAA_awright left | 18:03 |
| ← jay-mccarthy left | 18:03 |
| ← spearce left | 18:03 |
| ← jfkw left | 18:03 |
| ← joevano left | 18:03 |
| ← d1b left | 18:03 |
| ← dj_tjerk left | 18:03 |
| ← priidu left | 18:03 |
| ← unreal left | 18:03 |
| ← Madsy left | 18:03 |
| → mahound` joined | 18:03 |
| unreal_ → unreal | 18:03 |
| → maddog_ joined | 18:03 |
|
iaefai
| crab: quite true :p | 18:03 |
| ← Arelius left | 18:03 |
| → Arelius joined | 18:04 |
| ← zoniq left | 18:05 |
| → peper joined | 18:06 |
|
j416
| lambda: I have no idea about svn or git-svn, but you can, after you have imported everything, use git filter-branch to remove directories. | 18:07 |
|
| lambda: man git-filter-branch | 18:07 |
|
Gitbot
| lambda: the git-filter-branch manpage can be found at http://git.or.cz/man/git-filter-branch | 18:07 |
| → lamont joined | 18:08 |
| → Pupeno joined | 18:08 |
| → AAA_awright joined | 18:08 |
| → jay-mccarthy joined | 18:08 |
| → spearce joined | 18:08 |
| → jfkw joined | 18:08 |
| → joevano joined | 18:08 |
| → d1b joined | 18:08 |
| → priidu joined | 18:08 |
| → Madsy joined | 18:08 |
| → yatiohi joined | 18:08 |
| → snucko joined | 18:08 |
| → Haarg joined | 18:08 |
| → Cap_J_L_Picard joined | 18:08 |
| → qfr joined | 18:08 |
| → sven^ joined | 18:08 |
| → Soliton joined | 18:08 |
| → adamholt joined | 18:08 |
| → tewk joined | 18:08 |
| → AlericInglewood joined | 18:08 |
| → Zeelot3k joined | 18:08 |
| → joel____ joined | 18:08 |
| → slowride joined | 18:08 |
| → nothingmuch joined | 18:08 |
| → emptyness47 joined | 18:08 |
| → Ingmar joined | 18:08 |
| → tpope joined | 18:08 |
| → dennda joined | 18:08 |
| → jpieper joined | 18:08 |
| → magcius joined | 18:08 |
| → PerlJam joined | 18:08 |
| → charon joined | 18:08 |
| → wereHamster joined | 18:08 |
| → redondos joined | 18:08 |
| → homa_rano joined | 18:08 |
| → j-o-f joined | 18:08 |
| → iff joined | 18:08 |
| → ice799 joined | 18:08 |
| → unpaidbill joined | 18:08 |
| → Garoth joined | 18:08 |
| → jnl joined | 18:08 |
| ← tar- left | 18:09 |
| → neutrino joined | 18:09 |
| ← emptyness47 left | 18:09 |
| neutrino → tar- | 18:09 |
| → emptyness47 joined | 18:09 |
| ← cilly left | 18:10 |
|
lambda
| thanks I will check filter-branch, I just wanted to avoid import everything first | 18:10 |
| → Belna_ joined | 18:10 |
| → zhobbs_ joined | 18:10 |
| → krawek joined | 18:11 |
| → lambda_ joined | 18:11 |
| → kelvie joined | 18:11 |
|
zhobbs_
| So I have deleted a file in my new branch (B), and someone makes a change into that file in the original branch (A)...how do I merge, so that this file I deleted stays deleted? | 18:12 |
| → webchick joined | 18:12 |
| → jakubzalas joined | 18:13 |
|
tty1
| has anyone ever heard of git, git-daemon or gitosis causing a system to grind to a hault after a day or two? | 18:13 |
| → Alagar joined | 18:14 |
| → rubydiam_ joined | 18:14 |
| ← gnufied left | 18:14 |
| ← priidu left | 18:14 |
| → slonopotamus joined | 18:14 |
| ← infogulch left | 18:14 |
| ← Belna left | 18:14 |
|
thiago_home
| zhobbs_: when you do the merge, Git will tell you that there's a delete/modify conflict | 18:15 |
|
| you must resolve it manually | 18:15 |
|
| in your case, the resolution is git rm filename again | 18:15 |
|
j416
| lambda: good luck. Sorry, I don't know a thing about git-svn or svn, so.. there might be a better way. | 18:15 |
|
zhobbs_
| thiago_home: there are no merge strategies that would avoid this? I guess I can try some | 18:15 |
|
crankharder
| what'sa fast way to see the difference in commits for a given file? | 18:15 |
| ← lambda left | 18:15 |
|
thiago_home
| Git doesn't know what you want | 18:16 |
|
| there are other resolutions for this | 18:16 |
|
| like restoring the file | 18:16 |
|
\mjd
| crankharder: git log -- file | 18:16 |
| → radii joined | 18:16 |
|
thiago_home
| crankharder: git log -p -- file | 18:16 |
|
\mjd
| crankharder: git log -p -- file | 18:16 |
|
thiago_home
| crankharder: git diff commit1 commit2 -- file | 18:16 |
|
zhobbs_
| thiago_home: hmm, looks like "ours" will do this... | 18:16 |
|
thiago_home
| zhobbs_: right, but ours discards changes to ALL files | 18:17 |
|
zhobbs_
| yeah | 18:17 |
|
crankharder
| i need the difference in commits between two branches for a given file -- basically I forgot to merge something related to it | 18:17 |
|
crab
| i miss the p4 integrate UI sometimes. | 18:17 |
|
crankharder
| sorry, wans't clear enough the first time :) | 18:17 |
|
crab
| git diff branch1..branch2 -- given/file | 18:17 |
| ← rubydiam_ left | 18:17 |
| → rubydiam_ joined | 18:18 |
|
crankharder
| thanx | 18:18 |
| → kenyon joined | 18:19 |
|
crab
| maybe today is the day when git diff a..b -- c will be the answer to all questions. | 18:19 |
| ← Arelius left | 18:19 |
| ← slonopotamus left | 18:20 |
| → Arelius joined | 18:20 |
| ← alester left | 18:20 |
|
crab
| p4 integrate was like git merge + git add -p. it was great. | 18:20 |
| → mtkd joined | 18:21 |
| → tildeequals joined | 18:21 |
|
schacon
| spearce: btw, we got smart-http deployed at github now | 18:21 |
|
| it seems to be working great | 18:21 |
| ← lambda_ left | 18:21 |
|
schacon
| thanks for all the work you did on that | 18:21 |
| → gnufied joined | 18:22 |
|
spearce
| woohoo | 18:23 |
|
jast
| cool | 18:23 |
| → flazz joined | 18:23 |
| → fargiolas joined | 18:23 |
| → dmg joined | 18:25 |
| → tanoku joined | 18:26 |
| → sirjanhenrik joined | 18:28 |
| ← vu3rdd left | 18:28 |
| ← JohnFlux left | 18:30 |
| → Nemurenai joined | 18:31 |
| ← j416 left | 18:32 |
| → arrenlex joined | 18:33 |
| → microm joined | 18:33 |
|
arrenlex
| I moved some files to a different folder and committed. Upstream, the exact same change was made and committed. I pulled. How do I merge conflicts? I tried doing 'git add -A .' on the root folder but it didn't work. | 18:33 |
| → rsewill joined | 18:35 |
|
crab
| why are there conflicts? | 18:35 |
|
microm
| is there a gitweb RSS feed that gives me all changes on all branches? It seems to be a "per-head" feed. | 18:36 |
| → khaase joined | 18:36 |
| → meanburrito920 joined | 18:36 |
| ← flazz left | 18:37 |
| ← xiong left | 18:37 |
| ← Arelius left | 18:38 |
| ← ijuma left | 18:38 |
|
arrenlex
| crab: Oh, nevermind... it wasn't quite the same move after all. | 18:38 |
| ← rsewill left | 18:39 |
| ← sirjanhenrik left | 18:39 |
| → Arelius joined | 18:39 |
| ← tg left | 18:41 |
| ← brodyberg left | 18:41 |
| → tg joined | 18:42 |
| → infogulch joined | 18:42 |
| → flazz joined | 18:43 |
| → Apocalisp joined | 18:44 |
|
Apocalisp
| OK, how do I abandon local changes to a file? | 18:44 |
| ← arrenlex left | 18:44 |
| → jrmuizel joined | 18:44 |
|
wereHamster
| Apocalisp: git checkout -- <file> | 18:45 |
| ← LRN left | 18:46 |
| ← AaronMT left | 18:47 |
| → psankar_ joined | 18:47 |
| ← psankar_ left | 18:47 |
|
Apocalisp
| wereHamster: I did that, but still getting Your local changes to Foo.scala would be overwritten by merge. Aborting. when pulling. | 18:48 |
| ← psankar left | 18:49 |
| → spaceonline joined | 18:49 |
|
wereHamster
| Apocalisp: git status | 18:49 |
| → markelikalderon joined | 18:50 |
| → LRN joined | 18:51 |
|
Apocalisp
| wereHamster: git status shows a bunch of untracked and another bunch changed but not updated. | 18:51 |
|
| I desperately want Foo.scala to be overwritten by the merge. | 18:52 |
|
wereHamster
| it tells you what you can do to throw away these changes etc | 18:52 |
| ← steffkes left | 18:52 |
| ← HG` left | 18:52 |
|
Apocalisp
| wereHamster: It does say that, but it lies. | 18:52 |
|
| git checkout -- Foo.scala | 18:53 |
|
| Foo.scala shows up as modified before and after. | 18:53 |
|
wereHamster
| git reset -- Foo.scala (to unstage the changes), then git checkout -- Foo.scala | 18:53 |
|
Apocalisp
| No effect. | 18:54 |
|
wereHamster
| in which section does that file show up? Changes to be committed: or Changed but not updated: ? | 18:55 |
| → aheinecke joined | 18:55 |
|
Apocalisp
| changed but not updated | 18:55 |
|
| I haven't staged this file | 18:55 |
|
wereHamster
| are you on windows? | 18:56 |
|
Apocalisp
| yes | 18:56 |
|
wereHamster
| then it's most likely a problem with automatic crlf conversion | 18:56 |
| ← Arelius left | 18:57 |
|
Apocalisp
| why would that be a problem in jettisoning changes? | 18:57 |
| ← mw left | 18:57 |
| → Arelius joined | 18:57 |
| → frakturfreak_ joined | 18:59 |
| ← frakturfreak left | 18:59 |
| → tvw joined | 19:00 |
|
Apocalisp
| that was it though | 19:00 |
| → danferranti joined | 19:00 |
|
Apocalisp
| I set it explicitly to false and the files no longer show up as changed | 19:00 |
|
| Thanks, wereHamster | 19:00 |
| ← Apocalisp left | 19:00 |
| → dreiss joined | 19:03 |
| → psoo joined | 19:04 |
| ← tatsuya left | 19:04 |
| ← altogether left | 19:05 |
|
wonder95
| if I get "fatal: index file open failed (Permission denied)" when I try to do anything to a repo, is there a particular file I need to check permissions on? | 19:05 |
| ← timofonic left | 19:06 |
| ← stamina left | 19:06 |
| → altogether joined | 19:07 |
| → timofonic joined | 19:07 |
| ← afrasi left | 19:09 |
| SRabbelier → git|Srabbelier | 19:10 |
| git|Srabbelier → git|SRabbelier | 19:10 |
| ← altogether left | 19:10 |
| ← Boriskr left | 19:11 |
| → khmarbaise joined | 19:12 |
| → erkkk joined | 19:13 |
| → priidu joined | 19:13 |
| ← djbpython left | 19:14 |
| ← killerchicken_ left | 19:14 |
| → killerchicken_ joined | 19:15 |
| ← Arelius left | 19:15 |
| → Arelius joined | 19:16 |
|
erkkk
| hi. does anyone have an idea why ssh may return "Unable to get term attr: Invalid argument"? I'm miserably trying to push to remote repo, no luck so far! | 19:17 |
| ← LRN left | 19:17 |
| → LRN joined | 19:22 |
| → krycek_ joined | 19:23 |
| → LiamH joined | 19:23 |
| git|SRabbelier → SRabbelier | 19:23 |
|
krycek_
| can git "clone" just one folder from a project like I used to do with SVN? | 19:23 |
| ← rubydiam_ left | 19:24 |
| → menace joined | 19:24 |
| ← meanburrito920 left | 19:24 |
|
Ilari
| krycek_: No. | 19:25 |
| ← j0shua left | 19:27 |
| → sgh joined | 19:29 |
| → masterkorp joined | 19:29 |
| → djbpython joined | 19:30 |
| → meanburrito920 joined | 19:33 |
| → hyperqbe joined | 19:34 |
| ← Arelius left | 19:35 |
| → Arelius joined | 19:35 |
|
hyperqbe
| whenever I want to do something that requires me to commit, I usually do git commit -a -m 'temp', then do my thing, and then git reset HEAD^. This works pretty well for me, but is there some benefit to using git stash instead? | 19:36 |
|
crab
| if you use git stash, the changes you were working on _won't_ be in your current checked-out tree. | 19:37 |
| → drizzd joined | 19:38 |
|
crab
| so a benefit might be that you don't have to make it compile before you make your tmp commit. | 19:38 |
|
| another is that you can easily stash multiple things, and restore them independently. | 19:39 |
|
| git stash is also shorter to type. :-) | 19:39 |
| → ProperN[out] joined | 19:40 |
|
\mjd
| the useful "git stash apply" operation is probably easier to execute if you actually use the stash. | 19:40 |
| ← erkkk left | 19:40 |
|
\mjd
| I often use it when I have made (but not committed) a bunch of changes, and I realize I'm working in the wrong branch, | 19:40 |
| → WALoeIII joined | 19:40 |
|
\mjd
| I stash, checkout new branch, stash pop. | 19:40 |
|
| That would be harder with the commit temp approach. | 19:41 |
|
jast
| but for that you could use checkout -m instead :) | 19:41 |
|
crab
| another thing: "git stash branch x" allows you to restore your stashed changes in a new branch without conflicts, even if in your working branch you've made changes that would conflict with the stashed changes. | 19:41 |
|
| mjd: you can just git checkout otherbranch, uncommitted changes will be merged into your new working tree by default. | 19:42 |
| ← bentob0x left | 19:42 |
| ← ProperNoun left | 19:42 |
|
jast
| crab: checkout normally only does a trivial merge. you need -m for it to do a full merge. | 19:42 |
| ← markelikalderon left | 19:43 |
| ← tildeequals left | 19:43 |
| → jmcantrell joined | 19:43 |
| → markelikalderon joined | 19:44 |
| ← markelikalderon left | 19:45 |
|
crab
| jast: if there are non-trivial conflicts, i personally prefer checkout otherbranch to fail safely and let me reconsider what i'm doing rather than running checkout -m always and then having to resolve or reset. | 19:45 |
|
jast
| yeah, always running checkout -m isn't that useful | 19:45 |
| ← krycek_ left | 19:45 |
|
jast
| I only recommended it as a replacement for stash/checkout/stash pop | 19:45 |
| → bewst joined | 19:47 |
| ← drizzd left | 19:47 |
|
bewst
| What is "REUC extension," and is there a way to get git to ignore it silently? | 19:48 |
| ← auslander left | 19:49 |
| ← kur1j left | 19:49 |
|
crab
| bewst: i'm afraid not. | 19:50 |
|
bewst
| argh; magit is choking on the message | 19:50 |
| ← rafalkoszyk left | 19:51 |
| → auslander joined | 19:51 |
| ← auslander left | 19:51 |
| → auslander joined | 19:51 |
|
crab
| bewst: from reading the code it seems you have an extension record in your index (of type REUC which apparently means resolve undo conflict, whatever that means), which your git doesn't understand. | 19:51 |
|
| i'm puzzled by how that might happen. did you downgrade to an older version of git or something? | 19:52 |
|
bewst
| crab: nope | 19:52 |
|
crab
| but anyway, the warning is emitted unconditionally. | 19:52 |
|
| when do you get this warning? | 19:52 |
| ← urkud left | 19:52 |
|
bewst
| crab: I do seem to have a few git executables though | 19:53 |
|
| Ah, I have 1.6.1 in /usr/local/bin and 1.7.0.3 in /opt/local/bin odd | 19:54 |
|
crab
| that might explain it. perhaps you used a newer one at some point, and are now using an older one. | 19:54 |
| ← Arelius left | 19:54 |
|
dennda
| How do you do an svn merge via git svn? | 19:54 |
| ← d0k left | 19:54 |
| ← tg left | 19:54 |
| → tg joined | 19:55 |
| → Arelius joined | 19:55 |
|
bewst
| crab: that's it! Thanks a lot. | 19:55 |
| → urkud joined | 19:55 |
| ← sgh left | 19:56 |
| ← brizly left | 19:56 |
| → sgh joined | 19:56 |
| ← Aides left | 19:56 |
| → Aides joined | 19:56 |
| → florianb joined | 19:58 |
| → mw joined | 19:58 |
| ← mw left | 19:58 |
| → mw joined | 19:58 |
| ← bx2 left | 19:58 |
| → jboom joined | 19:59 |
| ← Nemurenai left | 19:59 |
| ← gnufied left | 20:00 |
| ← meanburrito920 left | 20:00 |
| → gwoo joined | 20:00 |
| ← IslandUsurper left | 20:01 |
| ← Belna_ left | 20:03 |
| ← jboom left | 20:03 |
| ← aresnick left | 20:03 |
| → eletuchy joined | 20:04 |
| → meanburrito920 joined | 20:04 |
| → dfghjkl joined | 20:05 |
| ← snucko left | 20:05 |
| → mdr22_ joined | 20:06 |
| ← petercoulton left | 20:07 |
| ← dfghjkl left | 20:07 |
| ← mdr22 left | 20:08 |
| mdr22_ → mdr22 | 20:08 |
|
murbank
| What is a good way to determine how my local repo differs from origin? (new branches, new commits) | 20:10 |
|
crab
| git fetch+git log | 20:10 |
| → tildeequals joined | 20:12 |
| frakturfreak_ → frakturfreak | 20:13 |
| → vinse joined | 20:13 |
| ← Arelius left | 20:13 |
| → Arelius joined | 20:13 |
| → juro joined | 20:14 |
| → sixteneighty joined | 20:15 |
|
juro
| hi, I am pretty new to git (coming from svn). how can I ignore all folders named base? does "base/" in .gitignore handle that? | 20:15 |
| → carneades joined | 20:15 |
| → drizzd joined | 20:16 |
|
carneades
| hi, i'm writing a build script and i'd like to make a tag for the release, push the tag and push the changes into master | 20:16 |
|
| but right now it will only do one or the other, and the second push gets "already up to date" | 20:16 |
|
| i'm doing something like this: http://gist.github.com/375758 | 20:18 |
| → johnw joined | 20:19 |
| → hagna joined | 20:19 |
|
hyperqbe
| carneades: i'm new to git, but i think that a tag has to point to an existing commit, so when you push the tag, you're automatically pushing the changes up to that tag | 20:19 |
| → bjornbjorn joined | 20:19 |
|
carneades
| right that's exactly what's happening | 20:19 |
|
| it doesn't go into master | 20:19 |
|
| hyperqbe: so i should commit, push to master, and then tag referencing that commit? | 20:20 |
| → henr_k joined | 20:20 |
| ← drizzd left | 20:21 |
|
hagna
| how do I keep a file in the repo with the version number in it as reported by git-descrive? | 20:21 |
|
| descibe I mean | 20:21 |
|
| gah | 20:21 |
| → drizzd joined | 20:21 |
|
hyperqbe
| these other guys can help you better... but are the changes in master on your local repository before the push? | 20:22 |
|
carneades
| yes, before the script starts i'm in master, the build script changes version numbers in various file automatically. then it commits those changes to my local master. then what i want to do is push to remote master and create a tag to mark the official release also on remote master | 20:23 |
|
nDuff
| hagna, that sounds to me like something I'd do in my makefile at build time. | 20:24 |
| ← meanburrito920 left | 20:24 |
|
crab
| carneades: tag the commit on the local master and push --tags to the origin. | 20:24 |
| → aresnick joined | 20:25 |
| → hegge joined | 20:25 |
| ← juro left | 20:26 |
|
hagna
| nDuff what if you are building a release that has not .git? | 20:26 |
|
carneades
| crab: is this what you have in mind? http://gist.github.com/375774 | 20:26 |
|
| hyperqbe: thanks anyway for your help, i appreciate it | 20:26 |
|
nDuff
| hagna, build your release tarballs with a makefile that creates that file. | 20:27 |
|
crab
| carneades: yes. does that not do what you want? in which case, i don't understand what you want. | 20:27 |
|
carneades
| crab: if push --tags will both put the tag on the remote and push my changes to master, then yes that's what i want | 20:28 |
| → traviscline joined | 20:28 |
|
crab
| yes, that's what it should do. | 20:28 |
|
carneades
| thank you very much for your help | 20:28 |
|
traviscline
| sitaram: is it possible to only allow deletion of all but some refs? | 20:28 |
|
| in gitolite? | 20:28 |
| ← kpreid_ left | 20:29 |
|
hagna
| nDuff: good idea could I still use git archive to make the tarball? The version file would not be in the git tree I suppose. | 20:29 |
| → slonopotamus joined | 20:29 |
| ← johnw left | 20:29 |
| ← carneades left | 20:29 |
| ← zhobbs_ left | 20:30 |
| → kylehayes joined | 20:30 |
|
kylehayes
| is git pronounced "git" or "get" | 20:30 |
| ← Arelius left | 20:30 |
|
crab
| git | 20:31 |
|
hagna
| like it's spelled | 20:31 |
|
crab
| hagna: run git-archive --prefix=foo HEAD|tar xf -, then git-describe HEAD > foo/new-version-file, and tar cf release.tar foo/ | 20:31 |
|
kylehayes
| ok, I was once told as get, but that always confused me | 20:31 |
|
| thanks | 20:31 |
| → Arelius joined | 20:32 |
| ← mdr22 left | 20:32 |
| → johnw joined | 20:32 |
|
crab
| hagna: or look at gitattributes(5) and use that export-subst thing. | 20:32 |
| → mjf joined | 20:33 |
| ← ShaunR left | 20:35 |
| ← mythos left | 20:36 |
| ← mefesto left | 20:36 |
| ← DavidKlein left | 20:36 |
| ← aspotashev|eeepc left | 20:36 |
| → lanthan__ joined | 20:37 |
|
hagna
| crab: ok cool | 20:38 |
| → aspotashev|eeepc joined | 20:38 |
| ← auslander left | 20:39 |
| ← dmg left | 20:40 |
| ← lanthan_ left | 20:40 |
| → snitko joined | 20:41 |
| ← snitko left | 20:41 |
|
microm
| is there a gitweb RSS feed that gives me all changes on all branches? It seems to be a "per-head" feed. | 20:42 |
| ← florianb left | 20:46 |
| ← sixteneighty left | 20:47 |
| → bx2 joined | 20:47 |
| ← wonder95 left | 20:47 |
| ← tzafrir left | 20:47 |
| ← binjured left | 20:49 |
| ← Arelius left | 20:50 |
| → Arelius joined | 20:50 |
| → ilteris joined | 20:51 |
| → meanburrito920 joined | 20:51 |
| → mythos joined | 20:51 |
| → Nemurenai joined | 20:51 |
| ← ilteris left | 20:51 |
| → IslandUsurper joined | 20:51 |
| → Twisted_Mentat joined | 20:53 |
| → notjohn joined | 20:55 |
| → ksn joined | 20:56 |
| ← WALoeIII left | 20:56 |
| → WALoeIII joined | 20:57 |
| ← Aides left | 20:59 |
| ← cannonball left | 21:00 |
| ← lhz left | 21:01 |
| → hakunin joined | 21:02 |
| → d-snp joined | 21:02 |
| ← menace left | 21:02 |
| → wonder95 joined | 21:04 |
| → Aides joined | 21:07 |
| ← Arelius left | 21:07 |
| ← khmarbaise left | 21:07 |
| → Arelius joined | 21:08 |
| ← k0001 left | 21:09 |
| ← Nemurenai left | 21:10 |
| ← altrux left | 21:11 |
| → lambda joined | 21:11 |
| → pantsman joined | 21:11 |
|
lambda
| hi all, I am trying to remove some directories from repo based on howto http://dound.com/2009/04/git-forever-remove-files-or-folders-from-history/, everything work fine, just size of repo remains the same, what I am doing wrong? thanks in advance. ML | 21:13 |
| ← engla left | 21:14 |
|
pantsman
| titties | 21:14 |
|
doener
| lambda: should be "git reflog expire --expire=0 --all" (--expire=0 added), and (given a modern git version) "git gc --aggressive --prune=0" | 21:15 |
| ← jmcantrell left | 21:15 |
|
doener
| lambda: with an ancient git, use "git repack -adf --window=250 --depth=250" instead of "gc" | 21:16 |
| ← iaefai left | 21:16 |
|
wonder95
| when I try to clone a repo to my laptop from a server over SSH using [email@hidden.address] I can clone, but I get "error: insufficient permission for adding an object to repository database ./objects" when I try to push | 21:16 |
|
| and if I use ssh://git@mydomain.com, I get "ERROR:gitosis.serve.main:Repository read access denied" | 21:17 |
|
| I have my keys specified in gitosis.conf, and the .pub keys are on the server | 21:18 |
|
| what am I missing? | 21:18 |
|
jast
| probably write permissions are not configured correctly in gitosis.conf | 21:19 |
| ← icefox left | 21:20 |
| → icefox joined | 21:20 |
| → Zare joined | 21:20 |
|
wonder95
| jast: I have "writable = myrepo.git" and members = mykey.pub" in there | 21:20 |
| ← tar- left | 21:22 |
| ← Zare left | 21:22 |
| → Nemurenai joined | 21:22 |
| ← bx2 left | 21:23 |
|
doener
| wonder95: IIRC you have to drop the ".pub" part | 21:23 |
| → stamina joined | 21:23 |
|
wonder95
| doener: right, I don't have the .pub part in there - IRC type | 21:23 |
|
| er, typo | 21:23 |
| → bx2 joined | 21:24 |
| ← aspotashev|eeepc left | 21:24 |
|
doener
| wonder95: and your ssh config is setup to use the right key? (assuming that you have more than one) | 21:24 |
| ← bx2 left | 21:24 |
| → neutrino joined | 21:24 |
| neutrino → tar- | 21:24 |
| → aspotashev|eeepc joined | 21:24 |
| ← Arelius left | 21:25 |
| ← khaase left | 21:25 |
| → khaase joined | 21:25 |
| → Arelius joined | 21:25 |
|
wonder95
| doener: hmmm ... is it true that you can't use the same key for Git and for connecting to the server | 21:25 |
|
doener
| not for the same user. But I guess I'm stupid. You got a gitosis error, so you must be using the right key, otherwise gitosis wouldn't be used at all IIRC | 21:27 |
|
cbreak
| I use the same | 21:27 |
|
| for git and normal ssh | 21:27 |
|
doener
| wonder95: btw, if you're only starting out, you might want to use gitolite instead of gitosis | 21:27 |
|
wonder95
| cool | 21:27 |
|
cbreak
| because git is built on top of normal ssh, that's not a problem | 21:28 |
| → Textmode joined | 21:29 |
| ← kar8nga left | 21:30 |
|
Ilari
| wonder95: Just pay attention to message it prints at end of install (or you get somewhat puzzling problems). | 21:33 |
|
Textmode
| morning all | 21:33 |
| ← raichoo left | 21:33 |
| ← khaase left | 21:36 |
|
traviscline
| is there a way to have reflog log all ref changes, including remote refs? | 21:36 |
|
Ilari
| traviscline: Well, remote tracking refs do have reflogs. | 21:37 |
|
traviscline
| oh, I mean if you delete a remote ref can the log stay around? | 21:37 |
| ← tbf left | 21:37 |
|
traviscline
| i had a somewhat scary situation where i accidentally the wrong remote branch | 21:37 |
|
| and had to go to another clone to repush it | 21:37 |
| ← nbaum left | 21:37 |
| → bradman joined | 21:38 |
| ← camonz left | 21:39 |
| ← Nemurenai left | 21:39 |
| ← simNIX left | 21:39 |
| → GyrosGeier joined | 21:40 |
| → Espen-_- joined | 21:40 |
| ← radioman-lt left | 21:41 |
| ← Yuuhi left | 21:41 |
| ← doener left | 21:42 |
| ← Arelius left | 21:43 |
|
bradman
| Does anyone have any recommendations for git graphical frontends, aimed at novice git users? We have a mix of Mac and Windows PCs, do something that's cross-platform would be ideal. I've been testing out SmartGit (commercial) but was wondering about other options. | 21:43 |
| → ded` joined | 21:43 |
| ← aziz left | 21:43 |
| → doener joined | 21:44 |
|
Vampire0_
| bradman, how about git-gui/gitk which are shipped with git? :-) | 21:44 |
| → Arelius joined | 21:44 |
|
ded`
| git branch -r is listing branches that don't really exist on the remote, despite git fetch. What's up? | 21:44 |
|
bradman
| Vampire0_:I'm just reading about those now... | 21:45 |
|
ded`
| I mean they use to exist, but no longer. How to force consistency? | 21:45 |
|
Vampire0_
| ded`, man git-remote | 21:46 |
|
Gitbot
| ded`: the git-remote manpage can be found at http://git.or.cz/man/git-remote | 21:46 |
| ← masterkorp left | 21:46 |
| ← stringo0 left | 21:46 |
| ← gebi left | 21:47 |
|
ded`
| Vampire0_, ah prune right thanks. | 21:47 |
|
Vampire0_
| you're welcome | 21:48 |
| → blaines joined | 21:48 |
| → byteframe joined | 21:48 |
|
AlericInglewood
| I have: A (<-tag:root) -- B -- C -- D -- E (<-branch:current), now I want to rebase the diff from D to E onto A | 21:49 |
|
| If I do: git rebase --onto root D current | 21:49 |
|
| what will happen to B -- C -- D ? | 21:49 |
| → docelic_ joined | 21:50 |
| → u_me joined | 21:51 |
| → stringo0 joined | 21:51 |
| → [J]stringo0 joined | 21:52 |
|
AlericInglewood
| I'll try: | 21:52 |
|
| git checkout current | 21:52 |
|
| git checkout -b topic/privacy | 21:52 |
|
| git rebase -i --into root HEAD~1 topic/privacy | 21:52 |
|
| --onto I mean | 21:52 |
|
u_me
| h i all | 21:52 |
| → ryan_scott joined | 21:53 |
| ← jrmuizel left | 21:54 |
|
AlericInglewood
| ok, that worked... now I want to erase the last commit on 'current'... | 21:54 |
|
| Would that be: git checkout current; git reset --hard HEAD~1 ? | 21:55 |
|
Vampire0_
| AlericInglewood, from the man git-rebase page I would say in your ABCDE example you get A -- E' from your command. If you want to have A -- D' -- E' I guess it would be "git rebase --onto root C current" | 21:55 |
|
Gitbot
| AlericInglewood: the git-rebase manpage can be found at http://git.or.cz/man/git-rebase | 21:55 |
|
sitaram
| traviscline: ping | 21:55 |
|
traviscline
| sitaram: pong | 21:55 |
|
AlericInglewood
| Vampire0_: no I just wanted the last (E) | 21:55 |
|
Vampire0_
| ok | 21:56 |
|
| but | 21:56 |
|
| if you now remove the last commit on current current will point to A I think | 21:56 |
| → tzafrir joined | 21:56 |
|
Vampire0_
| current should point to E' now | 21:56 |
|
| If I got it correct | 21:56 |
| → gabeodess joined | 21:56 |
|
Vampire0_
| gitk should verify that | 21:56 |
|
AlericInglewood
| I was afraid that I'd lose B-C-D | 21:56 |
| ← u_me left | 21:56 |
|
AlericInglewood
| So I created a new branch (topic/privacy) and rebased that. | 21:57 |
|
| Now that worked I can delete the last commit on the 'current' branch | 21:57 |
|
Vampire0_
| So topic/privacy points to E' and current still to E, correct? | 21:57 |
|
sitaram
| traviscline: pasting something; give me 2-3 min | 21:57 |
|
AlericInglewood
| yes | 21:57 |
|
Vampire0_
| Then I think your reset command should do what you want | 21:58 |
|
gabeodess
| Hey guys, my server (running Ubuntu) looks like it is running an old version of git (1.1.3) and I think I'm having compatibility issues with capistrano. Can anyone tell me what the best approach would be to getting my git package updated? | 21:58 |
| ← lucsky left | 21:58 |
|
Vampire0_
| though I'm also a git newbie :-) | 21:58 |
|
crab
| gabeodess: see if backports has a newer version | 21:58 |
|
Vampire0_
| gabeodess, maybe updating Ubuntu? :-) | 21:58 |
|
| 1.1.3 is really old, so I guess your Ubuntu installation is also *g* | 21:58 |
|
gabeodess
| crab: what is backports? how do I check that? | 21:58 |
|
Vampire0_
| ah, you have dapper drake installed | 21:59 |
| ← notjohn left | 21:59 |
| ← bradman left | 22:00 |
|
Vampire0_
| that's really very old. But if you insist on continue using it, in the dapper-backports repository you have at least git 1.5.4.5 | 22:00 |
|
AlericInglewood
| What is the difference between HEAD^ and HEAD~1 ? | 22:00 |
|
Vampire0_
| Which is still quite old now | 22:00 |
|
sitaram
| traviscline: http://pastebin.com/SBYcJNa0 -- you can delete any branch except b1; work from there | 22:01 |
|
Vampire0_
| AlericInglewood, they reference the same | 22:01 |
|
traviscline
| sitaram: thanks | 22:01 |
|
| sitaram: it didn't seem like i could do RWD, should i be able to? | 22:01 |
|
Vampire0_
| gabeodess, http://packages.ubuntu.com/search?keywords=git-core&searchon=names&suite=all§ion=all | 22:01 |
|
traviscline
| it said it couldn't make sense of it (1.4.1)( | 22:01 |
| ← JEEB left | 22:01 |
|
sitaram
| traviscline: and this was always possible, even with the old meaning of RW+ including delete | 22:01 |
|
crab
| gabeoddess: https://help.ubuntu.com/community/UbuntuBackports | 22:01 |
|
traviscline
| gotcha | 22:01 |
| ← bewst left | 22:01 |
| ← Arelius left | 22:02 |
| → JEEB joined | 22:02 |
|
Vampire0_
| AlericInglewood, HEAD^ is the 1. parent (of multiple ones in case of a merge commit) HEAD~ is the 1. generation parent | 22:02 |
| → Arelius joined | 22:02 |
|
Vampire0_
| AlericInglewood, man git-rev-parse shows all the ways to specify a rev with examples | 22:03 |
|
Gitbot
| AlericInglewood: the git-rev-parse manpage can be found at http://git.or.cz/man/git-rev-parse | 22:03 |
|
gabeodess
| Thanks Vampire0_. How do I check which version of ubuntu I have? | 22:03 |
|
avar
| gabeodess: "About Ubuntu" | 22:04 |
|
Vampire0_
| you have dapper drake which is 6.06 LTS | 22:04 |
|
sitaram
| traviscline: the rules for "D" are described in commit message 2a776e and in doc/3 "separating delete and rewind rights" | 22:04 |
|
Vampire0_
| avar, "About Ubuntu" on a server system? I doubt he has a running X there | 22:05 |
| ← khelll left | 22:05 |
|
sitaram
| traviscline: this is "pu"; not yet in master I think | 22:05 |
|
gabeodess
| I do not | 22:05 |
|
sitaram
| wait lemme check | 22:05 |
|
gabeodess
| Vampire0_: are you saying I have dapper drake? | 22:05 |
|
Vampire0_
| gabeodess, besides believing me you can e. g. have a look at the file /etc/apt/sources.list | 22:05 |
|
| gabeodess, Yes, I do | 22:05 |
|
gabeodess
| how do you know? | 22:05 |
| ← d0ugal left | 22:05 |
|
Vampire0_
| Look at the page I gave you | 22:06 |
|
gabeodess
| I didn't tell you anything | 22:06 |
|
Vampire0_
| You did | 22:06 |
|
| You told me your git version | 22:06 |
|
gabeodess
| true | 22:06 |
| → altogether joined | 22:06 |
|
Vampire0_
| dapper drake is the only one where 1.1.3 is available | 22:06 |
|
| [00:01:30] <Vampire0_> gabeodess, http://packages.ubuntu.com/search?keywords=git-core&searchon=names&suite=all§ion=all | 22:06 |
| Vampire0_ → Vampire0 | 22:06 |
|
gabeodess
| Vampire0_: okay... does that mean I actually have the latest version of git for my version of Ubunto? | 22:07 |
|
| ubuntu | 22:07 |
| ← danferranti left | 22:07 |
|
gabeodess
| ...which is why you said to update Ubuntu. | 22:07 |
| ← alley_cat left | 22:07 |
|
Vampire0
| yes and no | 22:07 |
| → kylehayes_ joined | 22:07 |
|
Vampire0
| you have the latest version of git in the "normal" repository | 22:08 |
|
| you can have a newer version (which is still quite old) in the backports repository which provides backports of newer version that don't make it into the normal repository | 22:08 |
| ← Paraselene_ left | 22:08 |
|
Vampire0
| I think the link crab gave you explains the principle | 22:08 |
| → Mage joined | 22:08 |
|
Vampire0
| you should read the links ppl give you | 22:09 |
|
| Updating Ubuntu is one way which has other advantages | 22:09 |
|
| besides that I prefer Debian for server systems and Ubuntu only for end-user desktop systems | 22:09 |
|
| You can also get the git sourcecode from the git git repository and build git yourself | 22:10 |
|
gabeodess
| can I update Ubuntu with apt-get? and do I have to worry about losing data on my server during the update? | 22:10 |
|
Vampire0
| Then you have the very latest version | 22:10 |
|
gabeodess
| ahh | 22:10 |
|
| that sounds good. | 22:10 |
|
| oh man... I'm so in the dark about all this stuff. | 22:10 |
| ← hyperqbe left | 22:11 |
|
Vampire0
| Then pay a well trained server administrator :-) | 22:11 |
| ← kylehayes left | 22:11 |
|
Vampire0
| It has good reasons such guys are not too cheap ;-) | 22:11 |
|
gabeodess
| yeah... I keep telling my boss that. | 22:11 |
| ← kylehayes_ left | 22:12 |
|
AlericInglewood
| While being on the branch foobar, how can I cherry-pick the last commit on branch 'current'? | 22:13 |
|
Vampire0
| gabeodess, just break something and he will see :-D | 22:14 |
|
| AlericInglewood, did you read the man-page already? | 22:14 |
|
DrNick
| AlericInglewood: out of curiosity, what part of the git cherry-pick manual confuses you? | 22:14 |
|
gabeodess
| Vampire0: yeah... I do all the time... it doesn't seem to be quite the motivation he needs. | 22:15 |
|
AlericInglewood
| Vampire0: I read it before I asked :p | 22:15 |
|
gabeodess
| he just gets mad... but still doesn't want to spend money | 22:15 |
|
Vampire0
| gabeodess, break something you cannot fix afterwards *g* | 22:15 |
|
| And that costs him lots of money | 22:15 |
|
| but beware, that could be dangerous for you job :-) | 22:15 |
|
gabeodess
| true. haha | 22:15 |
|
AlericInglewood
| DrNick: It says "git-cherry-pick [--edit] [-n] [-x] <commit>", but if I type 'current' at the place of commit... that confuses me, because 'current' is a branch, and not the last commit only | 22:16 |
|
Vampire0
| a branch is nothing else than a pointer to ONE commit | 22:16 |
|
| that this pointer is called a branch is just convention | 22:16 |
|
sitaram
| traviscline: I was due to promote pu to master anyway; done | 22:16 |
|
Vampire0
| your commits are not on a branch | 22:16 |
|
sitaram
| traviscline: so that RWD or RW+D (no more standalone "D") is now in master | 22:16 |
|
AlericInglewood
| Ok, so I can treat a "branch" as commit and I'll get just the last commit | 22:16 |
|
Vampire0
| all your commits are in a gargantuous tree of commits | 22:17 |
|
| and some labels are put on certain commits | 22:17 |
|
crab
| gargantuous. | 22:17 |
|
Vampire0
| some of them are called tags, some branches | 22:17 |
| ← hebz0rl left | 22:17 |
|
Vampire0
| As far as I understood it AlericInglewood, yes | 22:17 |
|
| You can also just try | 22:18 |
|
AlericInglewood
| Yeah, I understood that a branch is a tag that moves along automatically when you commit on top of it. | 22:18 |
|
Vampire0
| There is almost nothing in git that you cannot undo afterwards | 22:18 |
|
| exactly AlericInglewood | 22:18 |
|
jast
| wonder95: sorry, missed that. for the record, you should have dropped the ".git" in the writable line, too. | 22:18 |
| ← psoo left | 22:18 |
|
AlericInglewood
| I thought that maybe I'd have to type current{1}..current :p | 22:19 |
|
wonder95
| jast: yeah, I didn't have it there, either - thanks, though | 22:19 |
|
Vampire0
| AlericInglewood, I guess you mean current@{1}..current? | 22:20 |
|
| Which would not be correct | 22:20 |
| ← Arelius left | 22:20 |
|
AlericInglewood
| Vampire0: I forgot where I read about the '..' :/ | 22:20 |
|
Vampire0
| because if you e. g. did a git reset, the reflog (the thing you reference with the @{1} notation) doesn't hold the parent of current | 22:20 |
|
jast
| wonder95: anyway, gitosis doesn't like ssh:// URLs that much, you're better off using URLs like [email@hidden.address] | 22:21 |
|
Vampire0
| the .. was correct | 22:21 |
|
jast
| (iirc) | 22:21 |
|
Vampire0
| But you meant current^..current or current~..current | 22:21 |
|
| or, if I remember correctly simply current^! which is a shorthand for that | 22:21 |
|
AlericInglewood
| %-) | 22:21 |
|
Vampire0
| But still, that specifies a range | 22:21 |
|
| and you just want one commit | 22:21 |
|
| you should really do what I tell you | 22:22 |
| → Arelius joined | 22:22 |
|
AlericInglewood
| cherry-pick only CAN take a single commit no? | 22:22 |
|
Vampire0
| Not always only on the second time | 22:22 |
|
| In this case I mean reading man git-rev-parse | 22:22 |
|
Gitbot
| Vampire0: the git-rev-parse manpage can be found at http://git.or.cz/man/git-rev-parse | 22:22 |
|
jast
| AlericInglewood: yep, only one | 22:22 |
|
Vampire0
| Which shows you all ways to specify revisions and ranges | 22:22 |
|
AlericInglewood
| I guess it would not accept a .. notation then | 22:22 |
|
jast
| it wouldn't make much sense, anyway | 22:22 |
|
wonder95
| jast: no matter what I try with the git user, I get "ERROR:gitosis.serve.main:Repository read access denied", but everything is owned by the git user on the server | 22:23 |
|
Vampire0
| I don't know AlericInglewood, maybe it would work with a range that only contains one commit, but as I said, this is not necessary at all | 22:23 |
|
jast
| wonder95: yeah, well, gitosis's "read access denied" message doesn't generally refer to filesystem permissions | 22:23 |
|
Vampire0
| wonder95, may I suggest using gitolite? It supersedes the not longer maintained gitosis and has more features | 22:23 |
|
jast
| that too | 22:24 |
|
wonder95
| yeah, I'm starting to think that's what I need to use | 22:24 |
|
jast
| oh well, I gotta go. I'm cutting my sleepytime dangerously short again | 22:24 |
|
Vampire0
| That's a good start | 22:24 |
|
wonder95
| thanks for the suggestions | 22:24 |
|
Vampire0
| Now just do it :-) | 22:24 |
|
| yw | 22:24 |
| ← infogulch left | 22:25 |
| ← gabeodess left | 22:25 |
| ← hagna left | 22:26 |
| → mike6 joined | 22:26 |
|
mike6
| hi | 22:26 |
|
Rolenun
| howdy! :D | 22:26 |
| → strop joined | 22:27 |
| ← ph^ left | 22:27 |
|
Vampire0
| yeehaw | 22:27 |
|
Rolenun
| hehe, even I know how to answer a hello :D | 22:27 |
|
| my works done :D | 22:27 |
|
mike6
| m, new to git and coming from svn, so i got some questins regarding branches | 22:28 |
|
| can someone plz help me here? | 22:28 |
|
Vampire0
| Hey, you can answer any question Rolenun, look at me | 22:28 |
|
| Noone cares whether the answer is correct or not :-D | 22:28 |
|
Rolenun
| mike6: http://progit.org/book/ | 22:28 |
|
| :) | 22:28 |
|
| all will be revealed :D | 22:28 |
|
mike6
| yeah i know, but i was thiking i just a simple fast not-painly question | 22:29 |
|
Vampire0
| mike6, if, after reading some documentation like what Rolenun suggested, or the man-pages, or the community book you still have questions | 22:29 |
|
| or you already have read some, you should post some real questions | 22:29 |
|
Rolenun
| i never even saw your question Vampire0 :) | 22:29 |
|
Vampire0
| asking to ask is not a good idea in IRC because usually noone will answer to such questions | 22:29 |
| ← ded` left | 22:30 |
|
Vampire0
| Rolenun, I didn't post a question lately | 22:30 |
|
Rolenun
| for generic questions, I always point to that site :D | 22:30 |
|
| lol, you said I can answer your question? | 22:30 |
|
Vampire0
| no, i didn't | 22:30 |
|
| at least I didn't want to say that | 22:30 |
|
Rolenun
| <Vampire0> Hey, you can answer any question Rolenun, look at me | 22:30 |
|
mike6
| well havent read many documentation, just the svn crash course | 22:31 |
|
Rolenun
| aha! a generic statement lol | 22:31 |
| ← sgh left | 22:31 |
| ← Theravadan left | 22:31 |
|
Vampire0
| mike6, as I said, just state your question. If it is too trivial, we will tell you to read the documentation. :-D | 22:31 |
|
| Rolenun, exactly. and the line below that one you quoted was actually part of the sense | 22:32 |
|
| I meant look at me how I answer questions | 22:32 |
|
Rolenun
| I just saw the Rolenun line :D | 22:32 |
|
Vampire0
| [00:28:20] <Vampire0> Hey, you can answer any question Rolenun, look at me | 22:32 |
|
| [00:28:30] <Vampire0> Noone cares whether the answer is correct or not :-D | 22:32 |
| ← johnw left | 22:32 |
|
mike6
| m actually right reading git branching right now, but the question was... if i set the git-clone branch arg poiting to an a special branch, when i "pull" the repository updates, the copy will always point to that branch | 22:32 |
|
Vampire0
| now got both ones? | 22:32 |
|
mike6
| or i have always put what bracnh i want | 22:33 |
|
Vampire0
| mike6, I'm sorry, but I cannot tell you whether the question is trivial, because unfortunately I didn't get what you wanted to say. That could be cause by me not being a native speaker though | 22:34 |
|
Rolenun
| he's asking if there is a way to set a default branch for pulling | 22:35 |
|
wonder95
| Vampire0: if I have gitosis installed, do I need to delete anything first before installing gitloite? | 22:35 |
|
Vampire0
| wonder95, I don't know, I used neither of both. I just know what I told you about those :-) | 22:35 |
|
Rolenun
| lol, that makes two of us. I use github if I really need a server based git system. | 22:36 |
|
mike6
| me too Vampire0, m from mx | 22:36 |
|
Vampire0
| Rolenun, there are people that don't want their code hosted on someone elses servers ;-) | 22:37 |
|
Rolenun
| exactly, which is why git is the best option. | 22:37 |
|
Vampire0
| mike6, sorry? | 22:37 |
| → christophsturm joined | 22:38 |
| → Wraithan joined | 22:38 |
|
Vampire0
| sure Rolenun but sometimes you need a central server which still should not be on someone elses servers | 22:38 |
|
| think about a company :-) | 22:38 |
|
Rolenun
| git is a central server | 22:38 |
|
mike6
| Rolenun understand very well my question, but well, m reading the git-pull manpage and seems to say that git-config is in charge what exactly of what m looking for | 22:38 |
|
Rolenun
| provides upload and download via command line | 22:38 |
| → coppro joined | 22:39 |
|
Rolenun
| great :) | 22:39 |
|
Vampire0
| Rolenun, you know very well what I mean :-P | 22:39 |
| → ntoll joined | 22:40 |
|
icefox
| Vampire0: looking for something simple or something webbased like github/gitorious? Got a little web app I have been working on called GitHaven and am looking for some beta testers | 22:40 |
|
Rolenun
| not really....github for offsite storage if absolutely necessary, otherwise, ppl pulling from me IS my backup | 22:40 |
| ← Arelius left | 22:40 |
|
Rolenun
| oh right...no one pulls from you :D | 22:40 |
|
Vampire0
| No icefox, I'm not, but thanks. | 22:41 |
| ← tar- left | 22:41 |
| ← Ryback_ left | 22:41 |
| ← cozmo left | 22:41 |
| ← aspotashev|eeepc left | 22:41 |
|
Vampire0
| Rolenun, you should just accept that not everyone is using the real distributed approach | 22:42 |
| → neutrino joined | 22:42 |
| neutrino → tar- | 22:42 |
|
Vampire0
| imagine a company | 22:42 |
|
| they still want and need their code at a central place | 22:42 |
| → Arelius joined | 22:42 |
|
ShooterMG
| Vampire0: nothing from stopping you from doing that with git, if that's what you're wondering | 22:43 |
|
| i've got repos everywhere | 22:43 |
|
| just put a repo on a server and put a sticky note on the case that says 'git server' lol | 22:43 |
|
Rolenun
| Vampire0, I'll never accept that. may as well use svn :D | 22:43 |
| ← mtkd left | 22:44 |
|
Vampire0
| aaargh ShooterMG I don't have a question, thanks | 22:44 |
|
| not currently | 22:44 |
|
| just chatting with Rolenun about general usage patterns | 22:44 |
|
| :-) | 22:44 |
|
ShooterMG
| wonderful :) | 22:44 |
|
crab
| wow, githaven is expensive. | 22:45 |
|
icefox
| crab: haha you havn't looked at GitHub:Fi have you | 22:45 |
|
Wraithan
| We use git at work, and use a central repo. But using git gives us all the benefits of having the whole history local, as well as gits awesome merging | 22:46 |
| ← tvw left | 22:46 |
| → shruggar joined | 22:46 |
|
crab
| what is github:fi? | 22:46 |
|
Wraithan
| plus I can pull from a co-worker directly should we be working on something together, instead of having to push it to the central repo before it is ready and the tests aren't passing yet | 22:46 |
| ← killerchicken_ left | 22:47 |
|
icefox
| crab: a local install of GitHub, $850/person + support | 22:47 |
| → gabeodess joined | 22:47 |
| ← ntoll left | 22:47 |
| ← mike6 left | 22:48 |
|
Wraithan
| why would someone ever use githaven over gitorious or similar? | 22:48 |
|
icefox
| Wraithan: ever try to install/maintain a gitorious box? | 22:48 |
| → ntoll joined | 22:48 |
|
icefox
| thats why I made GitHaven | 22:48 |
|
schacon
| hey icefox - how you been? | 22:48 |
|
icefox
| I need something simple that works | 22:49 |
|
crab
| icefox: oh. well, your demo site looks nice. (i saw it yesterday, you posted a link in an HN comment) | 22:49 |
| ← hakunin left | 22:49 |
| ← ntoll left | 22:49 |
|
schacon
| i guess you got home ok, huh? | 22:49 |
|
icefox
| schacon: hey there, been good | 22:49 |
| → hakunin joined | 22:49 |
|
Wraithan
| icefox: gitorious is easy to maintain... I've done it for 2 companies | 22:50 |
|
icefox
| between gitorious being hard to install and maintain and I don't really like the project base v.s. people based for repositories and GitHub:Fi being really expensive there might be a nitch. If not I always have it for myself | 22:50 |
| ← thiago_home left | 22:50 |
| ← agile left | 22:50 |
|
ShooterMG
| i think your pricing for githaven is really smart | 22:50 |
|
crab
| niche | 22:50 |
|
AlericInglewood
| Um, so ... git reset is just a way to move the branch "tag", correct? | 22:50 |
|
icefox
| niche :) And if there isn't one well i'll just bsd it and put it out there | 22:51 |
| ← lambda left | 22:51 |
|
Wraithan
| I think the pricing is outrageous for something that does little to nothing. | 22:51 |
|
crab
| aleric: that, and a little more. git reset --hard is a way to move the branch head. | 22:51 |
|
Wraithan
| *shrug* | 22:51 |
| → esc joined | 22:51 |
| ← giallu left | 22:52 |
|
AlericInglewood
| crab: *confused* ... I thought it always moved the HEAD, and the branch that the HEAD was pointing to... but moving the branch. | 22:52 |
|
| s/but/by/ | 22:52 |
|
schacon
| i think you're outrageous for something that does little to nothing | 22:52 |
| ← airborn left | 22:52 |
| ← adaro left | 22:52 |
|
AlericInglewood
| crab: Suppose I want to move a branch(tag) from whereever it is to a commit at SHA1, .. can I do that with git reset? | 22:53 |
| → gabeodess_ joined | 22:53 |
| ← esc left | 22:53 |
|
Vampire0
| AlericInglewood, reset can move the branch head, it can also reset the index and/or the working tree if desired depending on --soft, --hard or none of both e. g. | 22:53 |
| ← TeckniX left | 22:54 |
|
Vampire0
| to see what git reset all can do, read its man-page :-P | 22:54 |
|
crab
| aleric: HEAD is the branch head of the current branch | 22:54 |
|
RandalSchwartz
| a branch is a point, not a line | 22:54 |
|
AlericInglewood
| I read all man pages and a lot of other docs :/ | 22:54 |
|
RandalSchwartz
| this is something that takes a while to sink in, perhaps | 22:55 |
|
crab
| aleric: but every branch has a branch head which points to the commit at the tip of the branch. | 22:55 |
|
| aleric: so you can move a branch head with git reset --hard, yes | 22:55 |
|
AlericInglewood
| I could do what I have in mind with: git branch -d foobar; git checkout -b foobar SHA1; ... I think. | 22:55 |
| ← aheinecke left | 22:55 |
|
AlericInglewood
| Now I wonder if that can be done with a single git reset command. | 22:56 |
|
Vampire0
| AlericInglewood, you should be able to do that with reset, as you thought, I think | 22:56 |
| → esc joined | 22:56 |
|
crab
| no, you can't unless you have that branch checked out. | 22:56 |
| → johnw joined | 22:56 |
| ← altogether left | 22:56 |
|
Vampire0
| I suppose he has | 22:56 |
|
| at least from his comments | 22:57 |
|
crab
| then he can't delete it | 22:57 |
|
Vampire0
| I guess he didn't try those commands | 22:57 |
|
crab
| oh :) | 22:57 |
| ← gabeodess left | 22:57 |
| gabeodess_ → gabeodess | 22:57 |
| → jmcantrell joined | 22:57 |
|
Vampire0
| I know, I guess a lot | 22:57 |
|
| But mostly I'm right :-) | 22:57 |
|
Rolenun
| ... | 22:57 |
| ← coppro left | 22:58 |
|
RandalSchwartz
| ahh, yeah, yesterday was crazy | 22:58 |
|
| Oops ... please ignore that. | 22:58 |
| ← esc left | 22:58 |
|
Rolenun
| too late! :) | 22:58 |
|
RandalSchwartz
| heh | 22:59 |
|
AlericInglewood
| Right now I have: A (branch: current) -- B -- C (branch: master), and I want to move current to B... So I guess I can't do that with a reset. | 22:59 |
|
Vampire0
| What was yesterday? :-) | 22:59 |
|
RandalSchwartz
| luckily nothing *too* secret | 22:59 |
|
mugwump
| Vampire0: just read his twitter | 22:59 |
|
crab
| aleric: git reset --hard B | 22:59 |
|
AlericInglewood
| crab: after checking out current, I guess :p | 23:00 |
|
| hmm ok... so git reset always works on the currently checked out branch... | 23:00 |
| → onigiri_ joined | 23:00 |
| → adaro joined | 23:00 |
|
RandalSchwartz
| you can move ref/head/* manually too | 23:00 |
|
| with plumbing commands | 23:00 |
| ← Arelius left | 23:01 |
|
RandalSchwartz
| git symbolic-ref | 23:01 |
| → esc joined | 23:01 |
| → ProperNoun joined | 23:01 |
| ← ProperNoun left | 23:01 |
| → ProperNoun joined | 23:01 |
| ← ProperNoun left | 23:01 |
|
RandalSchwartz
| git symbolic-ref refs/heads/BRANCHNAME B | 23:02 |
| ← tg left | 23:02 |
|
RandalSchwartz
| oh - but you might also need to expand B | 23:02 |
|
| yeah - simpler to check it out :) | 23:02 |
| → Arelius joined | 23:02 |
| → tg joined | 23:02 |
|
Vampire0
| "expand"? | 23:03 |
| ← ProperN[out] left | 23:03 |
|
Vampire0
| You mean abbreviated SHA -> full SHA? Or what? | 23:03 |
|
mugwump
| full ref name | 23:04 |
| ← priidu left | 23:05 |
|
mugwump
| git symbolic-ref $(git rev-parse --symbolic-full-name $source) $(git rev-parse --symbolic-full-name $destination) | 23:06 |
| → Theravadan joined | 23:06 |
| ← marshall left | 23:06 |
| → ijuma joined | 23:06 |
|
Vampire0
| shouldn't the second argument be a SHA mugwump? | 23:07 |
| ← meanburrito920 left | 23:08 |
| ← onigiri_ left | 23:08 |
|
mugwump
| not for symbolic-ref | 23:09 |
| ← hakunin left | 23:09 |
| ← zehrique left | 23:09 |
| ← IslandUsurper left | 23:10 |
| ← orafu left | 23:10 |
| → orafu joined | 23:10 |
| → IslandUsurper joined | 23:10 |
|
Vampire0
| with second I mean $destination | 23:11 |
|
| Doesn't a symbolic ref like refs/heads/master point to a SHA? *confused* | 23:11 |
| → meanburrito920 joined | 23:12 |
| → sh1m joined | 23:12 |
|
Vampire0
| ah, no, I see | 23:12 |
|
| HEAD is a symbolic ref which points to another ref | 23:12 |
| ← adaro left | 23:12 |
|
Vampire0
| So wouldn't update-ref be what he wants then? | 23:13 |
|
| git update-ref refs/heads/BRANCHNAME B | 23:13 |
| ← sh1mmer left | 23:14 |
| sh1m → sh1mmer | 23:14 |
| → onigiri_ joined | 23:16 |
| → madewokherd joined | 23:18 |
| → gsan joined | 23:19 |
| → adaro joined | 23:19 |
| → juan_arandaalvar joined | 23:20 |
| → agile joined | 23:20 |
| ← Arelius left | 23:21 |
| ← Weasel[DK] left | 23:21 |
| → EricInBNE joined | 23:23 |
| → Arelius joined | 23:23 |
| ← stamina left | 23:25 |
| → stamina joined | 23:26 |
| ← adaro left | 23:27 |
| ← AAABeef left | 23:29 |
| ← eletuchy left | 23:32 |
| → hyperair joined | 23:34 |
|
vinse
| can i list tags in order of time created? | 23:35 |
| ← sh1mmer left | 23:37 |
|
johnjay
| how do I find out in which branch a ref/commit was pushed? | 23:37 |
| → tonyj joined | 23:37 |
|
Vampire0
| vinse, does maybe "git show-ref --tags" help you? I'm sure there are also ways to show it more pretty | 23:41 |
| → tjoe joined | 23:41 |
|
Vampire0
| johnjay, commits are in no branch | 23:41 |
| → tzafrir_laptop joined | 23:41 |
|
Vampire0
| A branch is just a label for a specific commit | 23:41 |
|
| What you call a branch is just the history of that single commit | 23:42 |
|
tjoe
| hi, I have a branch and I need to sign the last 10 commit, is there an easy way to do that ? | 23:42 |
| ← Arelius left | 23:42 |
|
vinse
| Vampire0: yeah, that's the same arbitrary order i get from git tag -l | 23:42 |
|
| well, alphabetical, not arbitrary... i want git tag -lrt ;p | 23:42 |
|
Vampire0
| But I guess you are searching for the --contains parameter of git branch johnjay | 23:42 |
|
johnjay
| Vampire0: sure, I understand that...but isn't there a way to get the branch name of the parent commit? | 23:43 |
|
| Vampire0: tried --contains | 23:43 |
| ← tzafrir left | 23:43 |
| → sh1mmer joined | 23:43 |
|
johnjay
| Vampire0: ah success...was missing the -a ... git branch -a --contains 3cfd2ef97f0dc23d30c3c17c1593bb203539d828\ | 23:43 |
|
| (I hadn't rebased locally) | 23:44 |
| → nighthwk1 joined | 23:44 |
| → Arelius joined | 23:44 |
| ← mithro left | 23:44 |
|
eco
| I want to rename master on my origin to something else and make another branch master. | 23:45 |
| ← tonyj left | 23:46 |
|
eco
| When I try to remove master I get a long warning about how you can't delete the current branch. | 23:46 |
| → tonyj joined | 23:46 |
|
eco
| Which I understand means it's the branch pointed to by HEAD. | 23:46 |
| ← LiamH left | 23:46 |
|
eco
| How do I go about pointing the current branch elsewhere? | 23:46 |
|
wereHamster
| eco: how are you deleting the master branch? | 23:47 |
|
Vampire0
| Hm, sorry vinse I don't know. But as almost anything is possible with git I guess somehow it will work | 23:47 |
|
eco
| git push origin :master | 23:47 |
| → imajes joined | 23:48 |
|
wereHamster
| eco: and what is the warnign? | 23:48 |
|
Vampire0
| good johnjay :-) | 23:48 |
| ← webchick left | 23:48 |
| ← imajes left | 23:49 |
|
eco
| "error: By default, deleting the current branch is denied, because the next 'git clone' won't result in any files checked out, causing confusion." | 23:49 |
|
| It's basically the issue discribed in the 1.6.3 release notes, looks like. | 23:50 |
|
| I could configure receive.denyCurrentBranch on the remote repository to get away with this but I think it'd be better to just point current elsewhere (and eventually point it back at the new master I'm going to end up with). | 23:51 |
| ← IslandUsurper left | 23:52 |
|
wereHamster
| eco: you can push the master branch under a different name and then push -f to overwirte master | 23:52 |
|
eco
| The remote repository is bare so I'm a little confused about why there is a "current branch" | 23:52 |
|
wereHamster
| of course there is a current branch, it's whatever HEAD points to | 23:52 |
|
eco
| I think I need to read a little more about what HEAD is... | 23:53 |
|
| Because I'm apparently confused. | 23:53 |
|
wereHamster
| HEAD is what you currently have checked out | 23:54 |
| → Arrowmaster joined | 23:54 |
|
eco
| Doesn't a bare repository not have anything checked out? | 23:54 |
| → xnox joined | 23:54 |
|
wereHamster
| it doesn't have a working tree, but that doesnt' mean there can't be a default branch | 23:55 |
|
DrNick
| it still has a HEAD pointing to what should be checked out on a fresh clone | 23:55 |
|
eco
| Ah, ok. Do you guys know how I can change what HEAD points to? | 23:55 |
|
| The push -f would probably work but now I'm just curious. | 23:55 |
|
wereHamster
| for that you need shell access to the bare repository | 23:56 |
|
eco
| I've got it. | 23:56 |
|
| symbolic-ref? | 23:57 |
| ← juan_arandaalvar left | 23:57 |
|
wereHamster
| HEAD usually is.. if that was your question | 23:57 |
| ajpiano → ajjeana | 23:57 |
|
eco
| Is "git symbolic-ref refs/heads/<somebranch>" the proper way? | 23:58 |
|
xnox
| Hello all. I would like to push remote "origin" to a repository on gitorious such that it will become mirror of the "origin". How would I do that? | 23:58 |
|
eco
| Err, I'll just read this man page since I need to know this stuff anyway. | 23:58 |
|
| Thanks, wereHamster . | 23:58 |
|
xnox
| I've set pushurl & push = +refs/remotes/origin/*:refs/heads/* | 23:58 |
| ← novas0x2a left | 23:58 |
|
xnox
| is that enough or no? | 23:58 |