| 2011-01-24 |
| → nazgul102 joined | 00:01 |
| ← andrewvos left | 00:02 |
| ← spaceonline left | 00:02 |
| ← Modius left | 00:02 |
| ← nazgul101 left | 00:02 |
| → pdelgallego joined | 00:03 |
| ← chrischambers left | 00:03 |
| → pdelgallego_ joined | 00:04 |
| ← nevyn^1 left | 00:04 |
| → markoso joined | 00:04 |
| ← paintchimps left | 00:05 |
| → juangiordana joined | 00:05 |
| ← tizbac left | 00:06 |
| ← workmad3 left | 00:07 |
| → ROBOTARMY joined | 00:07 |
| ← John___ left | 00:08 |
| → chrischambers joined | 00:10 |
| ← __name__ left | 00:11 |
| ← Cro_Crx left | 00:12 |
| ← project2501a left | 00:13 |
| → chrisdarroch_ joined | 00:14 |
| ← p3rror left | 00:15 |
| → Lalaland1125 joined | 00:17 |
| ← Agos left | 00:17 |
| ← chrischambers left | 00:19 |
| ← airborn left | 00:21 |
|
kanzure
| do i want a post-receive or post-update hook? i want to render pdfs from each commit | 00:21 |
|
patrikf
| IMHO, neither | 00:22 |
| → abstrakt joined | 00:22 |
|
thiago_home
| probably post-update, so that they don't block the push acceptance | 00:22 |
| ← oracal left | 00:23 |
|
kanzure
| patrikf: why neither? | 00:23 |
|
| thiago_home: thank you, that's a good point | 00:23 |
| → John___ joined | 00:23 |
|
patrikf
| kanzure: do you really need that PDF up-to-date at all times? | 00:23 |
|
banisterfiend
| why is it wrong to push to a non-bare repo? | 00:24 |
| Unknown[NF] → Unknown[OFF] | 00:24 |
|
kanzure
| i lied, i'm actually rendering images of hardware schematics, and yes it needs to be for each revision | 00:24 |
| → nevyn^1 joined | 00:24 |
|
thiago_home
| banisterfiend: because it does things you don't expect it to | 00:24 |
|
| banisterfiend: it modifies a branch, but doesn't update the checkout | 00:24 |
|
banisterfiend
| thiago_home: like what my friend | 00:24 |
|
thiago_home
| banisterfiend: you need to read faq nonbare | 00:24 |
| ← tewecske1 left | 00:24 |
|
thiago_home
| huh... | 00:24 |
|
| banisterfiend: faq non-bare | 00:24 |
|
jast
| banisterfiend: Pushing to non-bare repositories is discouraged: please see https://git.wiki.kernel.org/index.php/GitFaq#non-bare [automatic message] | 00:24 |
|
banisterfiend
| thiago_home: oh ok, so the working tree is the same as it was before the push | 00:24 |
| → Cro_Crx joined | 00:24 |
| ← felixge left | 00:24 |
| ← Bigsista left | 00:25 |
| → surikator joined | 00:26 |
| → luxurymode joined | 00:29 |
| ← gilaniali left | 00:29 |
| ← thiago_home left | 00:30 |
| ← nevyn^1 left | 00:30 |
| ← Tuller left | 00:30 |
| ← Lalaland1125 left | 00:31 |
| → John_____ joined | 00:31 |
| ← d0k left | 00:32 |
| → dreiss joined | 00:32 |
| ← Cro_Crx left | 00:33 |
| → p3rror joined | 00:33 |
| ← John___ left | 00:33 |
| ← SirFunk_ left | 00:34 |
|
banisterfiend
| can i define an alias that is local to a repo? | 00:34 |
|
bremner
| yes | 00:34 |
|
banisterfiend
| how bremmy? | 00:34 |
|
bremner
| with git config ? | 00:34 |
|
banisterfiend
| can you give a simple example bremmx0r ? | 00:34 |
| ← Yuuhi left | 00:35 |
|
bremner
| see man git-config | 00:35 |
|
jast
| the 'git-config' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-config.html [automatic message] | 00:35 |
| ← John_____ left | 00:35 |
| → Cstep4 joined | 00:35 |
|
banisterfiend
| thanks brems | 00:35 |
|
bremner
| search for "alias", takes you right to it | 00:35 |
|
| do you massacre everyone's nick? | 00:36 |
|
banisterfiend
| bremner: also, out of interest, what merge tool do you use? | 00:36 |
|
bremner
| I use kdiff3 and emerge | 00:36 |
|
banisterfiend
| bremner: im just being affectionate | 00:36 |
| ← Cstep4 left | 00:36 |
|
banisterfiend
| ah ok | 00:36 |
|
talexb
| Hmm .. gitk is broken now I've updated git. :( | 00:36 |
|
banisterfiend
| bremner: is emacs git support pretty good? | 00:36 |
|
bremner
| it is if you install magit | 00:36 |
|
banisterfiend
| great | 00:37 |
|
| thanks | 00:37 |
|
bremner
| welcome, banny-wanny | 00:37 |
|
banisterfiend
| ;) | 00:38 |
|
bremner
| ;) | 00:38 |
| → Cro_Crx joined | 00:38 |
| ← p3rror left | 00:38 |
| → stringoO joined | 00:38 |
| ← dpino left | 00:42 |
| ← dfr|mac left | 00:43 |
| → Slix` joined | 00:44 |
| ← warthog9 left | 00:45 |
| → SethRobertson joined | 00:48 |
| yaotti → yaotti_aw | 00:48 |
| ChanServ set mode: +v | 00:48 |
| → dfr|mac joined | 00:49 |
| → p3rror joined | 00:50 |
|
chrisdarroch_
| so I'm using git-svn, and the repo has a branches folder. I've cloned it using `git svn clone https://path/to/svn/repo/' -T trunk -b branches` | 00:50 |
|
| my problem is that there's a folder inside branches/ called branches/private/, which has several folders inside for individual user's branches | 00:50 |
|
| I'd like to simply ignore that entire folder forever, but it seems rather difficult to do | 00:50 |
|
| If I add an ignore-path="branches/private", git-svn still runs over the folder and makes a commit for it, but doesn't add content to the commit | 00:51 |
|
| anybody have ideas on a better way of making git-svn completely ignore that folder's existence? | 00:52 |
|
patrikf
| is it an issue, though? | 00:52 |
|
| I mean, you can just ignore that branch... | 00:52 |
| → verto joined | 00:52 |
|
chrisdarroch_
| it's not a gigantic problem, though because of the way git-svn has interpreted the branches/private folder... | 00:53 |
|
| occasionally I'll get about 20 commits to that folder when I fetch —all | 00:53 |
|
| similarly, when it shows up in log history it's annoying to wade through | 00:53 |
|
| I usually just `git branch -d -r private` after each fetch | 00:54 |
|
| bit of a pain, is all | 00:54 |
| ← nairb774 left | 00:54 |
| ← rgr left | 00:55 |
|
patrikf
| okay, I see your point (don't have any advice though) | 00:55 |
| → nairb774 joined | 00:56 |
|
chrisdarroch_
| lord help me if anything from that private branch gets merged in to the product, though :P | 00:56 |
| ← dfr|mac left | 00:56 |
| → utu joined | 00:57 |
| ← cenuij- left | 00:57 |
|
talexb
| Stupid question warning .. where can I get the latest gitk? All I can find is stuff like http://freshmeat.net/projects/gitk which is eight years old. | 00:58 |
|
bremner
| talexb: it ships with git now | 00:58 |
| → Bigsista joined | 01:00 |
|
Bigsista
| lo | 01:00 |
| ← pheaver left | 01:00 |
| → pheaver joined | 01:01 |
|
talexb
| bremner .. Hmm. I built git from source this afternoon -- but apparently didn't get gitk as well? | 01:01 |
|
patrikf
| that's not even git's gitk, lol. already wondered how it could be eight years old... | 01:01 |
|
Bigsista
| if i need qiuck teamwork. can i work on remotes/master and send my commits directly? or do i need to commit to local/master and then push to remotes/master? | 01:01 |
| → flaguy48 joined | 01:02 |
|
bremner
| talexb: dunno about that. Maybe it is configuration option. It needs tk | 01:02 |
|
patrikf
| Bigsista: the remotes are only local mirrors. never work on them. | 01:02 |
|
Bigsista
| i'm used to svn. so don't blame me for asking =/ | 01:02 |
|
patrikf
| s/remotes/remote-tracking branches under refs/remotes/, to be exact | 01:03 |
|
| patrikf is not blaming anyone | 01:03 |
|
patrikf
| if you want svn-like behaviour, you can pull+push after each commit. | 01:03 |
|
Bigsista
| patrikf: if i switch to a remote tracking branch in eclipse e.g. - where do my commits go then? are they stil only local until i push them? | 01:04 |
|
| ah ok | 01:04 |
| ← stringoO left | 01:04 |
|
Bigsista
| we need to sort that out in our team, if we all change to git... and i am the one who's gonna tell them how =) | 01:05 |
|
patrikf
| you can commit to remote-tracking branches, but that will irritate some of git's assumptions. | 01:05 |
| ← jfelchner left | 01:05 |
|
patrikf
| so don't do it, the only reason you would checkout remote-tracking branches is to merely look at the contents | 01:05 |
| ← priidu left | 01:05 |
|
Bigsista
| patrikf: so... this would NOT be a good way to work then | 01:06 |
|
| i see | 01:06 |
| → RahulT joined | 01:06 |
|
talexb
| bremner .. I'm getting 'Error in startup script: expected version number but got "1.7.4-rc2"' .. | 01:06 |
| ← PointMan_ left | 01:06 |
| ← shruggar left | 01:07 |
|
patrikf
| Bigsista: also, git's power lies in the command line, so starting by working from eclipse might not be the best idea | 01:07 |
| ← hagabaka left | 01:07 |
|
Bigsista
| i'm a shell nerd... but the others are not | 01:07 |
|
patrikf
| just saying | 01:08 |
|
Bigsista
| patrikf: most docs i read gave the same impression to me. it gets really powerful when you start using the shell | 01:09 |
| ← panike left | 01:10 |
| → gebi joined | 01:12 |
|
talexb
| Hmm, http://comments.gmane.org/gmane.comp.version-control.git/164487 .. doesn't like the RC bit at the end. | 01:14 |
| ← jonanin left | 01:15 |
| → yhager joined | 01:16 |
|
talexb
| bremner -- Yep, that fix did it. If I knew more shell I'd submit a patch. | 01:18 |
|
bremner
| talexb: it looks like there is already a patch in that thread | 01:18 |
| ← kipras left | 01:19 |
|
talexb
| Ah. | 01:20 |
|
| Anyway, just wanted to pass that tidbit along. | 01:21 |
| → iSikh joined | 01:21 |
| Unknown[OFF] → Unknown[NF] | 01:21 |
| → hagebake joined | 01:22 |
| → bryantluk joined | 01:22 |
| ← miloshadzic left | 01:23 |
| ← necromancer left | 01:24 |
| hagebake → hagabaka | 01:24 |
| ← nb left | 01:25 |
| Unknown[NF] → Unknown[OFF] | 01:25 |
| → rgr joined | 01:26 |
| ← sonnym left | 01:27 |
| Unknown[OFF] → Unknown[NF] | 01:27 |
| → sonnym joined | 01:27 |
| ← iravid left | 01:27 |
| ← MikhX left | 01:27 |
| → iravid joined | 01:28 |
| → panike joined | 01:28 |
| ← panike left | 01:28 |
| ← chrisdarroch_ left | 01:29 |
| → chrisdarroch_ joined | 01:29 |
| ← Cro_Crx left | 01:31 |
| → warthog9 joined | 01:32 |
| → necromancer joined | 01:33 |
| ← bitkiller left | 01:34 |
| → MikhX joined | 01:34 |
| Unknown[NF] → Unknown[OFF] | 01:34 |
| ← alberto56 left | 01:35 |
|
magcius
| Ok | 01:35 |
| ← pheaver left | 01:36 |
|
magcius
| If I have branch1-B-C-D-E, and want to get commits C and D onto branch2 to look like branch2-C-D, but not B or E, is there an easy way to do this? | 01:36 |
| → Cro_Crx joined | 01:36 |
|
magcius
| I could rebase -i and make branch1 become branch1-C-D-B-E, and then reset branch2 to become D, but I don't want to do that. | 01:36 |
| ← ROBOTARMY left | 01:37 |
|
talexb
| magicus Use the cherrypick feature. | 01:37 |
| → nb joined | 01:38 |
|
magcius
| talexb, won't that duplicate C and D? | 01:38 |
|
| talexb, and if I want to merge branch1 back into branch2, will it not become confused? | 01:38 |
| Unknown[OFF] → Unknown[NF] | 01:39 |
| → surikator_ joined | 01:39 |
| ← surikator left | 01:39 |
| → gilaniali joined | 01:39 |
|
talexb
| magicus You want to make changes C and D to branch2, right? | 01:40 |
|
| The cherrypick feature will do that. And no, it won't get confused -- it'll see it's already done that change. | 01:40 |
| → laj joined | 01:41 |
| ← chessguy left | 01:43 |
| → ProperNoun joined | 01:43 |
| → auntie joined | 01:43 |
| → dr_win joined | 01:44 |
| dwmw2_gone → dwmw2_BNE | 01:44 |
| ← ProperNoun left | 01:45 |
| → fivetwentysix joined | 01:45 |
| → gretch joined | 01:47 |
| ← auntie left | 01:48 |
|
necromancer
| does anyone here know why you can't follow organizations on github? | 01:48 |
|
bremner
| maybe ask on #github? | 01:49 |
| ← xiong left | 01:52 |
|
kanzure
| my tree id for a commit was 'A'; then when i pushed three commits over, for each of those commits, the tree id was 'B'; the only change in all 4 commits was a change to a certain file | 01:53 |
|
| why would the tree id change? | 01:53 |
|
| or not change in the case of the three that i pushed all at once? | 01:53 |
| → jarodluebbert joined | 01:54 |
| ← surikator_ left | 01:57 |
| → surikator joined | 01:57 |
| → nazgul101 joined | 02:00 |
| → Remixman joined | 02:01 |
| ← nazgul102 left | 02:01 |
| ← dreiss left | 02:02 |
| → klunky joined | 02:02 |
| ← surikator left | 02:02 |
|
necromancer
| oh shit there's a #github? lol | 02:02 |
| ← scelis left | 02:05 |
| ← klunky left | 02:05 |
| → klunky joined | 02:06 |
| → jzacsh joined | 02:07 |
| → adnap joined | 02:09 |
| ← klunky left | 02:09 |
| ← yhager left | 02:09 |
| ← Cro_Crx left | 02:10 |
| → chessguy joined | 02:11 |
| ← sraue left | 02:11 |
| Unknown[NF] → Unknown[OFF] | 02:13 |
| → QinGW joined | 02:14 |
| Unknown[OFF] → Unknown[NF] | 02:14 |
| ← Bigsista left | 02:14 |
| → dl9pf_ joined | 02:14 |
| ← dl9pf left | 02:15 |
| → mikepack joined | 02:16 |
| ← iSikh left | 02:16 |
| ← rjrodger left | 02:18 |
| → HuntingBears joined | 02:18 |
| dwmw2_BNE → dwmw2_gone | 02:18 |
| → dfr|mac joined | 02:19 |
| ← sako left | 02:20 |
| → alan_k joined | 02:22 |
| → sraue joined | 02:23 |
| → pheaver joined | 02:26 |
| → silanus_ joined | 02:27 |
| → Vampire0_ joined | 02:28 |
| ← pdelgallego left | 02:28 |
| ← silanus left | 02:29 |
|
necromancer
| here we go! about to init repos for all of my logic pro projects | 02:29 |
| ← pdelgallego_ left | 02:29 |
| ← rgr left | 02:31 |
| ← necromancer left | 02:31 |
| ← Vampire0 left | 02:32 |
| ← utu left | 02:32 |
|
adnap
| hello, i've just started learning to use git. i have a question: what should i do if i need to use a makefile for my project that nobody else will need to use? should i keep this out of any commits, causing it to constantly show up in my status, add it to my ignored file, or add it in a commit under a different name? | 02:33 |
|
kanzure
| what's the best way to get a list of files updated in a certain commit? | 02:33 |
| → bburhans_ joined | 02:33 |
| ← bburhans left | 02:33 |
|
kanzure
| adnap: why not add it to your ignore file? | 02:33 |
|
adnap
| kanzure: git diff, or git diff --cached | 02:33 |
|
kanzure
| hmm i guess there's git show --pretty="format:" --name-only | 02:33 |
|
adnap
| kanzure: that was one of my thoughts. do you think that's the best? | 02:33 |
|
kanzure
| adnap: sure | 02:34 |
| ← engla left | 02:35 |
| → ROBOTARMY joined | 02:35 |
|
adnap
| also, is it possible to rename a file in my repo, but never make that change known? | 02:36 |
|
| the makefile in my repo that i don't want to use is named GNUmakefile, which is the first thing make uses. i'd prefer that make use my makefile by default, so i'd like to rename GNUmakefile, but not have that change reflected when i do any commits. | 02:37 |
|
kanzure
| yes, you could move it on your own then put it into your ignore file; however, when you check out the file again, it will come back to life | 02:37 |
| ChanServ set mode: +v | 02:37 |
| → bcardarella joined | 02:39 |
| ← HuntingBears left | 02:39 |
|
adnap
| okay, ty | 02:41 |
| ← Linc left | 02:42 |
| bburhans_ → bburhans | 02:43 |
|
banisterfiend
| adnap; hello | 02:46 |
| ← webPragmatist left | 02:46 |
| → yhager joined | 02:46 |
| → ysiad joined | 02:47 |
|
ysiad
| what's the standard process for conflict resolution? | 02:48 |
|
| like if I edit the file by hand | 02:48 |
|
| and I want to mark it "resolved" | 02:48 |
|
| how do I do that | 02:48 |
|
chrisdarroch_
| just git add the file after you've resolved the conflicts | 02:48 |
|
adnap
| banisterfiend: hello. what's up? | 02:51 |
| → Bass10 joined | 02:55 |
| ← yhager left | 02:57 |
| → yhager joined | 03:00 |
| ← SimonP86 left | 03:00 |
| ← Mab879 left | 03:02 |
| ← ROBOTARMY left | 03:03 |
| ← jarodluebbert left | 03:03 |
| → ROBOTARMY joined | 03:04 |
|
jzacsh
| hello, i'm having a bit of trouble making gitolite and gitweb work together. it seems to be a common cause for new forum threads, but none seem that clear. I'm not sure what is wrong, but I've followed instructions both of these places: http://codeslife.com/?p=99 http://groups.google.com/group/gitolite/browse_thread/thread/851ded374e5ae4c9 | 03:05 |
|
| does anyone know a definitive guide that explains how to do it? | 03:05 |
| → shentino joined | 03:06 |
| ← shentino left | 03:06 |
| → shentino joined | 03:06 |
| → Cro_Crx joined | 03:08 |
|
| bremner just followed the gitolite docs | 03:09 |
|
bremner
| jzacsh: can you be more specific about what is going wrong? permissions are the usual problem | 03:09 |
| → Mab879 joined | 03:09 |
|
jzacsh
| bremner: there was no where that you had to specify what dir/ to serve from ? (through apache) | 03:09 |
| ← storrgie left | 03:10 |
|
bremner
| jzacsh: I guess that depends on your gitweb config. It's true I do some symlinking from the gitolite dir to where gitweb looks. But pointing gitweb at the right place should work too. | 03:10 |
|
jzacsh
| bremner: i guess i haven't read enough (though this is not the first go around)... I don't really know what's wrong. | 03:11 |
|
| bremner: what gitweb conf are you editing? just the /etc/gitweb.conf? | 03:11 |
| ← gilaniali left | 03:11 |
|
bremner
| yeah | 03:12 |
| ← Cro_Crx left | 03:13 |
| → necromancer joined | 03:14 |
|
jzacsh
| bremner: is that conf based on `git-daemon(1)` ? | 03:14 |
|
bremner
| nope. just some ad-hoc perl | 03:14 |
|
jzacsh
| bremner: i'm thinking that the only thing missing is a specification as to _where_ to serve gitweb from. i feel like I've seen that in a config somewhere, but don't recall. do you have that specified in gitweb.conf? | 03:16 |
|
bremner
| I guess you want $projectroot | 03:17 |
| ← ysiad left | 03:18 |
| ← necromancer left | 03:18 |
| → necromancer joined | 03:18 |
|
jzacsh
| bremner: sorry, i didn't mean where the repo is -- i ment where git gitweb.cgi script is. | 03:18 |
|
bremner
| oh, that is configured in apache I guess. | 03:18 |
| yaotti_aw → yaotti | 03:19 |
| ← alan_k left | 03:19 |
| ← kulp left | 03:19 |
| ← zombor left | 03:19 |
|
jzacsh
| bremner: okay, so than I guess I'm not missing anything too obvious. you can see http://code.jzacsh.com/ -- but it just gives you a dir/ listing and shows you the cgi script sitting there. | 03:20 |
| → gilaniali joined | 03:21 |
|
jzacsh
| my gitweb.conf in /etc/ is http://dpaste.de/2Mcd/raw/ --- both ~git/repositories and ~git/projects.list have a group of "code" and are group readable and executable. | 03:21 |
| ← necromancer left | 03:22 |
| ← towski left | 03:23 |
|
jzacsh
| these is the ~git/.gitolite.rc relevant lines: http://dpaste.de/R3O7/raw/ | 03:23 |
| ← abstrakt left | 03:24 |
| → stringoO joined | 03:24 |
| → kulp joined | 03:24 |
|
jzacsh
| bremner: do you have anything in /etc/gitweb.conf that it looks like i definitely need in mine? | 03:24 |
|
bremner
| I think you have a basic CGI/apache problem, nothing fancy | 03:25 |
|
jzacsh
| bremner: oh! awesome | 03:25 |
|
| bremner: you mean... me not having a mod_cgi turned on or osmething..? (looking) | 03:25 |
|
bremner
| I installed the gitweb debian package, but I have something like this http://paste.debian.net/105492/ | 03:26 |
|
banisterfiend
| bremner: have you seen | 03:26 |
| → intripoon_ joined | 03:26 |
|
banisterfiend
| bremner: 'the forsyte saga' ? | 03:26 |
|
bremner
| nope | 03:26 |
|
jzacsh
| bremner: thanks a bunch :) this is a good lead for me :) | 03:27 |
|
banisterfiend
| bremner: http://en.wikipedia.org/wiki/The_Forsyte_Saga | 03:27 |
|
| semes like your kind of thing somehow | 03:27 |
| ← Amorphous left | 03:28 |
|
bremner
| I'm not _that_ old | 03:28 |
| ← Remixman left | 03:28 |
| → necromancer joined | 03:29 |
| ← intripoon left | 03:29 |
| ← bryantluk left | 03:31 |
| → hyperair joined | 03:32 |
| ← warthog9 left | 03:33 |
| ← jxpx777 left | 03:34 |
| ← QinGW left | 03:34 |
| → sagsousuke joined | 03:34 |
|
banisterfiend
| bremner: im watching the series on tv now, the father just confessed a rape to his daughter | 03:35 |
|
| bremner: she seemed sympathetic | 03:35 |
| → sako joined | 03:39 |
| → towski joined | 03:40 |
| → Amorphous joined | 03:43 |
| → jmcantrell joined | 03:44 |
| → shyam_iyer joined | 03:46 |
| → QinGW joined | 03:47 |
| → timj_ joined | 03:52 |
| ← pyther left | 03:54 |
| Unknown[NF] → Unknown[OFF] | 03:54 |
| → webPragmatist joined | 03:55 |
| ← webPragmatist left | 03:55 |
| → webPragmatist joined | 03:55 |
| ← timj left | 03:55 |
| ← Elfe left | 03:56 |
| → Elfe_ joined | 03:56 |
| ← webPragmatist left | 03:56 |
| ← sagsousuke left | 03:58 |
| ← luxurymode left | 03:59 |
| Unknown[OFF] → Unknown[NF] | 04:02 |
| ← jvv left | 04:02 |
| → envi joined | 04:04 |
| → t0rc joined | 04:05 |
| ← juangiordana left | 04:07 |
| ← vitor-br left | 04:07 |
| → sagsousuke joined | 04:07 |
| → jonshea joined | 04:08 |
| ← glennhartmann left | 04:08 |
| ← chessguy left | 04:09 |
| → NewtonianB joined | 04:10 |
| → webPragmatist joined | 04:11 |
| ← webPragmatist left | 04:11 |
| → webPragmatist joined | 04:11 |
|
bremner
| sitaram: I'm thinking about generating a bunch of keydir/* files in a cron job, and I'm loath to check them into git. Is this crazy talk? Can I just manually run the right hook? | 04:13 |
| → xiangfu joined | 04:13 |
| → theoros_ joined | 04:13 |
| → warthog9 joined | 04:14 |
| ← Gryllida left | 04:15 |
| → Gryllida joined | 04:15 |
| ← linusoleander left | 04:15 |
| ← theoros left | 04:15 |
|
sitaram
| bremner: not at all; see src/gl-setup-authkeys (documentation in top of file as comments) | 04:16 |
| → SirFunk_ joined | 04:16 |
|
bremner
| sitaram: great, thanks. | 04:16 |
| ← justin-george left | 04:16 |
| → OOPMan joined | 04:17 |
| necromancer → necromancer`bzzy | 04:18 |
|
sitaram
| bremner: what I forgot to say in that docs is that then you probably want to set GL_SETUP_NO_AUTHKEYS in the main rc file so that a push to the admin repo does not end up overwriting the authkeys file with the (few, if any) keys in the normal keydir | 04:19 |
|
| (doc patch welcome after you test it, heh!) | 04:19 |
| → urbanmonk joined | 04:19 |
| ← urbanmonk left | 04:20 |
| ← necromancer`bzzy left | 04:20 |
|
bremner
| sitaram: ok, I'll let you know how it works out. probably not right away, I just wanted to catch you before I went to sleep. | 04:20 |
| ← theoros_ left | 04:21 |
| → clarkfischer joined | 04:21 |
|
sitaram
| huh? | 04:22 |
|
| I'm at work -- it's 9:52 am :-) | 04:22 |
|
offby1
| it's a biiiig world ... ♩♬♫♪ | 04:22 |
| ← webPragmatist left | 04:22 |
|
bremner
| right. I'm the sleepy one ;) | 04:23 |
| → theoros joined | 04:23 |
| ← theoros left | 04:23 |
| → theoros joined | 04:23 |
|
talexb
| Close to midnight here, but I got a lot accomplished today. And git flow rocks! | 04:24 |
| → urbanmonk joined | 04:26 |
| → BiggFREE joined | 04:26 |
| ← bpc415 left | 04:36 |
| ← talexb left | 04:36 |
| ← kukks left | 04:36 |
| ← theoros left | 04:37 |
|
sitaram
| bremner: I'm the sleep one, it seems. I *just* realised you wrote "before I went to sleep". God alone knows how I read it as "before you went to sleep" <sheepish grin> | 04:40 |
|
| sleepy | 04:40 |
|
| .oO(ok time for a cuppa... this is horrible even for me) | 04:41 |
|
banisterfiend
| sitaram: what's git flow? | 04:42 |
| → theoros joined | 04:42 |
|
SethRobertson
| Google can help with that | 04:42 |
|
| It is a method of managing branches and workflow | 04:42 |
|
banisterfiend
| SethRobertson: can you tell me about it, please SethRobertson. | 04:42 |
| → deryl joined | 04:43 |
|
sitaram
| banisterfiend: or talexb, since he was the one who said it rocks :) | 04:43 |
|
SethRobertson
| http://nvie.com/posts/a-successful-git-branching-model/ | 04:43 |
|
deryl
| Think I'm totally missing something here. I no longer need my 'testing' branch. I have main (HEAD), testing, and alpha. I am trying to completely and utterly delete the testing branch, keeping just main (HEAD) and alpha. i though this was accomplished with git branch -r -D origin/testing ; git push but that fails utterly to update the remote repo | 04:44 |
| → henry_ept joined | 04:44 |
|
banisterfiend
| SethRobertson: do you use git flow? the program, not just the model? | 04:44 |
|
SethRobertson
| git push :testing | 04:44 |
|
| deryl: Then git remote prune or something like that. See man git-remote | 04:44 |
|
jast
| deryl: the 'git-remote' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-remote.html [automatic message] | 04:44 |
|
deryl
| SethRobertson: thanks | 04:44 |
|
SethRobertson
| bf: No, I don't believe in the model. I just know some people like it and use it | 04:45 |
| ← towski left | 04:45 |
|
banisterfiend
| SethRobertson: what's your model SethRobertson | 04:47 |
|
sitaram
| banisterfiend: why do you repeat the name banisterfiend? :-) | 04:49 |
|
SethRobertson
| Very simple. master for future work plus release branches for the run up to release and post release patching. People generally use their local repo as a temporary feature branch as necessary. | 04:49 |
|
banisterfiend
| sitaram: it's respectful | 04:51 |
|
| ...sitaram ;) | 04:51 |
|
| SethRobertson: oh ok. One other question --- when people say 'git flow' do they typically refer to that model or do the program that facilitates that model? | 04:52 |
|
| or to* | 04:52 |
| ← verto left | 04:52 |
| ← mikepack left | 04:52 |
| → utu joined | 04:52 |
|
offby1
| hey, ho, go with the flow | 04:53 |
|
banisterfiend
| sounds like osmeting snoop dogg would say offby1 | 04:53 |
|
SethRobertson
| I'm sure the answer is both. | 04:54 |
| ← xiangfu left | 04:54 |
| ← shyam_iyer left | 04:55 |
| → napster_123 joined | 04:56 |
| ← t0rc left | 04:58 |
| ← tchan left | 04:59 |
| ← sako left | 04:59 |
| → tchan joined | 05:00 |
| ← tchan left | 05:01 |
| ← gilaniali left | 05:01 |
| ← deryl left | 05:02 |
| → tchan joined | 05:02 |
| → towski joined | 05:03 |
| ← theoros left | 05:06 |
| ← beatak left | 05:10 |
| → escape joined | 05:11 |
| → Mage3 joined | 05:11 |
| ← Mage left | 05:12 |
| → xiangfu joined | 05:12 |
| → gozoner joined | 05:13 |
| ← ISF left | 05:16 |
| ← gebi left | 05:17 |
| ← shentino left | 05:17 |
| ← markoso left | 05:17 |
| → luxurymode joined | 05:17 |
| → sako joined | 05:19 |
| ← fivetwentysix left | 05:19 |
| ← NewtonianB left | 05:20 |
| ← up_the_irons left | 05:20 |
| ← nairb774 left | 05:22 |
| → emptyflask joined | 05:27 |
| ← emptyflask left | 05:27 |
| → emptyflask joined | 05:27 |
| ← TheMoonMaster left | 05:29 |
| → theoros joined | 05:29 |
| ← urkud left | 05:29 |
| → Utkarsh_ joined | 05:34 |
| → nairb774 joined | 05:35 |
| ← Utkarsh left | 05:36 |
| → offby1` joined | 05:37 |
| ← BiggFREE left | 05:38 |
| ← banisterfiend left | 05:38 |
| ← offby1 left | 05:39 |
| ← towski left | 05:39 |
| → towski joined | 05:39 |
| → devanjan joined | 05:39 |
| → theoros_ joined | 05:40 |
| ← theoros left | 05:43 |
| ← starcoder left | 05:43 |
| → starcoder joined | 05:43 |
| → LongBeach joined | 05:44 |
| → nohk joined | 05:44 |
| ← nohk left | 05:44 |
| → urkud joined | 05:44 |
| offby1` → offby1 | 05:45 |
| ← towski left | 05:45 |
| → towski joined | 05:46 |
| → mct joined | 05:48 |
| → theoros joined | 05:49 |
| ← theoros left | 05:49 |
| → theoros joined | 05:49 |
| ← theoros_ left | 05:51 |
| → theoros_ joined | 05:52 |
| Chillaway → Chillax | 05:52 |
| → coderdad joined | 05:53 |
| ← theoros left | 05:54 |
| ← duckinator left | 05:55 |
| → theoros joined | 05:55 |
| ← theoros left | 05:55 |
| → theoros joined | 05:55 |
| ← theoros_ left | 05:56 |
| ← madewokherd left | 05:57 |
| → BiggFREE joined | 05:59 |
| ← jfkw left | 06:03 |
| → _pingu joined | 06:03 |
| → freimatz joined | 06:06 |
| → doener joined | 06:07 |
| ← RahulT left | 06:09 |
| ← jmil left | 06:11 |
| ← NickyP left | 06:12 |
| ← towski left | 06:13 |
| → joel_falcou joined | 06:13 |
| → towski joined | 06:14 |
| → ThomasLocke joined | 06:14 |
| ← towski left | 06:18 |
| → maleknet joined | 06:19 |
| ← Yuffster left | 06:19 |
| ← giallu left | 06:20 |
| → guardian joined | 06:21 |
| ← joel_falcou left | 06:22 |
| ← coderdad left | 06:23 |
| ← escape left | 06:24 |
| ← Pewpewarrows left | 06:25 |
| → towski joined | 06:26 |
| ← Octalot left | 06:26 |
| → up_the_irons joined | 06:27 |
| ← sako left | 06:28 |
| → khmarbaise joined | 06:29 |
| ← _pingu left | 06:30 |
| ← warthog9 left | 06:30 |
| ← benishor_ left | 06:31 |
| → pedrobelo joined | 06:31 |
| ← pedrobel_ left | 06:31 |
| ← adamm left | 06:31 |
| ← starcoder left | 06:34 |
| → starcoder joined | 06:34 |
| ← hagabaka left | 06:34 |
| → banisterfiend joined | 06:36 |
| → banisterfiend`` joined | 06:39 |
| Unknown[NF] → Unknown[OFF] | 06:40 |
| Unknown[OFF] → Unknown[NF] | 06:40 |
| Unknown[NF] → Unknown[OFF] | 06:41 |
| ← banisterfiend left | 06:41 |
| → hagebake joined | 06:41 |
| Unknown[OFF] → Unknown[NF] | 06:42 |
| hagebake → hagabaka | 06:42 |
| Unknown[NF] → Unknown[OFF] | 06:43 |
| Unknown[OFF] → Unknown[NF] | 06:43 |
| ← orafu left | 06:44 |
| → orafu joined | 06:46 |
| ← dfr|mac left | 06:46 |
| → sako joined | 06:47 |
| → ph^ joined | 06:48 |
| → nohk joined | 06:48 |
| ← Bass10 left | 06:48 |
| ← nohk left | 06:49 |
| → pratz joined | 06:49 |
| → nevyn^1 joined | 06:49 |
| ← tlonim left | 06:51 |
| ← starcoder left | 06:51 |
| ← gozoner left | 06:53 |
| ← guardian left | 06:53 |
| ← ph^ left | 06:56 |
| → starcoder joined | 06:57 |
| → krosenvold joined | 06:58 |
| → TrineLocke joined | 06:58 |
| ← abetaha left | 07:03 |
| ← yhager left | 07:04 |
| → yhager joined | 07:04 |
| ← utu left | 07:07 |
| ← Error404NotFound left | 07:07 |
| → joel_falcou joined | 07:10 |
| ← pratz left | 07:14 |
| ← pheaver left | 07:14 |
| → pratz joined | 07:14 |
| → Error404NotFound joined | 07:15 |
| ← nevyn^1 left | 07:15 |
| ← vdv left | 07:19 |
| → uniquex joined | 07:19 |
| ← uniquex left | 07:20 |
| → chairabanta joined | 07:20 |
| ← LouisJB left | 07:21 |
| → shentino joined | 07:23 |
| ← shentino left | 07:23 |
| → shentino joined | 07:23 |
| ← OOPMan left | 07:24 |
| → henrikbjorn joined | 07:24 |
| → pheaver joined | 07:25 |
| → j0ran joined | 07:26 |
| → pht joined | 07:28 |
|
pht
| hi | 07:28 |
| → mastro joined | 07:28 |
|
pht
| how to show 'git log' containing only commits done by a particular person? | 07:28 |
| ← stringoO left | 07:29 |
|
doener
| --author or --committer, depending on which one you want to filter | 07:29 |
| → warthog9 joined | 07:31 |
| → giallu joined | 07:32 |
| → StevenBlack joined | 07:34 |
| ← emptyflask left | 07:34 |
| → stringoO joined | 07:35 |
| almaisan-away → al-maisan | 07:35 |
| ← pheaver left | 07:37 |
| → tewecske joined | 07:38 |
| ← ROBOTARMY left | 07:39 |
| → DrNick2 joined | 07:39 |
| → Pieter joined | 07:39 |
| → opalka joined | 07:40 |
| ← DrNick left | 07:40 |
| → saschpe joined | 07:41 |
|
pht
| doener, cool. | 07:42 |
| → Zhonghua joined | 07:42 |
| → guardian joined | 07:43 |
| ← bcardarella left | 07:43 |
| ← StevenBlack left | 07:43 |
| ← yagami_i left | 07:46 |
| → ph^ joined | 07:47 |
| ← madduck left | 07:47 |
| → radarek joined | 07:48 |
| ← ph^ left | 07:49 |
| ← Textmode left | 07:49 |
| → ph^ joined | 07:50 |
| → yagami_i joined | 07:51 |
| → thiago_home joined | 07:52 |
| → priidu joined | 07:54 |
| → davidc_ joined | 07:55 |
| ← hagabaka left | 07:55 |
| → ludde joined | 07:55 |
| → jhoepken joined | 07:55 |
| → madduck joined | 07:57 |
| Chillax → Chillaway | 07:57 |
| ← sako left | 07:58 |
| → ningia joined | 07:59 |
| → hagabaka joined | 08:00 |
| ← hagabaka left | 08:00 |
| → hagabaka joined | 08:00 |
| → benishor_ joined | 08:00 |
| → mhale joined | 08:02 |
| → fivetwentysix joined | 08:04 |
| ← angelsl left | 08:04 |
| ← fivetwentysix left | 08:04 |
| ← sagsousuke left | 08:05 |
| ChanServ set mode: +v | 08:09 |
|
mhale
| hi all | 08:09 |
|
| i have a question about the --signoff parameter in the command line git | 08:09 |
|
DrNick2
| then maybe you should ask that question | 08:10 |
| → teweWork joined | 08:10 |
|
mhale
| i want to set up a git workflow such that person A works on a feature in a branch and commits it, then person B does a code review and signs off on that feature | 08:10 |
| DrNick2 → DrNick | 08:10 |
|
mhale
| this seems easy to do if the people are working on different machines | 08:11 |
|
| is there some way to do it if they are working at the same keyboard and mouse? | 08:11 |
| → j0ran1 joined | 08:11 |
| ← j0ran left | 08:11 |
|
mhale
| ie. an extra --signed-off-by [email@hidden.address] parameter that im not aware of? | 08:11 |
| ← hagabaka left | 08:12 |
| → fivetwentysix joined | 08:12 |
| ← fivetwentysix left | 08:13 |
| ← banisterfiend`` left | 08:14 |
|
mhale
| it appears i cant do what i want but i thought it was worth asking here | 08:14 |
| → kreemer joined | 08:15 |
| → borwar joined | 08:17 |
| al-maisan → almaisan-away | 08:17 |
| → hagabaka joined | 08:18 |
| ← hagabaka left | 08:18 |
| → hagabaka joined | 08:18 |
| ← chairabanta left | 08:18 |
| → drl joined | 08:19 |
| → workmad3 joined | 08:19 |
| → j416 joined | 08:19 |
| → banisterfiend joined | 08:20 |
| → vdv joined | 08:20 |
| ← sivy left | 08:21 |
| → chrischambers joined | 08:24 |
| ← laj left | 08:24 |
| → j0ran joined | 08:31 |
| ← j0ran1 left | 08:32 |
| → sgillet joined | 08:38 |
| → galderz joined | 08:38 |
| malfy_ → malfy | 08:39 |
| → dharrigan joined | 08:39 |
| ← Mage3 left | 08:40 |
| → crashanddie joined | 08:44 |
| ← crashanddie left | 08:44 |
| → crashanddie joined | 08:44 |
| → nevyn^1 joined | 08:45 |
| → darkredandyellow joined | 08:46 |
| ← doener left | 08:46 |
| → doener joined | 08:46 |
| → ziro`_ joined | 08:48 |
| ← vdv left | 08:49 |
| → psoo joined | 08:49 |
| ← tyteen4a03 left | 08:50 |
| silex → Silex | 08:50 |
| ← workmad3 left | 08:50 |
| ← hyperair left | 08:50 |
| → dc5ala joined | 08:51 |
| → tyteen4a03 joined | 08:51 |
| → serard joined | 08:51 |
| ← urkud left | 08:52 |
| ← sandbags left | 08:54 |
| → tatsuya joined | 08:54 |
| → sandbags joined | 08:54 |
| ← sandbags left | 08:54 |
| → sandbags joined | 08:54 |
| ← theoros left | 08:55 |
| ← nevyn^1 left | 08:56 |
| → ntoll joined | 08:57 |
| ← mhale left | 08:57 |
| ← sandbags left | 08:57 |
| → goshawk joined | 08:58 |
| → matjas joined | 08:58 |
| ← Zhonghua left | 08:59 |
| → Zhonghua joined | 09:00 |
| ← dean__ left | 09:01 |
| → thiago joined | 09:01 |
| → LouisJB joined | 09:03 |
| ← Sigma left | 09:05 |
| ← gbjk left | 09:07 |
| → torvalamo joined | 09:09 |
| → Titosemi joined | 09:10 |
| ← banisterfiend left | 09:11 |
| → OOPMan joined | 09:11 |
| → banisterfiend joined | 09:11 |
| → Sigma joined | 09:11 |
| → nicoulaj joined | 09:12 |
| → StrongOrder joined | 09:14 |
| ← ericlee left | 09:14 |
| → ericlee joined | 09:14 |
| → dpino joined | 09:16 |
| → PigeonFriend joined | 09:16 |
| ← Slix` left | 09:16 |
| → rjrodger joined | 09:16 |
| → snearch joined | 09:17 |
| → vdv joined | 09:17 |
| → Cro_Crx joined | 09:18 |
| ← Rapp left | 09:27 |
| ← napster_123 left | 09:28 |
| ← nicoulaj left | 09:28 |
| → nicoulaj joined | 09:30 |
| → yotaff joined | 09:33 |
| → shruggar joined | 09:33 |
| almaisan-away → al-maisan | 09:34 |
|
shruggar
| does anyone know the status of the "remote helper" interface, and whether various remote-helpers are planned to be merged into the main tree? (for example, the remote helper for mercurial) | 09:34 |
| ← banisterfiend left | 09:35 |
| ← bauruine left | 09:35 |
| → banisterfiend joined | 09:35 |
| → tchan1 joined | 09:40 |
| ← tchan left | 09:41 |
| ← scp1 left | 09:42 |
| → agateau_ joined | 09:42 |
| → hyperair joined | 09:42 |
| ← agateau left | 09:45 |
| ← Buglouse left | 09:45 |
| → bluenovember joined | 09:45 |
| → angelsl joined | 09:45 |
| → miloshadzic joined | 09:47 |
| → bentob0x joined | 09:48 |
| → airborn joined | 09:48 |
| → pfrenssen joined | 09:50 |
| → Rapp joined | 09:51 |
| → skoop joined | 09:51 |
| → PointMan joined | 09:52 |
| ← stringoO left | 09:54 |
| ← hyperair left | 09:57 |
| → hyperair joined | 09:58 |
| → ereslibre joined | 09:59 |
| ← ereslibre left | 09:59 |
| → ereslibre joined | 09:59 |
| → YouSirOne joined | 09:59 |
| Unknown[NF] → Unknown[OFF] | 09:59 |
|
YouSirOne
| hi i got error: Entry 'gitosis.conf' not uptodate. Cannot merge. when trying to run git pull from gitois-admin, what to do? | 10:00 |
|
| gitosis-admin* | 10:00 |
|
cbreak_work
| do a git diff | 10:00 |
|
YouSirOne
| i got some differences | 10:01 |
|
cbreak_work
| remove them | 10:01 |
|
tango_
| or stash them if you want to keep them for later | 10:01 |
|
cbreak_work
| by committing, stashing, just checking out the original... | 10:01 |
| ← angelsl left | 10:02 |
|
YouSirOne
| i just want to overwrite my own changes | 10:02 |
|
| how do i do that? | 10:02 |
| → erez joined | 10:02 |
| → p3rg2z joined | 10:03 |
| ← erez left | 10:03 |
| → erez joined | 10:03 |
|
cbreak_work
| git checkout HEAD -- filename | 10:03 |
|
YouSirOne
| ok thanks | 10:04 |
|
| it worked :) | 10:04 |
| → workmad3 joined | 10:05 |
| → d0k joined | 10:06 |
| → lanthan_afh joined | 10:07 |
| → kirthi joined | 10:07 |
| ← clarkfischer left | 10:09 |
| ← QinGW left | 10:09 |
| ← sraue left | 10:11 |
| ← dharrigan left | 10:12 |
| → tizbac joined | 10:12 |
| → makkes joined | 10:14 |
| → Michael joined | 10:15 |
| Michael → Guest46173 | 10:16 |
| → _ollie joined | 10:16 |
| ← hyperair left | 10:16 |
| ← MikhX left | 10:16 |
| ← _ollie left | 10:17 |
| → drizzd_ joined | 10:18 |
| → rolfb joined | 10:20 |
| ← drizzd left | 10:22 |
| → surikator joined | 10:22 |
| → sraue joined | 10:23 |
| ← StrongOrder left | 10:23 |
| → candybar joined | 10:26 |
| ← candybar left | 10:26 |
| → candybar joined | 10:26 |
| → chairabanta joined | 10:27 |
| ← gretch left | 10:29 |
| ← ntoll left | 10:30 |
| → bottiger joined | 10:31 |
| ← candybar left | 10:38 |
| ← kirthi left | 10:39 |
| → kirthi joined | 10:39 |
| → candybar joined | 10:39 |
| ← tyteen4a03 left | 10:41 |
| → bauruine joined | 10:42 |
| → nevyn^1 joined | 10:43 |
| al-maisan → almaisan-away | 10:45 |
| → angelsl joined | 10:46 |
| → tyteen4a03 joined | 10:46 |
| ← kreemer left | 10:47 |
| → Titosemi1 joined | 10:48 |
| ← Drakevr left | 10:50 |
| ← Titosemi left | 10:50 |
| → MikhX joined | 10:50 |
| → ysiad joined | 10:51 |
| ← j416 left | 10:52 |
| → ctp joined | 10:53 |
| → fr0sty-away_ joined | 10:53 |
| → pheaver joined | 10:53 |
| ← fr0sty-away left | 10:54 |
| ← galderz left | 10:55 |
| ← tyteen4a03 left | 10:55 |
| ← ysiad left | 10:56 |
| yaotti → yaotti_aw | 10:56 |
| ← j0ran left | 10:57 |
| → j0ran joined | 10:57 |
| → tyteen4a03 joined | 10:57 |
| → TomyLobo joined | 10:58 |
| ← HopsNBarley left | 10:59 |
| → HopsNBarley joined | 11:00 |
| ← HopsNBarley left | 11:00 |
| → HopsNBarley joined | 11:00 |
| ← tyteen4a03 left | 11:02 |
| → Drakevr joined | 11:03 |
| ← pasky left | 11:04 |
| ← mastro left | 11:04 |
| ← miloshadzic left | 11:05 |
| → tyteen4a03 joined | 11:06 |
| ← ereslibre left | 11:09 |
| ← tyteen4a03 left | 11:10 |
| → unon joined | 11:10 |
| → xiong joined | 11:11 |
| → mahound` joined | 11:13 |
| ← nadim_ left | 11:13 |
| ← mahound` left | 11:13 |
| → mahound joined | 11:14 |
|
mahound
| hello | 11:14 |
| → tyteen4a03 joined | 11:14 |
|
mahound
| does anybody know of a conflict solving tool that displays where each file comes from, i mean, the commit | 11:14 |
|
| ? | 11:14 |
|
TomyLobo
| git blame | 11:16 |
|
cbreak_work
| git blame tells you where each line in the file comes from | 11:16 |
|
TomyLobo
| git blame <filename> [-L <from>,<to>] | 11:17 |
|
cbreak_work
| make your terminal wider | 11:17 |
|
| or you won't see anything :) | 11:17 |
|
mahound
| no, i mean, when conflicts exist in a merge/rebase operation, git mergetool opens a diff tool. however the filenames are shown as .LOCAL .REMOTE... is there a way to display commits instead? | 11:17 |
| ← luxurymode left | 11:17 |
|
mahound
| i always get terribly confused | 11:17 |
|
TomyLobo
| or output to a text file and open it | 11:17 |
| → clarkfischer joined | 11:18 |
|
| mahound brb, lunch | 11:19 |
| ← steph021 left | 11:19 |
| ← goshawk left | 11:21 |
| → arnavk joined | 11:21 |
| ← sneakret_ left | 11:21 |
| → sneakret joined | 11:21 |
| → steph021 joined | 11:22 |
| → napster_123 joined | 11:22 |
| ← nanotube left | 11:22 |
| → ereslibre joined | 11:22 |
| → picasso_ joined | 11:22 |
| ← tyteen4a03 left | 11:23 |
| → troyt joined | 11:23 |
| ← sftp left | 11:23 |
| → nanotube joined | 11:24 |
| → sftp joined | 11:24 |
| → mastro joined | 11:25 |
| → avinashhm joined | 11:26 |
| → kampasky joined | 11:27 |
| ← kampasky left | 11:27 |
| ← workmad3 left | 11:27 |
| → kampasky joined | 11:27 |
| → tyteen4a03 joined | 11:27 |
| → vitor-br joined | 11:27 |
| → MetaCosm joined | 11:29 |
| ← MetaCosm left | 11:29 |
| → MetaCosm joined | 11:29 |
| ← MetaCosm_ left | 11:30 |
| → spaceonline joined | 11:30 |
| ← RobertMeta left | 11:30 |
| → GarethAdams|Work joined | 11:32 |
| → miloshadzic joined | 11:32 |
| ← zorzar_ left | 11:33 |
|
surikator
| hi guys... is there anyone here using git in ocamlforge? i can't find the git url for developers to commit to a particular project. thanks! | 11:34 |
| → jankoprowski joined | 11:35 |
| → samtuke joined | 11:36 |
| ← pheaver left | 11:37 |
| → pyther joined | 11:37 |
| → Cromulent joined | 11:38 |
|
samtuke
| How do I forget local commits and change my local copy, and commit history, to match the remote (non-bare) head? I've tried git reset --hard, git checkout ., but my local repo still states that it is two commits ahead of origin/master. I want to forget these two commits altogether! | 11:38 |
|
jankoprowski
| Hi | 11:39 |
| → artefon joined | 11:39 |
|
jankoprowski
| What is dedicated fastest method to serve Git repositories over https | 11:39 |
|
cbreak_work
| it's faster to do it via ssh | 11:40 |
| ← markelik_ left | 11:41 |
| ← torvalamo left | 11:41 |
| → Athox joined | 11:41 |
| Athox → torvalamo | 11:42 |
| ← nevyn^1 left | 11:43 |
|
jankoprowski
| cbreak_work: Yeap - I know that. Unfortunately in my company this should work over https | 11:44 |
|
| cbreak_work: becase of delivering ssh public keys issue | 11:44 |
| → krfs joined | 11:44 |
| → tvw joined | 11:45 |
| ← j0ran left | 11:45 |
| → j0ran joined | 11:46 |
|
divVerent
| how is https better there? | 11:46 |
|
| delivering https client certificates is better? ;) | 11:46 |
|
jankoprowski
| We have our internal SSL certificate center | 11:47 |
|
shruggar
| samtuke, try: git remote update && git reset --hard <the/remote/ref, eg: origin/master> | 11:47 |
| → zorzar_ joined | 11:49 |
|
samtuke
| shruggar: Yes that worked, I just found it independently in a forum post. I used git reset --hard <remote_commit> and local commits were forgotten. Thanks! | 11:49 |
|
jankoprowski
| git-http-backend over cgit? | 11:49 |
|
| or in backword? | 11:49 |
|
shruggar
| samtuke: if this is a security issue, note that the commits are not actually "forgotten" yet | 11:50 |
|
| they're just not reachable from the current HEAD | 11:51 |
|
samtuke
| shruggar: hmm, when will they be forgotten? presumably they are somewhere on my local machine? | 11:51 |
|
divVerent
| jankoprowski: and now the two evil questions :P | 11:51 |
| → bitkiller joined | 11:52 |
|
divVerent
| - how do you deploy the SSL client cert so that git finds it? | 11:52 |
| ← BiggFREE left | 11:52 |
|
shruggar
| samtuke, at the moment you can see them with git log HEAD@{1} (the position of HEAD 1 action ago) | 11:52 |
|
divVerent
| (don't know how, but it sure is possible) | 11:52 |
| ← devanjan left | 11:52 |
|
divVerent
| - how do you do the same, with the extra requirement that git shouldn't ask EVERY SINGLE TIME for the client cert passphrase? | 11:52 |
| → MetaCosm_ joined | 11:52 |
|
divVerent
| just saying, git with https works (especially together with gitolite) | 11:53 |
|
| but is a bit annoying | 11:53 |
|
samtuke
| shruggar: interesting, and important to bear in mind. Thanks for the tip | 11:53 |
|
shruggar
| samtuke, they're all exactly where they were before, and are referenced in the reflog. You can kill them with "git gc --prune", but don't do that unless it's really a security problem having those commits around | 11:53 |
| ← arnavk left | 11:53 |
|
divVerent
| so much, I bet many people will end up saying "screw the certs, I'll use user/pass" | 11:53 |
|
thiago
| jankoprowski: ssh keys aren't delivered. They are generated and uploaded to the server. | 11:53 |
| → marcob joined | 11:53 |
|
divVerent
| thiago: same thing | 11:53 |
|
thiago
| jankoprowski: I doubt that Git will use client-side SSL certificates | 11:53 |
|
divVerent
| git will | 11:53 |
|
| if you manage them to put them so libcurl finds them ;) | 11:53 |
|
| some dot-directory | 11:54 |
|
| probably strace is the easiest way to find out where it is supposed to be :P | 11:54 |
|
thiago
| yep | 11:54 |
|
divVerent
| still... in corporate environments, you often DO deliver SSH private keys | 11:54 |
|
| like you do for SSL | 11:54 |
| → luxurymode joined | 11:54 |
|
jankoprowski
| Simplicity | 11:55 |
|
divVerent
| with a "CA" server providing encrypted archives with SSH private keys, and authorized_keys files | 11:55 |
|
jankoprowski
| I will use username and password | 11:55 |
| ← AlexP left | 11:55 |
|
divVerent
| and doing so has one simple security reason... | 11:55 |
|
jankoprowski
| because in SSH scenartion someone must upload ssh public key to gitolite | 11:55 |
|
divVerent
| no big diff :P | 11:55 |
|
| typically, CA servers or other "ultra secure" instances do not allow upload of ANY data | 11:55 |
|
| but download only | 11:56 |
|
shruggar
| anyone know of a good online guide which would explain all of these concepts? I'll be needing to set up some internal SSL stuff eventually | 11:56 |
|
divVerent
| so the typical way is to generate on that server pub and priv key | 11:56 |
| → cesario joined | 11:56 |
|
divVerent
| jankoprowski: you can automate that easily, though | 11:56 |
|
| but sure | 11:56 |
|
| do as you please :P gitolite supports it, so why not | 11:56 |
|
jankoprowski
| But my manager told me I they don't give me time for this | 11:56 |
|
| so just answer for my question | 11:57 |
|
divVerent
| just be prepared that setting up https nicely is a bit difficult | 11:57 |
|
jankoprowski
| instead trying to be smart | 11:57 |
|
thiago
| the key is always generated on the local machine | 11:57 |
|
| both for SSL and SSH | 11:57 |
|
divVerent
| thiago: only for private setups :P | 11:57 |
|
thiago
| for all | 11:57 |
|
divVerent
| corporate setups often disallow that | 11:57 |
|
thiago
| the public part of the key is uploaded to the server | 11:57 |
|
divVerent
| thiago: also for public CAs | 11:57 |
|
| thiago: again, in theory | 11:57 |
|
thiago
| the private part never leaves the local machine | 11:57 |
|
divVerent
| I worked at a bank | 11:57 |
|
| there the ONLY way was to have the CA server generate both | 11:57 |
|
thiago
| web browsers have functionality to generate keys like that | 11:57 |
|
| thiago would NEVER trust a key generated by someone else | 11:58 |
|
jankoprowski
| join #git-pl | 11:58 |
|
divVerent
| thiago: I agree | 11:58 |
|
| _I_ didn't trust it eihter | 11:58 |
|
| the bank did ;) | 11:58 |
|
thiago
| my bank had similar features | 11:58 |
|
divVerent
| just saying, this is how it usually works in big corporates | 11:58 |
|
thiago
| my browser generated the key | 11:58 |
| ← Cromulent left | 11:58 |
|
thiago
| it uploaded the cert with the public key to the bank | 11:58 |
|
divVerent
| browser generates server certificate? | 11:58 |
|
| that is new :P | 11:58 |
|
thiago
| client certificate | 11:58 |
|
divVerent
| yes, client certs, sure | 11:58 |
|
| for that there is functionality | 11:58 |
|
thiago
| server certs is from the server | 11:59 |
|
divVerent
| again, NORMALLY | 11:59 |
|
| in my bank setup, the standard openssl way was simply NOT SUPPORTED | 11:59 |
|
| only way was downloading an archive with both private and public part | 11:59 |
| → workmad3 joined | 11:59 |
|
divVerent
| and I even see why they did that | 11:59 |
|
thiago
| well, that's no different than password mechanisms then | 11:59 |
|
clarkfischer
| What's the best way to delete the latest commit? | 11:59 |
|
divVerent
| any file uploaded from client to the CA server might compromise the CA | 12:00 |
|
| that file may e.g. contain overflow exploits against the CA | 12:00 |
| ← freimatz left | 12:00 |
| ← LouisJB left | 12:00 |
|
divVerent
| so they are very paranoid about from where to where data flows | 12:00 |
|
| only freeform field to enter was the CN of the cert | 12:00 |
|
| so only one thing where they can possibly screw up and compromise the CA | 12:00 |
|
| if you think of typical code quality in big corporate environments | 12:01 |
| → freimatz joined | 12:01 |
|
divVerent
| you understand why they are paranoid about direction of data flow | 12:01 |
|
| because, it is the only security they have :P | 12:01 |
| → AlexP joined | 12:01 |
|
divVerent
| jankoprowski: anyway, want my apache config snippet for git+https? | 12:02 |
|
clarkfischer
| git reset --soft HEAD~1 | 12:02 |
|
divVerent
| jankoprowski: http://paste.debian.net/105517/ - works for http and https | 12:04 |
| → samjam joined | 12:04 |
|
divVerent
| and so you know it: main danger of this is that the web server SHOULD be quite dedicated when doing this | 12:04 |
|
| as any php script has full access to the git repo | 12:04 |
|
| is mitigated by /home/xonotic/http-push/gitolite-gl-auth-command/ being a shell script calling a suidperl script checking the username against the users in the digest_pw file | 12:05 |
|
| so the attacker who exploited a php script is limited to the union of powers password-authed users have, and cannot e.g. change "master" | 12:05 |
| → arnavk joined | 12:07 |
| ← giallu left | 12:08 |
|
Caelum
| how do you update the msysgit full installer? | 12:11 |
|
jankoprowski
| divVerent: Thanks | 12:11 |
|
| divVerent: Now I'm thinking is cgit can be faster | 12:11 |
|
divVerent
| maybe, but you still need the git http backend server :P | 12:12 |
|
jankoprowski
| ok | 12:13 |
| → corni joined | 12:13 |
| ← samtuke left | 12:16 |
| ← ericlee left | 12:17 |
|
YouSirOne
| hi i got this message when trying a "git pull". Your configuration specifies to merge the ref 'master' from the remote, but no such ref was fetched... what is wrong? how can i fix it? | 12:19 |
| → project2501a joined | 12:19 |
| → DiGitalX joined | 12:20 |
| ← errordeveloper left | 12:21 |
|
jankoprowski
| thanks | 12:22 |
| → pdelgallego joined | 12:23 |
| → pdelgallego_ joined | 12:23 |
| ← pyther left | 12:24 |
| → simonj joined | 12:25 |
|
jankoprowski
| But I still don't know which tool (gitweb or cgit) should I use. | 12:26 |
|
| Any advices? | 12:26 |
|
Caelum
| jankoprowski: you could also try Gitalist | 12:28 |
| → nona joined | 12:28 |
|
jankoprowski
| Caelum: I'm checking right away | 12:31 |
|
| gitalist is beutiful | 12:31 |
|
| I love it | 12:31 |
|
| I love them | 12:31 |
| yaotti_aw → yaotti | 12:32 |
|
jankoprowski
| But example.gitalist.com looks is broken | 12:33 |
|
| LD | 12:33 |
|
| :D | 12:33 |
|
YouSirOne
| hi i got this message when trying a "git pull". Your configuration specifies to merge the ref 'master' from the remote, but no such ref was fetched... what is wrong? how can i fix it? anyone got an idea? | 12:34 |
|
| this is a newly created repo, can i just remove it and start over again with the same repo name? | 12:34 |
| → icwiener joined | 12:36 |
| → HG` joined | 12:37 |
| → ExtraSpice joined | 12:37 |
| ← project2501a left | 12:38 |
| almaisan-away → al-maisan | 12:39 |
| → boombatower joined | 12:40 |
| → Cromulent joined | 12:44 |
| → koltroll joined | 12:45 |
| ← tyteen4a03 left | 12:54 |
| → tyteen4a03 joined | 12:54 |
| ← artefon left | 12:54 |
| → gozoner joined | 12:56 |
| → goshawk joined | 12:56 |
| ← MikhX left | 12:56 |
| → gusnan joined | 12:56 |
|
mahound
| back | 12:57 |
| ← simonj left | 12:57 |
|
mahound
| so, does anyone have any tips on merging/rebasing, so that one doesn't get lost? | 12:58 |
|
cbreak_work
| define "get lost" | 12:58 |
|
selckin
| it shifts in time when you pull a big lever | 12:59 |
| → roger_padactor joined | 13:00 |
|
mahound
| selckin: haha :D | 13:02 |
|
| cbreak_work: when i am rebasing and there are conflicts, git mergetool normally opens a diff window, but the file versions are only referred to as LOCAL and REMOTE | 13:03 |
|
| i often get confused :/ | 13:03 |
| → smuf joined | 13:04 |
|
cbreak_work
| just use the command line | 13:04 |
|
| or a text editor | 13:04 |
|
mahound
| cbreak_work: what do you mean? | 13:04 |
|
selckin
| you'll just have to look it up and remember/learn, same with ours & theirs, its confusing as hell at the start and always will be | 13:04 |
| ← gozoner left | 13:04 |
|
cbreak_work
| mahound: why do you use mergetool? | 13:04 |
|
| use a text editor instead | 13:04 |
|
| that's what I mean | 13:04 |
|
mahound
| cbreak_work: i see | 13:05 |
| → t0rc joined | 13:06 |
| ← EricInBNE left | 13:06 |
|
mahound
| http://stackoverflow.com/questions/3051461/git-rebase-keeping-track-of-local-and-remote | 13:06 |
| → alberto56 joined | 13:07 |
| → galderz joined | 13:09 |
| ← drl left | 13:09 |
| → coderdad joined | 13:09 |
| → ch077179 joined | 13:09 |
| ← clarkfischer left | 13:10 |
| → NickyP joined | 13:11 |
| ← d0k left | 13:12 |
| → nevyn^1 joined | 13:14 |
| ← kylehayes left | 13:15 |
| ← OOPMan left | 13:15 |
| ← rjrodger left | 13:15 |
| ← arnavk left | 13:15 |
| ← SirFunk_ left | 13:16 |
| yaotti → yaotti_aw | 13:20 |
| → juanjoc joined | 13:21 |
| ← borwar left | 13:23 |
| ← soidexe left | 13:25 |
| → soidexe joined | 13:25 |
| ← _rane left | 13:26 |
| → hyperair joined | 13:27 |
| → _pingu joined | 13:28 |
| → arnavk joined | 13:29 |
| → StevePro joined | 13:30 |
| → gfto joined | 13:30 |
| ← jankoprowski left | 13:33 |
| → galderz1 joined | 13:33 |
| ← galderz left | 13:33 |
| ← YouSirOne left | 13:34 |
| → rjrodger joined | 13:34 |
| → jaql joined | 13:34 |
| ← Error404NotFound left | 13:34 |
| ← ningia left | 13:38 |
| ← galderz1 left | 13:38 |
| ← NickyP left | 13:39 |
| → shiba_yu36 joined | 13:42 |
| → LiamH joined | 13:43 |
| → tstclair joined | 13:44 |
| → galderz joined | 13:44 |
| ← pgib left | 13:46 |
| → jankoprowski joined | 13:47 |
| yaotti_aw → yaotti | 13:47 |
| → bcardarella joined | 13:50 |
| ← goshawk left | 13:51 |
| ← surikator left | 13:52 |
| ← ben_alman left | 13:53 |
| ← tizbac left | 13:53 |
| ← _pingu left | 13:54 |
| ← StevePro left | 13:56 |
| ← banisterfiend left | 13:57 |
| → LouisJB joined | 13:58 |
| → surikator joined | 13:59 |
| → engla joined | 14:00 |
| ← engla left | 14:01 |
| → engla joined | 14:01 |
| → banisterfiend joined | 14:02 |
| → banisterfiend`` joined | 14:04 |
| ← sejo left | 14:04 |
|
jettero
| for one of my remotes, I like to config push = refs/heads/*, but I wish there were some way to avoid pushing branches that start with _ ... is there a way to glob with exceptions? | 14:05 |
| → errordeveloper joined | 14:05 |
| → TheMoonMaster joined | 14:06 |
| → Pewpewarrows joined | 14:06 |
| ← banisterfiend left | 14:07 |
| → shentino_ joined | 14:07 |
|
tango_
| jettero: you could try refs/heads/[a-z]* assuming no heads start with something other than [a-z_] | 14:07 |
| ← bauruine left | 14:07 |
| ← shentino left | 14:07 |
| ← krfs left | 14:08 |
| → kukks joined | 14:08 |
| → Mannequin joined | 14:09 |
| ← banisterfiend`` left | 14:10 |
| → banisterfiend joined | 14:10 |
|
jettero
| tango_: that's a great idea | 14:11 |
|
| tango_: er... but it's not actually globs at all apparently | 14:11 |
| → urkud joined | 14:11 |
|
jettero
| fatal: Invalid refspec 'refs/heads/[a-zA-Z0-9]*' | 14:11 |
| → NickyP joined | 14:11 |
|
tango_
| oh | 14:11 |
|
| then I'm afraid you're out of luck | 14:12 |
|
jettero
| it seems so | 14:12 |
|
| good idea though | 14:12 |
| ← skoop left | 14:12 |
| ← LouisJB left | 14:13 |
| ← tchan1 left | 14:13 |
| ← priidu left | 14:13 |
| → EricInBNE joined | 14:14 |
| → tchan joined | 14:14 |
| → zombor joined | 14:14 |
| ← pratz left | 14:15 |
| ← kirthi left | 14:15 |
| → LouisJB joined | 14:15 |
| ← TheMoonMaster left | 14:16 |
| → jxpx777 joined | 14:18 |
| → psundaram joined | 14:19 |
| ← j0ran left | 14:19 |
| → j0ran joined | 14:20 |
| → booginga joined | 14:20 |
| → montylounge joined | 14:21 |
| → bauruine joined | 14:21 |
| ← p3rg2z left | 14:21 |
| ← makkes left | 14:22 |
| ← Swimming_bird left | 14:22 |
| ← p3rror left | 14:22 |
| → Migaaresno joined | 14:24 |
| → mishok13 joined | 14:24 |
| ← gdmfsob left | 14:25 |
| → priidu joined | 14:26 |
| → nohk joined | 14:26 |
| ← EricInBNE left | 14:26 |
| → sejo joined | 14:26 |
| ← sejo left | 14:26 |
| ← nohk left | 14:26 |
| → ghankstef joined | 14:27 |
| → icwiener_ joined | 14:27 |
| → sejo joined | 14:27 |
|
Migaaresno
| Urrghh. can i undo my last local commit? | 14:28 |
|
divVerent
| git reset --hard HEAD^ | 14:28 |
|
| wait | 14:28 |
|
| do you want to undo just the commit command | 14:28 |
|
| or also the changes of it? | 14:28 |
|
Migaaresno
| Yes, i wanted to try out git commit -a -m "What does this do?" | 14:29 |
|
| And it added all .pyc files. | 14:29 |
|
divVerent
| git reset HEAD^ | 14:29 |
|
| then | 14:29 |
|
| this leaves your working copy as is | 14:29 |
|
| and just undoes commit -a | 14:29 |
| ← icwiener left | 14:30 |
| → SirFunk_ joined | 14:30 |
| → kylehayes joined | 14:30 |
|
jettero
| maybe add *.prc to your ignore file ... then -a wouldn't have added them | 14:30 |
|
Migaaresno
| Thanks | 14:30 |
| → j0ran1 joined | 14:30 |
| ← j0ran left | 14:31 |
| ← psundaram left | 14:31 |
| ← kylehayes left | 14:33 |
| ← napster_123 left | 14:33 |
| ← ziro`_ left | 14:36 |
|
ghankstef
| ok am fairly new to git after working with svn for some time and trying to setup remote branches to push to and pull from. Here is what I have done so far: http://pastie.org/1492741 | 14:36 |
| → ziro`_ joined | 14:36 |
| ← ziro`_ left | 14:37 |
|
ghankstef
| what do I need to do to create remote branches to push and pull from -- say dev and production branches? | 14:37 |
|
Silex
| just push your local branches to origin | 14:37 |
|
| git push origin foo | 14:37 |
|
tango_
| ghankstef: a remote branch is created by pushing into it. git push remotename localbranch:remotebranch | 14:37 |
|
ghankstef
| I see thank you. Trying now | 14:38 |
|
Silex
| tango_: right, hum would simply foo instead of foo:foo also work? | 14:38 |
|
| the real question is does "foo" expand to "foo:foo" ? | 14:38 |
|
tango_
| I don't remember if that works when the remote branch doesn't exist yet | 14:39 |
|
ghankstef
| so create a local dev branch, check it out and pushh ot to origin? | 14:39 |
|
tango_
| no, foo exands to foo:<config set as the remote branch for branch foo> | 14:39 |
| → p3rror joined | 14:39 |
|
Silex
| tango_: thanks | 14:39 |
|
tango_
| so on creation it probably won't work | 14:39 |
|
| unless you --set-upstream | 14:39 |
|
Silex
| tango_: yeah | 14:39 |
|
ghankstef
| hey I think that worked thanks! | 14:40 |
| ← elb0w left | 14:40 |
| ← sejo left | 14:40 |
|
ghankstef
| sweet! | 14:41 |
| → goshawk joined | 14:41 |
| → Ryback_ joined | 14:41 |
|
ghankstef
| yippee! on the way | 14:41 |
| ← maleknet left | 14:41 |
| ← radarek left | 14:42 |
| ← urkud left | 14:42 |
| → panike joined | 14:42 |
| → icwiener joined | 14:43 |
| → juangiordana joined | 14:44 |
| ← HopsNBarley left | 14:45 |
| → HopsNBarley joined | 14:45 |
| ← HopsNBarley left | 14:45 |
| → HopsNBarley joined | 14:45 |
| ← icwiener_ left | 14:46 |
| al-maisan → almaisan-away | 14:48 |
| ← blee left | 14:48 |
| → Neo joined | 14:48 |
| → roxlu joined | 14:49 |
|
roxlu
| hi | 14:49 |
| → patabugen joined | 14:50 |
| → jrmuizel joined | 14:51 |
|
patabugen
| Hey, I'm having some troubles with contacting remotes over SSH and am not sure what else to check. It only works when I connect to GitHub, any other I get "fatal: The remote end hung up unexpectedly". I don't recall doing anything special for GitHub but could have and forgot. Any ideas what I should be checking? | 14:52 |
| ← shiba_yu36 left | 14:52 |
| ← alberto56 left | 14:53 |
| → OOPMan joined | 14:53 |
| ← khmarbaise left | 14:55 |
| → obeattie_ joined | 14:56 |
|
jettero
| you should be checking your firewall... | 14:56 |
|
wereHamster
| patabugen: does normal ssh work? | 14:56 |
|
jettero
| or perhaps your .profile or .bashrc are printing something git doesn't like. | 14:57 |
|
| I've seen that before, but it's rare | 14:57 |
| → icwiener_ joined | 14:57 |
|
patabugen
| I can't find any problems on the firewall, regular SSH works, I'm on Windows 7 | 14:57 |
|
jettero
| I should say, I've seen it screw up openssh scp, but not git | 14:57 |
|
obeattie_
| Hi, I'm having a bit of a funny problem with a git server of mine. When I try to clone over SSH I get a "fatal: protocol error: bad line length 8205", anyone know what causes this? | 14:57 |
| ← bentob0x left | 14:57 |
|
patabugen
| I can use my GitHub accounts over SSH too. I'm wondering if somewhere I've told something how to SSH to GitHub and it's trying that for my other server now. But I can't think what | 14:58 |
| → sivy joined | 14:58 |
| → gozoner joined | 14:58 |
|
bluj
| i have a dir with a whole bunch of .git repos within.. can anyone give me a hint of how i can 'find' each of these dir's and then git log --pretty=oneline -1 of each to show the top commit id? | 14:59 |
|
obeattie_
| I see by looking at the source it's coming from a check in pkt-line.c but honestly I have no idea what it's doing | 14:59 |
|
bluj
| using find -exec with cd doesntw ork as i would have thought | 14:59 |
| ← Mannequin left | 14:59 |
|
jettero
| patabugen: you might try temporarily moving your $HOME/.ssh/ folder to another name to see if it's a setting or something | 14:59 |
| → TheMoonMaster joined | 14:59 |
| ← icwiener left | 15:00 |
|
patabugen
| jettero: A good idea :) But the same problem :( | 15:00 |
|
hyperair
| hmm why can't i push --tags and --all together? | 15:01 |
| → Mannequin joined | 15:01 |
|
jettero
| patabugen: when you ssh to the machine(s) that's not working... does it print a bunch of things? echo hi! echo loaded your profile? | 15:01 |
|
hyperair
| it feels so counterproductive | 15:01 |
|
yrlnry
| I love git. | 15:02 |
|
patabugen
| jettero: When I do a regular SSH there is a MOTD which comes up. Could that cause trouble? It comes up after the password though, and this is never asking me for the password. | 15:02 |
|
jettero
| patabugen: no, probably not. The motd normally doesn't cause trouble... but try this ssh host ls -1 | 15:02 |
|
| does it print things besides files? | 15:02 |
|
yrlnry
| Is there any reason why this 'gitsh' is worth anything more than a curt dismissal? http://www.codedanger.com/caglar/?p=868 | 15:03 |
|
| To me it seems utterly worthless, but maybe there is something I am missing. | 15:03 |
|
patabugen
| Nope, just filed | 15:03 |
| Chillaway → Chillax | 15:03 |
|
jettero
| k, no idea then. | 15:03 |
|
patabugen
| It did ask me to confirm the fingerprint though | 15:03 |
|
roxlu
| When I've got a repos already And I want to create 2 branches with totally different files, would it be possible to do: git init, git add remote origin [existing repos], git branch "mynewbranch", git add . , git commit -am "Update", git push origin mynewbranch ? | 15:03 |
|
jettero
| patabugen: oh, well, that could be the problem there | 15:03 |
|
panike
| bluj: find . -name '.git' -print | while read dirname; do (cd ${dirname%/*};git log --oneline --all --decorate --no-walk); done | 15:03 |
|
patabugen
| jettero: Thanks for trying :) | 15:03 |
|
| It's not better =[ | 15:03 |
|
bluj
| panike, cheers | 15:03 |
| → j0shua joined | 15:04 |
|
j0shua
| how do i find out where a branch was branched from ? | 15:04 |
|
Caelum
| how do I checkout a file from a previous commit? | 15:04 |
| → pgib joined | 15:05 |
| ← sgillet left | 15:05 |
|
panike
| j0shua: Assuming it branched from master: git merge-base HEAD master | 15:05 |
| → abetaha joined | 15:05 |
| ← unon left | 15:05 |
| → kylehayes joined | 15:06 |
|
Caelum
| aha, git checkout sha file # works :) | 15:06 |
| → ISF joined | 15:07 |
| ← curtana left | 15:07 |
|
j0shua
| panike: i don't know where it was brnached from, that is what i am trying to find out | 15:07 |
| ← angelsl left | 15:08 |
| → trochala joined | 15:09 |
| ← obeattie_ left | 15:09 |
| → obeattie__ joined | 15:09 |
| → dfr|mac joined | 15:10 |
| → mabrand joined | 15:11 |
| ← trochala left | 15:11 |
| → trochala joined | 15:11 |
| → dean[w] joined | 15:11 |
|
panike
| j0shua: git for-each-ref --format='%(refname)' | sed 's/refs\/heads\///'s/refs\/remotes\///;s/refs\/tags\///;' | while read ref; do git merge-base $ref HEAD; done will give you a list of branch points. Then you have to search through them manually to find the one you are interested in. | 15:12 |
| → ziro`_ joined | 15:12 |
| ← smuf left | 15:12 |
|
patrikf
| roxlu: yeah. you can also do git symbolic-ref refs/heads/<totallynewbranch> | 15:12 |
|
dean[w]
| I just messed up a commit. I commited to a branch I normally pull from, then tried to push it back and it came back with lots of errors. How can I undo a git push | 15:12 |
| → scelis joined | 15:12 |
|
dean[w]
| and also the commit | 15:12 |
| ← henrikbjorn left | 15:12 |
| ← obeattie__ left | 15:12 |
|
dean[w]
| current status is: | 15:12 |
|
| # On branch devel | 15:13 |
|
| # Your branch is ahead of 'origin/devel' by 1 commit. | 15:13 |
|
| # | 15:13 |
| → icwiener joined | 15:13 |
|
patrikf
| roxlu: sorry, git symbolic-ref HEAD refs/heads/<totallynewbranch> | 15:13 |
| ← opalka left | 15:13 |
| ← hyperair left | 15:13 |
| ← blongden left | 15:13 |
| → shyam_iyer joined | 15:14 |
|
patabugen
| jettero: I fixed it! By setting up passwordless authentication in PuTTy/pAgent | 15:14 |
|
jettero
| oh, right | 15:15 |
|
| it woudln't know how to ask you for a password from git I wouldn't think | 15:15 |
| ← nicoulaj left | 15:15 |
| serard → Whysky | 15:16 |
| ← LouisJB left | 15:16 |
| ← icwiener_ left | 15:16 |
|
patabugen
| It worked from home that way, just not from my work machine. Could be because I'm on Linux at home. | 15:16 |
|
jettero
| sure sure, whatever mode it uses for grabbing your password doesn't work in windows maybe | 15:17 |
|
panike
| j0shua: git log HEAD --not $(git for-each-ref --format='%(refname)' | sed 's/refs\/heads\///'s/refs\/remotes\///;s/refs\/tags\///;') will help you out I think. You just use the parent of the last commit from the log. | 15:17 |
| → cannonball joined | 15:17 |
| ← cannonball left | 15:17 |
| → cannonball joined | 15:17 |
| Whysky → serard | 15:17 |
| ← pgib left | 15:18 |
| → Anubisss joined | 15:18 |
| ← kukks left | 15:18 |
| → LouisJB joined | 15:19 |
| ← ymasory left | 15:20 |
| ← freimatz left | 15:20 |
| ← Tommy[D] left | 15:21 |
| → nicoulaj joined | 15:21 |
| ← NickyP left | 15:21 |
| ← jrmuizel left | 15:22 |
| ← dr_win left | 15:22 |
| → amondracorp joined | 15:22 |
| ← ph^ left | 15:23 |
| → wedgeV joined | 15:23 |
| → jvv joined | 15:23 |
|
wedgeV
| hi, i want to undo a commit, a friend did "git checkout HEAD^" now its detached from any head, what should i do next? | 15:24 |
| ← sonnym left | 15:24 |
|
yrlnry
| Is the commit you want to undo the most recent one on its branch? | 15:26 |
|
| If so, you can discard it completely with "git reset --hard branch^". | 15:26 |
| ← xiong left | 15:26 |
| → mezgani_ joined | 15:27 |
|
cbreak_work
| wedgeV: first, get back to a branch | 15:27 |
|
| just do git checkout branchname | 15:27 |
|
yrlnry
| Or you can check it out, change it around to make it the way you wish it had ben and then use "git commit --amend" to discard the bad version of the commit and make a replacement for it. | 15:27 |
| ← LouisJB left | 15:27 |
|
wedgeV
| yrlnry: i want to undo it completely it was prematurely merged | 15:27 |
| → Tommy[D] joined | 15:28 |
| ← p3rror left | 15:28 |
|
wedgeV
| yrlnry: do i need to be on the branch when doing "git reset --hard branch^" ? | 15:28 |
| → spearce joined | 15:28 |
| ← Cro_Crx left | 15:28 |
|
yrlnry
| Yes. | 15:28 |
|
| The goal here it to make the ref point to the commit before the one that it currently points to. | 15:29 |
|
wedgeV
| ok, thanks yrlnry and cbreak_work | 15:29 |
|
cbreak_work
| git reset is a command to change the current branch after all :) | 15:29 |
| ← corni left | 15:29 |
| yaotti → yaotti_aw | 15:30 |
| yaotti_aw → yaotti | 15:30 |
| ← mezgani_ left | 15:31 |
|
wedgeV
| (just a theoretical question: when i would want to re-add the commit, could i just do "git reset --hard sha-of-previous-head"?) | 15:31 |
| yaotti → yaotti_aw | 15:32 |
| ← PointMan left | 15:32 |
| → tlonim joined | 15:32 |
| ← gfto left | 15:33 |
|
tango_
| wedgeV: that doesn't readd it, it scratches everything and brings your status to that hash | 15:33 |
| → Cro_Crx joined | 15:33 |
|
tango_
| wedgeV: maybe you want to cherry-pick it? | 15:33 |
|
wedgeV
| tango_: i don't really need it, i was just wondering | 15:34 |
| ← jonshea left | 15:34 |
|
cbreak_work
| wedgeV: reset is not a command to remove commits | 15:34 |
|
| it's a command to change where your current branch points to | 15:34 |
|
| (among other things) | 15:34 |
|
| you can make it point to a previous hash of course | 15:35 |
| → MattDiPasquale joined | 15:35 |
|
cbreak_work
| but --hard makes it nuke uncommitted changes too, which you won't get back. | 15:35 |
| ← bauruine left | 15:35 |
| ← icwiener left | 15:36 |
| → icwiener joined | 15:36 |
| ← ericdc left | 15:37 |
| → jds joined | 15:37 |
| → ericdc joined | 15:37 |
| ← Cro_Crx left | 15:38 |
| → alvaro_o joined | 15:40 |
| ← ericdc left | 15:40 |
| → ericdc joined | 15:40 |
| ← ericdc left | 15:41 |
| ← t0rc left | 15:41 |
| → ericdc joined | 15:42 |
| → Yuuhi joined | 15:42 |
| → mezgani_ joined | 15:43 |
| ← bottiger left | 15:43 |
| ← xiangfu left | 15:43 |
| ← jankoprowski left | 15:43 |
| → _jesse__ joined | 15:45 |
| → thana joined | 15:45 |
|
thana
| hey | 15:45 |
|
| is there a way to tell git the new name of a file when i rename it without git mv? | 15:46 |
| ← _jesse_ left | 15:46 |
|
thana
| so git add foobar; mv foobar barfoo; git movedMagically foobar barfoo; or so ;-) | 15:46 |
|
broonie
| thana: git rm foobar ; git add barfoo. | 15:46 |
|
| Which is all that git mv does anywa.y | 15:46 |
|
thana
| but then i loose the history... | 15:46 |
|
broonie
| git log --follow | 15:47 |
| ← ericdc left | 15:48 |
| Unknown[OFF] → Unknown[NF] | 15:48 |
| ← Cromulent left | 15:49 |
|
thana
| broonie: uh nice. how does git keep track of the renaming? | 15:50 |
|
broonie
| thana: It doesn't, it infers a rename from having new and old blobs which are similar in a commit. | 15:51 |
| → abstrakt joined | 15:51 |
| → ankushbansal joined | 15:51 |
|
broonie
| ie, there's no record of a move but the tools that do output can infer one and pretty print to show any moves they detect. | 15:51 |
|
abstrakt
| hi, so I have a unique situation (which actually may not be so unique) but seems like a difficult one to deal with and I've had a hard time to this date figuring out how to make this fly with svn (which I've used up to this point until I just recently switched over mostly to git and git-svn)... so... my situation is: ... | 15:52 |
|
thana
| broonie: mmh ok. and is there a way to confirm git in its inference? | 15:52 |
|
abstrakt
| I have a web app, for this web app, plugins/extensions/modules can be written | 15:52 |
|
| I would like to maintain essentially two different repos inside the same source tree | 15:53 |
|
thana
| so that i do not always have to add the --follow switch … | 15:53 |
|
abstrakt
| one repo for the web app and one for only my module files | 15:53 |
| → icwiener_ joined | 15:53 |
| ← dfr|mac left | 15:53 |
|
abstrakt
| however, they will both share some of the same folder structures, they are intertwined in that way - otherwise, all the module's actual files are separate and won't be included in the actual app repo and vice versa | 15:53 |
|
| modules never need to alter core code | 15:53 |
|
| there are actually lots of web apps (most of them, I would say, in fact) that are like this | 15:54 |
|
| heck even lots of web application frameworks are basically like this | 15:54 |
|
| so, question is, how can I have both of these two things versioned at the same time | 15:54 |
|
| reason being, for example, say the 3rd party web app creator (e.g. wordpress or magento or whoever) makes an update | 15:55 |
|
| I want to be able to git pull wordpress master for example and update the main/core app files | 15:55 |
| ← shentino_ left | 15:55 |
|
abstrakt
| and then say that a team member makes some updates to the module, I want to also then be able to git pull mymodule master to pull updates to the module | 15:55 |
| ← dc5ala left | 15:55 |
| ← icwiener left | 15:56 |
|
abstrakt
| because if I just keep one monolithic repo, I don't want the added files for my module to make it in to the main line development source tree for the base application when I do a git commit/git push | 15:56 |
|
| also, if I do a monolithic repo, I'll have one monolithic repo for the main web app stack, and then a separate, duplicate copy of that repo essentially, with my mods included | 15:57 |
|
| so updates to the main line development tree will be, essentially inaccessible (or at least I don't know how I would access them) | 15:57 |
| → jrmuizel_ joined | 15:57 |
| ← galderz left | 15:58 |
| → galderz1 joined | 15:58 |
| → shentino_ joined | 15:58 |
| ← benishor_ left | 15:59 |
| → winterweaver joined | 16:00 |
| → csanz joined | 16:01 |
| → ben_alman joined | 16:01 |
| → jfkw joined | 16:01 |
| → jfelchner joined | 16:01 |
| → Swimming_bird joined | 16:02 |
| → unon joined | 16:02 |
| ← cbreak_work left | 16:02 |
| → kukks joined | 16:02 |
| ← mezgani_ left | 16:03 |
| → TheMoonM_ joined | 16:03 |
| → beatak joined | 16:03 |
| → xiong joined | 16:03 |
| → smolyn joined | 16:03 |
| → ph^ joined | 16:04 |
| Weust`afk → Weust` | 16:04 |
| → ROBOTARMY joined | 16:04 |
| ← TheMoonMaster left | 16:04 |
| → jstemmer joined | 16:05 |
| → mrsri joined | 16:06 |
| ← aah left | 16:06 |
| ← jhoepken left | 16:07 |
| → jfelchne_ joined | 16:08 |
|
samjam
| I've just suddenly got: fatal: object c53a1da3a49b8e220747b415fd40ee8d221c0a19 is corrupted | 16:08 |
|
| I've another repo where that commit is OK. What's the spell to fix and fetch. git fetch of the branch with the corrupted item didn't fix it | 16:08 |
| ← jfelchner left | 16:08 |
| → transplant joined | 16:09 |
| → SimonP86 joined | 16:09 |
| ← icwiener_ left | 16:10 |
| → icwiener_ joined | 16:10 |
| ← TomyLobo left | 16:10 |
| → cptG joined | 16:11 |
| → sonnym joined | 16:11 |
| → jonshea joined | 16:12 |
| ← envi left | 16:12 |
| ← ROBOTARMY left | 16:13 |
| → smuf joined | 16:13 |
| ← funfun left | 16:14 |
| ← priidu left | 16:14 |
| → Yuffster joined | 16:14 |
| ← selckin left | 16:15 |
| → selckin joined | 16:15 |
| ← tty1 left | 16:15 |
| ← tchan left | 16:15 |
| → funfun joined | 16:16 |
| → tty1 joined | 16:16 |
| → kenichi joined | 16:17 |
| → tchan joined | 16:17 |
| → soimort joined | 16:17 |
| → stliu joined | 16:17 |
| → sako joined | 16:19 |
| → mezgani_ joined | 16:19 |
| → NickyP joined | 16:20 |
| ← yhager left | 16:21 |
|
samjam
| I can use git-pack-object to grab a good copy from the other repo, but git unpack-objects -n < packer-345d3d05cb3cebc9f656de46ffdcb5401e6029ce.pack doesn't replace the corrupted file | 16:21 |
| → Cromulent joined | 16:21 |
| ← soimort left | 16:21 |
| → bnovc joined | 16:22 |
| → soimort joined | 16:22 |
|
bnovc
| is there a simple way to find what revision removed a line without manually checking out various versions and looking for it? | 16:22 |
|
bremner
| bnovc: man git-blame | 16:23 |
|
jast
| bnovc: the 'git-blame' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-blame.html [automatic message] | 16:23 |
|
scelis
| bnovc: git log -S<string> | 16:23 |
|
bnovc
| that works for added lines but removed | 16:23 |
| → icwiener joined | 16:23 |
|
bnovc
| ok i'll try that thanks | 16:23 |
| ← sako left | 16:23 |
| ← icwiener left | 16:23 |
| → icwiener joined | 16:23 |
| ← csanz left | 16:23 |
| ← mrsri left | 16:24 |
|
samjam
| I've tried moving to /tmp the corrupt file and then fetching from the remote repo a branch beginning at that commit, but it doesn't do it | 16:26 |
| ← icwiener_ left | 16:26 |
| → priidu joined | 16:27 |
| ← rjrodger left | 16:27 |
| → pheaver joined | 16:27 |
|
panike
| samjam: How much work would it be to clone the remote and then push your changes on top of the new clone until you get to the corruption? | 16:29 |
| → zivester_ joined | 16:30 |
|
samjam
| the branch that has the corruption has not been developed since so I could just push the other branches and then fetch the backup. But I thought now is a good time to understand git more. | 16:30 |
|
panike
| I never had git corrupt my files. It might be a disk problem, so you really would not be understanding git better. | 16:31 |
|
samjam
| Well my power was yanked at the end of last week so I think that may be the cause. | 16:31 |
| ← ankushbansal left | 16:32 |
|
panike
| Indeed | 16:32 |
|
samjam
| As for udnerstanding git, I'm at the low level plumbing and want to just force it to re-accept an object even if it thinks it has it | 16:32 |
| → ankushbansal joined | 16:32 |
| → yhager joined | 16:32 |
|
panike
| git is designed to explicitly stop that from happening, either intentionally or unintentionally | 16:32 |
|
samjam
| fancy that. | 16:33 |
|
transplant
| if it thinks it has it and fsck is OK, the object should be there and in good state | 16:33 |
|
samjam
| Oh, the fsck is not ok | 16:33 |
|
| so re-injecting the corrupt object is my idea of how to fix it, as man git-fsck offers no ideas | 16:34 |
|
jast
| the 'git-fsck' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-fsck.html [automatic message] | 16:34 |
| → _psychic_ joined | 16:35 |
|
| samjam thanks jast with clenched teeth | 16:35 |
| → madewokherd joined | 16:35 |
|
panike
| To inject an object into the database, use git hash-object -w | 16:36 |
| ← mezgani_ left | 16:36 |
| → mezgani_ joined | 16:37 |
|
samjam
| Is there the opposite command I can run on the good repo? | 16:37 |
|
| On order to get the thing to invoke git hash-object on, and know the type? | 16:38 |
|
panike
| Do you mean git cat-file? | 16:38 |
|
samjam
| could be | 16:38 |
|
panike
| git cat-file can identify the type with -t option | 16:38 |
| → Dave^| joined | 16:38 |
| ← Dave^| left | 16:39 |
|
panike
| Gotta run sorry | 16:39 |
| ← panike left | 16:39 |
| → Dave^| joined | 16:39 |
|
samjam
| thats fine, thanks kindly | 16:39 |
| ← jfelchne_ left | 16:39 |
|
samjam
| I think I have it | 16:39 |
| ← _psychic_ left | 16:40 |
| → EM03 joined | 16:40 |
| ← icwiener left | 16:40 |
| → icwiener joined | 16:41 |
| picasso_ → picasso | 16:41 |
|
EM03
| sorta new to git, used it for a few years now for simple stuff but, say i only want some directories to track my changes, how should I go about this? | 16:41 |
|
samjam
| great panike, that did it just fine! | 16:42 |
| → icwiener_ joined | 16:43 |
|
teuf
| EM03: I don't understand what you want to do | 16:43 |
|
Utoxin
| EM03: Uh... same way you'd track any changes? | 16:44 |
| ← abetaha left | 16:44 |
|
EM03
| I'm not really sure what I need to do either | 16:44 |
| ← ajpiano left | 16:44 |
|
Utoxin
| It's going to be quite difficult to help you then. | 16:44 |
|
EM03
| I use Drupal and want to have all my changes. Sometimes though I might install 10 modules and dont want to have to authorize each file / what not | 16:44 |
| ← mabrand left | 16:45 |
| → ajpiano joined | 16:45 |
| ← MattDiPasquale left | 16:45 |
|
Utoxin
| EM03: git add . ; git commit -a | 16:45 |
|
EM03
| i use git x and when i make changes i go through and comment each one etc | 16:46 |
| ← koltroll left | 16:46 |
|
EM03
| will i have to do that using that method for files etc ? | 16:46 |
| → artefon joined | 16:46 |
| ← m1sterf left | 16:47 |
|
Utoxin
| 'git add .' adds all files (under the current directory) to commit, including currently untracked. 'git commit -a' adds all currently tracked files' changes to the commit, and asks you for the message. | 16:47 |
| ← steph021 left | 16:47 |
| ← soimort left | 16:47 |
| ← icwiener left | 16:47 |
|
EM03
| so i dont have to message each thing individually? | 16:47 |
|
Utoxin
| EM03: You've never /had/ to do that. You chose to. | 16:47 |
|
samjam
| I guess "git add ." won't add the .git folder | 16:48 |
|
Utoxin
| samjam: Correct. Or any files ignored by any method. | 16:48 |
|
EM03
| ok | 16:48 |
|
| this should work well then | 16:48 |
| → galderz joined | 16:50 |
| ← cesario left | 16:50 |
| ← galderz1 left | 16:50 |
| → MattDiPasquale joined | 16:50 |
|
charon
| hagabaka: you'd change the script slightly so that it does the same logic on 'git diff C^ C' instead, and then amends it to have a subject of 'fixup! ...'. or some such. | 16:51 |
|
| hagabaka: i mean, i would have made a contrib patch or something if it was actually a well-thought-through feature. i just posted it as "this hack worked for me" | 16:51 |
| → pgib joined | 16:52 |
| ← thana left | 16:53 |
| → dreiss joined | 16:53 |
|
hagabaka
| oh | 16:53 |
| → panike joined | 16:54 |
| ← pheaver left | 16:54 |
|
hagabaka
| I guess the cause of my problem was that I was mising different sets of files with commits, e.g. A changes 1,2, B changes 2,3 C changes 1,2, so it was hard to reorder them | 16:54 |
| ← patabugen left | 16:55 |
| ← panike left | 16:55 |
|
hagabaka
| but I ended up just creating new commits based on the final versions of the files | 16:55 |
| → abetaha joined | 16:55 |
| ← yhager left | 16:56 |
| → yhager joined | 16:56 |
| ← towski left | 16:56 |
| ← ormaaj left | 16:57 |
| ← transplant left | 16:57 |
| ← OOPMan left | 16:57 |
| → _rane joined | 16:57 |
| ← stamina left | 16:57 |
| → SimonP86_ joined | 16:57 |
| → ormaaj joined | 16:58 |
| ← pgib left | 16:58 |
| ← SimonP86 left | 16:59 |
| ← squentin left | 16:59 |
| → Dave^|| joined | 17:00 |
| → jankoprowski joined | 17:00 |
|
jankoprowski
| Hi | 17:00 |
|
| How force TortoiseGit to remember password? | 17:00 |
| → Schmallon joined | 17:00 |
| ← Dave^| left | 17:01 |
|
selckin
| use ssh keys and putty (pageant) | 17:01 |
| ← teweWork left | 17:01 |
| ← winterweaver left | 17:02 |
| → tjholowaychuk joined | 17:02 |
|
jankoprowski
| selckin: Unfortunatly my repository is not available via SSH | 17:07 |
| → napster_123 joined | 17:08 |
| → aah joined | 17:08 |
| → sako joined | 17:08 |
| ← smuf left | 17:08 |
| ← psoo left | 17:09 |
| → sejo joined | 17:09 |
| → d0k joined | 17:10 |
| → rjrodger joined | 17:10 |
| ← mastro left | 17:10 |
| ← rettub left | 17:11 |
| → justin-george joined | 17:11 |
|
jankoprowski
| I found issue raised in last year :| | 17:11 |
| ← dreiss left | 17:11 |
|
jankoprowski
| I can't imagine something so basic wasn't implemented yet | 17:11 |
| → __name__ joined | 17:11 |
| ← __name__ left | 17:11 |
| → __name__ joined | 17:11 |
| → rettub joined | 17:11 |
| → pheaver joined | 17:12 |
| ← pheaver left | 17:12 |
| → silence joined | 17:12 |
| silence → Guest60074 | 17:13 |
|
ben_alman
| if i have a short sha, is there any way to get the full sha from it with git? | 17:13 |
| → pgib joined | 17:13 |
| → ningia joined | 17:13 |
|
ben_alman
| i know that git show shortsha will show me the full sha if it's a commit | 17:13 |
|
patrikf
| rev-parse | 17:13 |
| ← ajpiano left | 17:13 |
|
ben_alman
| awesome! | 17:14 |
| → jhoepken joined | 17:14 |
| → ajpiano joined | 17:14 |
| → arkonova joined | 17:14 |
| ← saschpe left | 17:15 |
| → surikator_ joined | 17:17 |
| ← Guest60074 left | 17:17 |
| ← surikator left | 17:18 |
| ← surikator_ left | 17:18 |
| → albel727 joined | 17:18 |
| ← kelvie_ left | 17:20 |
| ← juangiordana left | 17:20 |
| → kelvie_ joined | 17:20 |
| → dr_win joined | 17:22 |
| → _psychic_ joined | 17:23 |
| ← workmad3 left | 17:24 |
| ← nevyn^1 left | 17:24 |
| → ROBOTARMY joined | 17:24 |
| → juangiordana joined | 17:24 |
| ← jankoprowski left | 17:25 |
| ← Mannequin left | 17:25 |
| → Mannequin joined | 17:26 |
| → moog_ joined | 17:28 |
| eno__ → eno | 17:28 |
| ← ningia left | 17:28 |
| ← eno left | 17:28 |
| → eno joined | 17:28 |
| → henrikbjorn joined | 17:30 |
| ← juangiordana left | 17:30 |
| → hyperair joined | 17:30 |
| ← sivy left | 17:30 |
| ← _psychic_ left | 17:31 |
| ← nicoulaj left | 17:34 |
| ← Samual left | 17:34 |
| → bauruine joined | 17:34 |
| → benishor joined | 17:34 |
| ← eletuchy_ left | 17:35 |
| → apipkin joined | 17:36 |
| ← darkredandyellow left | 17:36 |
| → PointMan joined | 17:36 |
| → juangiordana joined | 17:37 |
| ← apipkin left | 17:37 |
| ← mezgani_ left | 17:38 |
| → urkud joined | 17:38 |
| → Samual joined | 17:38 |
| → ki__ joined | 17:39 |
| ← SirFunk_ left | 17:39 |
| → nadim_ joined | 17:39 |
| → oriba joined | 17:40 |
| → jmil joined | 17:40 |
| → sivy joined | 17:40 |
| → WebDragon joined | 17:41 |
| → _psychic_ joined | 17:41 |
| ← ROBOTARMY left | 17:42 |
| → radarek joined | 17:42 |
| ← PointMan left | 17:44 |
| ← napster_123 left | 17:44 |
| → ceej joined | 17:44 |
| → simosx joined | 17:44 |
| ← simosx left | 17:44 |
| → noahcampbell joined | 17:45 |
| → obeattie_ joined | 17:46 |
| → _pingu joined | 17:46 |
| ← coderdad left | 17:47 |
| → ROBOTARMY joined | 17:48 |
| ← joel_falcou left | 17:48 |
| → rorist joined | 17:49 |
| ← priidu left | 17:49 |
| → napster_123 joined | 17:53 |
| → ChUrP joined | 17:53 |
| ← shruggar left | 17:53 |
| → Xorlev joined | 17:54 |
| → towski joined | 17:55 |
| → Bass10 joined | 17:55 |
| ← Bass10 left | 17:56 |
| → Bass10 joined | 17:56 |
| → MikhX joined | 17:57 |
| → pheaver joined | 17:57 |
| ← pheaver left | 17:57 |
| → mezgani_ joined | 17:57 |
| → pheaver joined | 17:58 |
| ← MikhX left | 17:58 |
| ← _pingu left | 17:58 |
| ← alvaro_o left | 17:58 |
| → alvaro_o joined | 17:58 |
| ← towski left | 17:59 |
| ← moog_ left | 18:00 |
| ← rolfb left | 18:01 |
| ← serard left | 18:01 |
| ← banisterfiend left | 18:02 |
| → ningia joined | 18:05 |
| → towski joined | 18:06 |
| → banisterfiend joined | 18:07 |
| → sraue_ joined | 18:07 |
| → fowlduck joined | 18:08 |
| ← phantomcircuit_ left | 18:08 |
| ← sraue_ left | 18:08 |
| → phantomcircuit joined | 18:08 |
| ← ereslibre left | 18:09 |
| → eletuchy joined | 18:09 |
| → Mannequin1 joined | 18:09 |
| ← Mannequin left | 18:10 |
| ← guardian left | 18:10 |
| ← sraue left | 18:11 |
| ← _psychic_ left | 18:11 |
| ← tchan left | 18:11 |
| → sraue joined | 18:12 |
| ← banisterfiend left | 18:12 |
|
consumerism
| why does git diff tell me the mode of a file is 755 when permissions are rwxrwx--- ? | 18:13 |
| → _psychic_ joined | 18:15 |
| → krfs joined | 18:15 |
| ← TheMoonM_ left | 18:16 |
| ← ziro`_ left | 18:16 |
| → MikhX joined | 18:18 |
| ← radarek left | 18:19 |
|
yrlnry
| I think git doesn't actually track file permissions, except for whether the execute bit is set. | 18:22 |
| → SparFux joined | 18:22 |
| → mytoh joined | 18:23 |
| → rgr joined | 18:24 |
| ← ChUrP left | 18:25 |
|
SparFux
| Hi all. Why do I get "*(no branch)" when I do "git checkout <branchname>" ? | 18:25 |
| ← arnavk left | 18:26 |
|
hyperair
| what does "git log --describe -1" say? | 18:26 |
|
cbreak
| SparFux: what did you tell git was your branch name? | 18:27 |
|
SparFux
| hyperair: not a sane git command. | 18:27 |
|
hyperair
| SparFux: what?! | 18:27 |
|
SparFux
| cbreak: remotes/origin/master as in "git branch -a" | 18:27 |
|
cbreak
| that's not a branch | 18:27 |
|
| that's a remote tracking branch | 18:27 |
|
hyperair
| SparFux: did you run it with or without quotes? | 18:27 |
|
cbreak
| you can't check those out | 18:27 |
| → moog_ joined | 18:27 |
|
SparFux
| hyperair: I think log doesnot know a --describe arg? | 18:28 |
|
hyperair
| SparFux: yes it does. | 18:28 |
|
cbreak
| you have to create a local branch for them with git checkout -t origin/master | 18:28 |
|
SparFux
| cbreak: ah! thx. | 18:28 |
|
hyperair
| SparFux: try it before rejecting it outright, but what cbreak said is right | 18:28 |
|
cbreak
| hyperair: I think SparFux is using an ancient git | 18:28 |
|
SparFux
| cbreak: I am? :-P | 18:28 |
|
| git version 1.7.2.3 | 18:28 |
|
hyperair
| pfft | 18:29 |
|
| that's newer than mine | 18:29 |
|
cbreak
| not that ancient | 18:29 |
|
hyperair
| SparFux: and yes, there's a --describe arg. please try it before rejecting it outright | 18:29 |
|
| it just makes you look stupid | 18:29 |
|
SparFux
| fatal: unrecognized argument: --describe | 18:29 |
|
| I couldn't find it in the man page. Anyway. | 18:30 |
| → coderdad joined | 18:30 |
|
cbreak
| that's because it's not a valid flag for git log | 18:30 |
|
SparFux
| cbreak: indeed. :-) | 18:30 |
| → tal joined | 18:30 |
|
hyperair
| what | 18:30 |
|
| oh shit | 18:30 |
|
| --decorate | 18:30 |
|
| hyperair has been using git logd for too long =_=" | 18:30 |
| ← amondracorp left | 18:31 |
|
SparFux
| http://pastebin.com/p7CEE264 is my branches. The local branches are without remote in the beginning, if I am right. I can delete them then. | 18:31 |
|
| hyperair: ok :-P | 18:31 |
|
cbreak
| SparFux: why delete them? | 18:31 |
|
| looks like you have three local branches | 18:32 |
|
| and a few more remote tracking branches | 18:32 |
| ← gozoner left | 18:32 |
| → jarodluebbert joined | 18:32 |
|
cbreak
| you already have a local master branch | 18:32 |
| ← Cromulent left | 18:32 |
|
cbreak
| just do a git checkout master to switch to it | 18:32 |
|
hyperair
| cbreak: recent gits have checkout on demand | 18:32 |
|
SparFux
| cbreak: my problem was the local master was not updated for some reason. | 18:32 |
|
cbreak
| in general, the only branches you can check out are in git branch | 18:32 |
|
hyperair
| cbreak: i.e. git checkout newbranch automatically tracks origin/newbranch | 18:32 |
|
cbreak
| hyperair: I am aware of that | 18:32 |
| → Zephyrus joined | 18:32 |
|
cbreak
| and of it's many shortcommings | 18:33 |
|
hyperair
| what shortcomings? | 18:33 |
| → irc2samus joined | 18:33 |
|
cbreak
| SparFux: you have to update it yoruself | 18:33 |
|
hyperair
| i think it's wonderful | 18:33 |
|
cbreak
| hyperair: see above :) | 18:33 |
|
| (it doesn't work if you use a fully qualified name) | 18:33 |
|
hyperair
| cbreak: that's because some wisecrack decided to checkout remotes/origin/master instead | 18:33 |
|
| that's a pebkac | 18:33 |
|
| er pbkac | 18:34 |
| ← HG` left | 18:34 |
|
hyperair
| not a git shortcoming | 18:34 |
|
irc2samus
| hi guys, I've exported GIT_AUTHOR_NAME and GIT_AUTHOR_EMAIL but when I commit they're not recognized, any ideas of what can be the problem? thanks | 18:34 |
|
cbreak
| see? it doesn't work :) | 18:34 |
|
SparFux
| cbreak: I had it the way that I only had to issue "git pull" to update to the latest git. | 18:34 |
| → HG` joined | 18:34 |
|
cbreak
| SparFux: you have to pull from somewhere | 18:34 |
|
| is your upstream configured? | 18:34 |
|
hyperair
| SparFux: so basically master is out of date and you want to bring it up to date? | 18:34 |
|
| SparFux: how about git checkout master; git pull origin master | 18:35 |
| ← ningia left | 18:35 |
|
patrikf
| irc2samus: how do you check? are you sure you're not actually looking at the committer info? | 18:35 |
| ← Guest46173 left | 18:35 |
|
SparFux
| hyperair: hm... still the log has latest entry of 8th dec 2010. | 18:36 |
|
irc2samus
| patrikf: git commit tells me so | 18:36 |
|
hyperair
| git log --pretty="%an <%ae>" | 18:36 |
|
| irc2samus: commit first, *then* check | 18:36 |
|
irc2samus
| patrikf: and it recommends to use --amend --author=... | 18:36 |
| → tchan joined | 18:36 |
|
hyperair
| O_o | 18:36 |
|
irc2samus
| hyperair: I am commiting | 18:36 |
|
hyperair
| SparFux: can you do... git log master..origin/master | 18:37 |
| ← shyam_iyer left | 18:37 |
|
| SparFux thinks he has to read the git book again, too long ago :-\ | 18:37 |
|
SparFux
| hyperair: this is empty. | 18:37 |
|
hyperair
| SparFux: therefore the branch is up to date. | 18:37 |
|
SparFux
| hyperair: but git log give me last entry of 8th dec and the http://cgit.freedesktop.org/nouveau/linux-2.6/ says, master has changed 17hours ago. :-\ | 18:38 |
|
hyperair
| SparFux: can you do git remote show origin | 18:38 |
|
| SparFux: i suspect that your "origin" remote repository is not the nouveau git repository | 18:39 |
| → asmega joined | 18:39 |
|
irc2samus
| this is the console output: https://gist.github.com/793685 | 18:39 |
| → Ownage joined | 18:40 |
|
Ownage
| can I tell git to ignore ssl warnings | 18:40 |
|
hyperair
| irc2samus: the Author is correct. the Committer is wrong. | 18:40 |
|
| irc2samus: and git is telling you to set your user.name and user.email so that your Committer will be correct. | 18:41 |
| → ChUrP joined | 18:41 |
| → Cromulent joined | 18:42 |
|
SparFux
| hyperair: but it is: http://pastebin.com/UM0Nu9uc | 18:42 |
|
irc2samus
| hyperair: by setting that is the env still recognized? | 18:42 |
| ← rjrodger left | 18:42 |
|
hyperair
| irc2samus: yes. | 18:42 |
|
irc2samus
| ok thank you :) | 18:42 |
|
hyperair
| irc2samus: if you don't set your author name and author email, it will default to user.name and user.email in the config. same goes for committer name and email | 18:43 |
| ← Mpenz left | 18:43 |
| → radarek joined | 18:43 |
| → Evious joined | 18:43 |
| Silex → silex | 18:43 |
| ← jcdny left | 18:44 |
|
hyperair
| SparFux: that's weird. can you do git log -1 origin/master? | 18:44 |
| ← unon left | 18:45 |
|
hyperair
| SparFux: by the way, it looks like you've done something funny with the remote branches | 18:45 |
|
SparFux
| yes: http://pastebin.com/b9kUb3sG Well, the former paste says, the local master would be out of date. | 18:45 |
|
hyperair
| no wait | 18:45 |
| → patmaddox joined | 18:45 |
|
hyperair
| do git remote prune | 18:45 |
|
SparFux
| hyperair: which name to prune? | 18:45 |
|
hyperair
| er nevermind | 18:45 |
|
| that can come later | 18:45 |
|
| for now... | 18:45 |
|
| git fetch origin | 18:45 |
|
| what output do you get from that? | 18:45 |
|
SparFux
| I tried that already, but I need a name to prune. | 18:45 |
|
hyperair
| SparFux: git fetch origin | 18:46 |
|
| now. | 18:46 |
|
SparFux
| hyperair: fetch origian pauses 1 sec and then stops without any output. | 18:46 |
|
hyperair
| weird | 18:46 |
|
SparFux
| hyperair: no output. | 18:46 |
|
| hm... | 18:46 |
|
hyperair
| SparFux: git fetch -v origin | 18:46 |
| ← dpino left | 18:47 |
|
SparFux
| http://pastebin.com/9U3Q7FrC | 18:47 |
|
| strange ! | 18:47 |
| ← tatsuya left | 18:47 |
|
SparFux
| it says up to date. | 18:47 |
|
hyperair
| urgh | 18:47 |
| ← jonshea left | 18:48 |
|
SparFux
| perhaps the website is wrong about the update 17hours ago. | 18:48 |
|
hyperair
| no | 18:48 |
|
| i just fetched from that repository | 18:48 |
|
| it shows me the correct commit | 18:48 |
|
SparFux
| oh :-P | 18:48 |
|
hyperair
| try cloning again | 18:48 |
|
SparFux
| but with --depth=0 ok? | 18:48 |
| → elmob joined | 18:48 |
|
hyperair
| er no | 18:49 |
|
| i don't know | 18:49 |
|
| i don't do shallow clones | 18:49 |
|
| if you're worried about the speed... | 18:49 |
|
SparFux
| hm... | 18:49 |
| → ciapecki joined | 18:49 |
|
hyperair
| do something like git clone --reference=/path/to/original/repository/ | 18:49 |
|
| that'll use the existing objects from that repository | 18:49 |
|
SparFux
| I am worried about putting network load on the dev servers. | 18:49 |
|
hyperair
| use the --reference flag | 18:49 |
| ← avinashhm left | 18:49 |
|
SparFux
| ah, ok. | 18:49 |
|
hyperair
| and either way, i'm sure they have plenty of bandwidth to spare | 18:50 |
| → Mpenz joined | 18:50 |
|
hyperair
| i've never had an issue with freedesktop's anongit | 18:50 |
| ← ch077179 left | 18:50 |
|
hyperair
| SparFux: alternatively.. | 18:50 |
|
| back to the original repository.. | 18:50 |
|
| do something like | 18:50 |
|
| git remote rm origin | 18:50 |
|
| git remote add origin git://anongit.freedesktop.org/nouveau/linux-2.6 | 18:51 |
|
SparFux
| will it just update my existing dir? or create a new one by using objects from reference? | 18:51 |
| → mw joined | 18:52 |
| ← kpreid left | 18:52 |
|
hyperair
| create a new one by using objects from reference | 18:52 |
|
| on the other hand, if you choose to just delete the remote called origin, and add it again | 18:52 |
|
| and fetch | 18:52 |
|
| it should only download the new refs | 18:52 |
| → pheaver_ joined | 18:53 |
|
SparFux
| hm... I did the latter. | 18:53 |
| ← irc2samus left | 18:53 |
|
hyperair
| which one? | 18:53 |
|
SparFux
| still only 8th dec. | 18:53 |
|
hyperair
| okay, can you do me a favour? | 18:54 |
|
SparFux
| the git remote rm origian && git remote add origin ... | 18:54 |
|
hyperair
| git log --decorate origin/master | 18:54 |
|
| i suspect you've gone and screwed your branches over grandly | 18:54 |
|
SparFux
| warning: refname 'origin/master' is ambiguous. !!! | 18:54 |
|
hyperair
| e.g. if you create a local branch refs/heads/origin/master | 18:54 |
|
| yeah, see | 18:54 |
| → guardian joined | 18:54 |
|
hyperair
| that's what happened | 18:54 |
|
| git br -D refs/heads/origin/master | 18:55 |
|
| do that | 18:55 |
|
| and then git log origin/master | 18:55 |
|
| i suspect what you did was git branch origin/master | 18:55 |
|
| or git checkout -b origin/master | 18:55 |
|
SparFux
| error: branch 'refs/heads/origin/master' not found. | 18:55 |
|
hyperair
| wtf | 18:55 |
|
| find .git/refs | 18:56 |
|
| as in, type that in the terminal | 18:56 |
|
| and see what output you have | 18:56 |
| → shyam_iyer joined | 18:56 |
| ← Evious left | 18:56 |
|
SparFux
| http://pastebin.com/jHfRewSZ | 18:56 |
| ← pheaver left | 18:57 |
| pheaver_ → pheaver | 18:57 |
|
SparFux
| have to get afk 20 min. bb later. sry. | 18:57 |
|
hyperair
| i need to sleep. | 18:57 |
|
| you'll have to ask someone else when you return. | 18:57 |
| → Evious joined | 18:57 |
| ← yotaff left | 18:58 |
| ← krfs left | 18:58 |
|
hyperair
| oh hey | 18:58 |
|
| it's git branch -D origin/master | 18:58 |
|
| not refs/heads/origin/master | 18:58 |
| ← Schmallon left | 18:59 |
| → TheMoonMaster joined | 18:59 |
| ← moog_ left | 18:59 |
| ← spaceonline left | 18:59 |
| ← gusnan left | 18:59 |
| → j416 joined | 19:00 |
| ← bauruine left | 19:01 |
| ← mezgani_ left | 19:01 |
| ← _psychic_ left | 19:01 |
| ← snearch left | 19:02 |
| → bauruine joined | 19:02 |
| ← jrmuizel_ left | 19:02 |
| → VAB3LY5 joined | 19:03 |
| → excess^ joined | 19:03 |
| → Textmode joined | 19:03 |
| → napster_123_ joined | 19:03 |
| ← napster_123 left | 19:05 |
| napster_123_ → napster_123 | 19:05 |
| → kpreid joined | 19:05 |
| ← xiong left | 19:05 |
| → peshalto joined | 19:05 |
| ← urkud left | 19:06 |
| → kipras joined | 19:07 |
| → ch077179 joined | 19:07 |
| → TheFox21 joined | 19:08 |
| → VAB3LZY joined | 19:08 |
| ← ch077179 left | 19:08 |
| → ch077179 joined | 19:09 |
| ← wedgeV left | 19:10 |
| → spaceonline joined | 19:10 |
| ← ptl left | 19:10 |
| ← PigeonFriend left | 19:11 |
| ← kipras left | 19:12 |
| → Buglouse joined | 19:12 |
| ← Buglouse left | 19:13 |
| → dreiss joined | 19:13 |
| → bartek joined | 19:14 |
| → PigeonFriend joined | 19:15 |
| → dunpeal joined | 19:15 |
|
SparFux
| hyperair: yeah, said to just delete the local branches :-P | 19:15 |
| → theoros joined | 19:16 |
|
dunpeal
| Hi. I have head foo that branched off master at some point. How do I get the commit just before the branch point, i.e. the last common ancestor of master and foo? | 19:16 |
| → enherit joined | 19:18 |
|
j416
| dunpeal: have a look at git-mergebase | 19:18 |
| ← Zhonghua left | 19:19 |
| ← coderdad left | 19:19 |
| ← ISF left | 19:19 |
| ← engla left | 19:20 |
| → kipras joined | 19:20 |
|
bartek
| Hi there. Just converted our team to git today and one question: The git tree is riddled with various "Merge branch 'master' of <origin url>" commits. We have 6 people on our team and it's basically when I pull in changes from someone else. This seems silly and I think we're doing something wrong. Would --no-ff be the solution to make these merges actually show useful information? | 19:20 |
|
benishor
| git pull --rebase origin master | 19:20 |
|
| or whatever your branch is | 19:21 |
|
bremner
| you could, uh, type useful commit messages. | 19:21 |
|
bartek
| bremner: We do? | 19:21 |
|
bremner
| oh, I see. yeah, maybe no-ff would help, not sure. | 19:21 |
|
benishor
| bartek: have you read about rebasing? | 19:21 |
| → krfs joined | 19:21 |
|
bartek
| I think something is not right with our flow, but I want to verify. The tree just has a lot of it, but we're playing around a lot right now | 19:21 |
| ← Mab879 left | 19:21 |
|
bartek
| benishor: I understand rebasing in the form of taking a set of commits and re-organizing and/or deleting them (git rebase -i for example), but not within a pull | 19:22 |
| ← obeattie_ left | 19:22 |
| ← luxurymode left | 19:22 |
| → engla joined | 19:22 |
| ← rgr left | 19:22 |
|
benishor
| bartek: try it out | 19:22 |
| → Mab879 joined | 19:22 |
| ← EM03 left | 19:22 |
|
bartek
| Alright :) | 19:22 |
|
benishor
| basically it makes a merge with remote and then puts your changes on top | 19:22 |
|
| so the log won't be filled with ridiculous merges | 19:23 |
|
bartek
| Ah very nice | 19:23 |
| ← Cromulent left | 19:23 |
|
bremner
| bartek: generally many merge commits means the merges are non trivial. You may find rebasing the topic branch against the "master" branch before you merge helps. | 19:23 |
|
cannonball
| benishor: I've not tried the rebase during the pull. I always checkout master, pull, checkout master_topic_branch and then rebase against master. You're saying that I can just stay in my topic branch and git pull --rebase master and it will do all those steps for me? | 19:23 |
|
farktronix
| bartek: you may want to use a more structured branching/merging model. my team has been using this one for a couple months now and it works great (as long as everyone follows the rules) http://nvie.com/posts/a-successful-git-branching-model/ | 19:24 |
| ← bcardarella left | 19:24 |
|
bartek
| Now if I'm doing git pull --rebase, but the designers are doing just a git pull -- There won't be any issues when they eventually push their changes will there? | 19:24 |
| → ericdc joined | 19:24 |
| _jesse__ → _jesse_ | 19:24 |
|
benishor
| cannonball: that's how I play around ... do work, commit, git pull --rebase origin master, git push origin master | 19:24 |
|
bartek
| farktronix: We have looked into that. Our strategy right now, since many of our team is new to git is simply to let our model evolve and get everyone used to git first. I really want to get into using that model, though | 19:24 |
| ← tjholowaychuk left | 19:25 |
|
bartek
| But thanks for the link, it's a nice model to follow | 19:25 |
| → tjholowaychuk joined | 19:25 |
| → joel_falcou joined | 19:25 |
| → pyther joined | 19:26 |
| ← galderz left | 19:27 |
| ← engla left | 19:27 |
| → banjiewen joined | 19:27 |
| ← kipras left | 19:27 |
| → engla joined | 19:28 |
| → _psychic_ joined | 19:28 |
| ← engla left | 19:29 |
| → engla joined | 19:29 |
| → kipras joined | 19:29 |
| ← jxpx777 left | 19:29 |
| ← kipras left | 19:29 |
| → richcollins joined | 19:30 |
| → bmahe joined | 19:31 |
| → Chillance joined | 19:31 |
| ← pfrenssen left | 19:34 |
| ← Nickeeh left | 19:34 |
| → oracal joined | 19:34 |
| → alberto56 joined | 19:35 |
| → Nickeeh joined | 19:35 |
| → stamina joined | 19:37 |
| ← bluenovember left | 19:37 |
| ← patmaddox left | 19:38 |
| → kipras joined | 19:38 |
| → galderz joined | 19:38 |
| ← galderz left | 19:38 |
| → galderz joined | 19:38 |
| → Utkarsh joined | 19:38 |
| → emptyflask joined | 19:39 |
| ← icwiener_ left | 19:39 |
| → coderdad joined | 19:40 |
| ← vitor-br left | 19:41 |
| ← Utkarsh_ left | 19:41 |
| ← kipras left | 19:41 |
| → Utkarsh_ joined | 19:42 |
| → andrewvos joined | 19:43 |
| → banisterfiend joined | 19:44 |
| ← ankushbansal left | 19:44 |
| ← Utkarsh left | 19:45 |
| → vitor-br joined | 19:45 |
| ← tgunr left | 19:46 |
| ← artefon left | 19:46 |
| → Modius joined | 19:46 |
| → kipras joined | 19:47 |
| ← kipras left | 19:47 |
| → kipras joined | 19:49 |
| → Utkarsh__ joined | 19:49 |
| ← kipras left | 19:49 |
| ← PerlJam left | 19:50 |
| → Eridius joined | 19:51 |
| → PerlJam joined | 19:51 |
| ← kpreid left | 19:51 |
| → khmarbaise joined | 19:51 |
| ← napster_123 left | 19:51 |
| ← ph^ left | 19:52 |
| ← Utkarsh_ left | 19:52 |
| → Utkarsh_ joined | 19:53 |
| → Buglouse joined | 19:54 |
| ← Utkarsh__ left | 19:55 |
| → normanrichards joined | 19:56 |
| → Cromulent joined | 19:56 |
| → kipras joined | 19:57 |
| ← matjas left | 19:58 |
| ← kipras left | 19:58 |
| → workmad3 joined | 19:59 |
| → kpreid joined | 19:59 |
| → panike joined | 20:00 |
| → _psychic__ joined | 20:01 |
| → nfiniteset joined | 20:01 |
| → rjrodger joined | 20:01 |
| → bentob0x joined | 20:02 |
| → matjas joined | 20:02 |
| Chillax → Chillaway | 20:02 |
| ← _psychic_ left | 20:03 |
| _psychic__ → _psychic_ | 20:03 |
| → kipras joined | 20:03 |
| ← Cromulent left | 20:04 |
| → NickyP_ joined | 20:04 |
|
jast
| samjam: you're welcome ;) | 20:05 |
| ← MikhX left | 20:05 |
| → laj joined | 20:06 |
|
SparFux
| My git checkout -f leads to this: http://pastebin.com/VEb0mnav | 20:06 |
| → cesario joined | 20:07 |
| → tizbac joined | 20:08 |
| → Agos joined | 20:08 |
| → Cipher-0 joined | 20:08 |
| ← Tommy[D] left | 20:09 |
| ← _jesse_ left | 20:09 |
| ← NickyP_ left | 20:09 |
| ← tvw left | 20:10 |
| ← pheaver left | 20:10 |
| → Tommy[D] joined | 20:10 |
| → pheaver joined | 20:10 |
| ← workmad3 left | 20:11 |
| → _jesse_ joined | 20:11 |
| ← krfs left | 20:12 |
| → MikhX joined | 20:12 |
| ← laj left | 20:12 |
| ← shentino_ left | 20:13 |
| → shentino_ joined | 20:14 |
| ← DiGitalX left | 20:14 |
| ← shentino_ left | 20:14 |
| → Shentino joined | 20:15 |
| ← Shentino left | 20:15 |
| → Shentino joined | 20:15 |
| ← Shentino left | 20:15 |
| → shentino joined | 20:15 |
| → Cromulent joined | 20:16 |
| → laj joined | 20:16 |
|
WebDragon
| during a topic branch off of develop, I created a third branch to hold some speculative changes to a particular file that's otherwise remained unchanged, and the forgot about it for a while. the parent branch was merged into develop, and later on in develop I added a minimal skeleton to that file. now I want to rebase that third branch so that it starts from current develop head, but the file conflicts slightly with the skeleton. How | 20:16 |
|
| ever, I want to keep everything in the branch I'm rebasing preferentially overwriting anything that had happened to it in the develop branch | 20:16 |
|
| is there a way to tell (git rebase develop) that I want to keep everything in the current branch over anything that it would possibly conflict with in the branch I'm rebasing this onto | 20:17 |
| → ereslibre joined | 20:18 |
| → elmo2k3 joined | 20:18 |
| ← elmob left | 20:19 |
| → ptl joined | 20:20 |
| → chairabanta_ joined | 20:20 |
| ← doener left | 20:20 |
| ← chairabanta_ left | 20:20 |
| ← Zephyrus left | 20:22 |
| ← goshawk left | 20:23 |
| ← jas4711 left | 20:23 |
| ← panike left | 20:23 |
| → krfs joined | 20:24 |
| → panike joined | 20:25 |
| → delinquentme joined | 20:25 |
|
panike
| git rebase -s ours develop will do the trick I think | 20:25 |
| → urkud joined | 20:26 |
| → lteo joined | 20:28 |
|
lteo
| i came across an ancient server where the git version installed is 1.4. will the latest git inter-operate with it? | 20:28 |
| → jcdny joined | 20:28 |
|
Eridius
| yes | 20:29 |
|
lteo
| Eridius: just to clarify, is that in response to my question? :) | 20:30 |
|
jast
| yes | 20:30 |
|
Eridius
| yes | 20:30 |
|
| :p | 20:30 |
|
lteo
| lol thanks :D | 20:30 |
| → EricInBNE joined | 20:31 |
| ← ChUrP left | 20:32 |
|
WebDragon
| oho, there it is | 20:34 |
|
| WebDragon goes to TIAS | 20:34 |
| → patmaddox joined | 20:34 |
| ← marcob left | 20:35 |
|
| WebDragon raises eyebrows | 20:36 |
|
WebDragon
| ok something evidently didn't do what I expected | 20:36 |
|
| panike: http://fpaste.org/SLrA/ this happened, however the rebased file did NOT keep the changes I expected it to -- i.e. the rebased branch has lost all the changes it originally contained, and now just contains the 'skeleton' changes that develop had before I moved this topic branch up the line | 20:38 |
| → ChUrP joined | 20:38 |
|
WebDragon
| am a little confused about 'already applied' | 20:38 |
| → p3rror joined | 20:38 |
|
WebDragon
| using 1.7.2.3 here | 20:39 |
|
| (evidently I need to update soon) | 20:39 |
| ← jpieper left | 20:39 |
|
SparFux
| I guess my problem was, because I was using some "detached HEAD" named "master" which obviously is a very wicked thing to have. | 20:39 |
|
WebDragon
| how do I undo this and get myself back to where I was previously before attempting this rebase? | 20:39 |
|
panike
| I think you can do git reset --hard HEAD@{1} to get back to your previous HEAD. | 20:40 |
| → ysiad joined | 20:40 |
| ← j416 left | 20:40 |
|
bartek
| I see some blog posts saying to rebase master into your branch and some others saying don't. I have a long running branch that is fairly behind, is there anything *wrong* with rebasing master into it? | 20:41 |
| ← richcollins left | 20:42 |
| → gozoner joined | 20:42 |
| → SIGBUS joined | 20:42 |
|
panike
| Already applied means that the same chunk was on both branches | 20:43 |
|
Utoxin
| bartek: Have you shared it with /anyone/? | 20:43 |
|
bartek
| Utoxin: The branch? Yes, it's between two developers right now | 20:43 |
|
ayust
| rebasing is probably bad then | 20:43 |
|
Utoxin
| bartek: Then a rebase will cause problems, most likely. | 20:43 |
|
ayust
| rewriting public history tends to cause problems | 20:43 |
|
bartek
| How about a merge of master into the branch? | 20:44 |
|
ayust
| merging is fine | 20:44 |
|
Utoxin
| That's the correct way, yes. | 20:44 |
|
| Doesn't re-write history. | 20:44 |
|
ayust
| and git will handle the eventual merge back to master properly | 20:44 |
|
WebDragon
| will that move (develop)->(productindex) back to (integration [branch off develop])->(productindex[branch off integration])...<-(develop) | 20:44 |
|
bartek
| Ugh, so blog posts with differing methods | 20:44 |
| ← pgib left | 20:44 |
|
bartek
| Thanks guys | 20:44 |
|
Utoxin
| bartek: Rebase is fine if you haven't shared the branch. | 20:44 |
| ← p3rror left | 20:45 |
|
ayust
| in general "shared history = don't rebase" | 20:45 |
|
bartek
| Hmm | 20:45 |
|
| Good to know | 20:45 |
|
Utoxin
| I still prefer merges over rebase even for private branches, but that's a personal preference thing. | 20:46 |
|
panike
| WebDragon: Yes, that is what I am saying | 20:46 |
| → koruptid joined | 20:46 |
|
WebDragon
| okay | 20:46 |
|
| WebDragon crosses fingers :) | 20:46 |
| ← tal left | 20:46 |
|
Utoxin
| I try to avoid anything that re-writes history. | 20:46 |
| ← koruptid left | 20:46 |
| → tal joined | 20:46 |
| ← albel727 left | 20:47 |
| → squentin joined | 20:47 |
|
WebDragon
| whew | 20:48 |
|
Cipher-0
| You'd make a good Timelord, Utoxin. | 20:48 |
|
bartek
| So a workflow of: git checkout -t -b newbranch; *hack hack for a week*; git merge master; *hach hack*; git checkout master; git merge newbranch; git branch -d newbranch -- This is my understanding of how it should be done in a high-level, one-line kind of way. Anything wrong with it? | 20:48 |
|
WebDragon
| ok, that got the changes back | 20:48 |
|
bartek
| Only merging master if I really should | 20:48 |
|
Utoxin
| Cipher-0: ... How'd you know? Blast. Need to work on my disguise more. | 20:48 |
|
panike
| Maybe try git rebase -s theirs and see if that produces the right tree. If needed you can do the git reset command to get back | 20:49 |
| ← dunpeal left | 20:49 |
| → ISF joined | 20:49 |
| ← Simkin left | 20:49 |
|
ayust
| bartek: that workflow should be fine | 20:49 |
|
bartek
| Great .. | 20:49 |
|
Utoxin
| bartek: Looks good to me. | 20:49 |
|
| bartek: That's effectively what we do here. | 20:49 |
|
panike
| Sorry, meant Maybe try git rebase -s theirs develop and see if that produces the right tree. If needed you can do the git reset command to get back | 20:50 |
|
bartek
| awesome :) | 20:50 |
|
WebDragon
| panike: ok | 20:50 |
| ← hagabaka left | 20:50 |
| ← batrick left | 20:51 |
| → Simkin joined | 20:51 |
| → batrick joined | 20:51 |
|
WebDragon
| panike: what about git rebase -s recursive ours develop ? | 20:51 |
|
| I can't quite tell how that differs from git rebase -s ours | 20:51 |
|
panike
| Go ahead and try it. That is the only way to learn | 20:51 |
|
| git reset is your friend when messing around | 20:52 |
|
WebDragon
| yeah, but I hate easter-egging blackbox style on my code | 20:52 |
|
| :D | 20:52 |
| ← kpreid left | 20:52 |
| → p3rror joined | 20:53 |
|
SparFux
| hyperair: the solution would be for me to git checkout -f, git clean -f, git checkout -b dummy, git branch -d master, git checkout -b master, git branch -d dummy. | 20:53 |
|
WebDragon
| hm the syntax of that is incorrect | 20:54 |
|
| the manpage says " The recursive strategy can take the following options: " | 20:54 |
|
panike
| I think git will treat "ours" as a branch rather than a merge strategy if you do "git rebase -s recursive ours develop" | 20:54 |
|
WebDragon
| one of which is 'ours' but it doesn't give an example of how to write the command .. -s recursive=ours also does not work | 20:54 |
|
| WebDragon headscratches a bit | 20:55 |
|
WebDragon
| not sure how to pass the 'ours' option to recursive under these conditions | 20:55 |
|
| maybe a later version cleaned up the manpage some.. let me check online | 20:55 |
|
panike
| ours, recursive, and theirs are different merge strategies, so it does not make much sense to combine them | 20:55 |
| ← SparFux left | 20:56 |
|
ayust
| " The recursive strategy can take the following options: | 20:56 |
|
| ours | 20:56 |
|
| " | 20:56 |
|
WebDragon
| http://fpaste.org/Rwz3/ | 20:56 |
|
| this is what my manpage looks like | 20:56 |
| ← vitor-br left | 20:56 |
| ← theoros left | 20:56 |
| → timepilot joined | 20:56 |
| → matjas_ joined | 20:56 |
|
ayust
| WebDragon: -X | 20:56 |
|
| for merge strategy options | 20:57 |
|
| -s recursive -X ours | 20:57 |
|
| WebDragon votes to have that section of the manpage spell that out | 20:57 |
|
ayust
| yeah.. it's spelt out in the git-merge manpage | 20:58 |
|
| and there is a -X listing in the git-rebase manpage | 20:58 |
|
WebDragon
| gave me a usage message http://fpaste.org/0kBH/ | 20:58 |
|
ayust
| hm | 20:58 |
|
| w | 20:58 |
|
| what git version? | 20:58 |
| ← cm100 left | 20:58 |
|
WebDragon
| 1.7.2.3 | 20:59 |
| → benzen joined | 20:59 |
| ← matjas left | 20:59 |
| ← benzen left | 20:59 |
|
ayust
| it's *possible* that it was only added in 1.7.3? | 20:59 |
| ← ISF left | 21:00 |
| → benzen joined | 21:00 |
| → ISF joined | 21:00 |
|
WebDragon
| oh well. I can always resolve the merge conflict manually with mergetool -- I was just hoping there was a way to fast-track keeping the changes in the topic branch | 21:00 |
| ← Vampire0_ left | 21:00 |
| matjas_ → matjas | 21:00 |
| → theoros joined | 21:00 |
| ← theoros left | 21:00 |
| → theoros joined | 21:00 |
|
WebDragon
| I should probably upgrade git anyway, but I have a distro-release upgrade to do as well, so I need to do that first anyway | 21:01 |
| ChanServ set mode: +v | 21:01 |
| ← _psychic_ left | 21:01 |
|
benzen
| hi | 21:01 |
|
| i've got a question about git-deamon | 21:01 |
| ← TrineLocke left | 21:01 |
|
WebDragon
| once I get the distro-release upgraded then I can see what version of git comes with the current distrover and go from there | 21:01 |
| ← LongBeach left | 21:02 |
|
panike
| Best of luck | 21:02 |
|
benzen
| I would like to know is there a "good way " to set up a git-deamon which will start with the server and have a custom port ? | 21:03 |
| → ereslibre_laptop joined | 21:03 |
|
Utoxin
| benzen: xinetd, at a wild guess. | 21:04 |
| ← cesario left | 21:04 |
| → simplechat joined | 21:04 |
|
WebDragon
| thanks panike and ayust | 21:05 |
| ← ereslibre left | 21:05 |
| ← ysiad left | 21:05 |
| → kpreid joined | 21:05 |
|
WebDragon
| do any modern distro releases even install xinetd by default anymore? | 21:06 |
| → haploid joined | 21:06 |
| → _psychic_ joined | 21:06 |
| → raton joined | 21:06 |
|
benzen
| Utoxin: ok i'll search about that, do you know another way. I mean without install anything else ? | 21:06 |
| ← ThomasLocke left | 21:07 |
|
WebDragon
| benzen: http://progit.org/book/ch4-9.html | 21:07 |
| ← quentusrex_ left | 21:08 |
| → Schmallon joined | 21:08 |
| Chillaway → Chillax | 21:08 |
| → matjas_ joined | 21:09 |
| ← joel_falcou left | 21:09 |
| ← banisterfiend left | 21:09 |
| → quentusrex_ joined | 21:10 |
| ← bitkiller left | 21:10 |
| → joel_falcou joined | 21:10 |
| → ysiad joined | 21:10 |
|
benzen
| WebDragon: Thank you very much, i look like it's what i was looking for. | 21:11 |
| ← p3rror left | 21:11 |
|
haploid
| Is there any reason merging a branch back into master wouldn't create files in master that are in the branch ? | 21:11 |
| → mmw joined | 21:11 |
| ← matjas left | 21:11 |
|
benzen
| Utoxin: thank for your help | 21:11 |
| ← miloshadzic left | 21:11 |
|
Utoxin
| benzen: No problem. | 21:11 |
|
thiago_home
| haploid: the reason is that your assumption is wrong | 21:12 |
|
| haploid: are you sure that the files are in the other branch? git log branchname -- filename | 21:12 |
| ← __name__ left | 21:13 |
| → p3rror joined | 21:13 |
| ← ptl left | 21:13 |
| ← NickyP left | 21:13 |
| → ptl joined | 21:13 |
|
haploid
| thiago_home: yeah, they're there and committed | 21:13 |
|
thiago_home
| ok | 21:14 |
|
| now execute the merge. Did it succeed? | 21:14 |
| ← ROBOTARMY left | 21:14 |
| → ROBOTARMY joined | 21:15 |
| ← Neo left | 21:15 |
|
haploid
| thiago_home: yes, no conflicts. files still aren't there | 21:15 |
|
thiago_home
| git whatchanged -- filename | 21:16 |
|
| anything output? | 21:16 |
|
| was it deleted? | 21:16 |
| → miloshadzic joined | 21:17 |
|
haploid
| no output at all. no error, no response | 21:17 |
|
| or rather, blank line | 21:17 |
|
thiago_home
| try again with the branch name. Do you see output? | 21:17 |
| → Vampire0 joined | 21:18 |
| ← TheFox21 left | 21:18 |
| → TeckniX joined | 21:18 |
| → nbjoerg joined | 21:19 |
|
nbjoerg
| fast-import question. can a marker be used for both a blob and a commit? | 21:19 |
| → Neo joined | 21:19 |
|
haploid
| actually, it worked just fine with a freshly-pulled repository | 21:19 |
|
nbjoerg
| (and do the right thing depending on the context) | 21:19 |
|
thiago_home
| nbjoerg: the last overwrites the older mark. | 21:19 |
|
nbjoerg
| thiago_home: so it won't remember both the content and the hash for the commit? | 21:20 |
| ← elmo2k3 left | 21:20 |
|
haploid
| into another directory, that is. maybe this particular repo is just corrupted | 21:20 |
| ← jhoepken left | 21:20 |
| → banisterfiend joined | 21:20 |
| ← ptl left | 21:22 |
|
thiago_home
| nbjoerg: a mark is exactly one SHA-1 | 21:22 |
|
| nbjoerg: it can be the SHA-1 for a blob or for a commit or for a tag | 21:22 |
| ← khmarbaise left | 21:23 |
| → ice799 joined | 21:23 |
|
nbjoerg
| ok. I'm asking to make sure before I start depending on the behavior | 21:24 |
| → LouisJB joined | 21:24 |
| ← Titosemi1 left | 21:26 |
| ← nbjoerg left | 21:26 |
| → jas4711 joined | 21:26 |
| → bitkiller joined | 21:27 |
| ← quentusrex_ left | 21:28 |
| → ptl joined | 21:28 |
| ← ChUrP left | 21:30 |
| → m104 joined | 21:31 |
| → xelister joined | 21:32 |
|
xelister
| if there is a project on git hub, how easiest to fork it? | 21:32 |
| ← haploid left | 21:32 |
|
thiago_home
| I think if you click on the fork link, it forks | 21:33 |
| ← ericholscher left | 21:33 |
| → pantsman joined | 21:34 |
| ← urkud left | 21:34 |
| ← raton left | 21:35 |
| → urkud joined | 21:35 |
| → ChUrP joined | 21:37 |
| → priidu joined | 21:37 |
| ← PigeonFriend left | 21:37 |
| ← priidu left | 21:37 |
| → priidu joined | 21:38 |
| → ShooterMG joined | 21:38 |
| ← p3rror left | 21:39 |
| ← ptl left | 21:40 |
| ← bartek left | 21:40 |
| → hagabaka joined | 21:41 |
| ← hagabaka left | 21:41 |
| → hagabaka joined | 21:41 |
| → arnavk joined | 21:41 |
| → skoop joined | 21:41 |
| → richcollins joined | 21:42 |
|
picasso
| trying to set up a post-receive hook to update my website | 21:42 |
|
| the site itself is a cloned repo | 21:42 |
|
| so my post-receive hook is: cd /path/to/site && git pull | 21:43 |
| ← fowlduck left | 21:43 |
| → pervy_sage joined | 21:43 |
|
picasso
| it works fine when i run it myself, but i keep getting this error when it's run when doing a push: | 21:43 |
|
pervy_sage
| Is it possible to just stash away *some* changes to your work with git stash? | 21:43 |
|
picasso
| remote: fatal: Not a git repository: '.' | 21:43 |
|
pervy_sage
| Like certain files? | 21:43 |
|
thiago_home
| picasso: is /path/to/site a Git repo? | 21:44 |
| ← HG` left | 21:44 |
|
picasso
| thiago_home: yeah | 21:44 |
|
| when i run post-receive myself, it updates just as you'd expect.. just when it's run from git, it somehow isn't working | 21:44 |
|
thiago_home
| picasso: inside a hook, GIT_DIR is set | 21:45 |
|
| you should unset GIT_DIR and GIT_WORK_TREE | 21:45 |
| ← tchan left | 21:45 |
| ← emptyflask left | 21:45 |
| ← Cipher-0 left | 21:46 |
| → haploid joined | 21:46 |
|
picasso
| beautiful, thank you! | 21:46 |
| → tchan joined | 21:46 |
|
patrikf
| pervy_sage: --keep-index | 21:46 |
| ← nona left | 21:49 |
|
pervy_sage
| patrikf: When it says, "Changes alreadya dded to the index are left in tact?" What does that mean? | 21:50 |
|
| If I do git add foo then I stash, foo is not included in the stash? | 21:50 |
|
| Let's say I modify foo and bar. I want to stash bar only, I add foo first, then stash and foo will still remain with my modifications? | 21:51 |
|
Eridius
| `git stash` by default stashes both the staged and unstaged changes | 21:51 |
|
| `git stash -k` will leave the staged changes alone | 21:51 |
| ← jarodluebbert left | 21:52 |
|
pervy_sage
| I see. | 21:52 |
| → tgunr joined | 21:52 |
| ← logankoester left | 21:52 |
| → fedesilva joined | 21:52 |
| ← zombor left | 21:52 |
| ← ludde left | 21:52 |
| → p3rror joined | 21:52 |
| → ptl joined | 21:52 |
| ← pyther left | 21:54 |
| ← shorg left | 21:54 |
|
pervy_sage
| Is it possible to add empty directories, I forget. | 21:54 |
|
| Or do I have to put a file in there :-/ | 21:54 |
| ← alvaro_o left | 21:55 |
| ← ChUrP left | 21:55 |
| → ChUrP joined | 21:55 |
| → tfoote joined | 21:55 |
|
consumerism
| can git add be smarter about interpreting filenames? i have a bunch of long paths in my repository and i'd like to be able to just say git add file.ext rather than git add /some/huge/long/annoying/path/to/file.ext. what can i do? | 21:56 |
| ← jaql left | 21:56 |
| ← matjas_ left | 21:56 |
| ← cptG left | 21:58 |
| ← p3rror left | 21:58 |
| ← TheMoonMaster left | 21:58 |
| → gusnan joined | 21:58 |
| → Mosterd joined | 21:59 |
| ← kpreid left | 21:59 |
|
patrikf
| can't you just cd there? how do you specify the path to other programs?! | 21:59 |
|
| but you can of course use find | 21:59 |
| → ChUrP_ joined | 22:00 |
| ← ChUrP_ left | 22:00 |
| ← ChUrP left | 22:00 |
|
patrikf
| or add -i | 22:00 |
| ← _psychic_ left | 22:01 |
| ← robinbowes left | 22:01 |
| → Athox joined | 22:01 |
| ← wyvern` left | 22:02 |
| ← jcdny left | 22:02 |
| ← eletuchy left | 22:02 |
| ← torvalamo left | 22:03 |
| → benishor_ joined | 22:03 |
| ← jstemmer left | 22:04 |
| → vitor-br joined | 22:04 |
| → _psychic_ joined | 22:04 |
| ← Cromulent left | 22:04 |
| → matjas joined | 22:04 |
|
arkonova
| Does nesting git repositories a bad thing? | 22:05 |
|
| Context: Managing Apache's sites-available with a git repo while having /etc/ maintained with etckeeper. | 22:05 |
| → toni1 joined | 22:05 |
| ← benishor left | 22:06 |
| ← matjas left | 22:06 |
| ← mmw left | 22:07 |
| ← crashanddie left | 22:08 |
| ← oracal left | 22:08 |
| ← banisterfiend left | 22:09 |
| ← montylounge left | 22:09 |
|
Mosterd
| I got a hard to understand error. | 22:09 |
|
| http://pastebin.com/tX7a3FgB | 22:09 |
| → psoo joined | 22:09 |
| ← toni1 left | 22:10 |
| ← Migaaresno left | 22:10 |
| → brokencycle joined | 22:10 |
|
Mosterd
| And when I try it again, it loops forever. | 22:10 |
| ← Athox left | 22:10 |
|
Mosterd
| s/loops/hangs (It just freezes completely) | 22:11 |
| ← benzen left | 22:11 |
| ← kylehayes left | 22:12 |
|
pervy_sage
| Eridius: ha, worked like a charm | 22:13 |
| → pheaver_ joined | 22:13 |
| → p3rror joined | 22:13 |
| → markelikalderon joined | 22:13 |
| ChanServ set mode: +v | 22:14 |
| ← asmega left | 22:14 |
|
brokencycle
| Hi! | 22:14 |
| → artefon joined | 22:15 |
| → robinbowes joined | 22:15 |
| → torvalamo joined | 22:15 |
| → raboof joined | 22:15 |
|
raboof
| is it possible to have a git repo on one machine, and gitweb (or some other web interface) on another? I'd like to give users the possiblity of downloading the lastest master snapshot as a tarball without installing git themselves. | 22:16 |
| ← pantsman left | 22:16 |
|
brokencycle
| I have a local and a remote repo, with local = remote - 1. Now I'd like to delete the additional commit in remote, but didn't yet figure out how. | 22:16 |
| ← pheaver left | 22:17 |
| pheaver_ → pheaver | 22:17 |
|
brokencycle
| raboof: I do this with redmine + plugin, but redmine needs to run on the same machine where you have the repo. Maybe you can use NFS or something? | 22:17 |
| ← stliu left | 22:17 |
| ← panike left | 22:18 |
| ← Dave^|| left | 22:18 |
| → mikepack joined | 22:19 |
| → banisterfiend joined | 22:19 |
| ← zivester_ left | 22:21 |
| → workmad3 joined | 22:21 |
| → jcdny joined | 22:22 |
| → friskd joined | 22:24 |
| ← ereslibre_laptop left | 22:25 |
| → makkes joined | 22:26 |
| ← psoo left | 22:27 |
| ← makkes left | 22:27 |
| ← starcoder left | 22:27 |
| ← pheaver left | 22:27 |
| ← LiamH left | 22:28 |
| ← Layke left | 22:29 |
| → pheaver joined | 22:30 |
| → PigeonFriend joined | 22:30 |
| ← mw left | 22:30 |
| → starcoder joined | 22:32 |
| ← Mannequin1 left | 22:32 |
|
Davey
| So... I'm trying to replay changes to a repo... is it possible to "commit" (local repo) under someone elses name? | 22:33 |
|
| so that when I push it to github it is attributed to them | 22:33 |
| ← pdelgallego_ left | 22:33 |
| ← pdelgallego left | 22:33 |
|
ayust
| yes | 22:34 |
|
| --committer or --author | 22:34 |
|
| as appropriate | 22:34 |
| ← Ryback_ left | 22:34 |
|
ayust
| actually only --author for "git commit" | 22:35 |
|
| git log can take either :) | 22:35 |
| ← ExtraSpice left | 22:35 |
|
ayust
| you can also use -c <sha> to copy the info from another commit | 22:35 |
|
Davey
| ayust: I'm coming from SVN | 22:36 |
| → Mannequin joined | 22:36 |
|
ayust
| okay, then you'll want the --author="Foo Bar [email@hidden.address] syntax | 22:36 |
| → project2501a joined | 22:36 |
|
Davey
| trying to get a perfect git history — luckily it was all one branch (trunk) up till the last 90-something commits | 22:36 |
|
| j | 22:36 |
|
| ust | 22:36 |
|
| gonna patch by hand and commit as I go :) | 22:36 |
|
| ayust: will it say it was committed by me then? I'd rather it be identical to as if they had done it | 22:37 |
|
ayust
| it will say Author: Them; Commiter: You | 22:37 |
|
Davey
| if I set both to same thing, it'll be as if they had done it? | 22:37 |
|
| or can I just do committer? | 22:37 |
|
charon
| Davey: look up the variables in man git-commit-tree and perhaps also look into git-filter-branch which can do a batch rewrite of author info | 22:38 |
|
jast
| Davey: the 'git-commit-tree' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-commit-tree.html [automatic message] | 22:38 |
|
ayust
| I don't believe you can set committer via command line options; you might be able to do it via environment variables tho | 22:38 |
| ← rjrodger left | 22:38 |
|
Davey
| oh, and what about date/time? I can set that in svn after-the-fact, can I do that in git? | 22:38 |
|
| Davey thinks his answer might be on that page | 22:38 |
|
ayust
| GIT_COMMITTER_NAME="Foo Bar" GIT_COMMITTER_EMAIL="fbar@domain.com" git commit ... | 22:38 |
| ← sonnym left | 22:38 |
| → freq9 joined | 22:39 |
| → shmore joined | 22:39 |
| ← radarek left | 22:39 |
|
ayust
| you can set the date via the GIT_COMMITTER_DATE var | 22:39 |
|
charon
| Davey: you can't set anything after the fact; as one more eloquent gitter put it, you cannot change, you can only rewrite and forget | 22:39 |
|
| (forget the pre-rewrite commits, that is) | 22:39 |
|
Davey
| there are GIT_AUTHOR_DATE and GIT_COMMITTER_DATE, I wonder if those apply for `git commit` too | 22:40 |
|
charon
| they do | 22:40 |
|
Davey
| well, problem solved :) | 22:40 |
|
| of course, svn dates are different formatted, :) | 22:41 |
|
ayust
| shell scripts are you friend | 22:41 |
| → Bisu[Shield] joined | 22:42 |
| → patuc joined | 22:42 |
| ← patuc left | 22:42 |
| ← guardian left | 22:43 |
|
charon
| Davey: if you do an import from svn, why aren't you letting git-svn handle the gory details? | 22:43 |
| → patuc joined | 22:43 |
|
Davey
| because of some boneheaded moves in SVN that it doesn't like | 22:43 |
| → pdelgallego_ joined | 22:44 |
| → pdelgallego joined | 22:44 |
| → eletuchy joined | 22:45 |
| ← Buglouse left | 22:45 |
| ← dr_win left | 22:46 |
| ← SIGBUS left | 22:46 |
| ← pheaver left | 22:46 |
|
patuc
| Is it the expected behaviour that git doesn't create submodules in the filesystem if I have a .gitmodules that's already populated with submodules in an otherwise empty repo and run git submodule update --init? | 22:46 |
|
| git submodule add works as expected, but I expected the above to do the same. | 22:48 |
| ← banisterfiend left | 22:49 |
| ← p3rror left | 22:49 |
| Chillax → Chillaway | 22:50 |
| → angelsl joined | 22:50 |
| ← abstrakt left | 22:50 |
| Weust` → Weust`afk | 22:50 |
|
scelis
| Davey: I ran into a similar situation. I worked around it by doing multiple clones in git-svn and then rebasing the multiple git repos into a single git repo | 22:51 |
| → lol_h joined | 22:51 |
|
scelis
| Davey: it worked surprisingly well | 22:51 |
| ← ch077179 left | 22:51 |
| ← raboof left | 22:51 |
| ← bentob0x left | 22:51 |
| ← angelsl left | 22:51 |
| → angelsl joined | 22:52 |
| → fr0sty-away joined | 22:52 |
| ← ciapecki left | 22:53 |
| → gilaniali joined | 22:53 |
| ← gilaniali left | 22:53 |
| ← artefon left | 22:53 |
| → clarkfischer joined | 22:54 |
| ← fr0sty-away_ left | 22:54 |
|
scelis
| Davey: (at least this is for when the root of the project within the svn repository moves, which yeah, git-svn hates) | 22:55 |
| yaotti_aw → yaotti | 22:55 |
| ← Yuffster left | 22:56 |
| → kpreid joined | 22:56 |
| ← arkonova left | 22:57 |
| ← ki__ left | 22:58 |
| ← kpreid left | 22:59 |
| ← clarkfischer left | 22:59 |
| ← simplechat left | 22:59 |
| ← Agos left | 23:00 |
| → fedesilva_ joined | 23:00 |
| → autojack joined | 23:01 |
| ← fedesilva_ left | 23:01 |
| → Mannequin1 joined | 23:02 |
| ← Mannequin left | 23:02 |
|
autojack
| I need to create a git post-receive hook that knows what branch was just updated. i.e. when someone does a git push for branch "foo" I need to be able to pull "foo" into a variable in my hook script to do stuff with hit. anyone know how I can do this? | 23:02 |
| → pheaver joined | 23:02 |
| ← pheaver left | 23:03 |
| ← jmil left | 23:03 |
| → pheaver joined | 23:03 |
| ← Mannequin1 left | 23:04 |
| → pfrenssen joined | 23:05 |
| ← fedesilva left | 23:05 |
| → radarek joined | 23:05 |
| ← mikepack left | 23:05 |
| → Yuffster joined | 23:05 |
|
ayust
| autojack: the post-receive hook receives input on stdin which lists each ref being updated. | 23:06 |
|
| grep for refs/heads and then parse out the rest of the ref name, and you'll have the branch name. | 23:06 |
|
autojack
| ayust: cool, that sounds good. thanks! | 23:07 |
| → zombor joined | 23:07 |
|
ayust
| if your hook only needs to run once per push, even if that push updates multiple refs, you may wish to use the post-update hook instead | 23:07 |
|
| nevermind, i was thinking of update vs. pre-receive. ignore that last line | 23:08 |
| ← skoop left | 23:09 |
| → linusoleander joined | 23:09 |
| ← patuc left | 23:09 |
| → patuc joined | 23:09 |
| → Pupeno joined | 23:09 |
| → KipMacy joined | 23:09 |
| ← excess^ left | 23:10 |
| ← Utkarsh_ left | 23:10 |
| ← m104 left | 23:11 |
| → sonnym joined | 23:11 |
| ← zombor left | 23:11 |
| → M1ghtyDOC joined | 23:11 |
| ← beatak left | 23:12 |
| → beatak joined | 23:12 |
| ← spaceonline left | 23:12 |
| ← beatak left | 23:12 |
| ← rorist left | 23:12 |
| → beatak joined | 23:13 |
|
patuc
| can I create submodules in an otherwise empty repo by creating/dropping in a .gitmodules and then running git submodule update --init (or some other command?) rather than adding them one at a time with git submodule add? | 23:14 |
| → carutsu__ joined | 23:15 |
| ← coldboot left | 23:15 |
| → demet8 joined | 23:15 |
|
Eridius
| patuc: that should work | 23:16 |
| ← carutsu__ left | 23:16 |
| → carutsu joined | 23:16 |
| ← ben_alman left | 23:17 |
|
carutsu
| how can set the commit date to today instead of when the commit happened when merging a branch? | 23:19 |
| → theoros_ joined | 23:19 |
| ← shyam_iyer left | 23:19 |
| ← cappslocke left | 23:19 |
| ← andrewvos left | 23:20 |
|
patuc
| eridius: I expected it to, but it doesn't seem to fetch any of the submodules. That command just returns instantly with no output. Any ideas? | 23:20 |
| → andrewvos joined | 23:21 |
|
demet8
| I have git set up on my computer. I am having trouble pushing files to git hub. When I enter cd ~/.ssh to check the key on my mac I am able to go in the ssh directory but the only item listed there is known_hosts. It should be id_rsa id_rsa.pub known_hosts. I thought I set up my key but maybe something went wrong. What could be the issue? | 23:21 |
| ← theoros left | 23:22 |
| ← TeckniX left | 23:22 |
| → coldboot joined | 23:22 |
| → rjrodger joined | 23:22 |
| ← tizbac left | 23:23 |
|
patuc
| demet8: did you use ssh-keygen to generate the keys? | 23:23 |
| → zombor joined | 23:23 |
| theoros_ → theoros | 23:24 |
|
demet8
| I thought I did so this is not making much sense to me. | 23:24 |
| ← project2501a left | 23:24 |
| → Utkarsh joined | 23:25 |
|
demet8
| is known hosts a key file? | 23:25 |
| ← d0k left | 23:26 |
|
f00li5h
| what an odd question | 23:26 |
|
thiago_home
| demet8: no | 23:27 |
|
| demet8: your key file is missing. Put it there. | 23:27 |
| ← galderz left | 23:27 |
| ← chrischambers left | 23:27 |
|
demet8
| @thiago_home ok thanks. I will generate a key. I thought I had but obviously not. Thanks again. | 23:27 |
|
patuc
| demet8: Follow the instructions here: http://help.github.com/mac-key-setup/ | 23:27 |
| ← andrewvos left | 23:28 |
|
patuc
| demet8: you can skip to "Generating a Key" | 23:28 |
|
demet8
| @patuc that's exactly where I am headed. Thanks | 23:28 |
| → andrewvos joined | 23:29 |
|
patuc
| demet8: no worries. Also, there's #github on this server. | 23:29 |
| → freq9_ joined | 23:29 |
|
demet8
| @patuc I didn't know that thanks again. | 23:29 |
| ← kc8pxy left | 23:30 |
| → Pupeno- joined | 23:30 |
|
patuc
| demet8: you're welcome. | 23:30 |
| ← patuc left | 23:30 |
| Unknown[NF] → Unknown[OFF] | 23:30 |
| ← zombor left | 23:30 |
| ← pfrenssen left | 23:31 |
| ← normanrichards left | 23:31 |
| ← Pupeno left | 23:31 |
| Pupeno- → Pupeno | 23:31 |
| ← lol_h left | 23:32 |
| ← freq9 left | 23:32 |
| freq9_ → freq9 | 23:32 |
| ← coderdad left | 23:32 |
| → milleja46 joined | 23:33 |
|
milleja46
| hi | 23:34 |
| ← andrewvos left | 23:34 |
| → andrewvos joined | 23:35 |
|
milleja46
| if i'm getting "git not installed" while trying to clone a git repository onto my computer though i've got tortoisegit installed what would i do to get rid of the error? | 23:35 |
| ← EricInBNE left | 23:36 |
| → towski_ joined | 23:37 |
|
thiago_home
| install git | 23:37 |
| ← eletuchy left | 23:37 |
| ← Utkarsh left | 23:37 |
|
thiago_home
| tortoisegit isn't git, I guess | 23:37 |
| Chillaway → Chillax | 23:37 |
|
cbreak
| no | 23:38 |
|
| it's just a GUI that uses git | 23:38 |
| → eletuchy joined | 23:38 |
|
milleja46
| well it's supposed to be a conversion of tortoisesvn to git, huh weird...i guess i should check the page where i got it from.... | 23:39 |
|
cbreak
| http://code.google.com/p/msysgit/downloads/list?can=3 | 23:39 |
|
| get the first in the list | 23:39 |
|
| you need msysgit, and ifyou want the sucky tortoise UI, also tortoise git | 23:39 |
| ← towski left | 23:39 |
| ← vitor-br left | 23:41 |
| ← Mosterd left | 23:41 |
| ← booginga left | 23:41 |
|
milleja46
| but i already downloaded that it wouldn't boot the git stuff to clone a git unless i installed it which i went through and installed that and then told it where the mysysgit was and it appeared to load and everything until i told it where to clone | 23:41 |
|
cbreak
| hmm | 23:43 |
| → project2501a joined | 23:43 |
|
cbreak
| well, windows is weird | 23:43 |
|
| try using the git bash shell | 23:43 |
|
| and clone with command line | 23:44 |
| → ki__ joined | 23:44 |
| ← andrewvos left | 23:45 |
| → normanrichards joined | 23:45 |
|
milleja46
| would i just run the git clone git://synfig.git.sourceforge.net/gitroot/synfig/synfig command to get this source for that program?? | 23:46 |
| ← chairabanta left | 23:46 |
| → xiong joined | 23:46 |
| ← timepilot left | 23:47 |
|
cbreak
| milleja46: yeah | 23:47 |
|
milleja46
| actually how would i tell it specifically where to output the files of that clone? | 23:47 |
|
cbreak
| by default current work dir | 23:49 |
| ← haploid left | 23:49 |
|
cbreak
| but the second argument tells it exactly | 23:49 |
| Chillax → Chillaway | 23:49 |
| ← banjiewen left | 23:50 |
| → banjiewen joined | 23:50 |
| ← MattDiPasquale left | 23:50 |
|
milleja46
| well when i tell it to get those files it says that the directory is not an empty directory, and i don't know what to do to fix it | 23:50 |
| → koruptid joined | 23:51 |
|
cbreak
| well, give it a path to a directory that does not exist | 23:51 |
| ← koruptid left | 23:51 |
|
milleja46
| which i would do how? | 23:51 |
|
cbreak
| use your keyboard to type it's name | 23:52 |
| ← priidu left | 23:53 |
| ← starcoder left | 23:53 |
| ← radarek left | 23:54 |
| ← theoros left | 23:54 |
|
milleja46
| i know but where in that git command would i specify it? | 23:54 |
|
cbreak
| at the end | 23:54 |
| ← Yuffster left | 23:54 |
|
cbreak
| git clone ssh://url/to/repo.git local/path/to/repo | 23:54 |
| → radarek joined | 23:55 |
| → Buglouse joined | 23:55 |
| ← carutsu left | 23:55 |
| → theoros joined | 23:56 |
| → andrewvos joined | 23:56 |
| ← project2501a left | 23:56 |
| ← andrewvos left | 23:57 |
| → andrewvos joined | 23:57 |
| ← cannonball left | 23:57 |
| → ben225 joined | 23:58 |
| ← freq9 left | 23:58 |
|
milleja46
| um i did that just adding C:\Users\<my direc>\Documents\Synfig source but it gave the too many arguments error | 23:59 |
| → starcoder joined | 23:59 |
|
cbreak
| you have to use a normal phat | 23:59 |
|
| not that windows stuff | 23:59 |