IRCloggy #git 2010-10-14

Logs Search ←Prev date Next date→ Channels Documentation

Provider of IRC logs since 2005.
WARNING: As Freenode became unjoinable and lost all warnings in topics, we cannot log channels on Freenode anymore.

2010-10-14

ajpiano joined00:00
bitkiller joined00:02
poppiez joined00:02
Unode_Unode00:02
sako left00:03
Pacman left00:03
jrmuizel joined00:03
poppiez hi guys. I'm just starting to learn about git. I'm a year long SVN user and I really like git so far. especially how branchs works. however, do you have a great technique to export your current branch to e.g. /var/www/mysite/ pushing that branch live on my website?00:04
Aphelion left00:04
frogonwheels poppiez: there are a number of techniques - you may wish to have a google around as it's a common thing to do.00:05
Pacman joined00:05
brian_g left00:06
_Vi poppiez, Example: "git archive your_branch | tar -C /var/www/mysite -x"00:07
mithro joined00:08
aah left00:11
frogonwheels poppiez: google git-website-howto00:11
poppiez: http://toroid.org/ams/git-website-howto00:11
bdiego joined00:12
jotik^^ joined00:12
jotik left00:13
Gecko1986 left00:13
jrmuizel left00:15
sshc joined00:15
Entonian left00:15
steph021 left00:15
lamont joined00:15
SimonP86 left00:15
_Vi left00:16
disappearedng_ left00:17
_Vi joined00:17
RORgasm left00:18
JonasF joined00:19
poppiez frogonwheels: _Vi: thanks! :)00:19
JonasF left00:19
bitkiller left00:19
ehabkost left00:21
Gecko1986 joined00:21
alberto56 joined00:22
coderdad joined00:25
zombor left00:28
zombor joined00:30
jrmuizel joined00:30
ajpiano left00:30
ymasory left00:30
phantomcircuit left00:31
pgib joined00:33
pantsman left00:33
kingfishr_ left00:33
xiangfu joined00:33
EvanR left00:35
justin-george left00:38
LucasWilcox left00:38
parasti left00:38
person_ joined00:39
Colloguy left00:39
person_ Hey everyone, in a bit of a nasty situation and looking for some assistance.00:39
pgib just ask00:40
person_ Recently imported an svn project from Google Code to GitHub. A lot of work has been done since then, branches made, etc. but one of the developers recently notified me that his history was never imported. More specifically, his branch wasn't imported so he can't merge his branch from svn in.00:40
Just to clarify that last part, he imported his branch from svn into a fork of the project. However, he can't merge it into master because master doesn't contain that branch. I think when I imported his author name was wrong or something.00:41
I'm not sure what the best way to handle this is. Obviously I need to import his old branch, but I don't know how to do that without screwing up changes that have been made.00:42
rayners joined00:44
brettgoulder joined00:44
jkp left00:46
person_ Of course he could just copy the files over, but he wants to preserve his history.00:46
Any ideas or is this out of reach?00:46
pgib hmm, I think I might kind of understand - but I don't know the answer in either case. My thoughts would be you'd end up re-importing the svn, make sure his branch is there this time. then, you'd use some magic tool to merge those two repos. I guess you'd have to filter-branch or something like that00:47
golodhrim left00:47
pgib I am not sure what tool or terminology would help. I'm no expert00:47
person_ One sec...00:48
kanru left00:48
Remixman joined00:48
muffinpeddler joined00:49
pgib how odd.. all of a sudden, I cannot access anything over http, cannot ping, ssh, etc.. but I'm still receiving events from IRC :-/00:49
person_ He mentioned that it could easily be done with git pack and git export.00:49
golodhrim joined00:49
person_ Err, git fast-export, not git export.00:49
bdiegobdiego_away00:50
person_ Not saying he is an expert either. I looked into it and didn't really see how it would be helpful.00:50
sako joined00:50
xiong joined00:50
pgib no, I don't see how pack would help00:51
well, rather, the packing commands00:51
kukks left00:51
mordy joined00:52
ymasory joined00:52
enherit left00:52
tjholowaychuk left00:53
shiba_yu36 joined00:55
andyburke left00:56
sonnym joined00:57
Remixman left00:57
lv joined00:57
jotik^^ left00:58
mordy if i forgot to include a file in my last commit, am i supposed to use git commit --ammend <file> ?00:59
Yuffster joined00:59
Eridius no01:00
git add <file> && git commit --amend01:00
lv mordy: git add file, then... what Eridius said01:00
lvAphelion01:01
mordy by 'include' i meant i forgot to include it on the command line for my last commit (e.g. git commit foo bar, where i was also supposed to commit 'baz'), sorry01:01
Eridius you specify files on the command-line to `git commit`? o_O01:02
learn to love your stage!01:02
pgib you can..01:02
but I dont like it01:02
mordy hrrm.. i'm just a newb.. and sorta new to this.. i make a bunch of changes and then try to group them into commits based on what i changed01:03
pgib yes - but that is what the 'git add' command is for01:03
it allows you to flag files for addition in the next commit - so you don't have to have some unwieldy command line args01:03
jotik joined01:04
pgib 'git add -i' is also really nice if you want to add a bunch of stuff, but leave some files out01:04
mordy ohhhh01:04
pgib mordy, if you know you just want to commit everything tracked - then 'git commit -a' is nice too01:04
Aphelion you can also be lazy, if the files you modified are already tracked, and git commit -a01:05
mordy until now i thought git add only added a file so that git would track it for changes01:05
Aphelion heh01:05
mordy i used to just do git commit -a but then quickly realized that my commits didn't make much sense01:05
pgib ah no, 'inclusion into the next commit' git doesn't actually track files - just changes01:05
or so I'm told, and lead to believe01:06
Aphelion are any of scott chacon's git presentations recorded and up somewhere? they do a pretty good job of explaining the git object model, staging/index, etc.01:06
steph021 joined01:07
leavittx_ left01:09
Aphelion while there are people active in here... anyone know of any decent git server administration tools that don't take as long to set up as gitorious? i'd really just like to have something simple for administering multiple repos on a box without giving anyone on the various teams shell access. i'd also prefer not to write it myself. ;)01:10
tungtn joined01:10
zain left01:11
zain joined01:12
kylehayes left01:13
jrmuizel left01:15
jrmuizel joined01:17
mordy i've come in here like 2-3 times before on various occasions01:17
always had my question answered in like five minutes01:17
jerome187 left01:17
L0cky left01:18
ymasory_ joined01:18
marienz left01:18
Eridius Aphelion: have you looked at the engine powering repo.or.cz? I have no idea if it's any easier to use than Gitorious, but it might be01:18
marienz joined01:19
Aphelion i'll check it out :)01:19
atpa8a Aphelion: gitolite was recommended to me here01:20
pigdude left01:20
elg left01:21
frerich3 left01:21
frogonwheels Aphelion: I'd second Gitolite - it's administered by modifying an 'admin' repo01:22
Aphelion i looked at that briefly, but it wasn't immediately obvious that it didn't require shell access to administer01:23
if you can add repos and users by modifying an admin repo, that's awesome01:23
frogonwheels Aphelion: yep - easy to set up, and the config file is easy to read01:24
copelco left01:24
person_ left01:24
frogonwheels Aphelion: and allows you to deny/allow access by branch within a repo01:25
.. and I think path01:25
hasrb left01:26
coderdad left01:26
jrmuizel left01:26
flaguy48 left01:26
agile left01:28
ymasory left01:29
hasrb joined01:29
jrmuizel joined01:30
madewokherd left01:30
aspotashev left01:32
alex__c2022 left01:33
marienz left01:33
madewokherd joined01:33
Yuuhi left01:34
pasky_ joined01:35
MattDiPasquale left01:36
svaksha_ joined01:36
robins joined01:36
jonmasters left01:36
svaksha left01:36
archcoder joined01:37
xiangfu left01:37
brettgoulder left01:37
rickmasta left01:37
iatrou left01:37
rickmasta joined01:38
jonmasters joined01:38
kanru joined01:38
JoeCoolDesk joined01:38
ymasory_ left01:39
JoeCoolDesk How do I create a new commit at the very base/start of a branch?01:39
iatrou joined01:39
gurjeet joined01:40
brettgoulder joined01:40
gurjeet `git diff ab6d9f16414a` shows me my patch, but if I do `git diff --stat ab6d9f16414a` I don't get anything!01:41
EvanR joined01:41
gurjeet ^^ any idea why this might be happening?01:41
nevyn JoeCoolDesk: checkout the root of the branch01:42
make a newbranch and commit the new code.01:42
rebase oldbranch newbranch01:42
should do it.01:42
JoeCoolDesk That's it?01:42
hasrb left01:43
JoeCoolDesk What I could use is a script that I can use that automatically does that...01:43
brettgoulder left01:45
rvsjoen left01:46
gurjeet Repeating: `git diff ab6d9f16414a` shows me my patch, but if I do `git diff --stat ab6d9f16414a` I don't get anything!01:46
marienz joined01:47
EvanR left01:47
gurjeet ^^ any idea why this might be happening?01:48
rvsjoen joined01:48
Aphelion left01:48
bronson joined01:48
bronson When I clone this repo, it comes with changes staged for commit: http://github.com/vim-scripts/session.vim--Odding.git01:52
Anyone know what's going on here? Did I corrupt the repo?01:52
eletuchy joined01:53
hasrb joined01:54
dreiss joined01:54
alvaro_o_ guys, a simple noob question. I'm getting "fatal: 'origin': unable to chdir or not a git archive" (I've making some googling, but answers are disperse). Just a few hours ago I did a git checkout commithash since I had to revert several files. The thing is that, with my new changes, I can't neither push nor pull. Do you have any clue?01:55
pgib JoeCoolDesk, hmm, why would you need to do that so frequently?01:56
nineteeneightd left01:56
gretch joined01:56
madewokherd left01:56
pgib alvaro_o, IIRC, if you checkout a commithash, then you are in a detached state - not on any true branch01:57
so it would make sense that push/pull do not operate01:57
madewokherd joined01:57
alvaro_o how can I get back to my HEAD branch?01:57
or even better, how can I merge my gurrent branch's changes into HEAD ?01:58
pgib git checkout my_branch01:58
coderdad joined01:58
pgib git checkout -b oops01:59
git add whatever01:59
git commit01:59
git co my_real_branch01:59
git cherry-pick what_i_just_committed01:59
possibly an easier way - but I know that will work01:59
alvaro_o thanks, I'll give it a try01:59
pgib or could merge in oops I suppose02:00
I prefer rebase in this case02:00
grr, cherry-pick02:00
I guess rebase could work too02:00
MikhX left02:00
pgib </ramble>02:00
MikhX joined02:00
alvaro_o_ when I type git branch I get02:01
* (no branch)02:01
master02:01
does it means the current branch has no name?02:01
pgib yep - because you are detached like I mentioned02:01
alvaro_o_ ok02:01
pgib you aren't on any real branch - I think git makes a temporary pseudo-branch to manage things, but you shouldn't rely on that behavior02:02
alvaro_o so, could I make something like git push * master ?02:02
pgib I ran into trouble while committing while detached02:02
a9b joined02:02
pgib and then trying to pick the changes to master or whatever02:02
TeckniX joined02:02
MikhX left02:03
pgib somehow, it all went to shit when I pushed to the remote - since the commit was not on any branch, the remote didn't receive the objects or some crazy behavior like that02:03
alvaro_o :S02:03
alberto56 left02:04
pgib I forget exactly what was wrong - but it took an hour or so to figure out what had happened. and I had to use some really odd command someone told me here in order to make the commit visible to my coworkers02:04
patnotz joined02:05
alvaro_o brb !02:05
pgib now I just need to figure out strategies to parallelize this directed data flow02:06
brettgoulder joined02:09
hobodave left02:10
koo5 left02:11
offby1 joined02:11
offby1 left02:11
quesada2 joined02:12
TeckniX left02:13
akahn joined02:13
offby1 joined02:13
offby1 left02:14
quesada1 left02:14
welly joined02:15
alvaro_o pgib: I think I might found the answer http://bec-systems.com/site/696/git-submodules-what-to-do-when-you-commit-to-no-branch . I'll let you know if it works.02:16
whaley left02:17
akahn left02:18
Guest72923 joined02:23
Guest72923 left02:23
MikhX joined02:23
phantomcircuit joined02:25
EvanR joined02:27
urkud joined02:28
Tuller left02:29
alvaro_o_ pgib: It worked!!!!02:30
offby1 joined02:30
offby1 left02:31
alvaro_o_ pgib: I followed the steps on http://bec-systems.com/site/696/git-submodules-what-to-do-when-you-commit-to-no-branch and I could merge a (no-branch) with my master branch. Thank you very much!02:31
patnotz left02:31
ymasory joined02:32
ignatp_ joined02:32
offby1 joined02:33
coderdad left02:33
offby1 left02:34
ignatp left02:34
a9b left02:35
JoeCoolDesk left02:35
Elfe left02:36
zombor left02:36
jaql joined02:36
alvaro_o left02:36
poppiez left02:36
offby1 joined02:36
phantomcircuit left02:37
offby1 left02:37
muffinpeddler left02:39
Gryllida joined02:39
zombor joined02:42
lv joined02:44
lv left02:44
lv joined02:44
lvAphelion02:44
verto left02:45
sftp left02:46
ISF_ec09 left02:46
oriba left02:46
MattDiPasquale joined02:47
dys` joined02:48
stliu joined02:48
momentum joined02:50
momentum is there somethig like git sed ?02:50
hobodave joined02:50
momentum i want to run sed -i on my souce files; but I don't wnat it to hit stuff in .git02:50
dys left02:50
programble left02:51
Eridius you could use a find command02:51
PerlJam momentum: find + sed02:51
Eridius find . -name .git -prune -or -type f -exec sed whatever {} +02:51
NfNitLoop joined02:51
Eridius that will pass all files outside of .git to a single invocation of sed02:51
momentum Eridius: nice; thanks can you make that into a path and submit it as "git sed" ? :-)02:52
Eridius or you could use something like git ls-files -c -0 | xargs -0 sed whaetver02:52
which would handle tracked files02:52
a9b joined02:52
Elfe joined02:53
jjuran The manual for git-clone says that --mirror implies --bare. Is it possible to clone --mirror a non-bare repository?02:53
PerlJam jjuran: why?02:53
gurjeet left02:53
jjuran PerlJam: I have a platform with a port of Git, but not a complete Bourne shell, so I can't run git-repack.02:54
urkud left02:55
jjuran Fortunately, in this case I'm only using it to fetch and merge (i.e. pull), so I could re-clone the origin. But I wanted to see what my options were.02:55
Would there be any interest in a Perl rewrite of git-repack?02:56
timj left02:56
NfNitLoop left02:56
PerlJam Hmm02:56
zombor left02:59
rkenned joined02:59
ignatp_ left03:00
ep8 joined03:00
chrisshattuck joined03:00
ep8 Anyone familiar with git-p4?03:01
zombor joined03:01
jotik^^ joined03:02
dl9pf_ joined03:02
alester joined03:03
dl9pf left03:03
ignatp joined03:03
hasrb left03:04
jotik left03:05
zombor left03:05
Tommy[D] left03:05
elg joined03:06
Aphelion left03:06
jfkw left03:06
offby1 joined03:08
Tommy[D] joined03:08
boombatower joined03:08
dreiss left03:08
ep8 left03:08
offby1 left03:09
zain left03:09
gilaniali joined03:09
felipellrocha joined03:10
timj joined03:10
offby1 joined03:11
offby1 left03:12
offby1 joined03:14
emmanueloga left03:15
jaql left03:15
hohoho left03:16
hohoho joined03:16
a9b left03:17
mw joined03:17
zain joined03:19
felipellrocha left03:19
felipellrocha joined03:19
hohoho left03:20
hohoho joined03:21
NfNitLoop joined03:22
felipellrocha left03:24
shennyg_ joined03:26
hohoho left03:26
hohoho joined03:27
shennyg left03:27
shennyg_shennyg03:27
NfNitLoop left03:29
rvsjoen left03:30
MetaCosm_ joined03:31
rvsjoen joined03:31
sako left03:31
hohoho left03:32
shennyg_ joined03:32
shennyg left03:34
shennyg_shennyg03:34
consolers joined03:38
cannonball left03:38
mw left03:39
_jesse_Cookie_Monster03:40
wuj left03:40
random_ joined03:41
Cookie_Monster_jesse_03:41
MetaCosm_ left03:42
mags joined03:42
JEEBcz joined03:42
random_ left03:44
JEEB left03:44
hasrb joined03:45
xiong left03:47
xiong joined03:47
Raimondi left03:50
felipellrocha joined03:51
ReleaseX left03:52
aspotashev joined03:52
murr4y left03:55
Slix` left03:55
ricky left03:56
welly left03:56
jrockway ep8: yes03:57
a9b joined03:57
plediii joined03:59
jrockway ah, he disappeared03:59
EvanR left04:02
brntbeer_ joined04:03
madsy jrockway: Having filtering on QUITS and LEAVES is nice ;-)04:03
ricky joined04:04
madsy I also tend to reply to people who left like 2 hours ago.04:04
johnw joined04:06
aresnick joined04:08
xiangfu joined04:10
ckwalsh joined04:12
elg left04:13
ckwalsh I have a repo where I mad a bunch of permission changes to files, but no content changes. I would like to commit only the files with content changes, and reset the permissions to what they were before. Any good way to do that?04:13
akahn joined04:13
ajpiano joined04:15
aresnick left04:16
akahn left04:18
johnw Git doesn't care about the permissions, except for the executable bit04:18
scarabx joined04:18
Eridius ckwalsh: maybe you can use `git diff --numstat` to figure out what files have no content changes?04:18
johnw so, it doesn't know what they were04:18
madsy left04:18
dys`dys04:18
MINOWAMAN joined04:20
cytrinox_ joined04:21
EvanR joined04:21
hyperair joined04:21
stephenjudkins left04:21
ignatp left04:22
ignatp joined04:22
aresnick joined04:23
ymasory left04:24
ckwalsh Eridius, Sorry for replying so late, figured it out04:24
Could use http://stackoverflow.com/questions/1580596/how-do-i-make-git-ignore-mode-changes-chmod to make git ignore the permissions completely04:24
cytrinox left04:24
cytrinox_cytrinox04:24
ckwalsh But I decided to fix them instead, via http://movabletripe.com/archive/recursively-chmod-directories-only/04:24
mattih joined04:24
madsy joined04:26
gebi joined04:27
MINOWAMAN left04:27
consolers git only has files, perms can be only 644 or 755. git-ls-tree -r | grep04:27
aresnick left04:28
aresnick joined04:29
consolers oooh another nit!04:31
blaines joined04:31
consolers an ockham find command would only those files/dirs whose perms would NEED to be changed rather than chmodding all files/dirs04:31
aah joined04:32
hasrb left04:32
consolers but no mention of -perm in the 58 comments!04:33
MattDiPasquale left04:33
MattDiPasquale joined04:34
rayners left04:34
Textmode joined04:36
gilaniali is it possible to enable authorization when running git instaweb?04:37
that is users will have to log in before looking at the files04:37
aresnick left04:38
aresnick joined04:38
quadz left04:39
plediii left04:39
quadz joined04:39
zain left04:39
brettgoulder left04:40
eletuchy left04:42
MattDiPasquale left04:43
phantomcircuit joined04:43
Bass10 left04:44
phantomcircuit left04:44
phantomcircuit joined04:45
elg joined04:48
aresnick left04:48
OOPMan left04:50
slonopotamus left04:50
rkenned left04:51
leavittx_ joined04:52
gebi left04:52
stringoO joined04:55
phantomcircuit left04:55
doener joined04:58
freimatz joined04:58
noyb left05:00
fred_ joined05:00
ct^^ joined05:00
fred_Guest4201105:00
madewokherd left05:03
ct^ left05:04
consolers left05:04
sivy left05:06
phantomcircuit joined05:08
OOPMan joined05:10
elg left05:10
noyb joined05:11
jjuran left05:11
goshawk joined05:12
mattih left05:15
master_klb left05:16
a9b left05:17
brntbeer_ left05:17
leavittx_ left05:18
hohoho joined05:21
Eridius left05:24
airborn joined05:25
zain joined05:26
hyperair left05:27
Yuffster left05:28
hohoho left05:28
Yuffster joined05:28
xiangfu left05:31
stringoO left05:31
batok left05:32
gilaniali left05:33
xiangfu joined05:36
opalka joined05:37
psoo joined05:39
roop joined05:40
fr0sty__ joined05:41
Garen left05:42
scarabx left05:42
fr0sty___ left05:42
radioman-lt joined05:43
stringoO joined05:44
jrmuizel left05:46
Ron_ joined05:50
aah left05:50
hyperair joined05:52
dreiss joined05:53
khelll joined05:54
khelll left05:55
chrisshattuck left05:56
chrisshattuck joined05:56
goshawk left05:57
comawhite left05:57
comawhite joined05:57
comawhite left05:57
psoo left05:58
stringoO left06:00
chrisshattuck left06:00
Ron_ left06:01
urkud joined06:03
ph^ left06:03
Yuffster left06:03
radioman-lt left06:06
mastro joined06:08
dreiss left06:08
xiangfu left06:10
Fullmoon joined06:11
MetaCosm_ joined06:11
eletuchy joined06:13
akahn joined06:13
psankar joined06:14
cbreak_work joined06:16
slonopotamus joined06:17
akahn left06:18
priidu joined06:21
clsdaniel joined06:22
guardian joined06:22
stringoO joined06:23
_ollie joined06:25
psoo joined06:28
xiong left06:28
solarian- joined06:30
aspotashev left06:31
resmo joined06:32
koo5 joined06:33
izzie321 left06:34
justin-george joined06:34
solarian- in the git submodule man page for the "status" option, it says "Each SHA-1 will be prefixed with - if the submodule is not initialized and + if the currently checked out submodule commit does not match the SHA-1 found in the index of the containing repository."06:35
what do they mean by SHA-1 found in the index of the containing repository.06:35
where is this SHA-1 and how can i change it?06:35
svaksha joined06:37
svaksha_ left06:38
johnw left06:38
svaksha left06:38
cbreak_work solarian-: do you know what an index is?06:38
priidu left06:38
cbreak_work it's the area of git that stores what you have added06:38
so if you change a file, or create a new one, and then git add it, it gets copied into the index06:39
solarian- yeah, i think of it as being where my changes go before they are committed06:39
svaksha joined06:39
xiong joined06:39
alester left06:39
cbreak_work if you change a submodule, with git checkout or something else06:39
(change it's HEAD)06:39
then you can git add the submodule06:39
and the sha that is associated with the submodule is changed06:40
solarian- what is it exactly that goes into the index though06:40
is there a specific file that contains the SHA-1 associated with the submodule06:40
cbreak_work I think it's like tree objects06:40
it's inside the tree06:40
once you commit it06:40
the same place that stores which sha is associated with each path06:41
resmo left06:41
resmo joined06:42
cbreak_work solarian-: like this: http://paste.the-color-black.net/5036706:42
that's the output of a git cat-file -p somecommit:sometree06:42
Pieter fr0sty__: it disappeared again?06:43
amerine joined06:43
Gitbot joined06:43
solarian- cbreak_work: yeah i see06:43
i did git cat-file -p master^{tree} and i can see the sha-106:43
thanks06:43
koo5 left06:44
ki__ left06:47
ph^ joined06:47
marc_kdab_ left06:48
alnewkirk left06:50
xiong left06:50
airborn left06:50
bronson left06:52
ckwalsh left06:53
urkud left06:54
Radar joined06:59
Anti-X left07:00
_ollie left07:01
jexmex left07:02
jexmex joined07:04
ExtraSpice joined07:06
leavittx_ joined07:06
phrearch joined07:09
phrearch hi07:09
is it possible to git clone into an existing directory?07:09
jexmex left07:09
phrearch im developing some module that needs to stay in the apps maindir while developing/testing07:09
cbreak_work phrearch: run git init inside the dir you want to use07:10
then git add the repo you want to clone from as remote07:11
and fetch/checkout the branch you want07:11
phrearch cbreak_work: ok, trying07:11
jexmex joined07:12
guardian left07:12
chriscrown412 joined07:13
jjuran joined07:13
nevyn^_ joined07:15
Chillance left07:16
archcoder left07:18
rvsjoen left07:18
nibblebot left07:19
rvsjoen joined07:20
OOPMan left07:22
Radar left07:23
lucsky joined07:24
toobaz_ joined07:24
OOPMan joined07:26
boombatower left07:26
basicxman left07:26
boombatower joined07:26
boombatower left07:26
boombatower joined07:26
mithro left07:27
basicxman joined07:28
toobaz_ Hello. If I run "git add ." in a repo (containing some big files - between 1 and 2 GB), I see that git starts spawning a lot of processes, each taking ~40 MB, until after ~40-50 of those processes memory is out and the kernel starts killing around - finally terminating the bash process I worked into.07:28
kenneth_reitz left07:29
toobaz_ Is this a normal behaviour?07:29
krosenvold left07:29
rraasch joined07:30
fmardini left07:30
jexmex left07:31
dpino joined07:32
chriscrown412 left07:32
albel727 joined07:32
xiangfu joined07:33
toobaz_ (I mean: not killing memory, just the presence of ~50 "git" processes deriving from a single "git add .")07:33
jexmex joined07:34
codespectator left07:34
chriscrown412 joined07:35
Putr|AwayPutr07:36
chriscrown412 left07:37
fmardini joined07:38
jexmex left07:38
hyperair left07:38
jexmex joined07:38
leavittx_ left07:39
jexmex left07:40
jexmex joined07:41
hyperair joined07:41
jexmex left07:42
carutsu__ left07:43
steph021 left07:43
priidu joined07:43
jexmex joined07:44
JoeCoolNetbook joined07:46
JoeCoolNetbook How do i view the full history of my suppository?07:46
I just committed like 5 things but there are only three shown in "git log"07:47
jexmex left07:47
iksik left07:48
jexmex joined07:49
cbreak_work of your what?07:50
git log shows everything that is an ancestor of current HEAD07:50
JoeCoolNetbook cbreak_work, I followed this: http://stackoverflow.com/questions/3895453/how-do-i-make-a-git-commit-in-the-past And I'm trying to see if it worked.07:51
cbreak_work you can do git log --all --graph --decorate to show all known headds07:51
jexmex left07:51
JoeCoolNetbook Yeah, I think i rebased wrong and created duplicates of everything.07:52
cbreak_work you have a GUI?07:52
check out gitk, or gitx if you're on mac os07:53
JoeCoolNetbook Not on this machine, but I can .07:53
momentum left07:53
tatsuya joined07:53
HG` joined07:53
guardian joined07:53
urkud joined07:54
priidu left07:54
jexmex joined07:54
JoeCoolNetbook OK, installed gitk, how does it help you?07:54
MikhX left07:55
MikhX joined07:56
jexmex left07:56
cbreak_work it shows you the history nice and clear07:56
bhowmisu left07:56
hyperair left07:56
albel727 left07:56
Fullmoon left07:56
noyb left07:56
marienz left07:56
pasky_ left07:56
tungtn left07:56
mdel_ left07:56
TML left07:56
noktoborus left07:56
brosner left07:56
iizukaway left07:56
PerlJam left07:56
trodrigues left07:56
awx left07:56
electrogeek left07:56
metellius left07:56
dna left07:56
cods left07:56
ice799 left07:56
udoprog left07:56
joschi left07:56
Marquel left07:56
Gitbot left07:56
psoo left07:56
mastro left07:56
Textmode left07:56
dl9pf_ left07:56
baccenfutter left07:56
jast left07:56
makubi left07:56
Zenopus left07:56
dharrigan left07:56
kelvie_ left07:56
robgleeson left07:56
FabianB_ left07:56
tildeequals left07:56
nadim left07:56
hyperboreean left07:56
cognominal left07:56
RSchulz left07:56
dot-slaSh left07:56
Adam left07:56
_rane left07:56
Soliton left07:56
Zhonghua left07:56
imarcust1is left07:56
cbreak_work the instructions on that stacksite aren't wrong07:56
JoeCoolNetbook I guess I have to start over again...07:56
jexmex joined07:56
airborn joined07:57
JoeCoolNetbook It's a huge pain in the ass trying to convert the dates, putting it in the right order, and following the lingo07:57
jexmex left07:58
jexmex joined07:58
JoeCoolNetbook There needs a --before 'xxx' flag in the commit command.07:58
MikhX left08:00
iksik joined08:01
cbreak_work no08:03
history rewriting is dangerous08:03
rebase -i makes it easy enough08:03
izzie321 joined08:04
phantomcircuit left08:04
izzie321 left08:04
lucsky left08:06
ignatp left08:06
ricky left08:06
Elfe left08:06
dys left08:06
_Vi left08:06
Pacman left08:06
rgr left08:06
drizzd left08:06
EgS left08:06
neunon left08:06
joevano left08:06
DasIch left08:06
martineo left08:06
AAA_awright left08:06
ebneter left08:06
ruxpin left08:06
jowls left08:06
cschneid left08:06
cwillu_at_work left08:06
uau left08:06
twopak left08:06
seanius left08:06
compnerd left08:06
selckin left08:06
sbob left08:06
flowbee left08:06
jeremyw left08:06
schlortoo left08:06
auscompgeek left08:06
mmattice left08:06
majoh left08:06
wimt left08:06
valerio left08:06
tomaw left08:06
eighty4 left08:06
bburhans left08:06
bnovc left08:06
TTilus left08:06
[exa] left08:07
pcc1 left08:07
bunk left08:07
offby1 left08:07
Ilari left08:07
Ilari_antrcomp left08:07
_Unode left08:07
adamm left08:07
elijahbal left08:07
unixtippse left08:07
mishok13 left08:07
Vutral left08:07
kenyon left08:07
Putr left08:07
jspiros left08:07
frakturfreak left08:07
Ingmar left08:07
CompanionCube left08:07
up_the_irons left08:07
felipellrocha left08:07
shiba_yu36 left08:07
Gecko1986 left08:07
kpreid left08:07
tchan left08:07
FauxFaux left08:07
zorzar left08:07
Pacman` left08:07
erez left08:07
ayanes left08:07
Thumper_ left08:07
mjv left08:07
vhost- left08:07
cehteh left08:07
jettero left08:07
logankoe1ter left08:07
stepnem left08:07
ludde left08:07
f00li5h left08:07
no_maam left08:07
tychoish left08:07
esmaxwill left08:07
acknopper left08:07
Pieter left08:07
boombatower left08:07
justin-george left08:07
stliu left08:07
golodhrim left08:07
fr0ggie left08:07
cthuluh left08:07
tgunr left08:07
urbanmonk left08:07
reflectivedev left08:07
EvanR-work left08:07
vdv left08:07
frsk left08:07
LetoThe2nd left08:07
amason left08:07
darkskiez left08:07
maguey_ left08:07
bartman left08:07
Strogg left08:07
tango_ left08:07
dwmw2 left08:07
reto_ left08:07
Lgb left08:07
trez left08:07
cantoma left08:07
mrbrdo left08:07
gattor left08:07
saerdnaer_ left08:07
artkrz left08:07
corespeedxxx left08:07
rudi_s left08:07
maxb left08:07
Scott0 left08:07
pprkut left08:07
Keruspe left08:07
Rapp left08:07
Kulag left08:07
Smirnov left08:07
xrogaan_ left08:07
dquestions left08:07
muep left08:07
Derander left08:07
c9s left08:07
majeru left08:07
dpino left08:07
jjuran left08:07
zain left08:07
jotik^^ left08:07
denysonique left08:07
cbreak left08:07
jas4711 left08:07
ribasushi left08:07
AlexanderS left08:07
ari-_-e left08:07
Blackguard left08:07
SethRobertson left08:07
madduck left08:07
GodEater left08:07
Woody2143 left08:07
mouche left08:07
iravid left08:07
Sigma left08:07
kandinski left08:07
zenom left08:07
j987 left08:07
Tianon left08:07
sigmonsays left08:07
eno left08:07
numbah left08:07
s0enke left08:07
plopix left08:07
ohcibi left08:07
Will| left08:07
urkud left08:07
tatsuya left08:07
anti-pattern left08:07
brntbeer left08:07
giallu left08:07
tonyj left08:07
cballou left08:07
DrNick left08:07
paja left08:07
rson left08:07
blee_ left08:07
jason237 left08:07
nuoHep left08:07
bgerber left08:07
saurik left08:07
Simkin left08:07
Moo-_- left08:07
chrowe left08:07
eban left08:07
hachi left08:07
markatto left08:07
tpope left08:07
BP{k} left08:07
mrtazz left08:07
sgronblo left08:07
HG` left08:07
basicxman left08:07
ExtraSpice left08:07
svaksha left08:07
Promit left08:07
eeanm left08:07
AviZ left08:07
mastro_ left08:07
picasso left08:07
dbatbold left08:07
csgeek left08:07
tg left08:07
niko left08:07
nairb774 left08:07
jaeckel left08:07
gregw left08:07
masa- left08:07
VadtecWork left08:07
Fissure left08:07
ben_h left08:07
imMute left08:07
domme left08:07
ruskie left08:07
thiago left08:07
Trollkarlen left08:07
ahf left08:07
osfameron left08:07
shadowmaster left08:07
phryk left08:07
avar left08:07
mnemoc left08:07
bigpresh left08:07
TenOfTen left08:07
homa_rano left08:07
sunn left08:07
guardian left08:07
amerine left08:07
rbarraud left08:07
orafu left08:07
alip left08:07
Mage left08:07
j0ran left08:07
novas0x2a left08:07
unrael left08:07
nevyn left08:07
zomg left08:07
jamuraa left08:07
Slush- left08:07
wagle left08:07
thomas_b left08:07
ironcamel left08:07
d-snp left08:07
ddraskovic left08:07
bremner` left08:07
Haarg left08:07
Tobias| left08:07
srcerer left08:07
slakmagik left08:07
coldboot left08:07
crash\ left08:07
tehbaut left08:07
LRN left08:07
odin_ left08:07
bekabug left08:07
Risar left08:07
malfy left08:07
JoeCoolNetbook That's what vackupas are for.08:07
robins left08:07
JoeCoolNetbook Well, I was tired about 16 hours ago, I've been up for 36 hours trying to make sense of this program, I' can't make any more sense without a sound mind.08:08
freimatz left08:08
jailbox left08:08
freimatz joined08:08
nevyn^_nevyn^08:08
teukka joined08:09
izzie321 joined08:09
jrockway left08:11
JoeCoolNetbook left08:12
PerlJam joined08:12
teukka left08:12
izzie321 left08:13
teukka joined08:13
teukka left08:13
teukka joined08:13
d0ugal joined08:13
akahn joined08:14
joeyreno i'm trying to clone down to my local server from my remote, but i changed the port from 22 on my remote server, how do i specify the different port in the clone command?08:15
_Vi joined08:16
MINOWAMAN joined08:18
akahn left08:19
izzie321 joined08:20
izzie321 left08:20
joeyreno it tried git clone [email@hidden.address] but it doesn't work08:20
cbreak_work ssh://user@host:port/path08:21
ntoll joined08:23
izzie321 joined08:24
izzie321 left08:24
joeyreno cbreak_work: thanks08:25
_Vi left08:27
dytrivedi_ joined08:31
OOPMan left08:31
roop left08:32
dytrivedi_ left08:36
vital left08:38
OOPMan joined08:39
t3i joined08:43
gemmes joined08:43
Zhonghua joined08:45
HakanD joined08:45
intripoon joined08:47
radarek joined08:47
MINOWAMAN left08:47
iizukaway joined08:47
ct^^ left08:49
JohnFlux joined08:49
JohnFlux Is it better to revert a revert, or to cherry-pick the original commit? :)08:49
leavittx joined08:50
cbreak_work JohnFlux: they do completely different things08:51
JohnFlux cbreak_work: the effect would appear to be exactly the same08:54
cbreak_work: to undo the revert08:54
rasztasd joined08:59
leavittx15SAAYPBR08:59
nevyn^64MAAPUP608:59
slonopotamus left08:59
hebz0rl joined08:59
hyperair joined08:59
tmz joined08:59
sadmac joined08:59
teuf joined08:59
copyleft joined08:59
bball__ joined08:59
defn joined08:59
StyleWarz joined08:59
pcc1 joined08:59
Will| joined08:59
sunn joined08:59
homa_rano joined08:59
siprbaum joined08:59
kupsch joined08:59
Diziet joined08:59
ianmcorvidae joined08:59
spb joined08:59
py1hon joined08:59
bd__ joined08:59
mfoemmel joined08:59
piti joined08:59
jeffhung joined08:59
przemoc joined08:59
Carneus joined08:59
ReinH joined08:59
torben joined08:59
meuh joined08:59
Rhonda joined08:59
dotCOMmie joined08:59
adamholt joined08:59
wanders joined08:59
redondos joined08:59
OPK joined08:59
_W_ joined08:59
Iff joined08:59
deavid joined08:59
eMBee joined08:59
koki joined08:59
guybrush joined08:59
jakob joined08:59
wereHamster joined08:59
stuffcorpse joined08:59
charon joined08:59
fahadsadah joined08:59
hegge joined08:59
cheater joined08:59
Grum joined08:59
Khisanth joined08:59
zz_rubydiamond joined08:59
Ratler joined08:59
chrizz joined08:59
johnjay joined08:59
codejunky joined08:59
thoraxe joined08:59
hashier joined08:59
compengi joined08:59
bmalee joined08:59
Xavier joined08:59
TheUni joined08:59
eldragon joined08:59
d1b joined08:59
Weiss joined08:59
mahound joined08:59
kokx joined08:59
Bigcheese joined08:59
jayne joined08:59
LotR joined08:59
chuck joined08:59
leavittx joined08:59
orospakr joined08:59
metze joined08:59
guide joined08:59
DRMacIver joined08:59
gallon joined08:59
divVerent joined08:59
Exodist joined08:59
JStoker joined08:59
CosmicRay joined08:59
jpieper joined08:59
tic joined08:59
TTilus joined08:59
Derander joined08:59
bburhans joined08:59
Pieter joined08:59
mrtazz joined08:59
avar joined08:59
acknopper joined08:59
BP{k} joined08:59
muep joined08:59
eighty4 joined08:59
tomaw joined08:59
dquestions joined08:59
valerio joined08:59
majoh joined08:59
malfy joined08:59
xrogaan_ joined08:59
phryk joined08:59
wimt joined08:59
Risar joined08:59
s0enke joined08:59
Smirnov joined08:59
bekabug joined08:59
tpope joined08:59
markatto joined08:59
mnemoc joined08:59
numbah joined08:59
[exa] joined08:59
mmattice joined08:59
eno joined08:59
LRN joined08:59
tehbaut joined08:59
odin_ joined08:59
crash\ joined08:59
auscompgeek joined08:59
Keruspe joined08:59
no_maam joined08:59
schlortoo joined08:59
pprkut joined08:59
bnovc joined08:59
jeremyw joined08:59
up_the_irons joined08:59
shadowmaster joined08:59
f00li5h joined08:59
flowbee joined08:59
bunk joined08:59
osfameron joined08:59
maxb joined08:59
Trollkarlen joined08:59
ahf joined08:59
rudi_s joined08:59
hachi joined08:59
corespeedxxx joined08:59
artkrz joined08:59
eban joined08:59
thiago joined08:59
ludde joined08:59
sgronblo joined08:59
stepnem joined08:59
sbob joined08:59
ruskie joined08:59
esmaxwill joined08:59
saerdnaer_ joined08:59
chrowe joined08:59
Moo-_- joined08:59
logankoe1ter joined08:59
domme joined08:59
coldboot joined08:59
slakmagik joined08:59
jettero joined08:59
imMute joined08:59
Tobias| joined08:59
sigmonsays joined08:59
Haarg joined08:59
Tianon joined08:59
bremner` joined08:59
ben_h joined08:59
cehteh joined08:59
gattor joined08:59
CompanionCube joined08:59
Simkin joined08:59
ddraskovic joined08:59
thomas_b joined08:59
wagle joined08:59
selckin joined08:59
Slush- joined08:59
plopix joined08:59
Fissure joined08:59
zenom joined08:59
Kulag joined08:59
Scott0 joined08:59
compnerd joined08:59
seanius joined08:59
kandinski joined08:59
bgerber joined08:59
vhost- joined08:59
jamuraa joined08:59
Sigma joined08:59
iravid joined08:59
uau joined08:59
cantoma joined08:59
nuoHep joined08:59
cwillu_at_work joined08:59
zomg joined08:59
mjv joined08:59
trez joined08:59
VadtecWork joined08:59
saurik joined08:59
j987 joined08:59
TenOfTen joined08:59
Lgb joined08:59
masa- joined08:59
mouche joined08:59
Ingmar joined08:59
reto_ joined08:59
frakturfreak joined08:59
c9s joined08:59
nevyn joined08:59
jason237 joined08:59
dwmw2_gone joined08:59
tango_ joined08:59
blee_ joined08:59
jspiros joined08:59
jaeckel joined08:59
nairb774 joined08:59
rson joined08:59
paja joined08:59
Thumper_ joined08:59
DrNick joined08:59
ayanes joined08:59
niko joined08:59
ohcibi joined08:59
Putr joined08:59
majeru joined08:59
tg joined08:59
csgeek joined08:59
Woody2143 joined08:59
tychoish joined08:59
cballou joined08:59
d-snp joined08:59
Strogg joined08:59
unrael joined08:59
dbatbold joined08:59
mrbrdo joined08:59
cschneid joined08:59
ironcamel joined08:59
GodEater joined08:59
ruxpin joined08:59
ebneter joined08:59
bigpresh joined08:59
twopak joined08:59
madduck joined08:59
SethRobertson joined08:59
Blackguard joined08:59
kenyon joined08:59
gregw joined08:59
erez joined08:59
ari-_-e joined08:59
picasso joined08:59
AAA_awright joined08:59
Pacman` joined08:59
bartman joined08:59
maguey_ joined08:59
darkskiez joined08:59
amason joined08:59
LetoThe2nd joined08:59
Rapp joined08:59
Vutral joined08:59
martineo joined08:59
mastro_ joined08:59
tonyj joined08:59
AlexanderS joined08:59
frsk joined08:59
zorzar joined08:59
vdv joined08:59
ribasushi joined08:59
joevano joined08:59
giallu joined08:59
j0ran joined08:59
AviZ joined08:59
FauxFaux joined08:59
mishok13 joined08:59
tchan joined08:59
jas4711 joined08:59
Promit joined08:59
brntbeer joined08:59
reflectivedev joined08:59
urbanmonk joined08:59
DasIch joined08:59
eeanm joined08:59
neunon joined08:59
EvanR-work joined08:59
cbreak joined08:59
tgunr joined08:59
alip joined08:59
orafu joined08:59
rbarraud joined08:59
kpreid joined08:59
EgS joined08:59
elijahbal joined08:59
unixtippse joined08:59
adamm joined08:59
denysonique joined08:59
_Unode joined08:59
fr0ggie joined08:59
cthuluh joined08:59
drizzd joined08:59
novas0x2a joined08:59
rgr joined08:59
Ilari_antrcomp joined08:59
Ilari joined08:59
anti-pattern joined08:59
Pacman joined08:59
Gecko1986 joined08:59
golodhrim joined08:59
shiba_yu36 joined08:59
dys joined08:59
stliu joined08:59
Elfe joined08:59
jotik^^ joined08:59
offby1 joined08:59
felipellrocha joined08:59
ricky joined08:59
ignatp joined08:59
zain joined08:59
svaksha joined08:59
amerine joined08:59
ExtraSpice joined08:59
jjuran joined08:59
basicxman joined08:59
dpino joined08:59
tatsuya joined08:59
HG` joined08:59
guardian joined08:59
robinsmidsrod joined08:59
jailbox joined08:59
jrockway joined08:59
codespectator joined08:59
JonasF joined08:59
jstemmer joined08:59
xiong joined08:59
xro joined08:59
akamike joined08:59
parasti joined08:59
Anti-X joined08:59
thierryp joined08:59
khmarbaise joined08:59
vital joined08:59
hukl joined08:59
MikhX joined08:59
err_ok joined08:59
albel727 joined08:59
Gitbot joined08:59
psoo joined08:59
Fullmoon joined08:59
mastro joined08:59
noyb joined08:59
Textmode joined08:59
dl9pf_ joined08:59
marienz joined08:59
pasky_ joined08:59
tungtn joined08:59
baccenfutter joined08:59
jast joined08:59
mdel_ joined08:59
makubi joined08:59
Zenopus joined08:59
dharrigan joined08:59
kelvie_ joined08:59
robgleeson joined08:59
FabianB_ joined08:59
TML joined08:59
noktoborus joined08:59
brosner joined08:59
tildeequals joined08:59
nadim joined08:59
hyperboreean joined08:59
cognominal joined08:59
trodrigues joined08:59
RSchulz joined08:59
awx joined08:59
dot-slaSh joined08:59
electrogeek joined08:59
metellius joined08:59
dna joined08:59
Adam joined08:59
cods joined08:59
ice799 joined08:59
udoprog joined08:59
_rane joined08:59
Soliton joined08:59
imarcust1is joined08:59
joschi joined08:59
Marquel joined08:59
khelll joined09:00
hyperairGuest6841709:00
werdan7 left09:00
15SAAYPBR left09:00
Guest68417 left09:01
hyperair joined09:01
Schmallon joined09:02
urkud joined09:02
Dalton left09:03
priidu joined09:04
Vutral left09:05
marienz left09:06
tvw joined09:06
hyperair left09:06
bluenovember joined09:06
tatsuya left09:07
jeffhung left09:07
jeffhung joined09:07
Dalton joined09:09
niko left09:10
niko joined09:11
slainer68 joined09:11
slainer68 hello09:11
rlotun joined09:12
xro <wereHamster>, if iwant to update only one folder from my local repo, i have to do a pull, then all the local repo will be updated?09:12
priidu left09:13
naquad joined09:13
slainer68 how to revert a whole bunch of commits with git ? for example i would like to revert everything that was done yesterday? when using git revert it only reverts ONE commit. i would like to revert from HEAD to a specified commit, how can i do that? thnx09:13
paja left09:13
paja joined09:14
curtana joined09:14
paja left09:14
paja joined09:15
Radar joined09:15
icwiener joined09:15
64MAAPUP6 left09:15
bauruine joined09:16
gemmes left09:17
cbreak_work slainer68: do you want to rewrite the history or not?09:18
BOLovely left09:18
marienz joined09:19
CoinOpeBoy joined09:19
t3i left09:22
_Vi joined09:24
tcurdt joined09:24
roop joined09:24
slainer68 cbreak_work, no, i don't want to rewrite the history.09:25
cbreak_work do you want to remove the effects of all past commits until a boundary?09:25
do you have any uncommited changes?09:25
err_ok left09:25
slainer68 i would like to revert the effects of all the work that was done yesterday until a specified commit number (or whatever) without rewriting history.09:27
(and assuming that the work done yesterday was pushed to master origin)09:27
Kulag left09:28
Kulag joined09:29
cbreak_work ok, if you have no local uncommited changes09:29
you can do git reset --hard newestcommityouwanttokeep09:29
tango_ slainer68: git reset --merge commithash09:29
cbreak_work and then git reset --soft HEAD@{1}09:29
and then git commit -a -m "Undone a whole bunch of stuff"09:29
marienz left09:31
albel727_2 joined09:31
albel727 left09:35
slainer68 thanks cbreak_work that seems to do the thing i want :).09:35
what does HEAD@{1} means and where i can find documentation about writing ranges like this?09:35
martineo left09:37
martineo joined09:37
antgel joined09:37
cbreak_work it's referring to the reflog09:37
man git-reflog09:37
Gitbot cbreak_work: the git-reflog manpage can be found at http://git.or.cz/man/git-reflog09:37
cbreak_work it means "what I had in HEAD before"09:38
oh, gitbot's back!09:38
ludde cbreak_work: is HEAD the only thing you may use with @ ?09:38
cbreak_work no09:38
anything that has a reflog09:38
branches usually09:38
stringoO left09:38
cbreak_work also check out git log -g09:38
it shows the reflog09:38
the reflog is nice if you screw up majorly09:39
ptor slainer68: man git-rev-parse under 'SPECIFYING REVISIONS' seems to have more info09:39
Gitbot slainer68: the git-rev-parse manpage can be found at http://git.or.cz/man/git-rev-parse09:39
cbreak_work you can do things like HEAD@{2.days.ago}09:39
marienz joined09:40
MikhX left09:40
MikhX joined09:40
priidu joined09:41
amerine left09:41
metoikos joined09:42
chrischambers joined09:43
gemmes joined09:43
Anti-X if you have a fork on github, and the original author updates his stuff, how do you update your fork without deleting and reforking?09:44
if possible09:44
sir_lewk joined09:44
MikhX left09:45
sir_lewk (completely hypothetically) what do you think would happen if I tried to place my entire / under git control?09:45
paja left09:45
Anti-X you would get huge status lists09:45
:P09:45
paja joined09:45
esc sir_lewk: boot a live CD and find out09:45
parasti left09:46
naimon joined09:46
hyperair joined09:46
chrischambers left09:47
jds joined09:47
sir_lewk think I might just do my /etc, probably more useful ;)09:48
antgel left09:50
paja left09:50
jkp joined09:50
solarian- left09:51
MaikB joined09:52
marienz left09:52
paja joined09:52
chrischambers joined09:53
tatsuya joined09:54
darkskiez left09:54
gattor left09:54
gattor joined09:55
darkskiez joined09:55
MaikB Hello. Given that I merge topic into master and have a merge conflict in the file foo/bar.c. I want to resolve by picking either the version of topic or master. How is this done?09:55
thx in advance09:55
_Vi MaikB, "git checkout master -- foo/bar.c"?09:55
cbreak_work just check it out, add it, commit09:55
I think you can use --ours or --theirs too09:56
for checkout, in this special case09:56
brian_g joined09:56
MaikB ahhh09:56
priidu left09:57
MaikB i tried git checkout foo/bar.c"09:57
but it failed09:57
thx guy09:57
s09:57
cbreak_work that gets the version from the index09:57
MaikB hm09:57
curtana git checkout --ours foo/bar.c09:57
radarek left09:57
khmarbaise left09:58
MaikB hm, it would be a blast if you guys would know how to do it with magit09:58
radarek joined09:58
cbreak_work what's that?09:58
MaikB (the emacs git mode)09:58
zz_rubydiamondrubydiamond09:59
MaikB cbreak_work: though I guess --ours and --theirs will give me good search hits on this topic09:59
marienz joined09:59
avar magit doesn't support --ours and --theirs09:59
MaikB avar: thank you10:00
jast there are entirely too many interfaces for git10:00
I think I'll make a new one and outlaw all the others10:00
MaikB there are, but magit is the first one that does make me use it rather than the cli10:00
cbreak_work there's only one that deserves the attribute "Best"10:00
MaikB jast :P10:00
cbreak_work and that is... bash10:00
jast bash doesn't contain a git interface10:01
MaikB cbreak_work: first of all it carries the attribute "complete"10:01
priidu joined10:01
avar jast: git-completion.bash ?10:01
MaikB but magit is really like10:01
jast that's an extremely partial interface, isn't it?10:01
MaikB I only recently started using it10:01
cbreak_work I can interact with git via bash10:02
jast it only displays a few status things and completes things that are ultimately handled by git's built-in interface10:02
xiangfu left10:02
avar MaikB: I recently improved magit's rebase UI, it'll be merged soon-ish10:02
jast try using the bash completion without ever calling the git binary yourself :)10:02
HakanD left10:04
MaikB avar: nice! I yet have to use magit's rebase UI10:04
ntoll left10:04
avar it can still use work, but try rebase-mode.el10:07
icwiener left10:07
g0bl1n joined10:07
albel727_2 left10:07
albel727_2 joined10:08
urkud left10:08
intripoon left10:09
Infin1ty|work joined10:10
Infin1ty|work is it possible to ask a gitolite question in here?10:10
toobaz_ left10:10
frsk No guarantee, just ask and see if anyone can help you out =)10:10
cbreak_work everything's possible10:11
git's a time machine :)10:11
stliu left10:11
Infin1ty|work i have installed gitolite, then edited the .gitolite.rc to change some permissions, to 0022 (for gitweb) , i can't find a way to tell gitolite to re read this file10:11
marienz left10:12
cbreak_work doesn't gitolite work via it's own repo?10:12
so just commit the new config file10:12
and push the commit to the server10:12
Infin1ty|work cbreak_work, i didn't see a way to commit .gitolite.rc file10:12
only the normal conf/keys10:12
cbreak_work then don't change it10:12
Infin1ty|work but i have to10:12
that's my question :)10:12
HakanD joined10:13
Infin1ty|work i need to reread the .gitolite.rc file10:13
cbreak_work you do know that gitolite doesn't run, right?10:13
it's started when you interact with it10:13
so it will reread it anyway, if it reads it10:13
Infin1ty|work hmm, i understand this, but i try to understand how can i tell it to reread the gitolite.rc file, that's all10:14
akahn joined10:14
rubydiamondzz_rubydiamond10:14
Infin1ty|work i coudln't find any docs regarding what to do after editing that file10:14
Ilari Infin1ty|work: chmod the files manually (the permissions setting only appiles to new stuff)?10:15
cbreak_work Infin1ty|work: it will read the file anyway10:15
because it doesn't run at the moment10:15
jkp left10:16
cbreak_work so if it needs the file contents, it has no other choice but to read it again10:16
galderz joined10:17
jotik joined10:18
akahn left10:19
AAA_awright left10:19
jotik^^ left10:19
erez_ joined10:21
Infin1ty|work left10:23
jkp joined10:23
jkp left10:23
jkp joined10:23
khelll left10:24
s0enke re-post :) rebase question: it seems that "git fetch origin master && git rebase origin master" isn't the same as "git pull --rebase origin master"?! the second one sometimes creates weird results (merge conflicts, reapplying remote changes etc - any explanation?10:24
hyperair left10:25
erez_Infin1ty|work10:25
Infin1ty|work left10:25
Infin1ty|work joined10:25
Infin1ty|work cbreak_work, so i can't actually change the permission, only manually?10:26
cbreak_work, i know for sure it does not read it, i just added a new repo10:26
Ilari s0enke: Don't use 'git fetch origin master', use 'git fetch origin'.10:26
Torsten joined10:26
s0enke Ilari, ok. but that doesn't solve the original problem, does it? ;-)10:26
Ilari s0enke: Yes, its not the same. pull --rebase is much smarter.10:27
AAA_awright joined10:27
gebi joined10:27
s0enke Ilari, but pull --rebase screws up with remote and local commits. rebasing against the remote ref works like a charme though10:27
Ilari, so i need to get a clue about the "smartness" of pull --rebase10:28
pdelgallego joined10:29
khelll joined10:29
Yuuhi joined10:29
tvw left10:29
tvw joined10:29
segher left10:29
Ilari s0enke: Basically, it uses the old value of remote tracking branch as limiter and rebases onto new value.10:30
Radar left10:30
segher joined10:31
dwmw2_gonedwmw210:31
MaikB left10:31
bob_f joined10:32
bob_f Hi, is there a super popular way of dealing with svn externals when using git-svn ?10:32
Google gives me a bunch of different things so wondering if there's some super cool solution that everybody agrees on. :)10:33
FauxFaux Panic(tm).10:33
s0enke Ilari, ok for debugging, how can I see what git considers to be the rebase "base" ?10:33
Infin1ty|work cbreak_work, nm, did it manully :)10:33
mordy left10:34
tvw left10:34
dels joined10:34
cbreak_work Infin1ty|work: reading and acting on it are two different things10:35
badboy_ joined10:35
DasIch_ joined10:35
Ilari s0enke: It might be visible in tracing mode (GIT_TRACE)10:35
Guest42011 left10:36
tvw joined10:37
thiago_muc joined10:38
thiago_mucthiago_home10:39
bob_f I guess that's a no. :)10:39
thiago_home left10:39
thiago_home joined10:39
DasIch left10:39
goshawk joined10:39
hendry joined10:40
s0enke Ilari, thx. we'll try!10:41
hendry where is git-daemon configured? I can see it's by default looking in /var/cache/git/ and that's not where my repos are located.10:41
Ilari hendry: Command line.10:42
keystr0k joined10:42
zombor joined10:47
thiago_home left10:48
radioman-lt joined10:48
thiago_home joined10:48
robgleeson left10:49
alip left10:50
antgel joined10:50
alip joined10:50
antgel hi all. i have a branch that i can see on our git server after a git fetch --all. however when i do git checkout $branchname i get "Cannot switch branch to a non-commit." i don't even understand what this means, let alone how to fix it, can anyone help?10:51
zombor left10:51
radarek left10:51
Ilari antgel: Premuably what you presume is a branch isn't (maybe its some tag to tree or whatever)...10:52
thiago_home left10:52
stamina joined10:54
phrearch left10:54
stamina_ joined10:54
thiago_home joined10:54
antgel Ilari: but i see it in git branch -r10:55
intripoon joined10:56
Ilari antgel: What does 'git for-each-ref refs/remotes/$branchname' say about it?10:57
temoto joined10:57
antgel Ilari: b8333c60f39c29a672ea313ebffd1dc42eec90fc commitrefs/remotes/origin/118a10:58
pozic joined10:58
antgel should be a space between commit and refs don't know why it didn't paste properly10:59
pozic How do I push a local branch to the server such that everyone can see that branch?10:59
temoto Hello. I'm using git-svn to communicate with legacy repo and even commits work fine. Cloning it whole was going to take more than 1 day so i cloned /trunk only. Now, how do i tell it where to track tags?10:59
Ilari antgel: And 'git checkout origin/118a' throws complaint about it being non-commit?10:59
temoto pozic, git push remote branch10:59
pozic, where remote is remote name, such as 'origin'10:59
eletuchy_ joined11:00
pozic temoto: ah, nice, so it happens implicitly.11:00
temoto pozic, well you explicitly tell which branch to push.11:00
pozic remote: fatal: bad object 000000000000000000000000000000000000000011:00
What does that mean?11:01
temoto Wow, that i never seen.11:01
But i would classify so many zeros the same way: very badass object.11:01
gemmes left11:02
Ilari pozic: Maybe there's some bad hook on remote side?11:02
naimon left11:02
Ilari pozic: At least carelessly done hook could cause that if you push a new branch...11:02
kanru left11:02
DASPRiD temoto, tho with a very VERY low chance, that *could* be a valid hash ;)11:03
Adys left11:03
pozic Ilari: yes, it is some broken hook.11:03
eletuchy left11:03
gregw left11:03
gretch left11:04
Ilari pozic: Does it also say that the push failed?11:04
pozic Ilari: beyond my current control, but I think it actually worked.11:04
Ilari: git says that a new branch was created.11:04
robgleeson joined11:04
pozic Ilari: so, while in fact it says 'OMG FIRE', there is no problem.11:04
icreatures joined11:04
pozic Ilari: fun, isn't it?11:04
Ilari pozic: If the creation of new branch would be rejected, it would have said it was rejected in per-branch summary.11:05
pozic Ilari: I am not blaming git for anything, just to be clear.11:05
Ilari: something like 'a hook said the following' would be better, maybe.11:06
Ilari pozic: Presumably post-update/post-receive hook... That hook can't prevent branch update from succeding.11:06
pozic Ilari: or the hook named blah said the following.11:06
That way I wouldn't have come to this channel to ask what was going on, but instead ask whoever wrote the hook.11:07
Ilari pozic: It actually says the messages come from remote side... And there's not a whole lot of those.11:07
kpreid left11:07
Adys joined11:07
pozic Ilari: that's something I didn't know.11:07
marcob joined11:07
Ilari pozic: Basically, hook messages and some messages about stuff going very wrong. Usually the summary should be checked first and only then the rest of output.11:08
ramlev joined11:08
PutrPutr|Away11:09
Fullmoon left11:10
intripoon left11:11
intripoon joined11:11
Schmallon left11:12
zorzar_ joined11:13
TheNewAndy joined11:13
Tobias| How would I do something with git along the lines of svn:externals?11:14
thiago_home left11:15
zorzar left11:15
esc i remember merge.summary is deprecated in favor of merge.log, anyone confirm this. I grepped the git changelog and couldn't find anything11:16
_Vi left11:16
_Vi joined11:17
temoto left11:18
antgel Ilari: git checkout origin/118a puts me in detached HEAD state. usually i just do a git checkout 118a and it automatically tracks the remote branch11:20
cbreak_work antgel: git --version11:20
antgel cbreak_work: git version 1.7.111:20
cbreak_work if you want to track, do git checkout -t origin/118a11:20
I thought 1.7 does that automatically though11:21
antgel cbreak_work: so is it a feature or bug that usually git checkout 118a tracks for me11:21
?11:21
cbreak_work new feature11:21
thiago_home joined11:21
antgel anyhow, explicitly providing -t worked, don't know what broke11:21
cbreak_work out of date git11:22
just get a newer one11:22
antgel cbreak_work: i stumbled across said feature and it did what i wanted, i like it :)11:22
naimon joined11:22
gebi left11:24
antgel cbreak_work: i use whatever version of git is in debian squeeze :-O11:24
flaguy48 joined11:25
cbreak_work debian? The "oh-let's-kill-entropy-in-openssl-and-only-bunlde-4-year-old-mplayer" people...? :)11:25
chittoor joined11:26
CoinOpeBoy left11:28
darkskiez im guessing your a gentoo user.11:30
hyperair joined11:30
darkskiez s/your/you're/11:30
ramlev left11:31
cbreak_work no11:31
two guesses left :)11:32
darkskiez ubuntu, centos11:32
alt?11:32
Dalton left11:32
cbreak_work nope.11:32
tj joined11:32
cbreak_work Mac OS X :)11:32
tjtjholowaychuk11:33
cbreak_work you could have guessed from the elitist attitude...11:33
darkskiez lol11:33
brntbeer_ joined11:33
Dalton joined11:33
Infin1ty|work hmm in gitolite after i created a repo, i get: warning: You appear to have cloned an empty repository. after clone, i can't git push11:33
mabrand joined11:33
cbreak_work you have to make a commit first11:33
bentob0x joined11:33
naimon left11:34
Infin1ty|work i did, i get no refs in common and none specified11:34
i know how to work with git as a dev11:35
metoikos left11:35
cbreak_work yes, you have to specify which branch to push11:35
git push remotename branchname11:35
Infin1ty|work hmm isnt it auto on master?11:35
cbreak_work no11:35
Infin1ty|work worked :D11:35
cbreak_work it's auto on matching afaik11:35
Infin1ty|work thanks!!11:35
thanks a lot11:35
cbreak_work so it looks which refs local and remote have in common11:35
hyperair left11:36
toad_ joined11:37
toad_ what do i do if i reset --hard a local branch? is it possible to get the previous rev back if i haven't gc'ed?11:37
ptor toad_: git reflog will show you the ref you need to reset --hard back to where you were.11:39
mika left11:39
cbreak_work git log -g for more detail11:40
metoikos joined11:40
cbreak_work if it's the last thing you did, git reset --hard HEAD@{1} does the right thing11:40
khelll left11:40
kpreid joined11:40
murr4y joined11:42
naimon joined11:43
gebi joined11:44
mika joined11:44
psankar left11:44
jotik^^ joined11:46
mansour left11:47
j987 cr11:47
airborn left11:48
jotik left11:48
airborn joined11:48
urkud joined11:48
dnordstrom joined11:49
radarek joined11:50
sgronblo wouldn't it make more sense to write the branch name in the merge conflict rows instead of HEAD11:51
radarek left11:51
radarek joined11:51
MattDiPasquale joined11:52
bitkiller joined11:52
cbreak_work hmm?11:53
branch names are not written anywhere besides the comment11:53
philthno2 joined11:54
FauxFaux I think he means in the <<<<<<<<<<< HEAD bits.11:54
cbreak_work oh, the conflict markers11:55
alberto56 joined11:55
cbreak_work hmm...11:55
nicoulaj joined11:55
kanru joined11:55
d0k joined11:56
radarek left11:57
alberto56 left11:57
khelll joined11:58
radarek_ joined11:58
whaley joined11:59
t3i joined11:59
dpino left12:00
wuj joined12:00
dels left12:00
dpino joined12:01
savava joined12:02
bitkiller left12:02
savava left12:02
roop left12:02
toad_ left12:03
hohoho joined12:04
airborn left12:04
_Vi left12:05
sgronblo FauxFaux: yeah12:06
FauxFaux I use rebase all the time and I get annoyed that gitk doesn't show you what's going on. Should work out how to fix that.12:07
zz_rubydiamondrubydiamond12:07
sgronblo it's not clear if HEAD is the branch that was checked out when I called rebase or the branch on which the commits are being "pasted" at the moment12:07
albel727_2 left12:08
albel727 joined12:08
pgib left12:08
cbreak_work HEAD is where you're at12:09
sgronblo FauxFaux: yeah the lack of available information about what's going on during rebase conflicts is a bit annoying12:09
FauxFaux Yeah, but I get scared when I'm getting detached heads.12:10
sgronblo cbreak_work: yeah but HEAD jumps around a bit when rebasing right?12:10
Putr|AwayPutr12:11
Amorphous left12:11
sgronblo shouldnt the correct term be 'decapitated'?12:11
brntbeer_ left12:11
cbreak_work detached :)12:11
jaql joined12:12
ep8 joined12:13
akahn joined12:14
rubydiamondzz_rubydiamond12:15
zz_rubydiamondrubydiamond12:16
akahn left12:17
cannonball joined12:17
goshawk left12:17
MattDiPa_ joined12:17
bauruine left12:17
neunon left12:17
HakanD left12:17
Anti-X left12:18
Rearden joined12:18
jjuran left12:18
jjuran joined12:18
MattDiPasquale left12:18
happypolla joined12:19
galderz left12:19
airborn joined12:20
stliu joined12:20
Anti-X joined12:21
eletuchy_ left12:24
Amorphous joined12:26
scrts|w0rk joined12:26
HakanD joined12:26
eletuchy joined12:26
chronos left12:27
ajpiano left12:28
noahcampbell joined12:28
jaql left12:29
b0fh_ua joined12:29
jaql joined12:29
b0fh_ua Hello! If I have branch master, then forked branch "dev" and applied some sort of modifications to the local config files, then implemented some business logic - how do I merge back only the business logic changes, w/o affecting configuration?12:30
using cherry-pick?12:30
flazz joined12:30
ehabkost joined12:31
bauruine joined12:32
Aleric joined12:32
Aleric Is it possible to cherry-pick a whole range of changesets from another branch?12:33
FauxFaux Really new versions support cherry-picking ranges; but unless oyu're on them you're going to have to go work out how the hard rebase syntax works.12:33
momentum joined12:33
FauxFaux Or rev-list | xargs -n1 etc.12:33
momentum what prevent someone from using github as their free personal storage by taking files; encrypgint them, and storing them on github?12:34
Aleric FauxFaux: I have version 1.7.112:34
happypolla left12:34
Vutral joined12:34
FauxFaux momentum: Lucky you.12:35
Aleric momentum: Doesn't seem worth the trouble for 300 MB.12:35
d0ugal_ joined12:37
dbrock- b0fh_ua: yes, cherry pick into master and then rebase dev onto the new master12:37
b0fh_ua dbrock-: not sure how do I do rebase there?12:40
d0ugal left12:40
dbrock- b0fh_ua: git checkout master ; git cherry-pick a b c ; git checkout dev ; git rebase master12:40
tpb_ hi guys. trying to co a tag and i get this -> error: unable to unlink old 'root/webXG/html/ar/index.html' (Permission denied)12:41
what does that mean? never seen it before.12:41
dbrock- tpb_: git is trying to delete that file, but you don't have permission to delete it12:41
(unlink = delete)12:41
Bass10 joined12:42
tpb_ dbrock-: cheers! thats not as bad as i thought then. do i just need to co as someone with higher perms then? or another solution?12:43
dbrock- tpb_: yes, I can't say what the right solution is; that depends on the situation12:43
Anti-X left12:43
IslandUsurper joined12:44
comawhite joined12:44
comawhite left12:44
tpb_ dbrock-: ok thats cool12:44
dbrock- tpb_: maybe chown -R the whole repository to yourself?12:44
sitaram joined12:44
sitaram left12:44
sitaram joined12:44
untitled joined12:44
tpb_ dbrock-: i think what may have happened is another guy has accidentally taken ownership, i'll check it out.12:45
priidu left12:45
sitaram bnovc: ping12:45
Infin1ty|work left12:46
DasIch_DasIch12:46
hyperair joined12:46
goshawk joined12:46
Infin1ty|work joined12:46
pgib joined12:47
blaines_ joined12:47
jrmuizel joined12:47
dels joined12:47
untitled hi, little help here: I installed gitosis and run this command: sudo -H -u gitosis gitosis-init < my_rsa.pub, but it's still asking for password when i clone12:49
blaines_ left12:49
untitled why?12:49
blaines left12:49
offby1 maybe you don't have my_rsa loaded or accessible12:49
what does "ssh-add -l" say?12:50
untitled Could not open a connection to your authentication agent.12:50
offby1 there ya go12:50
untitled hm12:50
blaines joined12:50
offby1 betcha "ssh the-server" also asks for a password.12:50
untitled so, what do I do? :)12:53
coderdad joined12:53
roop joined12:53
shiba_yu36 left12:54
bnovc sitaram: pong12:54
leavittx_ joined12:54
offby1 untitled: study SSH for six months. In the meantime, try "eval $(ssh-agent ~/.ssh/my_rsa)", more or less.12:54
mdel_ left12:56
tungtn left12:56
shiba_yu36 joined12:57
eletuchy left12:57
ibansal_ joined12:57
priidu joined12:57
ibansal_ hi all12:57
sitaram bnovc: calling gitolitea "duplicate project" to gitosis is like calling "git" a "duplicate project" of SVN ;-)12:58
bad space bar... s/gitolitea/gitolite a/12:58
Mpenz welcome back sitaram !12:58
sitaram does check gitlog for anything that needs responding to :)12:58
untitled offby1: doesn't work12:58
ibansal_ can anyone guide me on how can i import a new version source ball to a existing sugar activity package12:59
check http://pastebin.com/ag7ApCse12:59
sitaram Mpenz: not back yet12:59
offby1 wishes there were an #ssh channel ... maybe there is12:59
offby1 three users, including me.12:59
hmph12:59
sitaram Mpenz: tail end; got some free time, wife and daughter out shopping or something :)13:00
offby1 untitled: if you want us to help, you'll have to be more specific than "didn't work".13:00
Mpenz whoa! sitaram ! bad!13:01
=)13:01
badboy_ left13:02
bnovc sitaram: what're the differences?13:02
sitaram Mpenz: bad that theyre shopping? naah; my wife is not stereotypical in that sense at least :)13:02
gilaniali joined13:02
bnovc sitaram: I don't really know about gitolite at all. I just hate seeing so many projects for the same goal that don't share efforts13:02
TheNewAndy left13:02
untitled offby1: I am following the guid on setuping gitosis, now ssh-add -l says "The agent has no identities.", I do this: sudo -H -u gitosis gitosis-init < my_rsa.pub, then try to clone from a remote machine and it asks me for a pass13:02
sitaram bnovc: too many to list; check the README :)13:02
bnovc next time I go to use gitosis, I'll check it out13:02
seems like it would have been possible to just extend gitosis though?13:03
not that it really matters now13:03
sitaram bnovc: thats a philosophical argument, or at least sounds like it. I dont do philosophy, sorry :)13:03
ep8 left13:03
ibansal_ can anyone guide on ^^ please13:03
leavittx_ left13:04
ep8 joined13:04
sitaram bnovc: would have been, if I cared to learn python. And if the gitosis author had responded to my *desperate* emails to add just *one* measly line of code that was bare minimum I needed at that time13:05
Mpenz heh sitaram =) good. Perhaps this is OT: but are you enjoying your time disconnected?13:05
mw joined13:05
mw left13:05
mw joined13:05
ep8 left13:05
sitaram Mpenz: frankly? not too much :)13:06
bnovc I guess I feel like learning languages is pretty trivial and a lot better than re-writing the wheel13:06
rubydiamondzz_rubydiamond13:07
sitaram bnovc: but even if he had, if he doesn't want exactly the same things I want, I would have forked it. As it is, due to my langage preferences, I rewrote it13:07
antgel left13:07
PerlJam sitaram: and I at the very least am happier for it. Thanks. :)13:07
sitaram bnovc: I fully expect gitolite to be forked the first time I refuse to add a feature that someone wants13:08
Mpenz hseh sitaram13:08
sitaram bnovc: and that is a GOOD thing!13:08
momentum left13:09
ibansal_ is waiting for a response13:09
sukima joined13:09
bnovc forking is not a good thing at all13:09
Aleric git diff HEAD^2..HEAD^1 why does that not work?13:09
offby1 untitled: you need to get to the point where "ssh-add -l" lists the fingerprint of your private key.13:09
sukima bnovc: why?13:09
bnovc in the case that the original author abandons a project, then forking is better than re-writing13:09
offby1 untitled: did you try "eval $(ssh-agent ~/.ssh/my_rsa)" as I suggested? If so, _exactly_ what did you type; _exactly_ what did the computer type in response; and how did that response differ from what you expected?13:10
bnovc duplicate maintenance13:10
untitled offby1: ok, lets start over, I installed gitotsis, it created the user 'gitosis' with no password, now how do I clone the repo?13:10
offby1 bnovc: why is forking better than rewriting?13:10
untitled: I don't really know; I don't use gitotsis :)13:10
If you were to use gitolite, you'd be more likely to get help.13:11
freimatz left13:11
offby1 as bnovc points out, gitolite solves (roughly) the same problem as gitotsis, in a (roughly) similar way, but is more actively maintained and supported.13:11
offby1 whistles innocently13:11
PerlJam offby1: not to mention with much better access control options13:12
offby1 so I hear13:12
sitaram bnovc: you're assuming they're more similar than they actually are. Even the config language is miles better and easier in gitolite, esp for large configs13:12
sukima bnovc: there shouldn't be any maintinance if you branch correctly13:12
eletuchy joined13:12
kenneth_reitz joined13:12
sitaram bnovc: which means I couldnt even reuse the parser from gitosis13:12
bnovc if you frequently merge back against the base there is less13:12
freimatz joined13:12
tgunr Does anyone here have any experience with gitslave? is it any better than using subtree or submodule?13:12
sitaram PerlJam: thanks :)13:13
sukima tgunr: What's a gitslave?13:13
AlexanderS left13:13
ptor tgunr: It is different from either. It all depends on how you wish to work.13:13
tgunr http://gitslave.sourceforge.net/gits-man-page.html13:13
Anti-X joined13:14
zombor joined13:14
priidu left13:14
pdelgallego left13:15
tgunr basically, I have a subfolder which is a repo used in several other projects. If I change that subfolder I would like to have the tracking done a seamless manner such that other projects using the repo could pick up the changes from a pull.13:15
kpreid left13:16
AlexanderS joined13:16
kenneth_reitz left13:16
kenneth_reitz joined13:16
kylehayes joined13:17
meder joined13:17
airborn left13:19
pdelgallego joined13:19
hyperair left13:20
noyb left13:21
ludde it looks like a commit i made a long time ago has mysteriously diseappeared from the tree, how can I check in what version it was removed? git log -S "the stuff on the line" revealed nothing..13:21
HakanD left13:22
galderz joined13:22
galderz left13:22
galderz joined13:22
reto_ fg13:23
oups :)13:23
ludde: take care13:23
ludde: no space between S and the searched term!13:24
afaik13:24
kpreid joined13:24
lezz joined13:24
reto_ ludde: if you are desperate you can also do a bisect13:24
ludde -S shows me a lot of relevant commits13:24
but neither of them is the one that reverted my change13:24
reto_ ludde: checkout old version, check if thing is there, if yes say git bisect good, if not say git bisect bad13:24
blee joined13:25
comawhite joined13:26
priidu joined13:27
dnordstrom left13:27
Aamir joined13:28
dotCOMmie Is it possible to track down who moved head on a branch in gitosys?13:28
darkskiez left13:28
coreyballou joined13:28
sitaram left13:28
lezz noob q - Do you typically use branches to maintain potentially divergent dev paths on a project long term - or just for short term to try out ideas?13:28
Aamir left13:28
selckin both?13:29
ibansal_ left13:29
HakanD joined13:29
saurik_ joined13:29
bnovc short term features/ideas13:29
branch as rarely as possible imo13:29
DrNick2 joined13:30
bnovc you will likely have to branch for major versions to do little fixes/etc. but the less branching the less work13:30
gilaniali left13:30
sitaram joined13:30
offby1 branches alla time13:30
offby1 I make a branch for each bug I work on e.g.13:30
also each feature13:30
gerberb joined13:30
offby1 granted I have oodles of mostly-abandoned branches13:31
bnovc oh ya, I branch for things I work on too, but by branch I don't think he meant local13:31
offby1 I wrote a little script that lists the branches, and a little summary of the commit they're "pointing to"; it sorts them by commit date, latest last. That way I can remember what I've been working on13:31
bnovc local/short lived branches for development don't matter13:31
offby1: the first part is done by -v13:32
git branch -va13:32
linusoleander joined13:32
offby1 first part of what?13:32
bnovc shows the commit msg13:32
offby1 ah13:33
darkskiez joined13:33
lezz Right. I understand branching locally, but am wondering about shared branches - such as if the team is considering two different approaches to a problem.13:33
parasti joined13:34
sukima lezz: in a distributed model you would use multiple remotes for that13:35
I think13:35
sitaram left13:35
tpope_ joined13:35
Zhonghua left13:36
MattDiPasquale joined13:36
lezz ahh. thanks sukima. I'll read up on multiple remotes.13:36
bnovc do they have a common base?13:36
will one of the branches be abandoned in favor of the other after evaluating?13:36
sitaram joined13:36
sitaram left13:36
sitaram joined13:36
MattDiPa_ left13:36
sukima When I first learned git I had to retrain my bnrain around it. Coming from subversion. I found that the distributed model worked so much better. I don't like centeralized scm anymore13:37
s/scm/vcs/13:38
lezz in this case, they have a common base. We're considering releasing a simplified version with some questionable features disabled. So we're not sure which version will be the preferred moving forward - this will depend on user feedback.13:38
bnovc we still (mostly) use centralized at work with Git13:38
tchan left13:38
bnovc and commit everything into Gerrit13:38
ari-__-e joined13:38
lezz I'm retraining my brain from subversion now. :)13:39
bnovc lezz: branches sound great for that. just make sure that any common work that is done goes back to the place they branched from13:39
which can sometimes be a pain in the ass13:39
sukima lezz: I think what you want is to fork it and then you can patch changes between them. (multiple remotes)13:39
Woody4286 joined13:39
PerlJam centralization does have some advantage ... you're not so susceptible to local filesystem chaos.13:39
zz_rubydiamondrubydiamond13:40
blee_ left13:40
anti-pattern left13:40
comawhite5EXABL0R413:40
comawhite joined13:40
comawhite left13:40
saurik left13:40
ibansal__ joined13:40
DrNick left13:40
bgerber left13:40
cballou left13:40
tizbac joined13:40
tpope left13:40
ari-_-e left13:40
Woody2143 left13:40
ibansal__ left13:40
akahn joined13:40
PerlJam (but since you can easily use a DVCS in a centralized manner, this is moot :)13:40
bnovc I guess I generally don't see the advantage. Having everything in a central place like Gerrit is incredibly helpful13:40
stamina__ joined13:41
bnovc and most branchse we want code reviewed going in13:41
jim use git for awhile, each of your devs would have their own repo, they make pull requests and then you review13:41
sivy joined13:41
sivy left13:42
jim then if it passes review, merge it into the main repo13:42
sukima bnovc: check this out http://nvie.com/posts/a-successful-git-branching-model/13:42
bnovc that's exactly how we work except all the reviews are in Gerrit, which is a *lot* nicer than just pulling in a patch, and then all go into a central place13:43
tlir joined13:43
ep8 joined13:43
stamina left13:44
jim what's a gerrit?13:44
galderz left13:44
stamina_ left13:44
wereHamster jim: google it13:44
tchan joined13:44
bnovc jim: http://nvie.com/posts/a-successful-git-branching-model/13:44
offby1 jim: it's where poor artists live13:44
bnovc grr13:44
fucking clipboard13:44
https://review.source.android.com/#mine13:45
tlir can I commit links with git? (does it maintain them)13:45
kukks joined13:45
priidu left13:45
Ilari tlir: Symbolic links?13:45
tlir Ilari: yep13:45
Ilari tlir: Yes.13:46
stamina joined13:46
sivy joined13:46
jim bnovc: second link, 404 not found13:48
bnovc loads for me.. try just https://review.source.android.com but the hash shouldn't matter13:49
priidu joined13:49
muffinpeddler joined13:50
TeckniX joined13:51
sukima http://lmgtfy.com/?q=gerrit13:51
MattDiPasquale left13:52
merlin83 joined13:52
merlin83 left13:52
merlin83 joined13:52
icwiener joined13:53
ehabkost left13:53
ehabkost joined13:53
rgr_ joined13:54
brntbeer_ joined13:55
fowlduck joined13:55
Infin1ty|work left13:55
Infin1ty|work joined13:55
ExtraSpice left13:55
rgr_ left13:56
shamrock joined13:56
warlock_mza joined13:56
beatak joined13:57
goshawk left13:57
shamrock left13:58
shamrock joined13:58
untitled left13:59
hyperair joined13:59
shamrock left13:59
JEEB joined13:59
HakanD left13:59
shamrock joined14:00
Torsten left14:00
mishok13 left14:00
gdmfsob joined14:00
lezz left14:00
stliu left14:01
JEEBcz left14:01
airborn joined14:02
b0fh_ua .ÊÇÛ14:02
b0fh_ua left14:02
dharrigan left14:02
offby1 .!!!14:03
shiba_yu36 left14:03
freimatz left14:03
Ryback_ joined14:04
Ryback_ left14:04
Ryback_ joined14:04
archcoder joined14:04
lezz joined14:05
lezz left14:05
HakanD joined14:06
shiba_yu36 joined14:07
Mpenz lright14:08
5EXABL0R4 left14:09
archcoder left14:09
offby1 aw reet14:09
mbroeker joined14:10
robinbowes left14:10
rlotun left14:11
frogonwheels left14:11
alester joined14:11
ph^ left14:11
ki__ joined14:12
kenneth_reitz left14:12
dsdeiz joined14:14
mkramer joined14:14
mkramer left14:14
priidu left14:16
naimon left14:16
ki__ left14:16
t0rc joined14:17
comawhite joined14:18
jrmuizel left14:18
xiong left14:19
Nickeeh left14:20
airborn left14:20
FYLGood joined14:20
cannonball left14:20
pigdude joined14:21
HakanD left14:21
airborn joined14:21
hohoho left14:22
sonnym left14:22
wjames6 joined14:22
hohoho joined14:22
HakanD joined14:22
krosenvold joined14:22
wjames6 hi, so a little nubish here. it seems to me a local branch that tracks a remote can only push to that one. is that right?14:23
and if thats right, is there a way to ask that local branch what remote it is tracking?14:23
offby1 not right.14:23
It pushes to that one _by default_14:23
copelco joined14:23
rgr left14:23
offby1 but you can specify the remote to which to push on the command line (I don't know the details, but I'm sure man git-push will tell you)14:23
Gitbot offby1: the git-push manpage can be found at http://git.or.cz/man/git-push14:23
offby1 Gitbot: quit spying on my communications14:24
Gitbot offby1: You aren't allowed to use this command14:24
carutsu__ joined14:24
dsdeiz git log is somehow like using less? um, is there a way to just print it out so to copy/paste the commits easier? :D14:24
offby1 enjoins the courts for relief14:24
gurjeet joined14:24
emmanueloga joined14:24
offby1 dsdeiz: I think "GIT_PAGER=cat git log" should avoid the pager14:25
wjames6 offby1: ok, is there a way to ask the branch what it will push to by default?14:25
kpreid left14:25
offby1 wjames6: I was just wondering that. I don't know; what I do is: I look in .git/config14:25
wjames6 i guess i could dryrun14:25
selckin you can configure the pager14:25
dsdeiz offby1: kinda new here. :D um, where do i set that? export GIT_PAGER="cat git log" ?14:26
wjames6 ah thanks14:26
offby1 dsdeiz: no, you would type "GIT_PAGER=cat git log " followed by the arguments for "git log"14:26
wjames6 hmm14:26
config doesnt tell me the branch mapping14:26
offby1 dsdeiz: you _could_ do "export GIT_PAGER=cat", which would make it take effect all the time.14:26
clsdaniel left14:27
gurjeet I am using 'git version 1.7.1' `git status` shows there is 1 modified file, gitk also shows a modified file as 'Local Uncommitted Changes,...' but when I do 'git diff' it does not show me anything!14:27
scrts|w0rk left14:27
hohoho left14:27
dsdeiz offby1: oooh, thanks!14:27
Mpenz sitaram: The docs suggest that C,D permissions are only for branches. Is that correct?14:27
offby1 gurjeet: try "git diff --cached"14:27
g0bl1n left14:27
warlock_mza left14:27
offby1 dsdeiz: as selckin suggests, there's probably something you could put in ~/.gitconfig that has the same effect.14:28
gurjeet offby1: nope.. nothing there either, and exit status is 0.14:28
offby1 hmph14:28
nevyn^_ joined14:28
offby1 when you click on the red dot in gitk, what shows up in the bottom pane?14:28
alex__c2022 joined14:28
ajpiano joined14:28
gurjeet offby1: The file diffs..14:29
mcdebugger joined14:29
offby1 weird.14:29
nevyn^_ left14:29
dsdeiz is it git config core.pager "cat" ?14:29
offby1 gurjeet: maybe you've got something strange in your environment, or in ~/.gitconfig?14:29
dsdeiz: that sounds right14:29
MattDiPasquale joined14:30
brntbeer left14:30
fr0sty_ gurjeet: refresh gitk14:30
offby1 yeah, offer it a Coke or something14:30
airborn left14:30
elias joined14:30
fr0sty_ XD ... that's terrible...14:30
airborn joined14:31
gurjeet fr0sty_: :D didn't work guys ..14:31
Do you know of a good place I can upload my screenshot for you guys to see?14:31
dsdeiz neat!14:31
elias left14:31
gurjeet I don't see anything funny in ~/.gitconfig14:31
patrikf dsdeiz: you can also directly redirect the output of "git log" to a file14:32
(even with a pager configured)14:32
airborn left14:32
fr0sty_ gurjeet: imagebin.ca14:32
err_ok joined14:32
airborn joined14:32
fr0sty_ imgur.com14:32
err_ok left14:32
FabianB joined14:32
fr0sty_ tinypic.com14:33
take your pick...14:33
FabianB_ left14:33
gurjeet offby1: fr0sty_: Please see this: http://i52.tinypic.com/b9ehzp.png14:34
psoo left14:34
marienz joined14:34
felipellrocha left14:35
kpreid joined14:36
airborn left14:36
gurjeet offby1: fr0sty_: Or this, (I did not use git aliases this time, and gitk shows the diff) http://i53.tinypic.com/35jz3mt.png14:36
esmaxwill left14:36
airborn joined14:36
gurjeet I have a gut feeling that this might be a git bug :(14:37
offby1 doubt it14:37
fr0sty_ what is the 'diff' being shown? (the yum install line)14:37
airborn left14:38
gurjeet Thats a text file ~/dev/dev_env_setup.txt . And that is exactly what I am expecting from git diff14:38
hohoho joined14:38
fr0sty_ what changed on that line?14:38
airborn joined14:38
fr0sty_ (according to gitk)14:38
kanru left14:39
gurjeet I appended a new package to that line: ttp://i55.tinypic.com/33tp9hl.png14:39
^^ http://i55.tinypic.com/33tp9hl.png14:39
ntoll joined14:39
radarek_ left14:40
dsdeiz left14:40
noahcampbell left14:41
gurjeet Oh, this is Ubuntu 10.10 installed just yesterday.. if that matters.14:41
fr0sty_ probably not... where is the root of this repository? ${HOME} ?14:41
brntbeer_ left14:41
gurjeet I had this exact repository on a CentOS 5.5 in a VM and git never misbehaved there.14:41
Yes... I have versioned my ~14:42
offby1 gurjeet: another guess: the diff is a carriage-return at the end of the line, and somehow .git/config tells "diff" to not display those, but gitk does.14:42
goshawk joined14:42
rgr joined14:42
offby1 oh.14:43
(just saw the third screenshot)14:43
now it _is_ starting to smell like a bug.14:43
either that or you've somehow confused yourself: you're (somehow) not running "git diff" in the same tree as you're running "gitk", even though it looks like you are.14:43
fr0sty_ I wonder how gitk can get anything that git proper doesn't know about...14:43
rvsjoen left14:44
bauruine left14:44
rvsjoen joined14:44
ExtraSpice joined14:44
fr0sty_ do you have any other git repositories under ~/ ?14:44
eMBee good evening14:46
xiong joined14:46
bronson joined14:46
fr0sty_ gurjeet: ^^14:47
offby1 Children of the night. What beautiful music they make!14:47
kpreid left14:47
scarabx joined14:48
priidu joined14:48
gurjeet Sorry guys.. having trouble uploading files.. will ping back in a moment14:48
http://imagebin.ca/view/4Oa9apXG.html14:49
offby1: fr0sty_: ^^14:49
eMBee i am trying to walk though a part of git history and step by step import the changes into a foreign system. i suppose i best start with git log, and then for each commit extract a list of changed files and get the content of each file for upload.14:49
gurjeet offby1: fr0sty_: the `env | grep -i git` shows that no environment vars at play here.14:51
fr0sty_ gurjeet: nested git repositories...14:51
aspotashev joined14:51
chrisshattuck joined14:51
jrmuizel joined14:51
fr0sty_ you have ~/.git and ~/dev/postgres/.git14:51
khelll left14:51
coldboot If I do `git log --stat=100,100` and I can find the full path: /path/to/foo in one of the diffstats, then if I do `git log --stat -- /path/to/foo` I should definitely find at least one commit with foo in it, right?14:51
gurjeet offby1: yeah, but `git status` is able to detect the changed file14:51
fr0sty_ is dev_env_setup.txt being tracked by both repositories?14:52
offby1 gurjeet: I thought you said that "git status" _didn't_ detect the change.14:52
So it's only "git diff" that's acting odd?14:52
gurjeet offby1: it did... : http://imagebin.ca/view/huYa58b.html14:53
offby1: yes.14:53
scarabx left14:54
offby1 baffling14:54
if you were using Windows, I'd just shrug and say "what do you expect?"14:54
gurjeet :D14:55
muffinpeddler left14:55
cannonball joined14:55
fr0sty_ gurjeet: in ~/ git show dev/postgress/dev_env_setup.txt14:55
gurjeet But Yeah, I'd never use Windows (again) as a development environment14:55
fr0sty_ and in ~/dev/postgres/: 'git show dev_env_setup.txt'14:55
Zhonghua joined14:56
akamike left14:56
coldboot Are there any circumstances where `git log --stat=100,100 -- path/to/file` will not find that file in the diffstats?14:57
fr0sty_ how long is /path/to/file ?14:58
gurjeet fr0sty_: that doesn't show anything14:58
fr0sty_ either of them?14:59
hmm: 'git show HEAD:dev/postgres/dev_env_setup.txt'15:00
and (in ~/dev/postgres) 'git show HEAD:dev_env_setup.txt'15:00
thy those.15:00
codebeaker joined15:01
kjy112 joined15:01
awilkins joined15:01
fr0sty_ s/thy/try/15:01
priidu left15:01
hebz0rl left15:02
gurjeet fr0sty_: both of those don't show anything15:03
eMBee does this look ok, or is there a better way? for commit in `git log --reverse --pretty=format:%H`; do for file in `git show --pretty=format: --name-only $commit`; do process $file; done; done15:03
akahn left15:03
patrikf eMBee: see also "git rev-list", "git cat-file" and/or "git fast-export"15:03
which gives you the lower-level data15:04
eMBee patrikf: thanks, looking...15:04
patrikf eMBee: the command you just pasted would probably be simpler with for-each-ref15:04
gurjeet fr0sty_: http://imagebin.ca/view/I0YQu6z.html15:04
priidu joined15:05
linusoleander left15:06
patthoyts joined15:06
d-snp left15:07
hobodave left15:07
hobodave joined15:07
resmo left15:08
eMBee patrikf: yes, though the for loop is just to demonstrate the logic, i am not actually writing a shellscript but calling git from somewhere else15:08
patrikf eMBee: yes, of course15:08
sonnym joined15:08
dharrigan joined15:08
dharrigan left15:08
dharrigan joined15:08
patrikf eMBee: if fast-export isn't useful for you, there's still some other low-level commands whose output is more easily parseable, e.g. ls-tree15:08
fr0sty_ that would seem to indicate that the file in question is not being tracked in either repository...15:09
find ~ -type d -name ".git" ?15:10
nineteeneightd joined15:10
priidu left15:10
coldboot fr0sty_: The path is complete, it's not too long.15:10
nineteeneightd left15:10
eMBee patrikf: ok, i am still reading docs15:11
coldboot fr0sty_: It's 57 characters long.15:11
fr0sty_ coldboot: my reading of the manpage would seem to indicate that the second value should be shorter than the first..15:11
--stat=100,6015:11
gurjeet fr0sty_: I think you meant these commands.. : http://imagebin.ca/view/bvnOTA15.html15:11
fr0sty: offby1 : ^^ the above shows that the file _is_ being tracked in ~15:11
Simoyd joined15:11
coldboot fr0sty_: Well that's not really important, the point is I have the full path without it being abbreviated, and doing `git log --stat -- path/to/file` doesn't show past commits that contain changes to that file, it just lists nothing.15:12
fr0sty_: But changes to that file can be found in past commits, although they've been merged in from other branches.15:12
hobodave left15:12
RORgasm joined15:12
paradigm joined15:12
elg joined15:12
FYLGood Any suggestions for a gitk replacement for Mac OS X? I'm happy to buy a commercial product if needed.15:12
dels left15:13
curtana gitx?15:13
Simoyd left15:13
dharrigan left15:14
eMBee patrikf: git fast-export is interesting, it has all the data i need, i'd just need to write a parser to pick out the individual bits15:14
coreyballoucballou15:14
fr0sty_ coldboot: you only need path/to/file if you are at the root of the repository...15:15
what does 'git log --oneline -- path/to/file' give you?15:15
FYLGood curtana: Yup, I've played with that one. Haven't settled on it yet, but wanted to know if there was a diamond in the ruff that I didn't know about15:15
curtana: Thanks :)15:15
g0bl1n joined15:15
cbreak_work left15:16
rvsjoen left15:16
pgib hmm git stash poop, apparently git doesnt want me to stash my poop15:16
fr0sty_ gurjeet: got confused by the dierctories...15:16
patrikf eMBee: I only know the other direction (fast-import), depending on what your target VCS looks like it might be easy or not to adapt15:17
nineteeneightd joined15:17
nakkor joined15:17
pigdude how do I find the last time some keyword appeared in my source?15:17
fr0sty_ gurjeet: so gitk is correct and git diff is wrong?15:17
pigdude I need to find an old bit of code15:17
rvsjoen joined15:17
curtana FYLGood, check out the tools page on the wiki anyway. it has a lot of links15:18
fr0sty_ git log -S"keyword"15:18
kpreid joined15:19
pigdude ok, I have a possible revision. how do I view the file without checking it out?15:19
I have local changes15:19
tildeequals left15:19
fr0sty_ git show SHA:path/to/file15:19
you can do log -p -Skeyword to show the patch.15:20
pigdude ah, thanks15:20
so log -p is shortcut for git show on the first rev15:20
joeyreno left15:20
fr0sty_ no, it shows the patch along with every commit message.15:21
balford joined15:21
fr0sty_ if you page down you would find the next commit (if one exists)15:21
gurjeet left15:21
pigdude oh, I see15:22
rom joined15:22
adamcooke joined15:22
d0ugal_ left15:22
marc_kdab_ joined15:23
resmo joined15:24
priidu joined15:24
leavittx_ joined15:24
robinbowes joined15:24
pigdude fr0sty: can git log -Sterm show a list of the relevant files?15:25
fr0sty: --pickaxe-all doesn't show any files but it says it would15:25
carutsu__ left15:26
fr0sty_ add --name-status15:26
eMBee patrikf: that's not a big deal, fast-export has everything i need, just need to write a parser for it15:26
fr0sty_ (though that will show all files in the commit...15:26
jrmuizel left15:26
gurjeet joined15:27
tcurdt left15:29
gebi left15:29
Heimidal joined15:30
radioman-lt left15:30
dsdeiz joined15:31
sftp joined15:31
IslandUsurperIslandUsurperAFK15:31
gurjeet left15:32
elg left15:32
irc2samus joined15:33
patthoyts left15:33
dsdeiz hm, i also tried git config pager.log "cat" though it didn't work :D it says bad value for pager.log15:35
fod joined15:35
radarek joined15:35
t3i left15:37
fod left15:37
fod joined15:38
kanru joined15:38
radarek left15:39
WebDragon joined15:40
pigdude fr0ggie: oh thanks sorry missed that15:40
fr0sty: ^15:40
fmardini left15:41
dsdeiz oh i get it now heh.15:41
radarek joined15:41
dsdeiz yey, cool.. it works..15:41
shiba_yu36 left15:42
hobodave joined15:42
karpar joined15:42
crankharder joined15:42
sebersole joined15:42
crankharder of my modified files, can I add just the ones that match a regexp?15:43
priidu left15:43
sebersole does tagging work from your workspace? or from the commited branch state?15:43
dreiss joined15:44
artefon joined15:44
aresnick joined15:44
Dave^| joined15:44
codebeaker left15:44
adamcooke left15:45
jim crankharder: sure... first get a list of your modified files, apply grep to that list, and add the result15:46
Textmode left15:46
fr0sty_ sebersole: what regex? if it is simle shell-glob stuff: 'git add "foo.*" '15:46
sebersole fr0sty_: ?15:46
fr0sty_ how complicated is your regex?15:47
sebersole not sure what regex you mean15:47
i asked about tagging15:47
hyperair left15:47
sebersole is there some implicit regex there? pretty new to git so i might bbe missing the correlation15:48
leavittx_ left15:48
__name__ joined15:49
__name__ left15:49
__name__ joined15:49
aresnick left15:49
icreatures left15:49
sebersole pro git specifically makes reference to the fact that the tag references the commit from which it was created, so i guess that answers my question15:50
fr0sty_ crankharder: ^^^^^^15:50
sebersole: sorry, grabbed the wrong nick...15:50
sebersole np15:50
pigdude crankharder: find . -regex '' -exec git add {} \l15:50
crankharder: er, \;, not \l15:50
hukl left15:51
artefon left15:52
elmob joined15:52
aspotashev left15:53
IslandUsurperAFKIslandUsurper15:53
pigdude crankharder: this'll give you a list of filenames that are modified or untracked: git status -s | grep -e '^ \(M\|\?\?\) ' | awk '{ print $2 }'15:54
airborn left15:54
thiago_home git ls-files15:54
sostenuto joined15:54
pigdude crankharder: so you can throw that in a for and do git add $F15:54
I figured there was some built-in way15:54
thanks thiago_home15:54
ibansal_ joined15:55
pigdude I probably do a lot of unnecessary juggling right now15:55
crankharder pigdude: thanx :)15:55
t3i joined15:55
pigdude crankharder: git ls-files, like thiago_home said. that will do what I did but much nicer15:55
yairgo joined15:56
roop left15:56
HakanD left15:56
airborn joined15:56
pigdude I wonder why git ls-files -m shows a deleted file15:56
or which option will show untracked files in .15:56
ki__ joined15:56
tildeequals joined15:57
artefon joined15:58
jjore left15:59
pgib pigdude, ls15:59
dsdeiz left15:59
pigdude pgib: hm?15:59
pgib ls will show untracked files. How would ls-files show untracked files if the whole point is to list tracked files?16:00
jjore joined16:00
pigdude pgib: so then my grepping and awking has some purpose I suppose16:01
pgib: I assumed ls-files would have an untracked option16:01
EvanR-work is it possible to merge branch A into B without first checking out?16:01
ntoll left16:01
pgib oh I suppose that makes sense, like an inverse16:01
pigdude yea16:01
kenneth_reitz joined16:01
pigdude not for me anyhow :^)16:01
pgib i suppose you can do ls and ls-files, sort and compare16:03
psoo joined16:03
tcurdt joined16:04
tcurdt left16:05
psankar joined16:05
warbee joined16:06
joeytwiddle left16:06
pigdude well16:06
find .16:06
winterweaver joined16:06
pigdude but yea something like that16:06
jrmuizel joined16:06
khmarbaise joined16:07
frerich3 joined16:08
priidu joined16:08
pgib pigdude, oh yeah16:09
I guess 'find -t d .' is more appropriate16:09
err.. '-t f'16:09
OOPMan left16:10
pigdude yea, good point, since we don't care about dirsw16:10
now to figure out how to do set difference in bash :^)16:10
I remember some article in 0716:10
pgib I'm sucking it up today: 'find . -type f'16:10
pigdude or maybe 0816:10
pgib if you sorted both sets - you could just do a diff16:11
pigdude that's true16:11
HakanD joined16:12
slonopotamus joined16:12
joeytwiddle joined16:13
yyfrankyy joined16:13
kenichi joined16:13
rayners joined16:13
reto_ I'd like to look through ALL commits objects for a given log message16:13
joeytwiddle left16:14
slonopotamus reto_: git help log. afair, you want pickaxe16:14
HakanD left16:16
yyfrankyy test16:17
slonopotamus yyfrankyy: passed16:17
HakanD joined16:17
yyfrankyy slonopotamus: newbie here, :)16:18
airborn left16:18
mastro left16:19
parasti reto_: git log --all --grep=pattern (pickaxe looks for strings in the diff not the log message)16:19
airborn joined16:19
LiamH joined16:20
dreiss left16:20
aah joined16:20
dharrigan joined16:20
dharrigan left16:20
dharrigan joined16:20
priidu left16:22
joeytwiddle joined16:22
meder left16:24
yairgo left16:24
ibansal_ left16:24
ibansal_ joined16:24
kylehayes what command do I use to determine what base a branch is associated with?16:25
tlir left16:26
OOPMan joined16:26
yairgo joined16:26
yyfrankyy left16:27
reto_ parasti: as far as I can understand this looks for all commit objects which are linked through a ref16:27
parasti: I mean raelly ALL commits :16:27
priidu joined16:28
joel_falcou joined16:29
hyperair joined16:30
Torsten joined16:30
dharrigan left16:30
yairgo left16:31
whaley left16:31
nicoulaj left16:33
_Vi joined16:33
elg joined16:33
keystr0k left16:33
TML left16:34
HakanD meh, easy to learn, hard to master16:34
dharrigan joined16:35
dharrigan left16:35
dharrigan joined16:35
chittoor left16:37
priidu left16:37
metoikos left16:37
priidu joined16:38
elmob left16:39
Torsten left16:40
philthno2 left16:40
steph021 joined16:40
nevyn left16:41
psankar left16:41
khmarbaise_ joined16:42
dharrigan left16:42
kanru left16:42
WebDragon left16:42
tildeequals left16:43
nevyn joined16:43
khmarbaise left16:43
khmarbaise_khmarbaise16:43
pozic left16:44
tildeequals joined16:44
g0bl1n left16:45
LucasWilcox joined16:46
noahcampbell joined16:46
nevyn left16:47
aresnick joined16:48
dharrigan joined16:48
dharrigan left16:48
dharrigan joined16:48
MikhX joined16:48
xiong left16:48
thierryp left16:49
Kronuz joined16:49
Kronuz hello16:49
hey, I have a repository I downloaded, and now I want to create a branch of a tree ID ...or commit ID (what's the difference by the way, vs. tree and commit) ....how do I do that? using git checkout -b mybranchname ?16:50
but now do I select the tree?16:50
pgib git checkout the_branch -b my_branch16:51
err -b my_branch the_branch16:52
priidu left16:52
Kronuz pgib, but from a branch, I want an older commit16:52
(not the head)16:52
pgib oh - you want to branch from an older commit?16:52
Kronuz yep16:52
pgib checkout -b my_branch the_commit16:52
Kronuz the whole hex number?16:52
pgib create a branch, my_branch, starting at the_commit16:52
Kronuz, if you want - you can use the first few digits if that is unique enough16:53
Kronuz what's the difference between commit or tree?16:53
pgib unique = distinct16:53
Kronuz 'cause in github I see parent, commit and tree16:53
pgib ??16:53
Kronuz parent is obviously the commit number of the parent16:53
pgib parent is the commit the new commit is based on16:54
Kronuz commit is the number of the commit itself... but tree?16:54
necromancer joined16:54
pgib Kronuz, show me16:54
nevyn joined16:54
Kronuz pgib, http://github.com/replay/ngx_http_secure_download/commits/master/16:54
for instance16:54
every commit says commit, tree, parent16:54
jrmuizel left16:54
boombatower joined16:54
boombatower left16:54
boombatower joined16:54
pgib hmm no idea. you have your command now - so enjoy that at least16:55
jrmuizel joined16:56
Dave^| left16:56
TML joined16:56
Kronuz :)16:56
thanks16:56
d0ugal joined16:56
joe85 joined16:57
alnewkirk joined16:57
atula joined16:57
joe85 anyone know how I can avoid this error "error.GitError: CyanogenMod/android_external_jpeg update-ref: fatal: b4dbfd4aa39a00273b57025574bf8e811cc25f45^0: not a valid SHA1"16:57
codespectator left16:57
tildeequals left16:57
slonopotamus joe85: ^0?16:57
TML left16:58
joe85 good point16:58
dharrigan left16:58
pgib raised to the zero? so you mean 1?16:59
karpar left16:59
atula I am having a hard time wrapping my mind around the way treat repos. Say I have a directory and I init it as a git tracking directory with a .git folder inside it. if I were to zip that up and bring that zipped filed to another computer with git installed. After extraction, should that directory be a legit git repos?16:59
slonopotamus atula: yep16:59
winterweaver left16:59
pgib atula, yes, assuming the git versions are compatible17:00
atula interesting. what about the issues of onwership ?17:00
dwmw2dwmw2_gone17:00
atula *ownership.17:00
necromancer yeah git is basically a filesystem that tracks revisions17:00
if you wanna think of it that way17:00
atula I see.17:00
khmarbaise left17:00
necromancer atula: what do you mean by "ownership"? ownership of the repo or ownership of the changes made to the files within?17:01
atula hm... I have a local server that's going to act as a betweener between my working computer and the web server. I want to use the local server as the central "meeting place" so to speak17:01
awilkins zip doesn't track those attributes, so whoever unpacks it, owns it17:01
atula the changes.17:01
WebDragon joined17:02
necromancer oh yeah17:02
so basically, you're trying to use git as a central repo for your project, a la svn?17:02
priidu joined17:02
MikhX left17:02
zain left17:02
MikhX joined17:02
atula indeed17:03
just me really.. but I want to use git... moving away from svn17:03
necromancer that's what i do. i have gitosis installed on my VPS, and my web server (also hosted on the VPS) pulls from there when i tell it to17:03
atula it seems more flexible17:03
MikhX left17:03
necromancer it's a lot easier to use imo17:03
quicker too17:03
awilkins The server should get a bare repo ; in terms of ownership, whatever server process you use to write to the repo should have rights to do so - this either means the server process (if you are using one) or the user accounts (if you are using git+ssh)17:03
tildeequals joined17:03
atula I guess... here's a monkey wrench to this...17:04
mags left17:04
sitaram Mpenz: yes C and D are only for branches. However, C *all by itself* is for *repos*17:04
MikhX joined17:04
sostenuto left17:04
coldboot fr0sty_: The --oneline won't affect the list of commits its in. It still doesn't list past commits that the file was involved in.17:04
atula I'm using the local server as a webserver for development... (sadly, due to other softwares... I am developing on both windows and mac)17:04
coldboot fr0sty_: It seems that after doing a few merges, git loses the ability to reach the commits where that file was modified.17:05
MetaCosm_ left17:05
Mpenz sitaram: Yeah, that's what I thought. Does D work for repos too?17:06
gilaniali joined17:06
atula if I could do this: have a full "checkout" on the local server acting as the main repos and my working machine will pull from it... then push changes.... my webserver from outside will pull from the local server to update.17:06
sitaram Mpenz: no... I dont want to create any code in mainline git that *deletes* whole repos ;-) You know why... !17:06
atula so I don't think I can do barebone repos17:06
Mpenz Yeh. Iunderstand.17:06
Ok, I went through all your docs today. Compiling my notes.17:07
sitaram Mpenz: there is the "rmrepo" adc (admin-defined command) for that though... but it needs to be installed (once) by the admin -- wont be default17:07
Mpenz sure.17:07
sitaram: In general the ordering of the restrictions doesn't matter except for deny-access rules. Is that correct?17:08
khaije|minder left17:08
Kronuz what's the equivalent of git's 1.7 checkout -u in 1.6 ?17:08
trochala joined17:09
sitaram Mpenz: yes17:09
trochala left17:09
trochala joined17:09
Mpenz ok.17:09
fr0sty_ coldboot: that seems unlikely...17:09
sitaram Mpenz: if there are *no* deny rules, the order is irrelevant17:09
fr0sty_ did the file get moved around or massively rewritten?17:09
Mpenz One more question sitaram, why was there a need to have the NAME/ keyword for specifying restrictions for files/dirs17:09
yep17:10
dpino left17:10
Mpenz Ah, and one more sitaram: the branch descriptions ending in $ determine an exact branch, correct?17:11
sitaram distinguish those refexes from the usual ones. What if you have a *file* called "master"?17:11
Q| joined17:11
sitaram Mpenz: that's just a regex meta; so yes...17:11
Mpenz So, "NAME/master" is a file and "master$" would be the branch?17:12
sitaram yup17:12
justin-george joined17:12
Mpenz Interesting. Ok. I think that clears out pretty much all my questions so far.17:12
carutsu joined17:12
Q| Can I fork a project and have the fork have it's own ignores (ignoring), but still be able to somehow cherry-pick some changes from the fork into the master?17:13
Mpenz brb17:14
dharrigan joined17:14
dharrigan left17:14
dharrigan joined17:14
rgr left17:15
gilesgoatboy joined17:15
shamrock left17:15
bluenovember left17:16
Dave^| joined17:16
jfkw joined17:17
jotik joined17:17
Elfe left17:19
Elfe_ joined17:19
enherit joined17:19
Kronuz pgib, I cloned a repo, then created a branch using checkout -b mybranch mycommitnumber17:20
next I made some changes and commited them using commit -am "mycomment"17:20
it all went ok, it said that x number of files where changed, etc... blah17:20
but then I did git push17:20
jotik^^ left17:20
Kronuz and it says everything is up to date17:21
!!17:21
so it didn't push anything... why? :(17:21
wereHamster Kronuz: man git-config -> push.default17:21
Gitbot Kronuz: the git-config manpage can be found at http://git.or.cz/man/git-config17:21
sitaram left17:21
slonopotamus left17:22
rom left17:23
carutsu left17:23
Kronuz wereHamster, what about it? ...do I have to add my branch to the config file?17:23
is there a command for that?17:24
blaines left17:24
radarek left17:24
urbanmonk left17:24
dharrigan left17:24
rvsjoen left17:24
rvsjoen joined17:25
tvw left17:25
codespectator joined17:27
aresnick left17:28
atula left17:29
airborn left17:29
atula joined17:30
airborn joined17:30
stamina left17:30
stamina__ left17:30
Kronuz arrg!17:31
I'm very new to git... and I want to branch and push... but I can't find out how17:32
is that tracking thing that I'm missing?17:32
xro left17:32
jim you could look at gitcasts.com17:32
stephenjudkins joined17:33
Kronuz found it17:33
git push origin mybranch17:33
jim one thing in particular, "I can't find out how"17:33
Kronuz (I was missing the mybranch)17:33
(git push origin was doing nothing)17:34
jim "can't" has a bunch of alternative definitions17:34
did you mean you chose not to? or didn't know how?17:34
d0k left17:35
jim (it has so many alternate definitions that it makes the original word so ambiguous as to be meaningless)17:35
temoto joined17:36
temoto I created svn branch with 'git svn branch foo', it created a remote tracking branch 'foo'. Exactly like that. As opposite to usual remote branches names like 'origin/foo'.17:36
Then i created local branch for it. And now `git checkout foo` complains that 'foo' is ambigous reference.17:37
How do i rename remote branch w/o breaking the whole git-svn thing?17:37
airborn left17:37
jim why not rename the local branch?17:37
temoto Would mv .git/svn/refs/{,svn-}foo be safe?17:38
adamholtadamholt_away17:38
adamholt_awayadamholt17:38
jim I don't know a lot about the internals myself, so I have no idea17:38
temoto jim, because it has "proper" name. Of course i would do it, if there's no safe way to rename remote branch.17:38
bitkiller joined17:38
bentob0x left17:39
jim the remote branch is empty right now, right?17:39
and the local as well?17:39
airborn joined17:39
FYLGood left17:39
temoto Well it has no commits that belong only to that branch.17:39
dharrigan joined17:40
dharrigan left17:40
dharrigan joined17:40
temoto But it was branched from some point in master, so in git log it has commits (shared with master).17:40
jim what would be the consequence of deleting both branches and creating them again?17:40
dreiss joined17:40
temoto Well i don't want to create svn-foo branch in svn either.17:40
pgib Kronuz, yeah, git push without a branch will just push anything that is currently tracked remote17:41
fr0sty___ joined17:41
josefrichter joined17:41
Kronuz pgib, how can I make it work? I have to add my new branch to the config file?17:41
pgib you'll find git push will complain too if you have another branch that cannot be fast-forwarded. I find that 'git push origin foo' is the best form to use regardless17:41
Kronuz (so that I don't have to specify my branch)17:41
temoto I want to rename my local alias of remote branch. To something like svn/foo is best and conforms usual remote branches naming.17:42
pgib you can do git push --set-upstream origin my_branch I think17:42
priidu left17:43
fr0sty__ left17:43
pgib and then 'git push' will work next time (assuming your other branches don't suck)17:43
urkud left17:44
rasztasd left17:44
ProLoser joined17:44
_ollie joined17:44
jim if the two branches are ambiguous, why are both needed?17:44
ProLoser halloooo17:45
TML joined17:45
ProLoser i have a post hook17:47
that doesn't appear to be working17:47
i'm using it to publish the site, ut i'm not seeing the changes17:47
dharrigan left17:47
jim so far you describe an unspecified but simple matter of programming17:48
ProLoser in post-receive it says git checkout -f17:48
it appears to be checking out the head, but it's like i have to run git reset --hard too17:48
airborn left17:48
ProLoser is there a reason that the post-receive hook is not updating the working directory files?17:48
radarek joined17:49
airborn joined17:49
Pewpewarrows joined17:49
ProLoser what would be a proper post-recieve file to use?17:50
temoto jim, execute `git branch -a` in some your repo. See, remote branches have not the same name as local ones. They are named origin/master, etc. I want the same for svn branches. And i think i accomplished it by creating dir in .git/refs/remotes and moving some files to there.17:50
philthno2 joined17:55
tlir joined17:55
khmarbaise joined17:56
srcerer joined17:58
srcerer left17:58
wuj left17:58
radarek left17:59
adam_test joined17:59
tgunr left17:59
priidu joined17:59
icwiener_ joined18:00
pdelgallego left18:00
Kronuz left18:01
hukl joined18:01
adam_test left18:02
icwiener left18:03
zain joined18:03
RORgasm left18:04
frsk left18:04
t0rc left18:05
temoto left18:06
frsk joined18:06
FYLGood joined18:06
p3rg2z joined18:07
tgunr joined18:07
p3rg2z left18:08
p3rg2z joined18:08
hukl left18:08
dharriga1 joined18:09
hukl joined18:09
hukl left18:09
hukl joined18:10
hukl left18:10
_W_ left18:10
hukl joined18:11
hukl left18:11
brntbeer joined18:11
hukl joined18:11
t3i left18:14
priidu left18:14
_W_ joined18:14
guardian left18:15
codespectator left18:16
andyburke joined18:16
ProLoser aaaaaaaaaaaaaaaaaaaaaaaaaaaaaahhhhhhhh18:17
fucking hate subbmodule some days18:17
t3i joined18:17
gilesgoatboygilesgoatboy|awa18:17
ProLoser why is this happening: http://pastebin.com/sDqgxyPS18:18
unrael left18:18
khmarbaise_ joined18:18
khmarbaise left18:19
khmarbaise_khmarbaise18:19
tlir left18:19
sukima left18:19
unrael joined18:20
gilesgoatboy|awagilesgoatboy18:20
pantsman joined18:20
hakand` joined18:21
SavoxWork joined18:21
_Vi ProLoser, May be try to go to app/plugins/cacheable and do "git fetch"?18:22
dharriga1 left18:23
tlir joined18:23
SavoxWork left18:24
Slix` joined18:24
khmarbaise left18:25
krosenvold leave18:25
krosenvold left18:25
hakunin joined18:26
brntbeer left18:26
pgib no, you leave18:27
sebersole ok18:29
sebersole left18:29
gilaniali left18:29
hakand` left18:31
darkskiez left18:32
aresnick joined18:32
darkskiez joined18:34
Q| I can create a branch from every commit in the past, retrospectively?18:34
Dave^| left18:34
priidu joined18:35
codespectator joined18:35
sukima joined18:36
parasti Q|: sure, the starting point can be anything that resolves to a commit18:36
Q| parasti, cool, thanks18:37
LauJensen joined18:37
p3rg2z left18:37
LauJensen I've made big local mistakes and want to reset the local repo to the head of origin, how do I do that ?18:38
anti-pattern joined18:38
RORgasm joined18:38
skoop joined18:38
srcerer joined18:38
tlir left18:38
Rearden left18:39
csgeek LauJensen: git reset --hard .. though you will absolutely lose anything you've done18:39
LauJensen csgeek: All my changes are pushed or in stash, so im safe right?18:39
Rearden joined18:40
wjames6 left18:40
resmo_ joined18:40
ep8 I just set up git-p4 following the directions on the Git SCM wiki. I got as far as cloning the Perforce repo, so I have an actual Git repository that reflects the Perforce repository contents. But when I run "git-p4 sync" to update the Git repo, I get this error: "fatal: 'origin' does not appear to be a git repository"18:40
Anyone have any ideas what that means?18:40
ljungk left18:40
csgeek you want to reset to remote head, or local head?18:40
LauJensen csgeek: remote18:40
csgeek oh.. just commit.. stash or whatever.. you want. Then git checkout origin/master -b WorkingVersion18:41
if you haven't pushed you stuff up yet.. then you can check out origin as many times as you want18:41
LauJensen csgeek: problem is my local has staged changed, unstaged changed, unpushed commits etc, from a rewrite that went bad. I dont want a branch, I just my HEAD to be Origins HEAD18:42
csgeek git reset --hard will reset the state to the previous checkin on your local branch18:42
ljungk joined18:42
anti-pattern how to get HEAD's SHA? i know this is a faq, but i cant seem to find it18:42
t0rc joined18:42
csgeek the line I gave you checkous the head of the origin under a new branch..18:42
drizzd git rev-parse HEAD18:42
csgeek I would commit your "bad changes" to your local branch, checkout your remote branch under a new name..and merge in what you want /don't want18:43
alberto56 joined18:43
anti-pattern drizzd: ty18:43
LauJensen csgeek: I understand the line you gave which checks out origins head to a new branch, but how do I get it into my master ?18:43
srcerer left18:44
resmo_ left18:44
csgeek LauJensen: I was saying.. see what's in your current master..and pull whatever you need into your WorkingVersion18:44
kipras joined18:44
trochala left18:45
csgeek then once you're done.. delete master, and do a checkout WorkingVersion -b master ; git push origin master:master18:45
probably will want some niceties with tracking... but general ideas18:45
gilaniali joined18:45
dfr|work joined18:45
d0ugal left18:45
dfr|work hey guys, is there something that draws pretty git trees? [For a presentation about Git]18:45
d0ugal joined18:45
josefrichter left18:46
csgeek dfr|work: giggle might (horrible name)18:46
dfr|work csgeek, lemme check out. THankies!18:46
LauJensen csgeek: git reset --hard origin/master, did the trick18:47
csgeek or gitk.. not sure what you mean by tree though.. and how pretty you want it18:47
dfr|work csgeek, basically I want to put it on a presentation slide.18:47
csgeek LauJensen: like I said.. I wasn't sure if you wanted anything saved18:47
LauJensen thanks anyway18:48
LauJensen left18:48
dfr|work csgeek, maybe I can just do it regular text-based and fiddle with colours18:48
aresnick left18:48
spearce joined18:49
spearce left18:49
rayners left18:50
spearce joined18:50
svnlto joined18:52
gilesgoatboygilesgoatboy|awa18:54
WebDragon left18:56
trochala joined18:56
rvsjoen is there a way to remove a file from version control and ignore it ?18:57
_rane git rm --cached18:57
and add it to .gitignore18:58
rvsjoen nice, thanks18:58
Pewpewarrows left18:58
phantomcircuit joined19:00
Dave^| joined19:00
josefrichter_ joined19:00
philthno2 left19:00
Dave^| left19:01
pedrobelo left19:01
Dave^| joined19:02
pedrobelo joined19:02
philthno2 joined19:03
alberto56 left19:03
alberto56 joined19:03
alberto56 left19:04
HG` left19:04
doener left19:04
programble joined19:04
HakanD left19:04
gilesgoatboy|awagilesgoatboy19:04
HakanD joined19:05
Q| If I want to track only one specific branch out of several branches in another directory on my local machine, how should I create that?19:06
ch077179 joined19:07
tatsuya_ joined19:08
HakanD left19:08
_Vi left19:08
darkskiez left19:11
trochala left19:13
Mage joined19:14
Mage left19:14
Mage joined19:14
MikhX left19:14
MikhX joined19:15
zain left19:15
MikhX left19:16
whaley joined19:16
kelvie__ joined19:16
pedrobelo left19:16
MikhX joined19:17
kelvie_ left19:17
fr0sty_ Q| clone the repository and checkout the branch?19:17
kelvie__kelvie_19:17
darkskiez joined19:18
morganick joined19:18
Rearden left19:18
alkey joined19:19
alkey left19:19
ProLoser git isn't tracking name case changes19:19
tvw joined19:20
cedwards joined19:20
cedwards I'm getting the following output when I do a push: Can't unlink already-existing object19:21
Q| fr0sty, but wouldn't that store all objects into the cloned repo, too? I'll need that to be put onto a remote location, too, so I want to be sure only files from the current branch are there (to keep disk space, network traffic and stuff low)19:21
cedwards I'm not finding much on Google. I wonder if anyone here may have a suggestion.19:21
fr0sty_ ProLoser: what is core.ignorecase set as in the repositories?19:22
marcob left19:22
ProLoser true locally19:22
i'm on windows locally, linux remotely19:22
fr0sty_ Q|: that is not possible using git...19:22
ProLoser so i need to fix the casing discrepencies and then push the changes to the server19:22
pedrobelo joined19:22
fr0sty_ Q|: your best option would be to check those out on the server and rynch what you want to the other machine.19:23
ProLoser is it gonna hurt anything to change ignorecase to false?19:23
fr0sty_ keep in mind: git is not a deployment tool.19:23
ProLoser why is it a big deal to use it as one though?19:23
fr0sty_ ProLoser: is your filesystem case-sensitive on the windows machine?19:23
ProLoser i thought windows by nature isn't case sensitive19:23
changing that config option helped me out though, thanks19:24
ibansal_ left19:24
trochala joined19:24
Torsten joined19:25
fr0sty_ no problem...19:25
g0bl1n joined19:25
fr0sty_ cedwards: where are you pushing, and with what command?19:25
ProLoser so why is it a big deal if i use it to publish?19:25
airborn left19:25
cedwards fr0sty_: I've got a private repo setup (gitosis) and I'm just using 'git push' after a commit.19:26
fr0sty_: when I look at the log/changes on remote it appears that the push was successful, but I get that output for every file in my local repo.19:27
fr0sty_ what is the actual error message?19:27
Q| Umh, fr0sty, I guess I'm either expressing myself out wrong or thinking wrong currently. I'm pretty sure git can do what I need it to, I just have to figure out how ^^19:27
fr0sty_ and what is your push= url in .git/config19:27
Q| look into git archive perhaps?19:27
Q| Well, thanks so far, going to eat something before I can continue, empty stomach doesn't help much with thinking ;)19:27
gilesgoatboygilesgoatboy|awa19:27
Q| fr0sty, I'll do so after the break, thanks so far ^^19:27
cedwards I wonder if it's specific to my (hack) post-update hook19:28
murr4y left19:28
fr0sty_ almost certainly that is the problem.19:28
cedwards looks like it. when I disable it I don't get the output.19:29
I'll see about cleaning up my hook. thanks.19:29
sgronblo sounds like he wants to export all the files from a commit?19:29
akahn joined19:30
ep8 left19:31
cedwards rather, before I continue on the wrong path with my post-update hook, maybe you can suggest the right method of doing what I'm attempting.19:32
fr0sty_ sgronblo: yeah, git archive should work for that...19:32
ep8 joined19:32
jherdman joined19:33
cedwards I'm maintaining plain text files locally that are pushed to the repo, which then need to be copied to a DocumentRoot on the webserver.19:33
adamholtadamholt_away19:34
cedwards I don't expect I need many sanity checks, as it isn't code and it's not doing anything "production".19:34
adamholt_awayadamholt19:34
darkskiez left19:34
MikhX left19:34
MikhX joined19:34
pgib cedwards, any convincing reason to not make DocumentRoot and the repo the same directory?19:34
philthno2 left19:34
pgib oh I see.. it is probably bare, huh?19:34
phantomcircuit left19:35
cedwards what I was trying was: git archive --format=tar | (cd /path/to/docroot/ && tar xf -)..19:35
that's probably ugly, but in my defense this is my first rodeo with hooks.19:35
aresnick joined19:36
fr0sty_ you can set GIT_DIR and GIT_WORK_DIR and 'git reset --hard HEAD' (presuming HEAD is what you want put in DocumentRoot)19:36
t3i left19:36
pgib cedwards, that is what the git docs seem to suggest19:36
_ollie left19:36
cedwards that hook worked the first time, but after that I get the output I mentioned above. Perhaps I'm just missing a tar option?19:36
fr0sty_ maybe permissions problems?19:37
unixtippse left19:38
cedwards could be. I guess the post-update is running as git, but the files are www:www owned.19:38
_ollie joined19:38
fr0sty_ either way if the umask is creating files without +w you will get that error.19:39
flazz left19:39
cedwards looks like the files are 0664 www:www so that may be it.19:40
insulina joined19:41
unixtippse joined19:41
insulina hello, I have made a checkout that I shouldnt have done, with gitk I can see my local changes and I want to get them back, how can I do this ?19:42
gilesgoatboy|awagilesgoatboy19:42
Dave^| left19:43
murr4y joined19:43
cedwards fr0sty_: changing ownership to git:www seems to take care of it. thank you.19:44
Nickeeh joined19:44
eletuchy left19:45
javajunky joined19:45
necromancer is there a way to clone just a directory of a repo?19:45
t0rc left19:45
javajunky lo, is there a 'noobs' channel, before I ask embarassingly simple questions in here ?19:45
necromancer javajunky: is it plugged in?19:46
g0bl1n left19:46
unixtippse left19:46
javajunky necromancer: ;) that'd be the one19:46
necromancer you can just ask it here19:46
this is the noobs channel iirc19:46
urkud joined19:47
Eridius joined19:47
unixtippse joined19:47
javajunky ok, fab :) if I've used git-svn to clone my SVN repo,…then later deleted some branches in the repo, is the *correct* way to clean up my local refs, just to do a git branch -rd <branch_name> ? .. git svn fetch doesn't appear to 'magic this up' (I kinda understand why, but I know its going to start annoying my team as a growing collection of feature branches occur in their local ref list)19:48
priidu left19:48
neilthereildeil joined19:48
berkes joined19:48
tatsuya_ left19:48
neilthereildeil hey im trying to apply to aufs patch to the 2.6.35 kernel19:48
v0n joined19:49
necromancer javajunky: where did you delete the branches, the svn repo or the git repo?19:50
javajunky left19:50
airborn joined19:50
insulina it says "local uncomited changes, not checked in to index" , how can I put this changes back since I made a checkout to the folder ?19:51
kevinfish joined19:51
phantomcircuit joined19:52
fr0sty_ insulina: just 'git checkout <where you want to be>'19:52
javajunky joined19:52
javajunky necromancer: ugghh really bad moment to lose my connection :( , sorry. I've deleted the branch from the svn repo19:53
johnw joined19:53
kevinfish Hi everyone. I'm wanting to develop my own linux distro based on another one. I'd like to use git for all the config files, etc... What is the best way to set this up. For instance, when you clone a repository it creates a subdir, but I'm thinking I want to have the .git dir right off of '/'. Should I go ahead and let it create a subdir then change that to be a symlink to /?19:53
BTW, I'm pretty new to git (if u cudn't tell)19:53
neilthereildeil ive already checked out the aufs tree19:54
its in a folder19:54
now i have another folder which is the 2.6.35 kernel tree19:54
how can i apply the aufs tree to the kernel tree?19:54
_UnodeUnode19:54
Unode for the gitosis admins, can we have multiple pub keys per user.pub file ?19:55
insulina fr0sty_: but I want to be in the uncomited changes, how do I checkout that ?19:55
fr0sty_ insulina: refresh gitk19:55
neilthereildeil i basically need to merge 2 trees19:55
justin-george left19:55
fr0sty_ neilthereildeil: is the aufs tree in git too?19:56
naimon joined19:57
necromancer javajunky: haha it happens. are there additional changes made within the git repo that you don't want erased?19:57
ep8 left19:57
gilesgoatboygilesgoatboy|awa19:58
neilthereildeil fr0sty: i have a .git folder under the aufs folder....19:58
necromancer if not, the easiest method would be to just re-init the git repo and clone it from the current svn repo19:58
javajunky necromancer: none that wouldn't have local references ultimately pointing at them19:58
fr0sty_ where did you clone aufs?19:58
err, from where did you clone aufs?19:58
javajunky necromancer: ughh 20k+ revisions ;)19:58
jim How can I get similar functionality to github on my web server?19:59
necromancer javajunky: wow! no wonder you moved to git haha19:59
javajunky necromancer: well… am transitioning the team… hence git-svn ;)19:59
necromancer so you're making a full transition to git from svn, so eventually all the coders are going to be using JUST git?20:00
sonnym left20:00
gilesgoatboy|awagilesgoatboy20:00
priidu joined20:00
cedwards left20:01
wereHamster jim: what do you need?20:01
javajunky necromancer: not for several months though (product dev, at least 2-3 active mainlines (*sob*) and heavy usage of svn:externals.. so I've 'sterlised' the trunk so all future branch will be 'git happy'20:01
artefon left20:01
jim accounts, repositories, pull requests, ssh keys,20:02
necromancer if so, i think your method of git branch -rd would be the best20:02
just basically keeping them both in sync (structure-wise) manually20:02
wereHamster jim: gitorious.org20:02
necromancer git-svn is really designed for someone to just move to git and be done with svn20:02
wereHamster jim: or buy github.fi20:02
insulina fr0sty_: I also have another one that says "Local changes checked in to the index but not commited", I want to at least go to here, how I do that ?20:02
javajunky I think I'm going to have to get a bit more buy in yet ;) but fingers crossed!20:03
necromancer wereHamster: does gitorious also track commits?20:03
jim what technology is gitorious based on?20:03
Unode ruby20:03
fr0sty_ insulina: the index is always where you are now.20:03
goshawk left20:03
Unode jim, just like github20:03
srcerer joined20:03
wereHamster necromancer: what do you mean by track commits?20:03
sonnym joined20:04
ep8 joined20:04
fr0sty_ and local, uncommitted changes are always in your working directory.20:04
javajunky necromancer: cheers for the help :)20:04
drako joined20:04
drako left20:04
drako joined20:04
fr0sty_ you don't need to 'go' anywhere to get to them.20:04
jim so it's a lamp stack?20:04
wereHamster jim: no, there is no ruby in lamp20:04
fr0sty_ insulina: what 'git checkout' command did you do that got your into trouble?20:04
wereHamster jim: gitorious is a rails project20:04
ruby on rails, google it if you don't know what it is20:05
jim oh, and so is github?20:05
insulina I just made git checkout folder/20:05
jowls joined20:05
wereHamster jim: yes, github also uses ruby on rails (but also other technologies, like nodejs and others)20:05
insulina fr0sty_: I just made git checkout folder/20:05
jim what does it use to store say account data?20:06
fr0sty_ that was the command: 'git checkout folder/' ? with the slash?20:06
jim gitorius not github20:06
GTAXL left20:07
insulina fr0sty_: sorry nevermind I was confused... I made a mistake I loocking at the wrong file ... realy sorry20:07
fr0sty_ no problem20:07
nakkor left20:08
kipras left20:08
insulina tx anyway20:08
insulina left20:08
jim howbout, how would I have a very simple single repo that I would push to, that uses git protocol20:09
does git itself contain the code for the daemon that does that?20:10
dcsobralWork left20:10
fr0sty_ jim: what kind of authentication?20:10
wereHamster jim: whatever you configure it to20:10
joe85 left20:10
jim howbout ssh20:10
jotik^^ joined20:10
Radar joined20:11
wereHamster was answering to the earlier questeion 'what does it use to store say account data?'20:11
jim oh I see, thanks20:11
Ryback_ left20:11
wereHamster jim: to host a git repo you don't need gitorious nor any server side software except git20:11
install git and ssh on the server and you are set20:12
fr0sty_ jim: you need a repository in a read+write directory and git installed on the machine20:12
jim about gitorious, does it use a db like pg or mysql?20:12
xiong joined20:12
jim wereHamster, ok20:12
pgib probably for access lists20:12
wereHamster jim: http://gitorious.org/gitorious/mainline/blobs/master/config/database.sample.yml20:12
jotik left20:13
wereHamster jim: ask google to see which databases activerecord supports20:13
airborn left20:14
jim oh, it's activerecord20:14
airborn joined20:14
wereHamster activerecord = rails' ORM20:15
aspotashev joined20:15
wereHamster how surprising that gitorious uses activerecord.. since it's a rails app20:15
please don't tell me that you know activerecord and not rails..20:16
curtana left20:16
jim I tried rails like once or twice, never got beyond helloworld20:16
alberto56 joined20:16
johnw left20:16
jim at one point activerecord became visible to me, but I didn't pursue it20:16
sircodealot joined20:17
sircodealot left20:18
morganick left20:18
jim in a very large sense, I don't know either of them, I created a rails button or form or something, something overly simple so I could see a little of what rails was about20:18
alberto56 left20:19
necromancer jim: why do you want gitorious? github does everything that gitorious does and more20:22
sukima left20:22
necromancer rails is pretty interesting. it's really cool because you can develop web apps with the mindset that you're developing a "real" app20:23
parasti left20:23
zombor hah20:23
bitkiller left20:23
DarkUranium joined20:23
zombor all the code i write is fake :(20:24
DarkUranium hi20:24
necromancer haha20:24
DarkUranium ?20:24
necromancer not if you're making a web site20:24
pgib "Rails: It makes development so simple!"20:24
necromancer you can't make a native site20:24
pgib yeah.. if you are making a guestbook20:24
necromancer it's not supposed to make development simple, it's supposed to make development fun20:24
nicoulaj_ joined20:24
zombor lol20:24
Q| Making it simple is actually what makes it fun20:25
Not the other way round20:25
jim wouldn't it be more fun if it were simple?20:25
necromancer Q|: the two aren't mutually exclusive20:25
pgib I have more fun struggling through things and learning20:25
necromancer sinatra is simple. sinatra is not "fun".20:25
pgib instead of "Wow, that was automagical. I wonder what the hell is going on for real"20:25
jim sinatra is dead...20:25
urkud left20:25
zombor if you like writing ruby i can be20:25
jim he's no fun at all20:25
zombor it*20:26
necromancer pgib: it depends on what you want to do20:26
pgib yes20:26
necromancer pgib: if you think learning how to implement something in a certain language is fun, then it's definitely not for you20:26
wereHamster rails vs. something else is like emacs vs. vim. Everybody has their favourite and there's no point in discussing your choices20:27
necromancer but if you like learning about different workflows and methods of creating an app, then i think it's really great20:27
because you spend less time learning "the language" and its idiosyncracies, and more time to innovate in terms of HOW the app is designed20:27
drako left20:27
necromancer less technicality, more creativity20:28
drako joined20:28
necromancer wereHamster: there's a point when someone doesn't understand it. i'm not trying to get anyone to use rails, but i think there are a lot of misconceptions about what it does, what it's for, and how it's meant to be used20:28
urbanmonk joined20:28
gilesgoatboygilesgoatboy|awa20:28
naimon left20:29
Q| Even my mum could understand those three points if I explain them to her, and that's what you get in almost every doc about it. Don't know how someone can either not understand it at all or even misunderstand it.20:29
The big picture should be clear pretty fast I guess20:30
Details are another thing20:30
another -> a different20:30
necromancer well "the big picture" is irrelevant here, in many ways. all of the frameworks do basically the same things (or have the same ratio of things they do/things they don't do)20:32
it's how they go about doing those things that are of significance20:32
choosing a framework is hard because it's like choosing a frame before you make the painting...20:32
like twitter, they didn't know it was going to get this big. that's why they made the app in rails originally. then, they had to backpedal with making 3rd-party software to handle the bandwidth load20:33
after it got too big to handle20:33
the best option is the facebook route: create the entire thing from scratch!20:34
:)20:34
drubies joined20:34
Q| No, frameworks are like libraries - they abstract in the first place, no more, no less. And how they do it differs, right, but that's what I was talking about -> the big picture != abstracting but "how is abstraction done"20:34
ISF_ec09 joined20:35
bauruine joined20:35
DarkUranium lol20:35
git just made me cry tears of joy \o/20:35
(no seriously)20:35
>_,20:35
>_<*20:35
aspotashev left20:35
necromancer git makes me laugh every day at work, because we use svn20:35
yairgo joined20:35
DarkUranium lol20:35
Q| Share it with us20:35
DarkUranium Q|: nah, just a huge merge with 0 conflicts >_<20:36
well, huge by my standards20:36
Q| ^^20:36
necromancer and i'm just like "if only these graphic designers i work with actually wanted to read a little into git..."20:36
DarkUranium SVN would barf all over the place =P20:36
(I recently migrated SVN -> Git)20:36
flazz joined20:36
nineteeneightd left20:36
Q| I migrated today from file system -> git20:36
Unode anyone experienced with gitosis? I'm trying to figure out if gitosis accepts multiple public keys per user.pub file20:36
Q| I think it's a good choice20:36
jim necromancer: make them watch gitcasts20:37
wereHamster Unode: I don't think so, one user = one key20:37
necromancer Unode: nah you need to make a different key for each user@computer.20:37
so necromancer@laptop and necromancer@server need to be 2 different keys20:37
Unode necromancer, not every user@computer, just per user20:37
DarkUranium Q|: depends for what I guess ^^20:37
necromancer key files*20:37
Unode unless you need 2 keys for some reason20:38
Q| DarkUranium, for versioning of course ;)20:38
DarkUranium Q|: why would anyone ever use Git for versioning is beyond me20:38
=P20:38
spearce` joined20:39
justin-george joined20:39
necromancer Unode: if i wanna work when i'm on a computer at the job, i have to make another key so i'll be allowed access20:39
DarkUranium and necromancer20:39
regarding SVN20:39
necromancer because necromancer@work-computer is a different user than necromancer@laptop, regardless of the username20:39
Unode necromancer, you could simply copy your private key there :)20:39
DarkUranium be glad you don't use CVS20:39
Unode necromancer, actually not20:39
necromancer DarkUranium: i used to, just to download & compile open source projects20:39
Unode: i tried copying my key over, but it didn't work20:39
DarkUranium necromancer, I mean, *USE*20:39
necromancer, I mean, at work20:39
necromancer oh yeah20:39
fuck that shit haha20:40
DarkUranium shivers20:40
Unode necromancer, can't see why, I have 8 machines in which I have the same private key and they all work20:40
necromancer that's why i'm a big fan of git, because it's NOT cvs at all. svn is a little cvs.20:40
skoop left20:40
necromancer Unode: maybe, i dunno i just generated them on each computer i wanted to have access to my gitosis20:40
Unode: i know that's the way it works with *NIX but i'm saying that gitosis doesn't understand that, afaik20:41
DarkUranium necromancer, to quote Linus: "The slogan of Subversion for a while was "CVS done right", or something like that, and if you start with that kind of slogan, there's nowhere you can go. There is no way to do CVS right."20:41
necromancer haha yeah20:41
Unode necromancer, I think you are confusing things now20:41
urbanmonk left20:41
DarkUranium necromancer, http://en.wikipedia.org/wiki/Git_%28software%2920:41
necromancer Unode: i may be. :) i just followed the tutorial and was done with it, because i needed to get back to work on code :)20:41
DarkUranium clears his throat20:42
DarkUranium onto merging 2 other branches20:42
spearce left20:42
spearce`spearce20:42
Unode gitosis simply links the name of the file with the gitosis.conf content, regardless of where you are working20:42
DarkUranium puts on a hard hat and grabs a hammer (when it don't work, use a bigger hammer)20:42
Unode offers bigger nails20:43
DarkUranium lol20:43
nineteeneightd joined20:43
necromancer DarkUranium: he also said one time that git was basically a file system...with tabs on how the files inside have changed20:43
the way it's made is so damn simple20:44
DarkUranium ^^20:44
stephenjudkins left20:44
Unode it's actually a spreadsheet where each column is a different point in history on a per file basis20:44
which is why folders aren't tracked20:44
DarkUranium I like Linus because he isn't afraid of expressing his opinion (about SVN, CVS, Gnome -- he had harsh words for all of these)20:44
Unode but don't try to use excel or openoffice to open these spreadsheet files20:44
Zeelot left20:46
zombor left20:46
Zeelot joined20:46
DarkUranium is a happy camper because his univ requires the students to use OO.org as opposed to MS Office20:46
airborn left20:46
DarkUranium AND because Git works so well20:46
AND because they promote GCC (as opposed to you-know-what)20:47
airborn joined20:47
DarkUranium AND because they promote Linux (they recommend it for dev work)20:47
\o/20:47
but I digress.20:47
back to work.20:47
krosenvold joined20:48
archis joined20:48
spearce left20:48
spearce joined20:48
evelyette joined20:49
rgm joined20:50
alberto56 joined20:51
ProLoser i put a post-receive hook "git checkout -f" however this doesn't delete files in the working directory, why is this?20:52
_rane git checkout -f doesn't do anything by itself20:53
it needs a file argument20:53
archis left20:53
ProLoser i thought it checks out head20:53
alberto56 left20:54
_rane I think you want git reset --hard20:54
ProLoser that doesn't delete files either20:54
_rane git clean -f20:54
urkud joined20:54
ProLoser seems strange to run checkout, reset and clean20:55
remi left20:55
_rane maybe if you explained what you want, sigh20:55
rasztasd joined20:55
Zeelot3k joined20:55
_rane you want to delete all files in your repo? do rm -rf *20:55
metoikos joined20:55
ProLoser no, i want to publish to web using hooks20:55
_rane you want to delete untracked files in your repo? do git clean -f20:55
remi joined20:55
rasztasd hi how can i make a new branch in git with a null parent commit20:55
Zeelot left20:55
wereHamster rasztasd: --orphan20:56
rasztasd ty20:56
p3rg2z joined20:56
pigdude left20:57
Unode wereHamster, thanks20:57
jherdman left20:57
ijuma_ joined20:59
Schmallon joined20:59
cannonball left21:00
jaql left21:01
fod left21:01
mabrand left21:02
linusoleander joined21:02
metoikos left21:02
johnw joined21:02
DarkUranium wereHamster: I didn't know you could do that =O21:02
s/O/D/ actually =P21:03
ph^ joined21:03
gilesgoatboy|awagilesgoatboy21:03
sfalcon joined21:03
gilesgoatboy left21:03
sfalcon I just created a light-weight tag with the same name as a branch and pushed to a remote repo21:04
I want to delete the branch with the same name and keep the tag.21:04
remi left21:04
Zeelot3k left21:04
Zeelot joined21:04
remi joined21:04
remi left21:04
remi joined21:04
fr0sty_ push <remote> :refs/heads/<name>21:04
IslandUsurper left21:05
joel_falcou left21:05
wereHamster DarkUranium: you could always do that with the low level commands, the orphan switch juust makes it easier21:05
sfalcon fr0sty: exactly! Thanks much :-)21:05
DarkUranium wereHamster: can Git make my breakfast as well?21:06
copelco left21:06
jotik joined21:08
necromancer left21:10
metellius left21:10
gilaniali left21:10
bitkiller joined21:10
jotik^^ left21:12
Mage left21:13
pgib left21:13
esc anyone know what happens if i do 'git init' in an existing repo21:14
wereHamster nothing21:15
fr0sty_ esc: try it and find out...21:15
esc i get the messag: 'Reinitialized existing Git repository' but what does this mean?21:15
ajpiano left21:15
esc but its git 1.5.something21:15
wereHamster it means nothing21:15
esc wereHamster: ok, thanks21:15
xiong left21:16
flazz left21:18
guardian joined21:19
nicoulaj_ left21:20
nicoulaj joined21:20
priidu left21:20
urkud left21:21
sonnym left21:21
eletuchy joined21:23
alberto56 joined21:24
scarabx joined21:25
priidu joined21:25
cognominal left21:25
cognominal joined21:26
_Vi joined21:27
tizbac left21:29
RORgasm left21:29
rasztasd is it possible to have two branches checked out, one of them is orphan branch21:29
how can i do that?21:29
priidu left21:30
orafu rasztasd: two branches at the same time: no21:30
rasztasd: define orphaned21:30
rasztasd: unless you go to a different working directory21:30
priidu joined21:31
rasztasd two branches with no common ancestor21:32
wereHamster one git repo = one branch checked out21:32
rasztasd how can i handle for example eclipse settings files21:32
wereHamster what about them?21:32
rasztasd they can change anytime but they don't belong to a source file21:32
orafu so?21:33
wereHamster then ignore them21:33
rasztasd i thought orphan branches can help with this21:33
wereHamster no21:33
rasztasd ok21:33
alberto56 left21:35
ive joined21:35
ive left21:36
thiago_home left21:36
bhosie joined21:36
orafu if you want to put an IDE settings file that is in your work tree under version control, you could try to soft-link it from a different git repository21:37
Radar left21:37
DarkUranium rasztasd: .gitignore21:39
gilaniali joined21:42
boombatower_ joined21:42
boombatower_ left21:42
boombatower_ joined21:42
orafu rasztasd: I have never tried this, and it sounds like overkill, but somehow it would be interesting to try using git submodules to do this ;)21:43
PutrPutr|Away21:44
bhosie left21:44
boombatower left21:44
awilkins just ignores eclipse files and uses Maven / M2Eclipse to regenerate them21:45
pedrobelo left21:45
phantomcircuit_ joined21:45
pedrobelo joined21:45
ShooterMG could someone answer this little question.....i'm on branch Master, i've done some work and haven't committed yet....would it be possible for me to commit these changes on a brand new branch that has not been created yet?21:47
cbreak yes21:47
phantomcircuit_ left21:47
cbreak git checkout -b newname21:47
phantomcircuit left21:47
cbreak then commit21:47
phantomcircuit joined21:48
cbreak (after adding)21:48
ShooterMG so it would be checkout -b newname, add, commit?21:48
or should it be add, checkout, commit21:48
cbreak your choice...21:48
guardian left21:48
ShooterMG k thanks :)21:48
ki__ left21:49
mchinen joined21:49
mchinen how can I do a 'git pull' and keep my local commits at HEAD?21:50
wereHamster mchinen: your question doens't make sense21:50
f00li5h left21:50
bhosie joined21:52
jowls left21:52
mchinen wereHamster: maybe i'm saying it wrong. I have made local (unpushed) commits A, B, C and want to pull a large number of remote commits with git pull. I want A, B, and C to be at the top of the log (with C at HEAD)21:52
wereHamster mchinen: git pull --rebase maybe?21:52
mchinen I can do this by rebasing after the pull, but its hard when I have a lot of remote changes to pull21:52
leavittx_ joined21:53
cbreak rebase will destroy A, B and C21:53
it will rewrite history21:53
wereHamster he want's them 'at the top of the log'..21:53
cbreak and create A', B' and C'21:53
I'd say: just do a fetch instead of a pull21:53
bhosie_ joined21:53
cbreak that won't change HEAD :)21:53
bitkiller left21:54
irc2samus left21:54
mchinen cbreak: I haven't looked into that yet, will do now21:54
mcdebugger left21:54
martineo left21:54
virus_found joined21:56
bhosie left21:56
hendry left21:57
DarkUranium left21:57
mchinen wereHamster: can you help me rephrase my question so I can learn correct git terminology?21:57
virus_found Hello. I need some help with "git clone --depth 1", so called shallow clone. I'd still like to do some "pulls" or "fetches" against it, is it possible with some flags? man says, fetch is not applicable to a shallow clone.21:57
bhosie joined21:57
Eridius virus_found: you misread21:58
you cannot fetch _from_ a shallow clone21:58
you can certainly fetch from a remote repo into a shallow clone21:58
basically, you can move commits into your repo, but you cannot move them out except as patches21:58
bhosie_ left21:58
virus_found So that it doesn't fetch old revisions, yes?21:59
Eridius right21:59
bhosie_ joined21:59
Eridius if you `git pull` inside a shallow cloen it should do exactly what you expect21:59
virus_found Eridius: no flags needed? Hm, thanks a lot!21:59
Wondrous.21:59
Eridius note that I don't use shallow clones myself, but this is what I understand21:59
virus_found I've never used either.21:59
neilthereildeil left22:00
Tuller_ joined22:00
yairgo left22:00
Tuller_ left22:00
yairgo joined22:00
jrmuizel left22:00
makubi left22:01
virus_found git is such a wonderful piece of software.22:02
makubi joined22:02
bhosie left22:02
adymitruk joined22:03
coderdad left22:03
bhosie_ left22:03
sivy left22:04
ch077179 left22:05
rgm left22:06
tty1 left22:07
stephenjudkins joined22:08
jstemmer left22:09
tty1 joined22:10
rasztasd i think git submodules can only store files in separate folders is it right?22:10
Eridius assuming I understand you correctly, then yes. A submodule must be contained within a folder22:10
leavittx_ left22:11
MikhX_ joined22:11
bhosie joined22:12
linusoleander left22:12
alberto56 joined22:12
Tuller joined22:13
nicoulaj left22:13
drizzd_ joined22:14
psoo left22:14
dharrigan joined22:15
pantsman left22:15
MikhX left22:15
MikhX_MikhX22:15
nicoulaj joined22:16
bhosie_ joined22:16
bhosie left22:16
alberto56 left22:17
hukl left22:17
javajunky left22:17
drizzd left22:17
stephenjudkins left22:18
novas0x2a left22:18
nicoulaj left22:19
bhosie joined22:20
MikhX left22:20
MikhX joined22:20
bhosie_ left22:21
dharrigan left22:21
Unode_Unode22:22
__name__ left22:22
ReleaseX joined22:22
berkes left22:23
stephenjudkins joined22:23
jargan joined22:23
_Vi left22:23
bhosie_ joined22:24
bhosie left22:24
bhosie_bhosie22:24
bhosie left22:25
dl9pf joined22:25
dl9pf left22:25
dl9pf joined22:25
jotik^^ joined22:25
_Vi joined22:25
jast left22:27
Radar joined22:27
Gitbot left22:27
jotik left22:27
dl9pf_ left22:27
TML left22:27
weinzier joined22:27
intripoon left22:27
TML joined22:27
pasky_pasky22:28
virus_found left22:28
tty1 left22:30
stamina joined22:30
kpreid left22:31
tty1 joined22:31
TeckniX left22:31
Anti-XAnti-Zzz22:31
muffinpeddler joined22:33
tty1 left22:33
kpreid joined22:34
sonnym joined22:34
Tuller left22:34
tty1 joined22:34
MikhX left22:35
MikhX_ joined22:35
opalka left22:35
atula left22:35
Schmallon left22:36
tty1 left22:37
Promit left22:37
dharrigan joined22:37
pgib joined22:38
spearce left22:38
pobega joined22:38
pobega If I cloned a repository and I'm in the directory, will a 'git checkout' alone update me to the newest version?22:38
I know it's a newbish question but I'm just wondering that22:39
pgib Can anyone tell me why git-stash is the only command (that I've noticed) which doesn't use a hypenated letter for subcommands?22:39
atpa8a hmm22:39
pgib git stash list, git stash pop...22:39
just seems odd to me, and I always try -l or --list first22:40
boombatower_boombatower22:40
pgib hmm I guess git-remote too22:40
johnw left22:41
tty1 joined22:41
weinzier left22:41
atpa8a hmm22:41
how can i exclude a repo from showing up in git-web?..22:42
pobega left22:42
kevinfish Hi everyone. I'm wanting to develop my own linux distro based on another one. I'd like to use git for all the config files, etc... What is the best way to set this up. For instance, when you clone a repository it creates a subdir, but I'm thinking I want to have the .git dir right off of '/'. Should I go ahead and let it create a subdir then change that to be a symlink to /? BTW, I'm pretty new to git (if u cudn't tell)22:42
rasztasd kevinfish it would be tough22:44
frogonwheels joined22:48
dstol joined22:49
pgib yeah..22:49
I could understand a git repo that held all of your patches for packages etc...22:49
dharrigan left22:49
zain joined22:49
dstol hey maybe you guys can answer this, there is some debate around the office about it22:49
is git checkout -b eop-1000; git push origin eop-100022:49
Torsten left22:49
pgib but you'll have constantly merging from hundreds of upstreams if you tried to put the whole thin in a repo (IMHO)22:49
dstol the same as git push origin origin:refs/heads/eop-1000; git checkout —track -b eop-1000 origin/eop-100022:50
ajpiano joined22:50
zain left22:50
p3rg2z left22:50
dstol other then the order in which things are done?22:50
Veejay joined22:50
zain joined22:51
pgib I guess the first one wouldn't set the upstream of your branch - right?22:51
ph^ left22:51
pgib and I think the -track in git co does that22:51
I could be wrong..22:51
Veejay I have a question: what comman should I use to do: "create the patch that will bring file FILE to the state it was at commit COMMIT"22:51
boombatower left22:51
pgib I'd think git push --set-upstream origin eop-1000 would be closer22:51
Veejay I tried using git diff COMMIT_NUM file but it gives me a negative diff if you know what I mean22:52
pgib but I'm part-noob and part-ignorant22:52
rasztasd left22:52
bdiu joined22:52
opalka joined22:52
picasso hey folks22:52
Veejay I then tried to switch the file name and the commit number but it is not a recognized syntax22:52
dstol thanks pgib that's helpful22:53
novas0x2a joined22:53
bdiu if I want to have a development branch that always has some differences in a config file that doesn't get merged back into master, how would I accomplish it?22:53
Veejay Got it22:53
picasso i'm in the process of researching dvcs tools to migrate a moderate sized development team to, coming from subversion22:53
tty1 left22:53
Veejay git diff commit1..commit2 file does the job perfectly22:53
madewokherd joined22:54
picasso the largest pain point right now is the process of picking changesets to merge from trunk to a particular release/deployment branch22:54
Ilari picasso: In git, merges are all-or-none...22:54
picasso and having only used git in a 1 or 2 developer project before, i'm a little curious how it handles a larger team (10-15 developers)22:54
Veejay And my apologies for the logorrhea22:54
tty1 joined22:55
icwiener_ left22:55
jim logorrhea_10(100) == 2?22:55
picasso Ilari: meaning you'd always have a branch when you are addressing a particular bug or feature?22:55
dstol left22:55
Ilari picasso: Bugfixes and fetures should be put to their own branches.22:56
tty1 left22:56
brettgoulder joined22:56
picasso ok. could/should those branches then be stored on our shared "central" server then?22:56
tango_ yes22:57
picasso: but only if you want to22:57
warbee left22:57
picasso the developer would have the option to work locally for smaller things, probably?22:57
tango_ yes22:57
and then merge that work into whatever branches need it22:57
hyperair left22:58
yairgo left22:58
zombor joined22:58
elg left22:59
yairgo joined22:59
picasso if a developer accidentally commits a bugfix or a feature to their master, instead of a branch, how do you recover from that?22:59
bitkiller joined23:00
FauxFaux git revert generates backwards commits, like in any other vcs.23:00
zombor "like any other"? you must never have used svn ;)23:01
FauxFaux http://book.git-scm.com/4_undoing_in_git_-_reset,_checkout_and_revert.html is pretty much exactly what I'd say.23:01
jim "git revert" works in any other vcs?!23:01
FauxFaux zombor: Last time I used svn revert it reverted all but one line of a file, and I have no idea why. /o\23:01
zombor because svn is crap23:01
Devastator left23:02
elg joined23:02
Veejay It has its uses23:02
devas- joined23:02
FauxFaux It's a good thing to get to for migrating away from.23:02
zombor yeah, to waste time converting people to a better system ;)23:02
Veejay 99.99% of it being: Making git look good23:02
ep8 left23:02
Veejay To give credit to svn though23:03
Since it's older23:03
It has one advantage in my eyes: it is less elitist and easier to learn23:03
FauxFaux I'd rather use svn than bzr or mercurial, based on my experiences, tbh.23:03
zombor bzr and hg are miles better23:03
FauxFaux Or perforce. Oh god, work, why. WHYYYYYYYYYYYYYYYYYYYYYYYYYYYYY23:03
WHYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY23:03
jim I see, we're flexing our advocacy muscles... gaining new preaching skills that are only applicable to our choir...23:04
elg left23:04
ajpiano left23:04
jim got it :)23:04
thedeeno joined23:04
slainer68 left23:05
dharrigan joined23:06
mdel_ joined23:06
jim if I wanted that, I'd watch an infomercial23:06
EvanR left23:07
ajpiano joined23:08
ehabkost left23:10
scarabx left23:10
_ollie left23:10
novas0x2a left23:11
bdiu left23:13
d0ugal left23:13
awilkins left23:14
Radar left23:15
_ollie joined23:15
priidu left23:15
priidu joined23:15
chrischambers left23:16
dharrigan left23:16
akahn left23:16
linusoleander joined23:17
jotik joined23:17
novas0x2a joined23:18
noyb joined23:18
airborn left23:18
Chillance joined23:18
jotik^^ left23:19
kanru joined23:19
brian_g left23:22
dharrigan joined23:22
zain left23:23
Tuller joined23:24
Q| Hot to undo git add somefile.xxx? git rm somefile.xxx?23:26
jim with --cached, yes23:27
check out man git on that for the gorey details23:27
Q| kk jim, thanks23:27
jim build your tolerance to man pages by reconstructing solutions you already know23:28
mchinen_ joined23:28
felipe joined23:29
jim check git status alot23:29
just like the guy shows you at gitcasts.com23:29
Q| Yeah, that's what I'm almost always doing, since it's my first day with git (or source control in general) ;)23:30
dharrigan left23:30
mchinen left23:30
mchinen_mchinen23:30
jim oh wow23:30
ok, what made you choose git23:30
epicserve joined23:31
jim are you in a group dealing with some program with git? or what?23:31
friskd joined23:32
pgib buzz word23:32
epicserve When I do a git svn rebase I get the error, "warning: refname 'profiles' is ambiguous."23:32
pgib we like to play that game at work alot23:32
jim "choosey muthas choose git"23:32
trochala left23:33
epicserve I have a local branch which is profiles and I have a svn branch profiles and I want the local profiles to be linked with the remote profiles23:33
dreiss left23:33
Q| jim, two things: 1st, I'm convinced that Linus is a smart guy, and if he makes something chances are it's good, especially if he decided that alternatives sucked. 2nd, when I did some research and discovered git months ago and read the stuff about decentralized I was like "What - that's not usual? How stupid is that?"23:34
ProLoser left23:34
Radar joined23:34
pgib I can see the commercial now. Some mom standing at the kitchen counter, hacking on the computer at 200wpm23:34
linusoleander left23:35
epicserve I'm not sure if this helps, http://pastie.textmate.org/1222216 it's the output of the git show-ref command23:35
jim he is smart, and a totally big-time smart ass... arrogant, with strongly assholish traits23:35
pgib yeah, he is known to be very hard to work with23:35
just like the git CLI23:35
MikhX joined23:36
MikhX_ left23:36
dharrigan joined23:36
Q| jim, yeah, but there're people that are right most of the time and those who are not, and assholes are amongst both groups, whereas the latter one actually is not in position to be an asshole as opposed to the first group, so I'm fine with that23:37
LiamH left23:38
Q| stupid and ugly, I tell ya23:38
pedrobelo left23:38
pedrobelo joined23:39
jim so essentially you came to git as a result of seeing someone who mostly makes good decisions, and finding out how it's distributed as you expected anything like this to be23:41
(especially when you consider open source dev)23:41
Q| Exactly23:41
jim what do you want to apply it to?23:41
Q| Basically to everything I develop, which currently is some web design stuff and Magento development (eCommerce cart)23:43
jim what's the card run on?23:43
dharrigan left23:43
Q| http://www.magentocommerce.com/ - an OS PHP app23:44
parasti joined23:45
MikhX left23:45
jim mysql?23:45
MikhX joined23:45
Q| Yep23:45
trochala joined23:45
noktoborus left23:46
jim is anything you're doing already on a vcs?23:49
Q| They have a SVN repo on their site if that's what you mean, but besides them making their code open source, there's not much "open" with it like you'd expect it for such a licenced software23:50
MikhX_ joined23:51
jim so it's a restrictive license, no alter/redist?23:51
eletuchy left23:51
Q| I imported a tarballed archive into my base repo, thus I'm currently independet from them.23:51
noktoborus joined23:52
beatak left23:52
Q| No, the license itself is allright, it's just that they don't do open development. There's no place to submit a patch and stuff, and you can't write to the repo as far as I know23:52
jim there's supposed to be a way of having a git repo and a reference within it to a svn branch23:53
Q| So, you're pretty much dependent on updates from them or on stuff scattered throughout the net23:53
jim two that I've seen today had the same weird problem with it23:53
MikhX left23:53
MikhX_MikhX23:53
jkp left23:53
JohnFlux left23:53
Q| Yeah, I'm currently pretty short on time, since I'm in the middle of starting up my freelance business and I have tons of non-technical stuff to do as well as ongoing projects, so I'm somewhat cut on the technical stuff for now.23:55
zombor left23:55
ymasory joined23:55
Q| e.g. there's some cool guys with much Magento experience and repos on github which I could hook into, but as I said, I'll have to check this in a few weeks, or maybe even next year.23:55
jim so they've essentially forked it?23:56
kingfishr_ joined23:56
Radar left23:57
Q| The "community" around it is somewhat slow. It's over 2 years open sourced and everybody complains about not being able to submit stuff so that fixes get applied faster, but on the other hand nobody hosts a public fork and so on23:57
Yeah, but it's kinda unofficial yet23:57
Yuuhi left23:58
MikhX left23:58
Heimidal left23:58
kenichi left23:58
MikhX joined23:59
kingfishr_ Question: I have a branch of master ("foo") to which I've made commits. Intermingled with those commits, I've also occasionally merged master into foo. How can I get a list of commits in foo that were not brought in by merging master?23:59

Logs Search ←Prev date Next date→ Channels Documentation