| 2009-11-29 |
| ← parigaudi left | 00:00 |
| ← madewokherd left | 00:02 |
|
Eraldo
| when I do "git branch -a" I get: http://pastebin.org/58266 | 00:03 |
|
| before making that bare repo I only had master and eeeeraldo | 00:03 |
|
| why is there now 4 branches | 00:03 |
| → Paraselene__ joined | 00:03 |
| ← Paraselene_ left | 00:03 |
| Paraselene__ → Paraselene_ | 00:03 |
| → madewokherd joined | 00:05 |
|
lack
| Eraldo: Well, that output shows one local branch 'master' and 2 remote branches, remotes/origin/eeeeraldo and remotes/origin/master, plus the fact that the 'origin/master' is the 'HEAD' of that other repository. | 00:07 |
| → tfarina joined | 00:07 |
|
lack
| Eraldo: Everything prefixed with 'remotes/origin/' are REMOTE TRACKING branches, and they represent what is on that bare repo. They are only updated when you do a fetch or push operation. | 00:08 |
| → univate joined | 00:10 |
| ← icwiener left | 00:13 |
|
Eraldo
| lack: how can I remove eeeeraldo branch from my bare repo? | 00:14 |
|
| "git branch -d eeeeraldo" ? | 00:15 |
|
selckin
| --git-dir=repo.dir | 00:15 |
| ← bcardarella left | 00:15 |
| ← Rayne left | 00:15 |
| → bcardarella joined | 00:16 |
|
lack
| Eraldo: To delete a remote branch: git push origin :eeeeraldo | 00:17 |
| ← DavidKlein left | 00:20 |
| → EricInBNE joined | 00:21 |
| hipe_ → hipe | 00:21 |
|
lack
| Eraldo: I recommend reading a tutorial on how git works to learn more about remotes and such... | 00:22 |
| ← hakunin left | 00:23 |
| → hakunin joined | 00:23 |
| → seanmccann joined | 00:23 |
|
Eraldo
| lack: yup... that is planned... sorry ..it is my organisatonal system that I put under that repo I am talking about atm that is where I schedule my todos :) | 00:23 |
| ← Sho_ left | 00:24 |
|
lack
| Heh, that sounds backwards... using a tool to note that you should learn to use that tool... ;) | 00:25 |
| → yarddog joined | 00:26 |
| yarddog → Guest61672 | 00:26 |
| ← LiamH left | 00:27 |
| ← v0n left | 00:27 |
| ← adam12 left | 00:28 |
| → thenetduck joined | 00:32 |
|
Mage_Dude
| lack: Hehe Like leaving a note in your car that says 'Learn to drive." | 00:39 |
| → jelmer joined | 00:40 |
| → SRabbelier joined | 00:41 |
| → trochala joined | 00:42 |
| → Wraithan joined | 00:43 |
| ← raz left | 00:53 |
| → Dextorion joined | 00:57 |
| ← seanmccann left | 00:58 |
| ← intripoon left | 01:03 |
| → tvw joined | 01:03 |
| ← squentin left | 01:04 |
| → imajes joined | 01:05 |
| ← hakunin left | 01:06 |
| ← psoo left | 01:07 |
| → hakunin joined | 01:07 |
| ← tvw left | 01:09 |
| ← cubuanic left | 01:14 |
|
straszheim
| anybody know if the windows git requires a shell? | 01:15 |
|
| if i write custom git scripts, i'm wondering if they'll be usable at all by windows folks | 01:16 |
|
| looking to use plumbing to store metadata in specially-named branches... has to work on winnnows. :/ | 01:17 |
| → jtdowney joined | 01:19 |
| → sshc joined | 01:20 |
| ← corni left | 01:26 |
| ← aspotashev left | 01:27 |
| → tek joined | 01:30 |
| ← doener left | 01:30 |
|
alus
| straszheim: I use git on the windows command line | 01:35 |
|
| straszheim: so if you're writing something for use on all platforms, may I suggest a cross platform language like C or Python | 01:35 |
|
Glenjamin
| something interpreted like python, ruby, perl is probably a better fit than C | 01:36 |
|
straszheim
| alus: yeah, i'm good with all three | 01:36 |
|
| er python sh C | 01:36 |
| ← pavelz left | 01:36 |
| → pavelz joined | 01:36 |
|
straszheim
| would need a python package for git that has good bindings to plumbing and is not too tough to redistribute | 01:37 |
|
alus
| Glenjamin: git is written in C, so it's sort of a given that C would work. requiring python might require an install of python on Windows | 01:37 |
|
straszheim
| we require python to build anyway, so that's not an issue | 01:38 |
|
alus
| ok | 01:38 |
|
Glenjamin
| yes, but python is better suited to being a cross platform alternative to bash scripts | 01:38 |
|
| and having c "work" is misleading, cos you'd have to compile binaries for each platform | 01:39 |
|
straszheim
| true... thing is the only git i'd seen on windows comes with bash anyway | 01:39 |
|
| i know that half of git was shell scripts at one point, was wondering if that is still the case, in which case the shell is there already anyhow | 01:39 |
| ← hakunin left | 01:40 |
| ← tbuehlmann left | 01:41 |
|
Glenjamin
| the start menu shortcut on windows opens up "git bash" | 01:41 |
|
| but git is also on the normal windows command line path | 01:41 |
|
straszheim
| ah | 01:42 |
| → blakemizerany joined | 01:42 |
| ← Alagar1 left | 01:42 |
|
straszheim
| yeah, hm, it's in the same dir as bash.exe :) | 01:43 |
| → ph^ joined | 01:43 |
| → hakunin joined | 01:43 |
| ← ph^ left | 01:45 |
| → aspotashev|eeepc joined | 01:46 |
|
sitaram
| straszheim: bash exists on windows (msysgit at least); I rely on it now for gitolite install | 01:47 |
| ← jtdowney left | 01:47 |
| ← fualo left | 01:48 |
|
straszheim
| sitaram, yeah i'm seeing a few things that are still shell scripts on this windows install I have here, git-submodule for instance | 01:48 |
|
sitaram
| the only thing it doesn't seem to do (so far as the changes I had to make to gitolite's easy install is concerned) is that [[ foo =~ bar ]] (where bar is a regex not a glob) doesnt work | 01:48 |
|
| straszheim is afraid he's going to find out that these are the things that are broken | 01:48 |
|
sitaram
| straszheim: however, all else being equal, I'd use perl. Guaranteed to be there, and guaranteed to work without special cases like above | 01:49 |
|
| (although I agree that's not everyon'e cup of tea!) | 01:49 |
|
| s/n'e/ne's | 01:49 |
|
straszheim
| I'm fine with perl, but that'd be an additional dependency | 01:49 |
| → ph^ joined | 01:49 |
|
sitaram
| no it wouldnt | 01:49 |
|
| you have git, you have perl | 01:50 |
|
| guaranteed :) | 01:50 |
|
| msysgit has it for sure | 01:50 |
|
straszheim
| so I do :) | 01:50 |
|
sitaram
| straszheim: I find, on Windows, that relying on msysgit works out pretty well. Single installer (unlike cygwin) easy to distribute, etc. | 01:52 |
|
straszheim
| submodules just worked on this windows box, so i'm guessing that means libexec\git-core\git-submodule just ran which is a bash script. okay so this turns out not be so hard. | 01:52 |
|
| sitaram: that sounds reasonable, thanks. | 01:52 |
| ← thenetduck left | 01:54 |
|
sitaram
| straszheim: not at all; as far as these two languages (bash and perl) are concerned... as I said, I rely on them for gitolite and have not been disappointed yet | 01:54 |
| ← hakunin left | 01:54 |
| → vbgunz joined | 01:57 |
| → fualo joined | 01:58 |
| ← fualo left | 01:58 |
| → jackylee joined | 01:59 |
| ← jlilly left | 02:01 |
| ← ludde left | 02:04 |
| → bartman joined | 02:05 |
| ← Keiya left | 02:06 |
| → Keiya joined | 02:06 |
| ← brainbox1100 left | 02:08 |
| ← aziz left | 02:08 |
| ← Keiya left | 02:11 |
| → Keiya joined | 02:11 |
| → hipe_ joined | 02:13 |
| ← hipe left | 02:13 |
| ← ab3 left | 02:15 |
| → Keiya_ joined | 02:17 |
| ← orafu left | 02:19 |
| → orafu joined | 02:19 |
| → dreiss joined | 02:20 |
| → VVSiz_ joined | 02:25 |
| → Alagar joined | 02:27 |
| ← bcardarella left | 02:29 |
| ← DamianZ left | 02:30 |
| → tillberg joined | 02:31 |
| ← ph^ left | 02:33 |
| ← Keiya left | 02:34 |
| ← tchan left | 02:37 |
| → tchan joined | 02:38 |
| ← Alagar left | 02:39 |
| ← Pupeno left | 02:39 |
| ← Dextorion left | 02:40 |
| ← jschoolcraft left | 02:41 |
| → bcardarella joined | 02:41 |
| ← VVSiz left | 02:43 |
| ← dreiss left | 02:46 |
| → EugenMayer joined | 02:47 |
| → xy joined | 02:49 |
| → Pupeno joined | 02:49 |
| → Adman65 joined | 02:50 |
| → jaysern joined | 02:50 |
| ← blakemizerany left | 02:50 |
| → Keiya joined | 02:51 |
|
Adman65
| I have a remote branch and my local master branch. I've rebased the master branch by squashing a whole bunch of commits. I've now done more work on my local branch with more commits. I want to push back to the remote, but I can't because of non-fast-forward. What is the proper course of action? | 02:51 |
| ← jelmer left | 02:51 |
| → hipe joined | 02:53 |
|
straszheim
| merge the remote, then push? | 02:53 |
| ← hipe_ left | 02:53 |
|
Adman65
| can you merge from a remote branch without checking it out locally ? | 02:56 |
|
straszheim
| sure | 02:57 |
| → jlilly joined | 02:57 |
|
Thell
| general question:: what would your approach be for the following situation? We are adding a tracing utility to our source tree (in the form of function guards) that can be enabled/disabled by individual devs. They are debug build only, and each dev may have their own desired groupings for which ones are on and which aren't so we wouldn't want these activated in files that would end up getting | 02:58 |
|
Adman65
| hmm then im having a problem with the syntax | 02:58 |
|
Thell
| committed. One option is a special file extion that is ignored. | 02:58 |
|
straszheim
| Thell you got cut off at 'getting' | 02:58 |
|
Thell
| :) Another is to have a repo that houses some of the more likely grouping and have that be a submodule | 02:59 |
|
| then they could make adjustments in there without worrying about their custom groups showing up in the main repo | 03:00 |
|
| and if they thought it was worth sharing it could be submitted to that repo... | 03:00 |
| ← tek left | 03:01 |
|
Adman65
| straszheim: how would you merge from the remote branch? | 03:02 |
|
Thell
| Adman65: git checkout $local_branch && git merge $remote_repo_name/$branch | 03:02 |
|
| although I found I really like git merge --log --no-ff $remote_repo/$branch | 03:02 |
| ← tfarina left | 03:03 |
| ← cortana left | 03:05 |
|
Adman65
| hmm, remote repo heroku has branch master. git merge heroku/master says doesn't point to a commit | 03:05 |
| ← Keiya left | 03:06 |
|
sitaram
| Adman65: did you "git fetch heroku"? | 03:09 |
|
Adman65
| no | 03:09 |
| ← sergiodj_ left | 03:11 |
| ← Keiya_ left | 03:12 |
| ← botanicus left | 03:13 |
| → ilteris joined | 03:13 |
| → hakunin joined | 03:18 |
| → cytrinox_ joined | 03:20 |
| ← kpreid_ left | 03:20 |
| → kpreid_ joined | 03:21 |
|
EugenMayer
| sitaram: when I use gitolite to initialize repo and I check it out, I can't checkin, I always get that the remote branch has no master | 03:22 |
|
| sitaram: in addition, what conditions are needed that "@my_repos = repo1" ..that thos branches are craeted in the gitolite repo | 03:23 |
|
| s/check it out/clone it | 03:23 |
|
sitaram
| EugenMayer: first push has to be "git push origin master" since the remote is empty, and has no matching heads. This is nothing to do with gitolite :) | 03:25 |
|
| or at least "git push origin somebranch" | 03:25 |
|
| didnt understand your second question | 03:25 |
|
EugenMayer
| sitaram: ah! thanks.. | 03:25 |
|
| sitaram: wait, I prepare a pastebing | 03:25 |
| → jepler joined | 03:26 |
|
EugenMayer
| http://paste.debian.net/52694 | 03:26 |
|
| according to the docs, the gitolite-admin repo should not have a branch called "my_repos" ( which it does not have ) | 03:27 |
|
| *does not have | 03:27 |
| ← __iron left | 03:27 |
|
sitaram
| EugenMayer: read from "here's how to use that in practice" in doc/5 | 03:27 |
|
| s/that/this | 03:28 |
|
EugenMayer
| I have read the docs several times. E.g. I don't not even find what "RW+" makes in difference to "RW" | 03:28 |
|
sitaram
| look in conf/example.conf. (The config file is actually documented there; was too cumbersome to do it as narrative text) | 03:30 |
|
EugenMayer
| you maybe should tell others that. its always confusing having docs on 2 differet places. Looking into | 03:31 |
|
sitaram
| EugenMayer: the admin doc does say to see the example conf for details on what goes in that file | 03:32 |
|
EugenMayer
| well, I have seriuosly read it several times and did not stumble uppon. Even if it is there, you might of think place it better :) | 03:33 |
|
sitaram
| EugenMayer: no | 03:34 |
|
| EugenMayer: conf/example.conf is the right place for it | 03:34 |
|
EugenMayer
| I mean, place the note better, that its documented there | 03:34 |
|
pcc1
| is it possible to obtain a list consisting of the intersection of commits in the dag bounded by commit c1 and commits in the dag bounded by commit c2? | 03:34 |
|
sitaram
| EugenMayer: I'd expect users, after install, to read the admin doc. Section is called "adding users and repos" and right there it says to look in conf/example.conf | 03:35 |
|
EugenMayer
| and don't forget, that example.conf is not in the gitolite-admin repo..so maybe people never find it | 03:35 |
|
sitaram
| EugenMayer: if you ran easy install you have a clone... come on. I'm not a baby sitter :) | 03:35 |
|
EugenMayer
| sitaram: well, sure you are not. | 03:36 |
| ← cytrinox left | 03:36 |
| cytrinox_ → cytrinox | 03:36 |
|
EugenMayer
| but having the conf in the clone of YOUR git repo | 03:36 |
|
| having it on the SERVER where it has the example docs under ~/gitoline-admin and under .gitoline/conf | 03:36 |
| ← rudi_s left | 03:37 |
|
EugenMayer
| there are several places, and the most obvious one, the one the admin always looks at, there it is not present. Well its up to you ( its just a user / admin experience ) | 03:37 |
|
sitaram
| EugenMayer: dont know what you mean. As I said, if you ran "src/gl-easy-install", right there in that same directory is "conf/example.conf" | 03:37 |
| → Wolfman2000 joined | 03:39 |
|
sitaram
| EugenMayer: why would I clutter the admin clone with what amounts to documentation? the admin clone is just that -- a clone! There could be any number of them... I have one on each machine I *use* so that I can make changes from anywhere. You'd have a better case arguing that conf/example.conf should be doc/example.cond, frankly :) | 03:39 |
|
| ss/cond/conf | 03:40 |
|
| (damn!) | 03:40 |
|
Wolfman2000
| Evening. I am right now thankful that I didn't make my latest commit, because I would have risked losing everything. My last good commit seems to be... [master 1090455]. I'm hoping that's a unique identifier. How can I reset to that commit? | 03:40 |
|
EugenMayer
| Wolfman2000: its hardly impossible to lose anything in git | 03:40 |
|
Wolfman2000
| EugenMayer: That may be true, but...well, I panic easily. | 03:40 |
|
EugenMayer
| until you play arround with unstaging or reverting | 03:41 |
|
| Wolfman2000 is still getting used to the administrative stuff. | 03:41 |
| ← stamina_ left | 03:41 |
|
Wolfman2000
| As a reminder, what's the proper way to remove files in "Changes to be committed" but not actually remove them? | 03:42 |
|
EugenMayer
| sitaram: http://paste.debian.net/52695 | 03:42 |
|
| why are "groups" allowed there? | 03:42 |
|
| Wolfman2000 tried git rm --cached -r . by mistake...almost removed the entire branch | 03:42 |
|
EugenMayer
| groups are then handled like repos..as they are only list either | 03:42 |
|
| Wolfman2000: http://progit.org/book/ch2-4.html | 03:43 |
|
Wolfman2000
| EugenMayer: Hmm...haven't sen this book yet. | 03:43 |
|
| Wolfman2000 takes a look | 03:43 |
|
EugenMayer
| Wolfman2000: and before http://progit.org/book/ch2-2.html | 03:43 |
|
sitaram
| EugenMayer: again, I didnt understand the question "why are groups allowed there?" | 03:43 |
|
EugenMayer
| this pretty explains what is what Wolfman2000 | 03:44 |
|
| sitaram: repo [one or more repos and/or repo groups] | 03:44 |
|
| "one ore mote repos and or -->GROUPs<-- | 03:44 |
|
| repo @repos @admin | 03:44 |
|
| RW = Someuser | 03:44 |
| ← MrGando left | 03:44 |
| → pdusen joined | 03:45 |
|
EugenMayer
| whould somehow create a repo for each user in admin, or? | 03:45 |
|
| sitaram: I really don't want to waste your time, just trying to understand the configuration fully | 03:47 |
|
| sitaram: in the 5-delegation docs "As you can see, for each repo group you want to delegate authority over, there's a branch with the same name in the gitolite-admin repo." | 03:47 |
|
| you have that. But now branches have been created for me yet. | 03:48 |
|
Wolfman2000
| EugenMayer: Definitely a nice, easy to understand book. I'll keep this in mind when I run into issues. Thanks again. | 03:57 |
|
EugenMayer
| yw | 03:57 |
| → cubuanic joined | 04:01 |
|
sitaram
| EugenMayer: sorry lost net connection for about 20 min | 04:07 |
| ← univate left | 04:07 |
|
sitaram
| EugenMayer: a group is like a macro -- gitolite does not distinguish between a list of users and a list of repos at the time a list is defined; it's how and where you use it that determines that | 04:07 |
| → alvarezp joined | 04:08 |
|
EugenMayer
| exactly...but that documentation just confuses people.. | 04:08 |
|
| anyway, I still can't see the branch and I also can't find and hints neither in the example.conf nor in the 5-delegation | 04:08 |
|
sitaram
| EugenMayer: what is confusing about "a group name is simply expanded to whatever names are on the right hand side when it is actually used"? | 04:09 |
| → nevyn_ joined | 04:09 |
| → tjaway joined | 04:10 |
|
EugenMayer
| sitaram: no need to discuss this. You expect people to place a list of repos there. Yes, people could use the lists they ment as groups here. And yes, it would work. And no this makes no sense. And no, this should then not be in the docs. | 04:10 |
| ← tjafk left | 04:12 |
|
sitaram
| EugenMayer: maybe I'm being more stupid today than I normally am, or maybe I have always been stupid and never knew, but I cannot understand what you are complaining about. If the delegation feature isn't working, let's dig into that. If you're talking about something more fundamental (like syntax) say so. I'm confused | 04:13 |
|
EugenMayer
| ok lets forget about the syntax. You are right. One thing at one time | 04:13 |
| → Ifrs joined | 04:13 |
|
EugenMayer
| I can't see any branches apear. And iam not aware why | 04:13 |
|
| I have read the docs and maybe missed something. | 04:13 |
|
| According to the docs those branches should apear automatically, but there is only one example, which is not generic enaugh to understand for me : | 04:14 |
|
| oh no, I just found it :/ | 04:15 |
|
sitaram
| EugenMayer: where does it say those branches appear automatically? if it does, my bad... meanwhile, read lines 78 onwards of doc/5 | 04:15 |
|
EugenMayer
| "As you can see, for each repo group you want to delegate authority over, there's a branch with the same name in the gitolite-admin repo." | 04:15 |
| ← tillberg left | 04:16 |
|
sitaram
| EugenMayer: in the config, yes... | 04:16 |
| ← cubuanic left | 04:16 |
|
EugenMayer
| right now its me who is stupid. | 04:16 |
|
sitaram
| not (yet) in the repo; that comes a couple lines later | 04:16 |
| → gbacon joined | 04:17 |
|
sitaram
| EugenMayer: I am starting to believe I wrote *too* much documentation. Someone did say that to me once, and I laughed it off. Now I'm not sure. | 04:17 |
|
EugenMayer
| is the conventing to <branchname> == <configfilename> ? | 04:17 |
|
| sitaram: I seriusoly tried, but maybe iam still overtired.. | 04:17 |
|
sitaram
| Maybe Tv was right after all... just put the software out, minimal documentation, and tell people "hop on to #git and hope for the best" as his README says | 04:18 |
|
| sitaram sighs deeply | 04:18 |
| → thenetduck joined | 04:18 |
|
EugenMayer
| I think its pretty good you made the docu | 04:18 |
|
| I rather tend to not used not doc`ed software | 04:19 |
|
sitaram
| not if it more detailed than people expect and they wont read the *whole* thing and come back with question on para 2 that are answered in para 4 | 04:19 |
|
| just gets tiring | 04:19 |
| ← kukks left | 04:19 |
|
EugenMayer
| sorry. | 04:20 |
|
| and, you won't believe, I have read this section 2 times. | 04:20 |
|
| and do you know, what small detailed I missed? | 04:20 |
|
| http://paste.debian.net/52698 | 04:20 |
|
| look at this. | 04:21 |
|
| I thought, this are 2 REPO access defintions,not a single one | 04:21 |
|
| so that way http://paste.debian.net/52699 | 04:21 |
|
| + I simply did not recognise ( why ever ) this | 04:21 |
|
| RW branch = list syntax | 04:22 |
|
| eventhought its mentioned here : (R|RW|RW+) [zero or more refexes] = [one or more users] | 04:22 |
|
| but as I did not cover the branch-docs yet, as I don't need branch protection yet, I could make the whole picture. | 04:22 |
| ← nevyn left | 04:23 |
| ← hakunin left | 04:25 |
| ← pdusen left | 04:26 |
| ← imajes left | 04:27 |
| → JoeConyers joined | 04:27 |
| → pdusen joined | 04:32 |
| ← xy left | 04:45 |
|
Ifrs
| what is git | 04:48 |
|
EugenMayer
| http://www.google.de/search?hl=de&q=what%20is%20git&meta= | 04:48 |
|
Ifrs
| do i need version controll for my windows office work | 04:50 |
|
EugenMayer
| http://www.google.de/search?hl=de&q=+do+i+need+version+controll+for+my+windows+office+work&btnG=Suche&meta=&aq=f&oq= | 04:51 |
|
Ifrs
| hm, they say git suxx | 04:51 |
|
| guess its not that good | 04:51 |
| ← Ifrs left | 04:51 |
|
EugenMayer
| Anti-troll mission complete | 04:52 |
|
straszheim
| nice wrok | 04:53 |
|
| work | 04:53 |
| → ProperNoun joined | 04:54 |
| → therrg joined | 04:54 |
| → pdusen_ joined | 04:55 |
| ← ankit9 left | 04:55 |
|
EugenMayer
| hey! git does save file-attributes? | 05:01 |
|
selckin
| only +x | 05:01 |
|
EugenMayer
| ah, ok. But this is anway great. | 05:02 |
|
| esp. +x | 05:02 |
| ← pdusen left | 05:07 |
| → hakunin joined | 05:17 |
| → cytrinox_ joined | 05:20 |
| ← john268 left | 05:21 |
| → johnnyicon joined | 05:22 |
| → ff joined | 05:22 |
|
johnnyicon
| Anyone willing to lend me a hand with setting up Gitosis? | 05:23 |
| ← agib left | 05:23 |
|
sitaram
| what problem did you encounter so far? | 05:26 |
|
johnnyicon
| I can't clone a repository that I've created on my remote server | 05:26 |
|
| I think it might have to do with the naming conventions of my user names | 05:26 |
|
| i used [email@hidden.address] as my membername. Similarly, I created a RSA key using that same email | 05:27 |
|
| When i tried to clone the repo I set up, I got the following error: ERROR:gitosis.serve.main:Repositroy read access denied | 05:28 |
|
| fata: The remote end hung up expectedly | 05:28 |
|
| I noticed in the example.conf, the @ symbol is used to refer to gitosis groups.... | 05:28 |
|
| so I guess I can't use [email@hidden.address] on the members line... am I right? | 05:29 |
|
sitaram
| I suggest not using @; user "foo" in conf file maps to keydir/foo.pub -- keep it simple | 05:29 |
|
johnnyicon
| ahh k so the member names map to the keys | 05:29 |
|
sitaram
| no | 05:30 |
|
| to the keyfile name | 05:30 |
|
johnnyicon
| sorry, yea that's what i meant :) | 05:30 |
|
sitaram
| the comment inside the key (at the end of the long string) is irrelevant for all but the admin user | 05:30 |
|
johnnyicon
| i was thinking it had something to do with comment when I used ssh-keygen -C | 05:30 |
|
| :) hehe | 05:30 |
|
| k ill give it another shot | 05:31 |
| ← krynnotaur left | 05:32 |
| ← cytrinox left | 05:35 |
| cytrinox_ → cytrinox | 05:35 |
|
EugenMayer
| sitaram: well you remember asking me the same? :) | 05:38 |
| ← hipe left | 05:39 |
| → hipe joined | 05:39 |
| ← bcardarella left | 05:47 |
| → john268 joined | 05:52 |
|
johnnyicon
| Still there Sitaram? | 05:54 |
|
EugenMayer
| is there a kind of "rebase dryrung" where I could see if errors would be accurr? | 05:54 |
|
johnnyicon
| I changed the filename to just john.pub and updated the conf file. Pushed my changes to my server. same error :( | 05:54 |
| ← qrush left | 05:55 |
| → ff_ joined | 05:57 |
| ← ff left | 05:57 |
|
EugenMayer
| how is the user named in the config file johnnyicon | 05:57 |
|
johnnyicon
| just john | 05:57 |
|
EugenMayer
| please post your repo difintion to a pastebin | 05:57 |
|
| delete private data ofc | 05:57 |
|
| also, go to the place, on the server, where your reporsitories reside | 05:58 |
|
| please go in the gitolite-admin/hook folder | 05:58 |
|
| and give me the output of "ls -la |grep update" | 05:59 |
|
johnnyicon
| k | 05:59 |
|
| do you mean gitosis-admin? | 06:00 |
|
EugenMayer
| yes | 06:00 |
|
| is there a partical reason you use gitosis and not gitolite? | 06:02 |
|
johnnyicon
| i only knew of gitosis | 06:02 |
|
EugenMayer
| well you should read this page : | 06:03 |
|
| http://github.com/sitaramc/gitolite | 06:03 |
|
| I don't think there is any reason not to switch to gitolite. gitolite is based on gitosis. There are some really cool features, which got added ( branch restrictions ) | 06:04 |
|
johnnyicon
| ah k, yea i guess im behind | 06:04 |
|
| is the set up relatively the same? | 06:04 |
|
EugenMayer
| well, for me, it was | 06:04 |
|
| download gitolite onto my client | 06:04 |
|
| cd src | 06:04 |
|
| gl-easy-install and follow the stpes | 06:05 |
|
johnnyicon
| k cool | 06:05 |
|
EugenMayer
| be aware that you need a non-root user on the new system which is NOT used for normal maintainance. You will not be able to login to a normal shell with this user anymore | 06:05 |
|
johnnyicon
| am i going to have uninstall gitosis first? | 06:05 |
|
EugenMayer
| there is an upgrade-docu also, if you like to migrate | 06:06 |
|
| http://github.com/sitaramc/gitolite/blob/master/doc/1-migrate.mkd | 06:06 |
|
johnnyicon
| ah sweet | 06:06 |
|
| k... well that user requirement is going to be an issue | 06:06 |
|
| my webhost only gives me one ssh user | 06:06 |
|
| and i cannot create my own users :( | 06:06 |
|
EugenMayer
| well ask sitaram if there is way arround | 06:07 |
|
johnnyicon
| k | 06:07 |
|
EugenMayer
| the only way I see would be using key-auth for gitolite | 06:07 |
|
sitaram
| johnnyicon: it is not correct to say that you cannot logon to that user anymore | 06:07 |
|
EugenMayer
| and password auth for maintainance | 06:07 |
|
sitaram
| EugenMayer: please... that is not true | 06:07 |
|
johnnyicon
| so I have nothing to worry about then? | 06:08 |
|
sitaram
| johnnyicon: do you have password access for emergencies? (not strictly needed, but asking anyway) | 06:08 |
| ← plediii left | 06:08 |
|
johnnyicon
| do you mean using the passwd command? | 06:08 |
|
sitaram
| no | 06:09 |
|
johnnyicon
| sorry, what do you mean then? password access to... | 06:09 |
|
sitaram
| johnnyicon: let me rephrase. Can you log onto your "one ssh user" from anywhere by supplying a password? | 06:09 |
|
johnnyicon
| yes :) | 06:09 |
| ← pdusen_ left | 06:10 |
|
sitaram
| ok here's what you do. 3 simple steps if your workstation is linux | 06:10 |
|
johnnyicon
| yea im on a mac | 06:10 |
|
sitaram
| rats | 06:10 |
|
| never mind we'll make it work :) | 06:10 |
|
| how do you currently log on to the "one ssh user" account? | 06:10 |
|
johnnyicon
| k :D | 06:10 |
|
| ssh | 06:10 |
| → kanru joined | 06:11 |
|
johnnyicon
| username@hostname | 06:11 |
|
sitaram
| does it prompt for a password? | 06:11 |
|
johnnyicon
| yea | 06:11 |
| ← sephr left | 06:11 |
|
johnnyicon
| f.... i think gitosis messed shit up | 06:11 |
|
| i can't login anymore | 06:12 |
|
sitaram
| aah | 06:12 |
|
johnnyicon
| PTY allocation request failed on channel 0 | 06:12 |
|
| ERROR:gitosis.serve.main:Need SSH_ORIGINAL_COMMAND in environment. | 06:12 |
|
| luckily i still have an open SSH session | 06:12 |
|
EugenMayer
| no comment. | 06:12 |
|
johnnyicon
| I can remove gitosis... I don't know what to remove though | 06:12 |
|
sitaram
| johnnyicon: even if you didn't you'd be fine. All youd have to do is temply rename ~/.ssh to something else and log in, it would ask for password | 06:12 |
|
johnnyicon
| ah k | 06:13 |
|
sitaram
| johnnyicon: its people who dont even *have* password based login, or have disabled it on server (you *can* tell ssh not to support password logins you know) they might have a problem at this point | 06:13 |
|
johnnyicon
| ahh | 06:14 |
|
| glad im not one of them | 06:14 |
|
sitaram
| yeah; is why I asked that first question :) | 06:14 |
|
johnnyicon
| :) | 06:14 |
|
EugenMayer
| well this is a way to late. Both gitosis and gitolite overtake the shell | 06:15 |
|
sitaram
| johnnyicon: look even though I'm the author of gitolite, if you've already installed gitosis and it serves your needs, dont worry about upgrading... | 06:15 |
|
EugenMayer
| and - for my security standards - key-auth login is pretty default. So you gonna lock out users as far as I understand the issue | 06:15 |
|
johnnyicon
| well it doesnt seem to be working :( | 06:16 |
|
sitaram
| EugenMayer: not if you have 2 keys | 06:16 |
|
EugenMayer
| I _had_ 2 keys. | 06:16 |
|
| and iam not new to "ssh key auth". | 06:16 |
|
| call it a debian lenny issue, but ssh pretty does not care much | 06:16 |
|
| where you place this "command" to. It simply uses it for both keys, eventhough one of the keys does not have it. | 06:17 |
|
sitaram
| EugenMayer: you had only one key, and you're the reason I put in (1) a refuse to run as root check and (2) an extra warning saying "is this your only key" | 06:17 |
|
EugenMayer
| I had and have 2 keys :) | 06:17 |
|
| I created a second key for root for the installation process before I started | 06:17 |
|
| anyway, its time for johnnyicon | 06:18 |
|
sitaram
| 11:45:23 < EugenMayer> well this is a way to late. Both gitosis and gitolite overtake the shell | 06:25 |
|
| EugenMayer: explain ^ please? | 06:25 |
| → plediii joined | 06:28 |
|
EugenMayer
| sitaram: when I started installing gitlote, I had a root shell, key auth only on my VM | 06:29 |
|
| before I started to install gitolite, I created a new pair, so gitolite can login with the root user without using my current "default" key | 06:30 |
|
sitaram
| and the key was called EUgenemeyer.pub not id_rsa.pub | 06:30 |
|
EugenMayer
| no, my key was not named like this. Its named how the server is named. | 06:31 |
|
| and the new gitolite key was named EugenMayer.pub | 06:31 |
|
| after install gitolite, I could not login with my old key anymore. Looking at the servers autheticed_keys | 06:31 |
|
| there was a specail command for the second key...which acutally is planed only to be exectuted when the first key is used. In my case, it always gots executed. The only false-positive I can think of here is | 06:32 |
|
| that my ssh-agent had the key EugenMayer.pub in use. BUT the server asked for the passphrase of the other, older key, so I suppose this is not the false-positive | 06:33 |
|
sitaram
| EugenMayer: http://colabti.org/irclogger/irclogger_log/git?date=2009-11-26#l1035 | 06:34 |
|
EugenMayer
| yeah _pub_ keys | 06:35 |
|
| in my _workstation_ .ssh | 06:35 |
|
| why should I keep pub keys there? | 06:35 |
|
| this was only one pub key, because that's exactly the one I created for gitolite some minutes before | 06:36 |
| → dtrott joined | 06:37 |
|
sitaram
| 11:46:21 < EugenMayer> I _had_ 2 keys. | 06:39 |
|
| 12:06:18 < EugenMayer> this was only one pub key, because that's exactly the one I created for gitolite some | 06:39 |
| ← Bass10 left | 06:39 |
|
sitaram
| please make up your mind | 06:39 |
|
EugenMayer
| ? | 06:41 |
| ← vbgunz left | 06:41 |
|
sitaram
| EugenMayer: I am trying to tell you that gitolite install does not, normally, screw you shell access. Indeed the easy install script itself *uses* the shell access you have. But normal people have their existing shell access using (say) "id_rsa.pub", and then run easy install with 3rd arg as (say) "eugenmeyer". | 06:44 |
|
| EugenMayer: your *existing* shell access used the same key as the 3rd argument in the easy install | 06:44 |
|
EugenMayer
| this seems not to work, that's the point | 06:44 |
|
sitaram
| EugenMayer: after you did this, I have now put in a warning -- you might remember this | 06:44 |
|
EugenMayer
| it not about the workstation | 06:44 |
|
| its about the servers ~/.ssh/authenticated_file | 06:45 |
|
| if you use the _same_ user gitolite used for installing, looing in with a other key, you file ( as far as I understand ) | 06:45 |
|
| using password auth OR some other user will work without a problem | 06:46 |
|
sitaram
| EugenMayer: I do this every day because I do other stuff on that server so please do not tell me it doesn't work | 06:46 |
| ← altrux left | 06:46 |
|
EugenMayer
| ok fine | 06:46 |
|
sitaram
| EugenMayer: http://github.com/sitaramc/gitolite/blob/pu/doc/6-ssh-troubleshooting.mkd explains how very clearly | 06:46 |
|
| it gives nice examples too, IIRC | 06:47 |
|
| read from "explanation" onward | 06:47 |
|
| EugenMayer: and "why two keys on client" | 06:48 |
|
EugenMayer
| sitaram: please simply forget about this. Iam not trolling and I don't bother you any longer. | 06:48 |
|
sitaram
| EugenMayer: thank you | 06:49 |
| ← Adlai left | 06:58 |
| ← johnnyicon left | 06:59 |
| → plediii_ joined | 07:00 |
|
sitaram
| EugenMayer: I also request that you not mislead people by saying "You will not be able to login to a normal shell with this user anymore". That is when I stepped in today with johnnyicon | 07:00 |
|
| "with this key" would be accurate, not "with this user" | 07:01 |
|
EugenMayer
| (07:07:33) Eugen Mayer: the only way I see would be using key-auth for gitolite | 07:02 |
|
| (07:07:42) Eugen Mayer: and password auth for maintainance | 07:02 |
| → bousquet joined | 07:03 |
| ← juan_arandaalvar left | 07:04 |
|
sitaram
| EugenMayer: not true; I use key-auth for both shell access and gitolite. Two different keys of course | 07:05 |
|
EugenMayer
| and it is true for me. So lets gonna fight? .. | 07:06 |
|
sitaram
| (I dont even remember the password now, actually... hmm, could be a problem if I ever lose the priv keys but I have physical access to that box anyway) | 07:06 |
| ← plediii_ left | 07:06 |
|
sitaram
| EugenMayer: I dont fight. Sorry. If it didnt work for you, I can help you make it work, but fighting is pointless. | 07:07 |
|
EugenMayer
| Well iam not going to fight and I don't even need help, as its woking. | 07:07 |
| ← hyperair left | 07:10 |
| → hyperair joined | 07:11 |
| → JasonWoof joined | 07:11 |
| → anno^da joined | 07:13 |
| ← plediii left | 07:13 |
| → aspotashev joined | 07:14 |
| → Sigma joined | 07:17 |
| ← yann left | 07:18 |
| ← aspotashev|eeepc left | 07:20 |
| → juan_arandaalvar joined | 07:20 |
| ← juan_arandaalvar left | 07:20 |
| ← jackylee left | 07:23 |
| → tedoc2000 joined | 07:30 |
| ← jaysern left | 07:35 |
| ← ff_ left | 07:38 |
| ← Sigma left | 07:38 |
| → bambule joined | 07:44 |
| ← dtrott left | 07:47 |
| → robinsmidsrod joined | 07:48 |
| → plediii joined | 07:49 |
| → mbroeker joined | 07:52 |
| ← cloudhead left | 07:53 |
| ← tedoc2000 left | 07:53 |
| ← EugenMayer left | 07:58 |
| ← therrg left | 08:02 |
| → Nathaniel1 joined | 08:03 |
| Nathaniel1 → lhvwb | 08:03 |
| ← lhvwb left | 08:04 |
| → jaysern joined | 08:04 |
| VVSiz_ → VVSiz | 08:06 |
| → mdel joined | 08:07 |
| ← hipe left | 08:09 |
| → hipe joined | 08:09 |
| ← hipe left | 08:12 |
| → hipe_ joined | 08:12 |
| ← Twisted_Mentat left | 08:14 |
| → NET||abuse joined | 08:15 |
| → _ponto joined | 08:16 |
| → sis joined | 08:20 |
| DrNick2 → DrNick | 08:21 |
| → irc2samus joined | 08:29 |
| ← ponto_ left | 08:32 |
| ← mdel left | 08:33 |
| → corni joined | 08:43 |
| → DavidKlein joined | 08:45 |
| → vbgunz joined | 08:48 |
| ← DavidKlein left | 08:50 |
| → DavidKlein joined | 08:50 |
| ← hipe_ left | 08:57 |
| → hipe joined | 08:57 |
| → Axius joined | 08:58 |
| ← Axius left | 09:04 |
| → cubuanic joined | 09:08 |
| → Axius joined | 09:12 |
| → PN joined | 09:13 |
| → g3d joined | 09:13 |
| → node joined | 09:18 |
| ← thenetduck left | 09:18 |
| ← Axius left | 09:21 |
| → tbuehlmann joined | 09:21 |
| ← r11t_ left | 09:25 |
| ← ProperNoun left | 09:25 |
| ← aresnick left | 09:26 |
| → khmarbaise joined | 09:28 |
| → Axius joined | 09:29 |
| → tPl0ch joined | 09:33 |
|
tPl0ch
| how can I make file permissions being recognized by git version 1.6.3.3? | 09:34 |
|
node
| hi, I know i hae asked this question before, but I forgot how to do it and I can't find it on google. When I update my git repo, it tells me this. I wanna go ahead and actually delete these files from the repo. http://pastie.org/718996 | 09:34 |
| ← tbuehlmann left | 09:34 |
| → tbuehlmann joined | 09:35 |
|
node
| I just need to make they files delete from the repository | 09:35 |
|
tPl0ch
| node: well, have you committed your change? | 09:36 |
|
node
| that's what prints out when i commit my changes | 09:37 |
|
tPl0ch
| and pushed it? | 09:37 |
|
node
| I can't push before I commit | 09:37 |
|
| wouldn't make since | 09:37 |
|
| i thought it was something like commit -u or something that did it | 09:38 |
|
| or something | 09:38 |
|
| oh I think it was "git add . -u | 09:39 |
|
| "git add . -u" that did it | 09:39 |
|
tPl0ch
| node: I never had to do that to delete files from the repo | 09:39 |
|
node
| tPl0ch: really? ... git always asks me to do crap to delete a file | 09:39 |
|
| i'm running a mac though | 09:39 |
|
| vs linux | 09:40 |
|
tPl0ch
| git rm file, git commit -m "deleted files", git push | 09:40 |
|
node
| (kind of wish that wasn't the cast though) | 09:40 |
|
| tPl0ch: oh well ya, but what if you have 50 files you deleted from the repo | 09:40 |
|
| it would take forever to type out each 50 file you know what I mean? | 09:40 |
|
tPl0ch
| node, it was 2 files in your pastebin | 09:41 |
|
node
| tPl0ch: ya, your correct, I just needed to know because I have had a ton of deleted files before, like a whole directory | 09:41 |
|
| of files | 09:42 |
|
| thanks for the help though tPl0ch :) | 09:43 |
| → maleknet joined | 09:45 |
| node → thenetduck | 09:45 |
| ← hakunin left | 09:49 |
| → hakunin joined | 09:50 |
| → aspotashev_ joined | 09:51 |
| ← aspotashev left | 09:51 |
| → ixti joined | 09:53 |
| ← jaysern left | 09:55 |
| → imajes joined | 09:55 |
| ← Axius left | 09:57 |
| ← irc2samus left | 09:59 |
| → yhager_ joined | 10:00 |
| ← yhager_ left | 10:02 |
| → yhager_ joined | 10:02 |
| ← pheaver left | 10:02 |
| ← vbgunz left | 10:03 |
| ← JasonWoof left | 10:03 |
| → cga joined | 10:05 |
|
cga
| hi all, | 10:05 |
|
| up_the_irons, ping | 10:05 |
| → froschi joined | 10:06 |
|
cga
| up_the_irons, i'm following your gitosis guide but i have some problems that i don't understand since i'm new to both git and gitosis | 10:06 |
|
| up_the_irons, can you help? | 10:06 |
| → voker57 joined | 10:06 |
|
RurouniJones
| cga - Standard practice on IRC is just ask the questin | 10:07 |
|
cga
| hi RurouniJones , ok =) | 10:07 |
|
RurouniJones
| If anyone can help they will. Asking a specific person if they can help is a sure-fire way of not getting a response | 10:07 |
| → Grahack joined | 10:07 |
|
cga
| RurouniJones, i asked him since he says so on the guide | 10:07 |
|
| but glad if anyone can help | 10:08 |
|
| here's the question: | 10:08 |
| → pantsman joined | 10:09 |
|
cga
| this is the guide: http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way and when i do "git clone git@glenys:gitosis-admin.git" i get this error: http://pastebin.com/d5176910 | 10:09 |
| → voker57_ joined | 10:11 |
|
cga
| i guess it's beacuse i need to initialize a .git repo before, is it? | 10:12 |
| → node joined | 10:14 |
|
Grum
| if you followed that guide then the username is not cga | 10:14 |
| ← tetha left | 10:14 |
| → tetha joined | 10:15 |
|
Grum
| unless ofcourse you didnt follow the guide :P | 10:15 |
|
cga
| Grum, my bad, i used gitosis user now, this is the error: http://pastebin.com/d60c3aac5 | 10:16 |
|
Grum
| there is also no gitosis user in that story | 10:17 |
|
| trying random things will not make it work i'm afraid :D, what user did you create? | 10:17 |
|
cga
| Grum, but my sistem uses gitosis and not git for that | 10:17 |
|
Grum
| ok, so you *didn't* follow the guide | 10:17 |
|
pantsman
| cag, you said: when i do "git clone git@glenys:gitosis-admin.git" | 10:18 |
|
| you clearly didn't do that, according to either of your pastebins :) | 10:18 |
|
Grum
| cga: tell me what you did please | 10:18 |
|
cga
| Grum, what's the difference in installing gitosis with apt-get or compiling? it's only that i have to adapt the guide to my system. isn't it? | 10:18 |
|
pantsman
| err, cga* | 10:18 |
|
Grum
| erm no really | 10:18 |
| → radarek joined | 10:18 |
|
Grum
| apt-getting it sets it up as well | 10:18 |
|
| in its own way | 10:19 |
| ← omerj left | 10:19 |
|
Grum
| following the guide will get you nowhere after that | 10:19 |
| → omerj joined | 10:19 |
| ← omerj left | 10:19 |
|
Grum
| also, if you read the guide, you should have seen it is actually python, there is not much compiling going on | 10:19 |
| → omerj joined | 10:19 |
| → pheaver joined | 10:20 |
|
cga
| Grum, i guess that as long as the gitosis user has a /home/gitosis and permission it should be teh same. no? | 10:20 |
|
Grum
| no? | 10:20 |
|
cga
| uhm | 10:20 |
|
Grum
| what did you do exactly? :( | 10:20 |
|
cga
| ok | 10:21 |
|
Grum
| because you didn't follow the guide at all, because you wouldnt even need the very first command | 10:21 |
|
cga
| apt-get install git-core git-doc gitosis, this creates the user gitosis and install in /srv/gitosis , then i up;paded the id_pub and imported it as gitosis user with gitosis-init < /tmp/id_rsa.pub | 10:22 |
| ← thenetduck left | 10:22 |
|
cga
| then i try that remote command that fails. | 10:22 |
|
Grum
| you cant run init twice, i assume the apt-getting already inits | 10:23 |
|
| else it would leave a broken product | 10:23 |
|
| well, i'd say, find the manual for the gitosis package someone made | 10:23 |
|
| you need to know what parts of the installation it already did | 10:23 |
|
| (and yes, the person who made gitosis has nothing to do with that) | 10:23 |
|
cga
| of course | 10:24 |
|
| anyway it initialize twice as the guide says | 10:24 |
| ← Pupeno left | 10:24 |
|
cga
| with one command | 10:24 |
|
| checking the README for that package | 10:24 |
| → Pupeno joined | 10:24 |
| → v0n joined | 10:25 |
| ← voker57 left | 10:25 |
|
Grum
| the installation is not much more than: make key; get gitosis; install gitosis in to a dir; init with your key; presto | 10:25 |
|
| oh, i forgot; tinker in gitosis.conf :P | 10:25 |
|
cga
| this is what it creates after init: gitosis .gitosis.conf repositories .ssh | 10:25 |
|
| not .ssh of course | 10:26 |
|
Grum
| what is in .ssh/authorized_keys? | 10:26 |
|
| should be your pubkey with some 'command=......' prepended | 10:26 |
|
cga
| ok done | 10:27 |
| → Axius joined | 10:27 |
|
Grum
| done what? :( | 10:28 |
|
cga
| it was a permission error on sshd config :P i didn't include gitosis in ssh group which is the only one allowed to ssh | 10:28 |
| → jschoolc_ joined | 10:28 |
| ← giallu left | 10:28 |
|
Grum
| k, now that you've installed gitosis, upgrade to gitolite ;) | 10:28 |
|
cga
| thanks for helping so far | 10:28 |
|
| arf | 10:28 |
|
| what's gitolite? | 10:28 |
| ← aspotashev_ left | 10:28 |
|
Grum
| gitolite is actually documented, sane, simple, debuggable ;) | 10:29 |
|
cga
| cool | 10:29 |
|
Grum
| oh and more advanced | 10:29 |
|
cga
| gonna check it | 10:29 |
|
Grum
| and the author lurks this channel :p | 10:29 |
|
| http://github.com/sitaramc/gitolite/ | 10:29 |
|
cga
| is this: http://github.com/sitaramc/gitolite ? | 10:29 |
|
| cool | 10:29 |
| node → thenetduck | 10:30 |
| ← voker57_ left | 10:30 |
| → Dextorion joined | 10:31 |
| → d3xter joined | 10:32 |
| → icwiener joined | 10:32 |
| ← mike8901 left | 10:32 |
|
Grum
| cga: its really made after all the frustrations we've seen here in the channel :) gitosis works fine if it works but its really made for someone who got tired of doing it by hand | 10:33 |
|
cga
| Grum, i see. i'm going to try it | 10:34 |
|
Grum
| you can harras sitaram if you end up having problems with it ;) | 10:34 |
|
cga
| ok | 10:35 |
|
Grum
| sitaram: nice easy-install script but you might want to link back to the documentation you made when you give an error; ea line 187: die "pubkey access didn't work; please set it up using 'ssh-copy-id' or something" | 10:37 |
|
sitaram
| Grum: sadly, most people dont want to read docs. So any "die" is followed up by "run $0 without any arguments for help and tips" | 10:39 |
|
Grum
| ah! good =D | 10:39 |
|
sitaram
| Grum: and when they do *that*, they get (among other nuggets): Pre-requisites: | 10:40 |
|
| - you must already have pubkey based access to user@host. If you currently | 10:40 |
|
| only have password access, use "ssh-copy-id" or something equivalent (or | 10:40 |
|
| copy the key manually). Somehow (doesn't matter how), get to the point | 10:40 |
|
Grum
| from the looks you are already being *really* nice to people :P | 10:40 |
|
sitaram
| where you can type "ssh user@host" and get a command line. | 10:40 |
|
| (sorry for long paste; I thought it'd all be one-line, duh!) | 10:40 |
|
| Grum: well "die" referred to the program not the user ;-) <LOL> | 10:41 |
|
Grum
| aaaaaw; ( | 10:41 |
|
sitaram
| cga: despite all that, don't convert just for the sake of converting if gitosis is working fine for you and you don't really need the extra features in gitolite | 10:42 |
| → ff_ joined | 10:42 |
|
cga
| sitaram, honestly i just started with git and chose gitosis to automate things i don't really know and to have ssh enalbed repo managed. so i can use gitolite if it's so better. | 10:43 |
|
| sitaram, my repo wn't be even pulbic or big. it's for my static generated blog. just to have something to push instead of using tarballs and scp | 10:44 |
|
sitaram
| cga: only one user? why do you need gitosis or gitolite? they're only useful if you have >1 user who needs access | 10:46 |
|
cga
| sitaram, that's what i as going to say: in the fuiture i'll host my code on my server. they'll be multi user and public. that's hwy i wanted to start hosting with something automgic | 10:47 |
|
| i prefer to start this kind of things thining ahead and learn them with something smaller that no one sees or use atm | 10:48 |
|
sitaram
| cga: good point | 10:49 |
|
cga
| =) | 10:49 |
| → squentin joined | 10:49 |
| ← tPl0ch left | 10:50 |
| → Axius_ joined | 10:52 |
|
pcc1
| is there a way of finding the most recent commit that modified a file X, that respects merges, i.e. if the file was modified in both branches then the algorithm should return the merge commit | 10:52 |
| ← Axius left | 10:53 |
|
cga
| ok see you later, shower time. thanks so far. | 10:57 |
| → galderz joined | 10:59 |
| → jas4711_ joined | 10:59 |
| ← galderz left | 10:59 |
|
sitaram
| pcc1: even if it was modified in both branches, if it was not modified *in* the merge itself (like maybe conflict resolution) I'm not sure if there is a way to show you the merge commit | 10:59 |
| → dsch04 joined | 11:02 |
| → ludde joined | 11:06 |
| ← thenetduck left | 11:12 |
| ← ff_ left | 11:18 |
| ← _ponto left | 11:23 |
| → Sigma joined | 11:25 |
|
pcc1
| sitaram: thanks. this is an interesting problem. I'll need to think about it more | 11:26 |
| → intripoon joined | 11:27 |
|
sitaram
| pcc1: the git log manpage has a "-c" option; not sure if it does what you want though; try it out... | 11:28 |
| → c0ll3c70r joined | 11:28 |
| → Pupeno_ joined | 11:29 |
| ← c0ll3c70r left | 11:29 |
| → Axius joined | 11:29 |
| ← Pupeno left | 11:30 |
| Pupeno_ → Pupeno | 11:30 |
| ← misiu_mp left | 11:31 |
| → spaceonline joined | 11:32 |
|
pcc1
| sitaram: thanks, that may be (part of) the solution. it is not clear which column of the "git diff-tree -p -c" output corresponds to which parent. is it always in the order of the parent list given by "git show"? | 11:33 |
|
sitaram
| pcc1: no idea; sorry... I just looked at the man page looking for "merge" and saw that :) | 11:35 |
| → Laibsch joined | 11:36 |
| ← ia left | 11:36 |
|
Laibsch
| Hi | 11:36 |
| → ia joined | 11:37 |
| ← Axius_ left | 11:39 |
| ← cga left | 11:41 |
| → razvand joined | 11:43 |
| → admiral0 joined | 11:45 |
|
admiral0
| hi i am having trouble with git svn | 11:46 |
|
| git svn clone https://kmess.svn.sourceforge.net/svnroot/kmess/trunk/kmess -r 5699 | 11:47 |
|
| it does nothing but make me a .git dir | 11:47 |
|
| has anybody had this type of problems? | 11:48 |
| ← ixti left | 11:50 |
| ← spaceonline left | 11:51 |
| → fcuk112 joined | 11:53 |
| ← Axius left | 11:55 |
| → Pupeno_ joined | 12:00 |
| ← cytrinox left | 12:03 |
| → botanicus joined | 12:06 |
| ← bousquet left | 12:06 |
| ← pheaver left | 12:06 |
| → jfkw joined | 12:14 |
| ← hipe left | 12:15 |
| → hipe joined | 12:15 |
| ← Pupeno left | 12:16 |
| Pupeno_ → Pupeno | 12:16 |
| → cytrinox joined | 12:19 |
| → cortana joined | 12:24 |
| → __iron joined | 12:24 |
|
charon
| admiral0: git svn clone is to clone entire histories, and there is no history of /trunk/kmess to be cloned in r5699 (as that commit only touches /branches/kmess/kmess-2.0.x). | 12:27 |
|
| admiral0: if you do care about the history, use 'git svn clone' without revision limiters and then later check out the appropriate revision. if you don't, simply use svn clone as there would not be a point in using git | 12:27 |
|
| s/svn clone/svn checkout/ | 12:27 |
| ← Guest61672 left | 12:29 |
| ← khmarbaise left | 12:29 |
|
admiral0
| thanks charon :) | 12:32 |
| → ab3 joined | 12:37 |
| → omerj_ joined | 12:38 |
| ← ia left | 12:39 |
| ← mbroeker left | 12:40 |
|
straszheim
| here's one: I'm in the plumbing, I've pulled down a blob from a remote via fetch-pack, this blob is a config file. I wantget some configured values out and then take further action. looks like you have to write the blob to a /tmp/file and then git config -f /tmp/file... is there a 'best practice' for this? | 12:41 |
| → inffcs00 joined | 12:43 |
|
charon
| (i thought remote transports weren't supposed to give you anything not pointed to by a ref?) | 12:44 |
| → ia joined | 12:44 |
|
straszheim
| hm? | 12:45 |
|
| ls-remote: list of refs, fetch-pack --depth=1: commits trees and blobs | 12:46 |
| ← omerj left | 12:46 |
| → ph^ joined | 12:46 |
|
straszheim
| that wasn't clear | 12:46 |
|
| i get the list of remote refs with ls-remote and fetch-pack them, then i look at their trees for a certain file | 12:46 |
| → solistic joined | 12:47 |
|
straszheim
| so i've got a blob that contains [mystuff] key = value, etc.... but no obvious place to put it | 12:47 |
|
| straszheim wishes git-config would have a 'read from stdin' option | 12:48 |
|
jast
| might I suggest mktemp | 12:48 |
|
straszheim
| that'll work | 12:48 |
|
jast
| well, git config files aren't meant to be in the database, so nobody thought of that kind of option :) | 12:48 |
|
solistic
| Hello, I just can't figure out how to rebase on newly created remote branches with "git svn". What ever I do, the new remote branche does not show up with 'git brach -a'. Any hints? | 12:49 |
|
jast
| solistic: you might have to do a git svn fetch first | 12:49 |
|
straszheim
| jast: yeah, i follow you there | 12:49 |
| → Adlai joined | 12:50 |
|
solistic
| jast: thx, that seems to work, I only tried "git svn rebase" | 12:50 |
| ← Sigma left | 12:51 |
|
jast
| git svn rebase only fetches new stuff for the currently checked out branch iirc | 12:51 |
|
straszheim
| hmm, .gitmodules is an exception, those go in the database... but those live in the checkout | 12:52 |
|
jast
| yeah | 12:52 |
|
solistic
| jast: so should "git rebase new-svn-branch" && "git svn dcommit" commit my changes on "new-svn-branch" ? | 12:54 |
| ← cubuanic left | 12:54 |
|
jast
| solistic: I'm not sure. If, after the rebase, "git log" shows the new branch name in the git-svn-id line of the topmost log entry, then definitely yes. | 12:55 |
| ← Adlai left | 12:56 |
| → Adlai joined | 12:56 |
|
jast
| and I think it's likely to be that way, but I wouldn't bet my sanity on it. | 12:56 |
|
| then again I don't have any sanity anyway. | 12:56 |
| → khmarbaise joined | 12:57 |
| ← maleknet left | 12:59 |
|
solistic
| jast: the git-svn-id of the topmost log entry refers to the new branch, so I'll give it a try :) | 12:59 |
| → ankit9 joined | 13:01 |
| ← EricInBNE left | 13:02 |
| → wvd joined | 13:04 |
| → Yuuhi joined | 13:08 |
|
straszheim
| am I asking for trouble if I make a subdir of $GIT_DIR for my own use? | 13:10 |
|
| (one with a bizarre name that almost certainly won't collide with any normal git usage) | 13:10 |
| → Sigma joined | 13:12 |
| → reaVer joined | 13:14 |
| ← Sigma left | 13:15 |
| ← wvd left | 13:17 |
| → LukasLT10 joined | 13:18 |
| ← modsognir left | 13:18 |
| ← Laibsch left | 13:19 |
| → Sigma joined | 13:21 |
|
LukasLT10
| sitaram: Hi, you recently helped me to set up a gitolite server | 13:21 |
|
sitaram
| LukasLT10: hi | 13:21 |
|
LukasLT10
| sitaram: however i set up my ssh key with passphrase, but now i'd to have a passwordless login | 13:22 |
|
| and i'm afraid to break thongs down again :( | 13:22 |
|
sitaram
| LukasLT10: passphrase != password :) Can I assume you mean the passphrase protecting your private key? | 13:23 |
|
LukasLT10
| I guess i have to regenrate shh keys, but how to upload the to server? | 13:23 |
|
sitaram
| no no no | 13:23 |
|
| no | 13:23 |
|
| :) | 13:23 |
|
| LukasLT10: Can I assume you mean the passphrase protecting your private key? | 13:24 |
|
LukasLT10
| yes | 13:24 |
|
| but the one i created originaly is 25 chars lenght, and a bit too long to be retyped each time | 13:24 |
| → Paraselene__ joined | 13:25 |
|
sitaram
| you have 2 options: (1) use a program like ssh-agent or keychain to manage this for you (2) use ssh-keygen's "-p" option to remove the passphrase on your existing key | 13:25 |
|
| LukasLT10: there is *absolutely* no need to regenerate keys for this | 13:25 |
| ← Adlai left | 13:25 |
|
sitaram
| LukasLT10: passphrase protection is completely local to the workstation; no need to involve the server in any way either | 13:26 |
|
jjuran
| LukasLT10: ssh-agent comes highly recommended. | 13:26 |
| → sergiodj_ joined | 13:26 |
| → Adlai` joined | 13:26 |
|
sitaram
| LukasLT10: a bit pf time spent exploring those alternatives will give you years of security | 13:26 |
|
| LukasLT10: I type my passhrase (23 characters long by the way, just 2 short of yours) only once per login | 13:26 |
|
| linux, using "keychain", does all this magically | 13:27 |
| yhager_ → yhager | 13:27 |
|
sitaram
| (keychain internally uses ssh-agent by the way) | 13:29 |
|
LukasLT10
| i'll tha a look at them :) | 13:30 |
|
| i'll take a look at them :) | 13:30 |
|
sitaram
| LukasLT10: back to gitolite, if you do ever need to upload a new set of keys to the server, it's easy. Just add a new key, put it in keydir/ as "lukas@key2.pub" (keep the part before the "@" the same as your existing gitolite username), add it, commit, push. Done | 13:31 |
|
jjuran
| sitaram: Mine's over 100 characters. :-) | 13:31 |
|
sitaram
| jjuran: you rock! | 13:31 |
|
LukasLT10
| by the way, is there a way to block some files from being added by add . ? | 13:31 |
|
sitaram
| jjuran: I, however, type like a rock :( so if I had it that long I'd be logging on for 20 minutes :) | 13:31 |
| → Rayne joined | 13:31 |
|
jjuran
| LukasLT10: use .gitignore | 13:32 |
|
LukasLT10
| like eclipese o project settings files? | 13:32 |
|
| sitaram nods | 13:32 |
| → psoo joined | 13:32 |
| → Stravy joined | 13:32 |
|
Rayne
| does gitosis (i hope that i am in the right channel) assigns commits to the virtual users or does gitosis "forget" about the commiters? | 13:33 |
|
jjuran
| I just got git to compile with Metrowerks C 2.4.1 without major fuss. | 13:33 |
|
wereHamster
| Rayne: gitosis can't influence the commiter. The commiter is set when you commit in your local repository | 13:34 |
|
jjuran
| The problem is that it won't initialize an aggregate with values determined at runtime. The trick is to use the C++ translator for those functions. | 13:34 |
| Adlai` → Adlai | 13:34 |
|
Rayne
| wereHamster, good news :) | 13:34 |
|
jjuran
| sitaram: ^^^ | 13:35 |
|
sitaram
| jjuran: ?? (about the Metrowerks thing?) | 13:37 |
|
jjuran
| yes | 13:37 |
| → Tommy[D]_ joined | 13:37 |
| ← solistic left | 13:37 |
|
sitaram
| jjuran: oh... however, my knowledge of C is largely historical, like Al Gore's chances of becoming president :) | 13:37 |
|
jjuran
| The point being my patches for git are now maintainable and worth publishing. | 13:39 |
|
sitaram
| jjuran: aah -- sorry :) didnt think of that! | 13:41 |
|
| jjuran: so, posting it to the ML? | 13:41 |
|
| s/it/them | 13:41 |
| ← JEEBcz left | 13:45 |
|
jjuran
| sitaram: yup, after I get outgoing mail configured. | 13:45 |
| → bauruine joined | 13:46 |
| ← anno^da left | 13:47 |
|
sitaram
| yeah that's always a pain for me, since I use gmail :) I know there are some scripts to help and the documentation even has a section on it; have to read... | 13:47 |
| → parasti joined | 13:47 |
| → remi joined | 13:48 |
| → aziz joined | 13:50 |
| → mbroeker joined | 13:51 |
| → j416 joined | 13:51 |
| ← cytrinox left | 13:52 |
| → JEEB joined | 13:53 |
| → iron joined | 13:54 |
| → cytrinox joined | 13:54 |
|
cbreak
| gmail doesn't support imap? | 13:56 |
|
siks
| it does | 13:57 |
| → quizme joined | 13:57 |
|
quizme
| how do you erase the last commit completely ? | 13:57 |
|
siks
| settings -> forwarding and pop/imap | 13:58 |
|
| (to cbreak, not quizme) | 13:58 |
|
cbreak
| quizme: git reset. but only do that if you know what you are doing and din't push yet | 13:58 |
|
j416
| quizme: you have to remove all references to the commit (that is, in branch(es) and the reflog, tags etc.), then you can do 'git gc' and 'git prune' to remove it completely. | 13:59 |
|
| if that is in fact what you want.. | 13:59 |
|
quizme
| there is only the master branch | 13:59 |
|
j416
| no, there is your reflog as well. | 14:00 |
|
Glenjamin
| is that re-flog or ref-log ? | 14:01 |
|
j416
| reflog | 14:01 |
|
jast
| its a log of refs, if that answers your question :) | 14:02 |
|
| *it's | 14:02 |
|
jjuran
| Sometimes one flogging isn't enough :-) | 14:02 |
|
j416
| log of refs | 14:02 |
| → gazra joined | 14:02 |
|
jast
| oh... actually, a reflog is the log for one ref, not several. | 14:02 |
|
| quizme: anyway, point is, by using something like reset the commit will disappear from the history, but git will keep the object file(s) around for several weeks in case you want to recover the data | 14:03 |
| → vdidel_ joined | 14:03 |
| ← hipe left | 14:04 |
|
quizme
| jast: how do i get rid of the object files | 14:06 |
|
| prune ? | 14:06 |
| ← gazra left | 14:07 |
|
jast
| that's where it gets complicated, as people have already hinted at. you'll have to clean at least two reflogs in the general case before you can repack and prune. | 14:09 |
| ← __iron left | 14:09 |
| → spaceonline joined | 14:12 |
| ← ab3 left | 14:16 |
|
jast
| for example: git reflog --expire=0 HEAD refs/heads/yourbranch; git repack -Ad; git prune | 14:16 |
| → hgimenez joined | 14:16 |
|
Rayne
| does gitosis support disc/traffic quota or is the traffic countable by iptables for the different ssh keys ("users")? | 14:16 |
|
quizme
| thanks | 14:17 |
|
jast
| Rayne: I think the answer is: no to both | 14:17 |
|
quizme
| a bit too complicated for my blood | 14:17 |
|
Rayne
| github uses something that they developed (only the git backend) for themself (or customers which want pay for github.fi)? | 14:19 |
|
jast
| probably, yes | 14:20 |
| ← remi left | 14:20 |
| → cenuij- joined | 14:21 |
| ← Rayne left | 14:22 |
| ← maattd left | 14:23 |
| → maattd joined | 14:23 |
| → LiamH joined | 14:30 |
| → Sho_ joined | 14:30 |
| → laj_ joined | 14:31 |
| ← cenuij- left | 14:32 |
| ← j416 left | 14:32 |
| ← Pupeno left | 14:35 |
| → yarddog joined | 14:37 |
| ← cenuij left | 14:37 |
| yarddog → Guest38897 | 14:37 |
| ← mbroeker left | 14:38 |
| → mithro joined | 14:38 |
| ← Natch| left | 14:38 |
| → Natch| joined | 14:39 |
| → rudi_s joined | 14:51 |
| → munichlinux joined | 14:53 |
|
sitaram
| (he left, but) github has a custom ssh that hooks into a MySQL db instead of reading authkeys... | 14:56 |
| ← mithro left | 14:57 |
| → cenuij- joined | 14:59 |
| → munichpython joined | 14:59 |
| ← munichlinux left | 15:00 |
| munichpython → munichlinux | 15:00 |
| ← spaceonline left | 15:00 |
| ← Tommy[D]_ left | 15:01 |
| → lhz joined | 15:07 |
| ← radarek left | 15:08 |
| → krunk- joined | 15:09 |
| → reprore joined | 15:13 |
| → Bass10 joined | 15:14 |
| → will_h joined | 15:19 |
| → cga joined | 15:20 |
| → kumbayo joined | 15:21 |
| → mbroeker joined | 15:22 |
|
LukasLT10
| might be someone uses Eclipse's GIT plugin? | 15:25 |
|
cga
| hi all, i get [remote rejected] master -> master (hook declined) on git push origin master. the set up is as follow: remote server repo is /var/nginx/nanoc3/cga.cx/.git , i did git init in that dir , then git add . and git commit ; afteward i created dir ~/cga.cx and git init plus git remote add origin cga@glenys:/var/nginx/nanoc3/cga.cx/.git and git pull origin master. edited some file , git commit -m "test" + git push origin master , where do i fail? thanks | 15:26 |
| → spaceonline joined | 15:27 |
| ← quizme left | 15:31 |
|
jast
| cga: you've got a hook script installed in the remote repository that aborts the push | 15:31 |
| → aspotashev joined | 15:32 |
|
cga
| jast, oh i see. i guess that was created with git init. how do i know which is it? | 15:32 |
| ← Grahack left | 15:33 |
|
jast
| cga: probably the pre-receive or upload hook. if you don't need them, simply make sure they're not executable. | 15:34 |
|
cga
| jast, ok i'll have a look at them | 15:35 |
|
jast
| err, update hook | 15:35 |
|
cga
| ok | 15:35 |
|
| gotta go now | 15:36 |
|
| thanks | 15:36 |
|
LukasLT10
| sitaram: is it possible to re-enable simple user+password login, since eclipse's git plugin does not accept passwordess way :( | 15:37 |
| → munichpython joined | 15:38 |
| ← munichlinux left | 15:38 |
| munichpython → munichlinux | 15:38 |
| ← kpreid_ left | 15:39 |
| → kpreid_ joined | 15:39 |
| ← parasti left | 15:41 |
| → Determinist joined | 15:45 |
| ← kanru left | 15:46 |
|
wereHamster
| cga: did git push not print any additional information why it was declined? | 15:47 |
| ← luke` left | 15:48 |
| → dirk2 joined | 15:48 |
| ← bauruine left | 15:48 |
| → Chase_ joined | 15:49 |
| Chase_ → gbit69 | 15:49 |
| gbit69 → gbit | 15:49 |
|
gbit
| hey guys...just getting started with Git and trying to figure out the best setup for myself | 15:49 |
| → djszapi joined | 15:53 |
|
djszapi
| http://pastie.org/719205 | 15:53 |
|
| How can I fix it ? git reset --mixed or how ? | 15:53 |
| → Kissaki joined | 15:55 |
| ← flaguy48 left | 15:56 |
|
Kissaki
| what's the best way for a simple conversion of a bzr repo to a git repo? there's only one branch, not tags... | 15:58 |
| PN → ProperNoun | 15:58 |
| → rudi_s_ joined | 15:58 |
|
djszapi
| http://pastie.org/719207 | 15:59 |
|
| Ooo. | 15:59 |
|
| if someone could help me, it would be nice :( | 15:59 |
|
Kissaki
| Also, I'd only like to harmonize my commit-names (they changed through time, 3 values). Either while converting anyway or afterwards, if possible. | 15:59 |
| → yann joined | 15:59 |
|
me22
| djszapi: iirc a reset --hard will get you out of the intermediate merge state | 16:00 |
|
djszapi
| me22: Will I lost then my last git stash operation ? | 16:00 |
|
| So I did a git stash before this pulling. | 16:00 |
|
| I'd like to preserve that. | 16:00 |
|
me22
| IIRC stash commits a branch, so I doubt it, but I'm not sure | 16:01 |
| → Pupeno joined | 16:01 |
|
djszapi
| what do you doubt ? | 16:01 |
|
sitaram
| LukasLT10: not with gitolite -- nor even gitosis actually. They depend on ssh auth keys to distinguish one user from another | 16:02 |
| → bx2 joined | 16:02 |
|
sitaram
| LukasLT10: eclipse's git plugin cannot be so stupid; I know I have colleagues who are using it -- I can check with them tomorrow | 16:02 |
|
djszapi
| the basic question is whether git reset --hard delete the stash state. | 16:02 |
|
| the stash list | 16:02 |
|
cbreak
| if you want to meddle with the stash | 16:03 |
|
| use git stash | 16:03 |
|
djszapi
| ? | 16:03 |
|
| not sure I understand | 16:03 |
|
cbreak
| git reset does not care about the stash | 16:04 |
|
djszapi
| so can I do a git reset --hard without worrying ? | 16:04 |
|
| Will my stash content be preserved ? | 16:04 |
|
me22
| djszapi: I just haven't used git in anger, so I'm uncertain about most things | 16:05 |
|
djszapi
| doener, Ilari: where are you ? :) | 16:05 |
| → davey joined | 16:06 |
| → flaguy48 joined | 16:10 |
|
straszheim
| more and more boost people showing up on #git, very good, very good | 16:10 |
| → hugoxrosa joined | 16:11 |
| → amirite joined | 16:11 |
|
jjuran
| Yes, git reset --hard doesn't affect the stash | 16:11 |
|
me22
| yay; intuition worked again | 16:11 |
|
jjuran
| djszapi: ^^^ | 16:13 |
|
LukasLT10
| sitaram: yey :) i found out a way to make it work | 16:13 |
| ← munichlinux left | 16:13 |
|
sitaram
| ok | 16:13 |
|
| I was sure it would work -- would be meaningless otherwise (but I dont use Eclipse so would have had to ask my team tomorrow) | 16:14 |
| ← rudi_s left | 16:15 |
| ← spaceonline left | 16:17 |
| ← gbit left | 16:18 |
|
straszheim
| here's one: can i get the config from a remote w/o pulling the whole repo down? | 16:19 |
| → brennino joined | 16:19 |
| ← brennino left | 16:20 |
| → hurug joined | 16:21 |
| ← davey left | 16:21 |
| → davey_ joined | 16:21 |
|
hurug
| hi, how can I restore a file of a previous commit in git? | 16:22 |
| → EugenMayer joined | 16:22 |
|
EugenMayer
| Hello. How would I determine if a rebase / merge actually will need to merge files, regardless if this will be resolved or and in a conflict. Is the "make a upgrade branch and test it" the only approach given here? Actually iam trying to determine, if a merge / rebase can be 100% safely done by a bash script ( safe == no merges on file-base at all ) | 16:22 |
| → doener joined | 16:23 |
| ← LukasLT10 left | 16:23 |
| → LukasLT10 joined | 16:24 |
|
LukasLT10
| but the way it handles projects is quite strange and not very comfortable :( | 16:24 |
|
wereHamster
| EugenMayer: just do the merge/rebase and see if any files are left unmerged or if there were rebase conflicts.. | 16:25 |
|
EugenMayer
| and if, reset? | 16:25 |
|
wereHamster
| yes | 16:25 |
| ← hurug left | 16:26 |
|
EugenMayer
| well, maybe I should start my question the other way. | 16:26 |
|
| How can I check, if the current repo has changes, his origin does not have | 16:26 |
| ← hugoxrosa left | 16:26 |
|
EugenMayer
| git status I guess. With this informaiton | 16:26 |
|
selckin
| EugenMayer: never used this i'm just reading random man pages, git-merge-tree might not modify the state? | 16:26 |
|
EugenMayer
| iam reading the git-merge manpage | 16:27 |
| ← davey_ left | 16:29 |
| → anno^da joined | 16:31 |
| ← psoo left | 16:32 |
| ← khmarbaise left | 16:33 |
| → ntoll joined | 16:36 |
|
unixtippse
| EugenMayer: git diff master...origin/master <-- From my shell history. | 16:38 |
| → jayne joined | 16:38 |
|
unixtippse
| EugenMayer: You need to fetch (not pull) origin/master before diffing. | 16:39 |
|
EugenMayer
| well this is cool , as it generates the merge | 16:39 |
| → roop joined | 16:40 |
| ← roop left | 16:40 |
| ← Dextorion left | 16:40 |
|
EugenMayer
| thank you | 16:41 |
|
unixtippse
| EugenMayer: NP, I'm happy to help with the little git that I know. ;-) | 16:41 |
| → cilly joined | 16:41 |
|
EugenMayer
| wel iam extending braid to be able to send out emails of summaries if it could not smoothly update the nested repos | 16:42 |
| → remi joined | 16:42 |
|
EugenMayer
| so like: "braid check --update --nomerge --summary-email=you@here.tld --email_verbosity=error | 16:43 |
|
unixtippse
| I'm afraid I haven't had any contact with braid so far. | 16:44 |
|
EugenMayer
| well I think its rarely used | 16:44 |
| ← Adlai left | 16:46 |
| → vbgunz joined | 16:47 |
|
EugenMayer
| unixtippse: is git fetch origin master | 16:48 |
|
| doing the same as git remote update, only just for the master branch? | 16:49 |
|
unixtippse
| I must say I haven't had any contact with "git remote update" either. Is that shorthand for fetching all tracked remote branches? :-) | 16:49 |
| → ixti joined | 16:49 |
| → tedoc2000 joined | 16:51 |
|
EugenMayer
| http://paste.debian.net/52732 | 16:51 |
|
| that's in the man, but I can call, if this does the same :/ Could someone clarify? | 16:52 |
| → BlindOracle joined | 16:54 |
|
EugenMayer
| is it possible to do a git diff master...origin/master and actually make a default std out, without using the editor? I know that > file works, but how to stdout default? | 16:55 |
|
cbreak
| git diff doesn't use an editor here | 16:55 |
|
selckin
| export GIT_PAGER=cat or some such | 16:55 |
|
cbreak
| or | cat | 16:56 |
|
| if you don't want a pager | 16:56 |
|
selckin
| or like >&1 | 16:57 |
| → ph^_ joined | 16:57 |
|
selckin
| or git --no-pager! | 16:57 |
|
| ok back to work | 16:57 |
|
EugenMayer
| http://linux.die.net/man/1/git-diff | 16:58 |
|
| can't find your --no-pager switch here ( its not working either) | 16:58 |
|
unixtippse
| Works for me. | 16:58 |
|
selckin
| git --no-pager diff, man git | 16:58 |
|
EugenMayer
| ah! it's a git switch. Well I still have a lot to learn :/ | 17:01 |
|
| git diff --no-pager .. does not work | 17:01 |
|
| git --no-pager diff .. does work | 17:01 |
|
| thank you! | 17:01 |
| ← djszapi left | 17:01 |
| → tedoc2000_ joined | 17:02 |
| ← cilly left | 17:03 |
|
| unixtippse wonders whether git diff master...foo/master is in fact the preferred way for reviewing remote changes, or if there is anything else. | 17:03 |
| ← tedoc2000_ left | 17:04 |
|
offby1
| seems reasonable tome | 17:04 |
| → cilly joined | 17:04 |
|
offby1
| I do the opposite to review my _own_ changes before pushing -- git diff foo.. | 17:04 |
|
EugenMayer
| well that command only seems to check incoming changes, not outgoing | 17:05 |
| → Aikawa_ joined | 17:06 |
|
offby1
| really? | 17:06 |
|
| works for me | 17:06 |
|
| strictly speaking, I do "git diff trunk..", where "trunk" is a git-svn remote | 17:07 |
|
EugenMayer
| I have incoming commits from the origin, but I also have local changes ( I did not yet add them with diff add to the stage ) | 17:08 |
|
| diff does not show me the diff of that file | 17:08 |
|
unixtippse
| They will only be displayed when they have been commited. | 17:08 |
| → futoase joined | 17:08 |
|
EugenMayer
| git --no-pager diff origin/master does the job for me. Yeah, I undestand | 17:09 |
| → khmarbaise joined | 17:09 |
|
unixtippse
| Yes, because that way you're diffing against your staging area. (Or your working copy? Hmmm...) | 17:09 |
|
LukasLT10
| chmod for hooks should be -rwx------ ? | 17:09 |
| ← tedoc2000 left | 17:09 |
| ← futoase left | 17:09 |
| ← vital left | 17:13 |
|
EugenMayer
| LukasLT10: for gitolite / gitosis? yes | 17:13 |
|
| unixtippse: my one is against wc | 17:13 |
|
wereHamster
| LukasLT10: they need to be executable by git, that's all | 17:13 |
| ← Bass10 left | 17:13 |
| ← khmarbaise left | 17:13 |
| → bugxek joined | 17:13 |
|
EugenMayer
| unixtippse: yours might be staging or commited | 17:14 |
|
LukasLT10
| strange i can't get them fire :( | 17:14 |
| → Bass10 joined | 17:14 |
|
LukasLT10
| post-update is executed after push? | 17:15 |
| ← jlilly left | 17:15 |
|
EugenMayer
| The user you connect with must be able to execute them, is git is running by this user | 17:15 |
| ← Bass10 left | 17:16 |
| → Bass10 joined | 17:16 |
| → didi joined | 17:18 |
|
LukasLT10
| supid me, exec git-update-server-info exided before my code should be executed :D | 17:18 |
| → voker57 joined | 17:18 |
| → Pupeno_ joined | 17:18 |
| → spaceonline joined | 17:19 |
| ← Determinist left | 17:19 |
|
didi
| I want to get just the contrib/emacs from git.kernel.org/pub/scm/git/git.git. Is it possible? Or, is it possible to get just a directory from a repository? | 17:20 |
| ← bugxek left | 17:21 |
|
| Wolfman2000 is starting to understand the appeal of branches. :) | 17:21 |
| ← Aikawa left | 17:22 |
|
Wolfman2000
| Alright, I'm not a total conversion case, but I'm close. | 17:22 |
|
EugenMayer
| Wolfman2000: read the book :) 3.4, 3.5 and 3.6 | 17:22 |
|
me22
| EugenMayer: which book? | 17:22 |
|
Wolfman2000
| EugenMayer: I did read those sections. | 17:22 |
|
EugenMayer
| Did you like the way its descibed? | 17:22 |
|
| me22: http://progit.org/book/ | 17:23 |
|
doener
| didi: with history? No. As of now, you can only clone repos as a whole | 17:23 |
|
Wolfman2000
| Keeps it simple. So far, I won't need to use much of what's in 3.4-6 | 17:23 |
|
| 3.2 and 3.3 keep it simple enough for what I'm doing right now | 17:23 |
|
didi
| doener: And just the HEAD files? | 17:23 |
|
me22
| thanks, EugenMayer | 17:23 |
|
LukasLT10
| If i want to work with more than 1 repo i same script, i have to unset GIT_PATH before switching to next repo? | 17:24 |
|
doener
| didi: the kernel.org gitwed allows to get snapshots of arbitrary tree objects | 17:24 |
|
| didi: http://git.kernel.org/?p=git/git.git;a=tree;f=contrib/emacs;h=dcd71f6e77ec89d788595d8fd5e0a104b3fb2e8a;hb=66abce05dd5b9da9c889034781dc3de38b6e231b | 17:24 |
|
Gitbot
| [git dcd71f6e7]: http://tinyurl.com/y9cd46f [tree] | 17:24 |
|
didi
| doener: I see. Thank you. | 17:25 |
|
EugenMayer
| How would make a diff of all : not updated, staged, commited changes to a specific branch? -- does not-updated <-> branch , --cached does staged <-> branch .. how to combine?= | 17:26 |
| → lresende joined | 17:26 |
| ← Bass10 left | 17:27 |
| → Bass10 joined | 17:27 |
| → virginia joined | 17:27 |
| → voker57_ joined | 17:28 |
| ← spaceonline left | 17:29 |
|
doener
| EugenMayer: hm? "git diff" ("--" makes no difference) is working tree vs. index | 17:29 |
|
EugenMayer
| git --no-pager diff HEAD | 17:29 |
|
doener
| EugenMayer: "git diff HEAD" is working tree vs. HEAD | 17:29 |
|
EugenMayer
| this is what I was looking for | 17:29 |
|
| ah ;-) | 17:29 |
| ← madewokherd left | 17:30 |
|
EugenMayer
| just for pure interest, how would I also add the "not tracked" files to it? | 17:30 |
|
doener
| EugenMayer: that's not a combination of "git diff" and "git diff --cached" though | 17:30 |
| ← voker57 left | 17:30 |
|
doener
| EugenMayer: git add -N <pathspecs> | 17:30 |
|
| EugenMayer: -N means "intent to add", the paths get a special entry in the index that makes "diff" show them as new files | 17:31 |
| ← kumbayo left | 17:31 |
|
EugenMayer
| ah, ok. Well git is huge :) | 17:31 |
|
cga
| does "git add ." looks recursively? | 17:31 |
| ← didi left | 17:31 |
|
EugenMayer
| compared to my SVN knowledge, its huge. And I love it | 17:31 |
|
| cga: yes if you do git add . | 17:31 |
| → Axius joined | 17:32 |
|
cga
| mmmm ok , that is strange then. it adds the files but if i commit then i don't find the files on the server. | 17:32 |
|
| even if it says it has committed | 17:32 |
|
doener
| cga: committing is local | 17:32 |
|
EugenMayer
| did you check with git "status"? | 17:32 |
|
selckin
| cga: faq bare | 17:33 |
|
| selckin pokes Gitbot | 17:33 |
|
doener
| selckin: faq non-bare | 17:33 |
|
Gitbot
| selckin: Pushing to non-bare repositories is discouraged. See http://git.or.cz/gitwiki/GitFaq#non-bare | 17:33 |
|
cga
| nope EugenMayer , thanks selckin | 17:33 |
| → jaysern joined | 17:33 |
|
doener
| selckin: but as I read it, cga only ran "git commit", not "git push" | 17:33 |
|
selckin
| possible | 17:34 |
|
doener
| (though of course, he'd probably run into the non-bare push thing next) | 17:34 |
| → d0k joined | 17:34 |
| ← Pupeno left | 17:35 |
|
cga
| doener, also push. my bad not saying it clear | 17:35 |
| Pupeno_ → Pupeno | 17:35 |
|
EugenMayer
| doener: how are changes called, when they are submitted? "snapshotted" ? | 17:36 |
| → madewokherd joined | 17:38 |
|
doener
| EugenMayer: committed? | 17:38 |
|
EugenMayer
| Well yeah, they are commited. That actually means, they are in a snapshot : http://progit.org/book/ch2-2.html | 17:39 |
|
| just thinking about this picture | 17:39 |
|
doener
| EugenMayer: well, if you run "git add foo" to 'stage' foo, git already takes a snapshot of foo's contents | 17:40 |
|
EugenMayer
| well git add file does not stage? | 17:40 |
| ← Bass10 left | 17:40 |
|
EugenMayer
| or no, it does ofc | 17:40 |
|
doener
| EugenMayer: the "snapshot" term is usually just used to say "git stores snapshots, not deltas" | 17:40 |
|
EugenMayer
| ok but with --amend I could modifiy this snapshot I guess | 17:41 |
| → Bass10 joined | 17:41 |
|
EugenMayer
| I undestand. | 17:41 |
|
doener
| EugenMayer: no. Objects are immutable. "git commit --amend" creates new objects | 17:41 |
| → parasti joined | 17:41 |
|
EugenMayer
| doener: just trying to understand more deeply. | 17:41 |
|
| Ah, ok | 17:41 |
|
| so amend actually just change the commit. Every commit has number(all?) of snapshots of files (changed?) | 17:42 |
|
doener
| when you run "git add foo" (and foo is a file), git reads the contents of "foo" and puts them into an object (the object's name depends on its contents --> content addressable storage) | 17:42 |
|
jast
| not quite. amend creates a new commit that replaces the one you had before. | 17:43 |
|
doener
| and it creates/updates an entry in the index, that says "foo is a file, its contents are in this object" (roughly) | 17:43 |
|
EugenMayer
| so the other is removed ( plus the objects where snapshotted for it?) | 17:43 |
|
jast
| not immediately. git keeps old objects around for a while for safekeeping. | 17:43 |
|
doener
| EugenMayer: did you read Git From The Bottom Up? | 17:43 |
|
EugenMayer
| ah ok. But in general, they are not in direct use anymore | 17:43 |
|
jast
| yep | 17:44 |
|
doener
| EugenMayer: that does a good job of explaining the inner workings | 17:44 |
|
EugenMayer
| doener: well the book till chapter 5 | 17:44 |
|
| doener: well, it's a lot of informations. Reading, understanding and actually then "recognising" is a long process for me | 17:44 |
|
doener
| EugenMayer: if you just do "git commit --amend" to change the commit message. You get _one_ new object, a new commit. The trees and blobs will still be the same | 17:45 |
|
EugenMayer
| using CVS / SVN for so a long time, I really have problems with change the way of thinking :) | 17:45 |
|
| doener: well, this is if I did not stage any new files / changes before amend <->old commit, right. otherwise I can change the commit message + the commit is changed ( objects stored ) | 17:46 |
|
doener
| the commit object is _never_ changed. It's immutable | 17:46 |
|
cga
| ok, i did git commit on server after git status showed me the changes. but still can't see them live. what else do i fail? | 17:46 |
|
selckin
| cga: did you read faq non-bare ? | 17:47 |
|
Gitbot
| cga: Pushing to non-bare repositories is discouraged. See http://git.or.cz/gitwiki/GitFaq#non-bare | 17:47 |
|
EugenMayer
| doener: well yeah, more precise, the objects IN the commit are exchanged | 17:47 |
|
doener
| EugenMayer: if you added modified files to the index prior to "commit --amend", then the "git add" part created new blobs. And the "commit" will call write-tree, which will create new tree objects. And the commit object will reference one of those new trees | 17:47 |
| → spaceonline joined | 17:47 |
|
doener
| EugenMayer: a commit object only references zero or more parents commits + 1 tree object | 17:48 |
|
EugenMayer
| Ah | 17:48 |
| → jlilly joined | 17:48 |
|
cga
| selckin, yes i read that. how do i set up something that get istant changes when i push from local to remote? i'm the only one working on it. is it git bare? | 17:48 |
|
EugenMayer
| cga: http://progit.org/book/ch4-4.html | 17:49 |
|
cga
| thanks | 17:49 |
| ← Wraithan left | 17:49 |
|
doener
| EugenMayer: Git From The Bottom Up explains that quite nicely, using the plumbing commands. http://ftp.newartisans.com/pub/git.from.bottom.up.pdf | 17:49 |
|
EugenMayer
| cga: http://progit.org/book/ch2-5.html | 17:49 |
|
cga
| thanks | 17:50 |
|
EugenMayer
| doener: thanks! I tread that one up on time. Stoping wasting your time then | 17:50 |
| ← hakunin left | 17:50 |
| → hakunin joined | 17:50 |
| → Wraithan joined | 17:50 |
|
doener
| EugenMayer: it's quite short, regarding the current topic, the first 20 pages are enough | 17:51 |
|
| EugenMayer: actually, even just the first 15. The other 5 are already about rebasing | 17:52 |
| ← Bass10 left | 17:54 |
| → Bass10 joined | 17:54 |
| → misiu_mp joined | 17:54 |
| → __Joker joined | 17:55 |
| ← kpreid_ left | 17:56 |
| ← Paraselene_ left | 18:00 |
| Paraselene__ → Paraselene_ | 18:00 |
| → Killer_X joined | 18:01 |
| → cloudhead joined | 18:01 |
| ← Bass10 left | 18:01 |
| → Bass10 joined | 18:01 |
| → tedoc2000_ joined | 18:02 |
|
Killer_X
| hello, wonder if someone can help me. im rather new to git | 18:02 |
| → maattd_ joined | 18:03 |
| ← parasti left | 18:03 |
|
Killer_X
| on os x, when i do "git rm somefile" and the git commit, git complains that "somefile" is not there... | 18:03 |
|
| then i do "touch somefile" and retry commit git is happy | 18:04 |
|
wereHamster
| Killer_X: what does 'git status' say just after you run git rm? | 18:04 |
|
doener
| Killer_X: uhm, a plain "git commit" complains? | 18:04 |
|
wereHamster
| my guess it's because your filesystem is case insensitive | 18:04 |
|
Killer_X
| git commit -m "jkhkdsfhsdf" | 18:04 |
|
| # (use "git reset HEAD <file>..." to unstage) | 18:05 |
|
| # | 18:05 |
|
| # renamed: includes/tasker_object.class.php -> includes/classes/TObject.class.php | 18:05 |
|
| # | 18:05 |
| ← Axius left | 18:05 |
|
doener
| wereHamster: hm, would the case insensitivity matter for "git commit"? I'd expect that to be a problem for "git rm", but not for commit | 18:06 |
|
| Killer_X: do you use any hooks? | 18:06 |
|
Killer_X
| doener: thanks! | 18:07 |
|
| that was it :) | 18:07 |
|
doener
| Killer_X: a broken hook? | 18:07 |
|
Killer_X
| i had a php syntax check hooked in | 18:07 |
|
doener
| ah | 18:07 |
|
Killer_X
| so it wanted to check the missing files | 18:07 |
|
doener
| Killer_X: http://git.pastebin.com/m1ee7d360 | 18:08 |
| ← asksol left | 18:09 |
|
Killer_X
| hey, thanks | 18:09 |
| → Axius joined | 18:09 |
| → jkp joined | 18:09 |
|
doener
| Killer_X: the --diff-filter limits it to Added, Copied, Modified and Renamed files | 18:10 |
| → adamm joined | 18:10 |
|
doener
| Killer_X: and the loop also takes care to only check the version you're going to commit, not whatever happens to be in the working tree | 18:10 |
| ← spaceonline left | 18:12 |
| → vital joined | 18:12 |
| ← jkp left | 18:13 |
|
Kissaki
| what's the best way for a simple conversion of a bzr repo to a git repo? there's only one branch, not tags... | 18:13 |
| → tedo__ joined | 18:13 |
| ← maattd left | 18:18 |
| maattd_ → maattd | 18:18 |
| ← Pupeno left | 18:19 |
| ← tedoc2000_ left | 18:21 |
| ← Axius left | 18:25 |
| ← tedo__ left | 18:25 |
| → Pupeno joined | 18:26 |
| → Axius joined | 18:28 |
| ← hyperair left | 18:29 |
| ← voker57_ left | 18:30 |
| → voker57_ joined | 18:30 |
| → drizzd joined | 18:32 |
| ← __Joker left | 18:35 |
| ← icwiener left | 18:36 |
| → smuf joined | 18:37 |
|
Fissure
| Kissaki: bzr fast-export/git fast-import | 18:37 |
| ← Axius left | 18:38 |
|
Kissaki
| Fissure: is that included with the binary releases? | 18:39 |
|
Fissure
| for git, it's built-in | 18:39 |
| ← cilly left | 18:39 |
|
Fissure
| bzr, dunno... separate package on ubuntu at least | 18:39 |
|
| i think it's a separately-maintained plugin | 18:40 |
| → Pupeno_ joined | 18:40 |
| → mike8901 joined | 18:41 |
| ← mike8901 left | 18:41 |
| → fridim__ joined | 18:44 |
| → Adlai joined | 18:47 |
| ← drizzd_ left | 18:47 |
|
Kissaki
| Fissure: hm, ok thx | 18:48 |
| → icwiener joined | 18:48 |
| → kpreid_ joined | 18:48 |
| ← BlindOracle left | 18:52 |
| ← pjackson left | 18:54 |
| ← voker57_ left | 18:54 |
| ← Analias left | 18:54 |
| ← Pupeno left | 18:56 |
| Pupeno_ → Pupeno | 18:56 |
| → cilly joined | 18:57 |
|
cga
| can you tell me if this post-update hook goes on remote or local please? http://git.or.cz/gitwiki/GitFaq#Whywon.27tIseechangesintheremoterepoafter.22gitpush.22.3F | 18:57 |
| → Axius joined | 18:58 |
|
doener
| cga: different question: How would a hook in repo A change the working tree in repo B? | 18:58 |
| → talal joined | 18:58 |
|
doener
| cga: considering that repo B might be on a different box to which you have no access except for "git fetch/push" | 18:59 |
|
cga
| doener, heh i guess that is a good question, but i'm totally new to git and getting nut since a few hours to get a repo working XD | 18:59 |
|
| no offense, i just don't understand it | 19:00 |
| ← virginia left | 19:00 |
|
doener
| cga: well, repo A == local, repo B == remote. You obviously want to change the working tree of repo B | 19:00 |
|
cga
| indeed | 19:01 |
|
doener
| cga: so which repo should get the hook? The one you don't want to change, or the other one to which you might have no direct access? The hook obviously has access to the repo it lives in... | 19:01 |
|
cga
| ok so i need the hook on B | 19:01 |
|
doener
| right ;-) | 19:02 |
|
cga
| thanks =) | 19:02 |
|
doener
| besides the above 'example' (that one should be able to think through without knowing git), the post-update hook is only executed when a repo is pushed into. So that hook needs to go into the receiving repo | 19:03 |
| ankit9 → ankit9|zzz | 19:04 |
| → Axius_ joined | 19:06 |
| ← Axius left | 19:06 |
| ← dirk2 left | 19:07 |
|
cga
| doener, everything works now. i only had the problem in pushing from A to B in non bare repo | 19:08 |
|
| thanks a lot | 19:08 |
| → dreiss joined | 19:09 |
|
cga
| you might wonder why i want such a behaviour. well it's a personal repo of nanoc3 generated blog. i want the commits to go live as soon as i push. | 19:09 |
|
doener
| cga: ikiwiki supports "update on push" behaviour, but in a different way | 19:10 |
|
| cga: the repo you push to is bare, and a hook in it goes to a non-bare clone and updates its working tree | 19:10 |
|
| cga: IMHO, that's somewhat cleaner | 19:10 |
|
cga
| doener, heh that's nice but i don't use ikiwiki =) i need a blog not a wiki. (if i get it right that's a wiki) | 19:11 |
| → j416 joined | 19:12 |
| ← jlilly left | 19:12 |
| → bauruine joined | 19:12 |
| ← john268 left | 19:15 |
| ← cilly left | 19:16 |
| ← razvand left | 19:17 |
| ← misiu_mp left | 19:17 |
| → hakunin_ joined | 19:20 |
| ← hakunin left | 19:21 |
| → juan_arandaalvar joined | 19:21 |
| ← juan_arandaalvar left | 19:21 |
| ← paltman left | 19:24 |
| → ab3 joined | 19:25 |
| → maattd_ joined | 19:25 |
| ← talal left | 19:26 |
| → engla joined | 19:29 |
| ← reprore left | 19:30 |
|
bremner
| ikiwiki can also do blogs fwiw | 19:30 |
| → reprore joined | 19:30 |
| ← bauruine left | 19:30 |
| ← anno^da left | 19:31 |
| → john268 joined | 19:33 |
| ← maattd left | 19:34 |
| maattd_ → maattd | 19:34 |
| ← will_h left | 19:34 |
| → radarek joined | 19:36 |
| → bauruine joined | 19:38 |
| ← Axius_ left | 19:38 |
| ← reprore left | 19:41 |
| ← Bass10 left | 19:44 |
| ← Adlai left | 19:44 |
| → Bass10 joined | 19:44 |
| → Adlai joined | 19:44 |
| ← Killer_X left | 19:45 |
| → dutchie joined | 19:51 |
| ← Bass10 left | 19:51 |
| ← Sigma left | 19:51 |
| → Bass10 joined | 19:51 |
| → jack_ joined | 19:52 |
|
jack_
| hi | 19:52 |
|
| i am a git newbie, sorry, can anybody tell me :who to git diff one file with last two commit ? thanks | 19:52 |
|
cortana
| git diff HEAD^^ file | 19:52 |
|
jack_
| ok | 19:53 |
|
| thanks cortana, thanks you very much :) | 19:53 |
|
cortana
| HEAD^^ identifies the 2nd last commit | 19:53 |
|
dutchie
| I accidentally made a commit on a detached HEAD, how can I apply it to master? git commit -C <id> doesn't work | 19:53 |
|
cortana
| you can stick ^ on the end of a branch name and it'll work from there, too | 19:53 |
|
| dutchie: cherry pick it? | 19:53 |
|
jack_
| very appreciate your help, cortana | 19:53 |
|
cortana
| you're welcome | 19:53 |
|
dutchie
| great, thanks cortana | 19:54 |
| → razvand joined | 19:54 |
| → Tommy[D]_ joined | 19:54 |
|
j416
| dutchie: note the sha1, check out master, git merge <sha1> | 19:54 |
|
| or, if you have done no changes on master and just want it to resemble what you have in your detached HEAD, you can simply do: git checkout master; git reset <sha1> | 19:55 |
| → Twisted_Mentat joined | 19:55 |
|
j416
| cherry-pick works also, of course, but only for single commits | 19:55 |
| → reprore_ joined | 19:59 |
|
dutchie
| j416: cherry-pick did the trick, as it was only the one, but thanks | 20:00 |
|
j416
| :) | 20:01 |
|
| cherry-pick is a little overkill though | 20:01 |
|
| but sure. | 20:01 |
| ← jack_ left | 20:02 |
| ← smuf left | 20:02 |
| → piem joined | 20:03 |
|
piem
| howdy. is there anything else than tailor + svn to switch from bzr to git? | 20:04 |
| → bernie_ joined | 20:04 |
| ← india7145 left | 20:05 |
| ← cga left | 20:06 |
| → india7145 joined | 20:08 |
| ← dreiss left | 20:16 |
|
Fissure
| piem: one-time transfer of history from bzr to git? | 20:16 |
|
| use bzr fast-export plugin and git fast-import | 20:17 |
| ← Paraselene_ left | 20:19 |
| dazman → Guest62154 | 20:21 |
| ← omerj_ left | 20:22 |
|
piem
| Fissure: yep, got that reading your words in the backlog | 20:23 |
| ← engla left | 20:23 |
|
piem
| Fissure: but I get a "fatal: Corrupt mode: M 040000 - doc" | 20:23 |
|
Fissure
| strange that question got asked twice in such a short time | 20:24 |
|
| look for an option in bzr fast-export to not output directory entries | 20:24 |
| → dreiss joined | 20:25 |
|
piem
| Fissure: indeed :-) can't find such an option, and it doesn't seem git fast-import has an ignore one | 20:26 |
|
| but i can use grep -v ... | 20:26 |
| → __Joker joined | 20:26 |
| → _science_ joined | 20:27 |
|
Fissure
| make sure that doesn't corrupt and file data... | 20:27 |
|
_science_
| How can one setup a folder /project/frameworks where frameworks should hold all the git remote that one has added ? | 20:28 |
|
piem
| Fissure: it still fails, complaining about "Path ... not in branch" | 20:29 |
|
Fissure
| piem: perhaps you removed an entry you should not have? | 20:29 |
|
| go bother the bzr-fast-export person for writing a broken stream :P | 20:30 |
| ← mbroeker left | 20:30 |
| ← bx2 left | 20:30 |
| → bx2 joined | 20:31 |
| → blakemizerany joined | 20:31 |
| → developernotes joined | 20:34 |
| ← developernotes left | 20:34 |
| ← dutchie left | 20:35 |
| ← bx2 left | 20:35 |
| ← Eraldo left | 20:36 |
| → bx2 joined | 20:37 |
| → omerj joined | 20:37 |
| → Determinist joined | 20:39 |
| → dutchie_ joined | 20:39 |
| ← dutchie_ left | 20:39 |
| → TML joined | 20:41 |
| ← radarek left | 20:42 |
|
dsop
| ha finally finished a patch to clone just wone branch | 20:43 |
| ← NetHawk left | 20:44 |
| → Hawk416 joined | 20:44 |
| ← TML left | 20:46 |
| → TML joined | 20:46 |
| → aresnick joined | 20:48 |
| ← blakemizerany left | 20:50 |
| → tedo__ joined | 20:52 |
| ← tedo__ left | 20:52 |
| → radarek joined | 20:53 |
|
wereHamster
| _science_: ? | 20:54 |
| ← razvand left | 20:58 |
| → jmspeex joined | 20:59 |
| ← bernie_ left | 21:00 |
| → bernie_ joined | 21:00 |
| → khmarbaise joined | 21:01 |
| → Paraselene_ joined | 21:02 |
|
piem
| Fissure: https://bugs.launchpad.net/bzr-fastimport/+bug/427188 talks about this issue | 21:02 |
|
| Fissure: and the patch at http://launchpadlibrarian.net/31687430/fix-plain-dir-rename works for me (tm) | 21:04 |
| bernie_ → bernie | 21:04 |
|
Fissure
| that's good | 21:04 |
| → blakemizerany joined | 21:04 |
| ← froschi left | 21:04 |
| → threeve joined | 21:05 |
|
piem
| Fissure: now, you mentionned "one-time transfer", what's wrong with this approach if i want to keep the old bzr branch up to date for a while? | 21:05 |
|
Fissure
| i suppose it will work for incremental updates if you use a marks file, but it would probably be a headache to make things bidirectional as anything more than a stopgap | 21:06 |
| ← plediii left | 21:07 |
| → plediii joined | 21:07 |
|
piem
| i see. git is soooo much faster i don't really want to bother with bzr anymore! :-] but it'd still be nice to my users to keep the bzr branch up-to-date for some time | 21:07 |
|
AAA_awright
| Can you git-fast-export the revisions made in Git out to bzr? | 21:10 |
|
| piem: http://bazaar-vcs.org/BzrFastImport | 21:11 |
| → BlindOracle joined | 21:13 |
|
Fissure
| AAA_awright: yes, you can | 21:14 |
|
| i've never really used fast-import as anything other than an archival format and for a few test repos because i was curious | 21:15 |
|
AAA_awright
| That is all I could think of, I have searched for a bi-directional bzr<->git program but can't find one | 21:15 |
| ← aresnick left | 21:16 |
|
Fissure
| AAA_awright: http://github.com/pieter/git-bzr https://launchpad.net/bzr-git neither of these works? | 21:16 |
| ← corni left | 21:19 |
|
AAA_awright
| Fissure: Hmm.... I think I was looking for a git program, I think I rejected that for some reason, I'll check again | 21:20 |
| ← LukasLT10 left | 21:20 |
|
AAA_awright
| Probably because it's Python | 21:20 |
|
| Hate, hate, hate | 21:20 |
|
jast
| ahh, a kindred spirit | 21:21 |
| ← intripoon left | 21:22 |
|
jast
| just wait until I release my own programming language (work in progress)... nobody but me will know it, but at least I can stop hating all competition because I'll stop needing it :) | 21:22 |
| → plediii_ joined | 21:23 |
| → ereslibre joined | 21:24 |
| → krynnotaur joined | 21:26 |
| ← khmarbaise left | 21:28 |
|
peper
| hello | 21:29 |
|
| can i git clone to a remote dir via ssh? | 21:29 |
|
xenoterracide
| is there any way I could use git to detect duplicates between 2 directories (neither of which are currently under git) | 21:30 |
| ← omerj left | 21:30 |
|
straszheim
| sure | 21:31 |
| → omerj joined | 21:31 |
|
xenoterracide
| and what would be the best way to go about doing that. note the filenames between the 2 directories are not consistant although some of the files may be identical | 21:32 |
|
straszheim
| well you can import both directories and diff them... then there'd be some scripting i spose, as diff will give you the opposite of what you want. maybe there's the Perfect Flag in there somewhere. | 21:33 |
|
| http://stackoverflow.com/questions/224687/git-find-duplicate-blobs-files-in-this-tree | 21:34 |
| ← Rolenun left | 21:35 |
|
Fissure
| xenoterracide: i'd just use diff on the sorted output of sha1sum for those two directories | 21:35 |
|
xenoterracide
| Fissure: a diff of a sha1sum alone won't be useful because everything will be different as the filenames are different | 21:37 |
|
Fissure
| xenoterracide: actually, you might want to do something clever with uniq | 21:37 |
|
| can there be duplicates within the directories? | 21:38 |
|
xenoterracide
| no | 21:38 |
|
| each directory is unique | 21:38 |
|
| however there may be duplicates between the directories | 21:39 |
|
Fissure
| sha1sum dir1/* dir2/* | cut -f1 -d' ' |sort | uniq -d | while read sha1; do sha1sum dir1/* dir2/* | grep $sha; done | 21:39 |
|
| something like that :) | 21:40 |
| ← plediii left | 21:40 |
| plediii_ → plediii | 21:40 |
|
Fissure
| er, s/while read sha1/while read sha/ | 21:40 |
|
| gotta use the same variable name :) | 21:40 |
| → Rolenun joined | 21:41 |
|
remi
| is there a page where I can go and see that "commits names" I can use in "git diff" (like HEAD, etc...) ? | 21:41 |
|
Fissure
| obviously you could pregenerate the sha1 lists | 21:41 |
|
remi
| * see all "commit names" | 21:41 |
|
Fissure
| remi: you mean the different naming conventions? | 21:41 |
|
| man git-rev-parse | 21:41 |
|
Gitbot
| Fissure: the git-rev-parse manpage can be found at http://git.or.cz/man/git-rev-parse | 21:41 |
|
remi
| Fissure: excellent, thank you! | 21:42 |
|
xenoterracide
| Fissure: and what does that find me? the duplicates? | 21:43 |
|
Fissure
| xenoterracide: it should :) | 21:43 |
|
| totally untested, of course | 21:43 |
| ← __Joker left | 21:43 |
| → colossus joined | 21:44 |
| ← d0k left | 21:44 |
| ← colossus left | 21:44 |
|
xenoterracide
| Fissure: well a quick check of one of the results say it does. thanks. is there any way to get sha1sum to ignore subdirectories? | 21:45 |
|
Fissure
| xenoterracide: it doesn't recurse into subdirectories here | 21:47 |
|
| and wildcards are expanded by the shell anyway | 21:47 |
|
xenoterracide
| no it doesn't here it just complains about them. generates a lot fo noise. I suppose I could just filter the noise. I think it's stderr so some redirection should work | 21:48 |
|
Fissure
| yes, it is | 21:48 |
| → Sigma joined | 21:48 |
|
Fissure
| or use `find dir1 -type f -depth 0` (or depth 1? i don't remember) instead of shell wildcards | 21:48 |
| ← maattd left | 21:48 |
|
xenoterracide
| Fissure: k, thanks you've been a real help | 21:50 |
| ← bx2 left | 21:50 |
| ← cloudhead left | 21:50 |
| → modsognir joined | 21:52 |
| ← plediii left | 21:54 |
| ← dreiss left | 21:54 |
| → aresnick joined | 21:54 |
| → cloudhead joined | 21:56 |
| ← bgerber left | 21:56 |
|
doener
| Fissure: -maxdepth 1, I guess? -depth doesn't take an argument, but makes find process the directory's contents before the directory itself | 21:58 |
|
Fissure
| doener: certainly; was just guessing as to the syntax because i knew find had to have that option even if i didn't know what it was called | 21:59 |
| → icwiener_ joined | 21:59 |
| → bgerber joined | 22:01 |
| → Rayne joined | 22:03 |
| ← j416 left | 22:03 |
| → Pupeno_ joined | 22:05 |
|
Rayne
| if i use git on my local system where does it store its information? in project/.git as far as i know. but what do i have to do, if i fork my project to test a new feature but want to use another branch which sends its data to the origin project/.git directory? | 22:05 |
|
| like master and testing branch | 22:06 |
|
cbreak
| just make a branch | 22:06 |
|
Rayne
| but how do i get my files for working with them? | 22:06 |
|
cbreak
| checkout -b testbranch master | 22:06 |
|
| then you're on the testbranch | 22:06 |
|
| and can do what you want | 22:06 |
|
| if you want to go back, just git checkout master | 22:06 |
| ← reprore_ left | 22:07 |
|
cbreak
| the files in the working directory will be replaced on switching | 22:07 |
|
| if you want an additional working directory, just git clone the original | 22:07 |
|
Rayne
| ah | 22:07 |
|
cbreak
| but remember: do NOT push to repositories with working directories | 22:07 |
|
| unless you know what you are doing | 22:07 |
|
Rayne
| cool, it works :) | 22:08 |
|
| but does that not take much time with big projects to switch the branch? | 22:09 |
| ← fcuk112 left | 22:09 |
| ← tjaway left | 22:10 |
| → tjaway joined | 22:10 |
|
Rayne
| i read that if i clone a repo i will get the whole repo and its whole history and old files. is it possible to fetch only the current ones for branch xyz? | 22:10 |
|
| (i read that some people use git for managing their documents and this sounds neat) | 22:10 |
| ← ph^ left | 22:10 |
|
Rayne
| (in this case it only want the latest versions on my system, but the complete repo for instance on my external hdd) | 22:11 |
| ← icwiener left | 22:11 |
| ← g3d left | 22:13 |
| → Gitzilla joined | 22:14 |
| → j416 joined | 22:15 |
|
d3xter
| Rayne: stores the complete history of every "git clone", or for example rebase wouldnt be possible anymore | 22:16 |
|
| or fast-forward merge | 22:16 |
| → soupeee joined | 22:17 |
|
Rayne
| d3xter, but i am able to delete old stuff which i am really sure that i will never need it again? | 22:18 |
|
doener
| Fissure, xenoterracide: eval $(echo join '<(find '{x,y}' -maxdepth 1 -type f -print0 | xargs -0r sha1sum | sort)') | 22:18 |
| → bugxek joined | 22:18 |
|
doener
| Fissure, xenoterracide: x and y are the directories to look into | 22:18 |
|
madewokherd
| if you delete a branch it'll go away "eventually" | 22:18 |
|
doener
| Fissure, xenoterracide: for large directories, that's quite a bit faster than the loop that executes sha1sum over and over again | 22:19 |
|
madewokherd
| and if you delete a repo, it'll go away now | 22:19 |
|
soupeee
| nobody@upix /var/git $ git init | 22:19 |
|
| /var/git/.git: Permission denied | 22:19 |
|
offby1
| soupeee: are you trying to ask a question? | 22:19 |
|
soupeee
| yes | 22:20 |
|
offby1
| soupeee: what might that question be? | 22:20 |
|
| offby1 whistles innocently | 22:20 |
|
cbreak
| Rayne: deleting stuff out of git is hard | 22:20 |
|
| it requires rewriting history | 22:20 |
|
d3xter
| Rayne: first of all, git doesnt save the complete file, which has been modified, you can only delete the blob/tree objects | 22:20 |
|
cbreak
| (not hard as in that it's hard to do, because it's not, but as in that it's a pain to manage) | 22:20 |
|
d3xter
| Rayne: but afterwards, git will complain about missing objects | 22:20 |
|
| offby1 guesses the question is "What does that error message mean, and what do I do about it?" | 22:20 |
|
d3xter
| Rayne: you could copy all of the files from your working directory and then create a new repo | 22:20 |
|
soupeee
| why do I get permission denied when I try to use git-init? | 22:21 |
|
doener
| d3xter: "git doesnt save the complete file, which has been modified" -- hm? How do you mean that? | 22:21 |
|
d3xter
| soupeee: you should to that in /var/git as root | 22:21 |
|
Fissure
| doener: never seen the join command before, and redirection from a subshell is not something i would immediately think of | 22:21 |
| ← ab3 left | 22:21 |
|
offby1
| soupeee: because, as the error message says, you don't have permission to write to the directory named /var/git. | 22:21 |
|
Fissure
| doener: can we come up with a shorter one using perl? :) | 22:21 |
|
soupeee
| I can't become root either, perimission denied | 22:21 |
|
offby1
| soupeee: this is probably because you're logged in as "nobody", who traditionally has no permission to do pretty much anything. | 22:21 |
|
Rayne
| d3xter, that is a simple but good idea, thanks for that hint | 22:21 |
|
doener
| Fissure: I learned about join(1) from some blog post (I'm pretty sure it was some database blog ;-)) | 22:21 |
| ← Pupeno left | 22:22 |
| Pupeno_ → Pupeno | 22:22 |
|
offby1
| soupeee: so put the new repository in some directory to which you _do_ have write access. | 22:22 |
|
d3xter
| doener: i mean, git saves every change which has been commited in a blob object | 22:22 |
| → ijuma_ joined | 22:22 |
|
doener
| Fissure: and the <() redirection was mentioned by charon (I think) in here lately, so I had to put them into action :-) | 22:22 |
|
d3xter
| doener: it doesnt save an old version of a file in ".git" | 22:22 |
|
Fissure
| doener: i also said it would make sense to store the sha1sum output in a temporary file | 22:22 |
|
doener
| d3xter: and the blob object holds the whole file contents | 22:22 |
|
soupeee
| been following gentoo-wiki/wiki/git that's what it says to do | 22:22 |
|
doener
| Fissure: sorry, must have missed that | 22:22 |
|
offby1
| soupeee: either you're screwing something up, or it's inaccurate. | 22:23 |
|
d3xter
| doener: no, it just contains the changes | 22:23 |
|
madewokherd
| Rayne: it's best to have one repo for each "project"; if you have unrelated things in the same repo it'll just get annoying (inability to delete them is only one example) | 22:23 |
|
d3xter
| doener: i mean, it contains the patch, which has been applied to the branch :) | 22:23 |
|
soupeee
| also I started the session as root then I was dropped into the nobody shell | 22:23 |
|
Fissure
| d3xter: git does not store patches, it stores complete trees | 22:23 |
|
d3xter
| and this blob item is encrypted | 22:23 |
| ← hgimenez left | 22:23 |
|
offby1
| soupeee: I get the feeling you don't understand the fundamentals of Unix. | 22:23 |
|
doener
| d3xter: no. Git objects always contain a the full contents. Deltas are only created when things get packed | 22:23 |
|
| d3xter: and the objects aren't encrypted. Just gzipped | 22:24 |
|
d3xter
| Fissure: doener: thanks for the clarification :) | 22:24 |
| → giallu joined | 22:24 |
|
doener
| whenever git needs a patch, it creates it on the fly | 22:24 |
|
Rayne
| madewokherd, thanks for that hint | 22:24 |
|
soupeee
| which fundamental in particular? | 22:25 |
| ← giallu left | 22:25 |
|
offby1
| soupeee: I also get the feeling that your gentoo documentation is assuming that there's already a directory named "/var/git", and that that directory is owned by "nobody". You can confirm (or deny!) this by typing "ls -ld /var/git", and looking for a user name in the output. | 22:25 |
| → giallu joined | 22:25 |
| ← EugenMayer left | 22:25 |
|
offby1
| (actually, you'll probably see _two_ user names; you can ignore the second one.) | 22:25 |
| ← Adlai left | 22:26 |
|
Fissure
| well, second isn't a *user* name... | 22:26 |
| → hipe joined | 22:26 |
| → Adlai joined | 22:26 |
|
offby1
| Fissure: yeah, yeah. I take some liberties so as not to confuse the n00b :) | 22:26 |
|
| too many details can be counter-productive. | 22:26 |
| ← Sigma left | 22:26 |
| → erlehmann joined | 22:27 |
|
Fissure
| fair enough | 22:27 |
|
| offby1 wonders where soupeee went off to | 22:28 |
|
soupeee
| chown root:nobody /var/git, same problem | 22:29 |
| → dreiss joined | 22:29 |
|
doener
| soupeee: and the group has write permission? | 22:31 |
|
soupeee
| just a sec | 22:31 |
|
offby1
| soupeee: I'd really appreciate it if you'd run "ls -ld /var/git", and paste the output into your IRC client. It'd make it easier for me to help you. | 22:31 |
|
| doener: might be a good idea for just one of us to help; too many cooks is confusing | 22:31 |
| ← doener left | 22:32 |
| ← adamm left | 22:33 |
|
soupeee
| upix soupeee # ls -ld /var/git | 22:33 |
|
| drwxr-xr-x 3 root nobody 1024 Nov 29 13:27 /var/git | 22:33 |
|
offby1
| ok, that explains everything. | 22:34 |
| ← blakemizerany left | 22:34 |
|
offby1
| (or, almost everything; it doesn't explain why the gentoo docs are broken) | 22:34 |
|
soupeee
| tell me more | 22:35 |
|
offby1
| anyway, as root, I suggest you type "chmod 775 /var/git" | 22:35 |
|
| I'm not absolutely certain that that's the right thing to do; it's possible that the right thing is instead "chown nobody /var/git" | 22:35 |
|
| both will at least get you past your current roadblock, but one might have some sort of subtle problem later. Unfortunately I can't predict which is which, because (frankly) I'm too lazy to read that gentoo doc. | 22:36 |
| → loincloth joined | 22:36 |
|
soupeee
| nobody@upix /var/git $ git init | 22:36 |
|
| Initialized empty Git repository in /var/git/.git/ | 22:36 |
|
| OK, now were gettin somewhere | 22:36 |
|
offby1
| I have to suggestions for you in the long term: 1) become familiar with Unix permissions; they're pretty easy; and 2) quit using probably-broken documentation from gentoo, and instead use proper documentation from the Git project itself. | 22:36 |
|
| s/to/two/ | 22:36 |
| → jelmer joined | 22:37 |
| ← radarek left | 22:39 |
| → dhoss joined | 22:40 |
| → petteri joined | 22:41 |
| ← ixti left | 22:42 |
|
soupeee
| ok thanks does this mean I dont need to be nobody? | 22:45 |
| ← aresnick left | 22:45 |
| → secoif joined | 22:46 |
| ← india7145 left | 22:46 |
| → kukks joined | 22:47 |
| → india7145 joined | 22:47 |
|
offby1
| I'm not sure. | 22:48 |
|
| my guess is you need to be nobody until you start the daemon, and then you can resume being "yourself". | 22:49 |
| ← bambule left | 22:49 |
| ← ludde left | 22:49 |
|
offby1
| soupeee: also keep in mind that it _might_ be easier all around for you to use one of the free git hosting sites, like repo.or.cz or github, rather than running your own server. | 22:50 |
| → adamm joined | 22:50 |
| ← bugxek left | 22:50 |
|
soupeee
| so I didn't need to emerge git even? | 22:52 |
| → davido joined | 22:53 |
|
soupeee
| all I wanted to do originally was to update fsck which wont check the fs on my netboot unless the ac cord is plugged in | 22:53 |
|
offby1
| I would guess you don't, since you seem to already have a git binary. But "emerge" is a very gentoo-specific topic, and I don't understand it at all well. | 22:53 |
|
| offby1 stares blankly | 22:53 |
|
offby1
| what on EARTH does that have to do with git?! | 22:53 |
|
| offby1 isn't sure he actually wants to know | 22:54 |
|
Rayne
| kthxbye | 22:55 |
| ← Rayne left | 22:55 |
|
dominikh
| mhm. when using git-svn, is it save to clone the git repo, commit to that, merge the clone back to the "main" git-svn repo and then svn dcommit? (if not using any branches) | 22:56 |
|
soupeee
| according to the developer of fsck I need to use his git repository to fix this. | 22:56 |
|
offby1
| soupeee: I think you're waaay over your head. | 22:57 |
|
| I know this isn't what you want to hear, but: I recommend that you use a stable boring distro, like Debian or Ubuntu, rather than gentoo. | 22:58 |
|
AAA_awright
| Gentoo users are in over their head by definition I thought | 22:58 |
|
| I would know, I love Gentoo :) | 22:58 |
|
Wolfman2000
| AAA_awright: ...I wish you luck. | 22:58 |
|
offby1
| dominikh: yes, although it's pretty easy to find yourself having committed the "rebasing a public branch" sin. | 22:58 |
|
dominikh
| offby1: mind elaborating a bit? | 22:59 |
|
offby1
| dominikh: just be careful, and get in the habit of doing "git --dry-run dcommit" a lot, to see which branch you're going to dcommit to before you actually do it | 22:59 |
|
| offby1 gestures upwards | 22:59 |
|
dominikh
| oki | 22:59 |
|
offby1
| dominikh: I still haven't come up with a completely satisfactory way to work on the same project on multiple boxes. Last thing I tried was passing patches around with "git format-patch" and "git am -3"; that seemed to work OK | 23:00 |
|
dominikh
| well. the svn repo only got one branch, and I will stick to one git branch (suits the workflow). I hope that makes it less dangerous :) | 23:00 |
|
AAA_awright
| soupeee: Trusting that compiling fsck by hand is what you are supposed to do, "emerge git" and in your home directory or something "git clone $url" | 23:00 |
|
offby1
| dominikh: as long as you understand "git for computer scientists" in your very bones, you'll be OK | 23:00 |
|
AAA_awright
| You shouldn't need to git init an existing project | 23:00 |
|
offby1
| AAA_awright: OK, he's yours now :) | 23:00 |
|
AAA_awright
| noes | 23:01 |
|
| :) | 23:01 |
|
Wolfman2000
| dominikh: You will learn to at least appreciate branches. | 23:01 |
|
dominikh
| Wolfman2000: I do appreciate branches, I use them in my projects. but I simply don't need them for this one ;) | 23:01 |
| ← remi left | 23:01 |
| ← _science_ left | 23:01 |
|
Wolfman2000
| dominikh: I assumed so myself. I proved myself wrong. | 23:01 |
|
dominikh
| Wolfman2000: well, believe me ;) -- I have been working on this (git-)svn repo for months now | 23:02 |
|
Wolfman2000
| *shrugs* whatever you say | 23:02 |
|
dominikh
| I had to resort to git-stash only once | 23:02 |
|
selckin
| more multitasking! | 23:02 |
|
dominikh
| :) | 23:03 |
| ← sis left | 23:03 |
| ← fridim__ left | 23:04 |
| ← ereslibre left | 23:12 |
| ← Stravy left | 23:12 |
| ← lhz left | 23:13 |
| → MrGando joined | 23:14 |
|
MrGando
| Hello guys, I'm trying to set up git to work with a small team of web developers... the thing is that we are used to work on a development box, and then when we hit a milestone we move that to a production server, what would be the best way to achieve this setup ? | 23:15 |
| → eyl joined | 23:15 |
| ← jaysern left | 23:17 |
| → admiral0_ joined | 23:19 |
| ← soupeee left | 23:19 |
|
Rolenun
| MrGando: http://progit.org/book/ch5-1.html | 23:21 |
|
MrGando
| Thank you very much | 23:21 |
| → drry joined | 23:25 |
|
offby1
| dominikh: "resort to"? git stash is _fun_! | 23:25 |
|
| you should look for excuses to use it! | 23:26 |
|
| offby1 glances around nervously. | 23:26 |
|
dominikh
| yeaah.. :p | 23:27 |
| ← dbatbold left | 23:31 |
| → siks joined | 23:31 |
| ← admiral0 left | 23:33 |
| → hyperair joined | 23:36 |
| ← inffcs00 left | 23:36 |
| → CarlFK joined | 23:39 |
| ← admiral0_ left | 23:40 |
| ← ntoll left | 23:42 |
| ← icwiener_ left | 23:45 |
|
Rolenun
| MrGando: The main page: http://progit.org/book/ may also be a good reference if you are just learning git | 23:46 |
|
CarlFK
| if I have a symlink in my dirtree, what will happen if I check in both the file and the link? | 23:48 |
|
selckin
| it will do the right thing | 23:49 |
|
CarlFK
| yay | 23:50 |
|
| this had me worried: git status = new file: static/css/login_form.css | 23:50 |
|
selckin
| a symlink is a file | 23:50 |
|
CarlFK
| fair enough | 23:51 |
| ← pantsman left | 23:55 |
| ← vdidel_ left | 23:55 |
| → kstarr joined | 23:58 |
| → skammer joined | 23:58 |
|
Rolenun
| tackling submodules today.....yikes :D | 23:59 |
| → blakemizerany joined | 23:59 |
| → methanol joined | 23:59 |