IRCloggy #git 2012-08-22

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.

2012-08-22

FreeNote joined00:00
lustucru left00:00
breck left00:00
LucasTizma joined00:01
imachuchu left00:02
spyro left00:02
ilteris_ joined00:02
pfFreddd left00:03
opus left00:04
dwmw2_gone left00:05
rehat left00:06
rehat joined00:07
dwmw2_gone joined00:07
Arokh left00:09
boombatower joined00:09
cpgcpg|away00:10
Anubisss_ left00:10
Anubisss joined00:11
nwest joined00:11
andrewhl joined00:12
SaCu bigmeow, then wait until you figured out - after being used to the concepts of DVCS and git - how much pain it involves to go _back_ to svn :)00:12
alexukf left00:13
iocor left00:15
shiyuan left00:15
dwmw2_gone left00:15
spyro joined00:16
iocor joined00:16
msmithng left00:16
msmithng joined00:16
robbyoconnor left00:17
cthuluh joined00:17
dwmw2_gone joined00:17
kenperkins left00:18
g0bl1n left00:19
Davey joined00:19
Synthead left00:20
msmithng left00:20
msmithng joined00:20
bitmonk_ joined00:21
Arokh joined00:22
Bosox20051 joined00:23
ninegrid joined00:23
andrewhl left00:24
bitmonk left00:24
dwmw2_gone left00:25
Bosox20051 left00:25
dwmw2_gone joined00:25
jpmelos joined00:25
jpmelos left00:25
robbyoconnor joined00:25
The24zThe24z_away00:26
jpmelos joined00:26
bitmonk_ left00:26
lustucru joined00:26
Arokh left00:27
skyf joined00:28
hak42 left00:28
bigmeow SaCu: dude, what a hell you are;(00:28
Arokh joined00:29
beneggett left00:31
eletuchy_ left00:31
_huoxito joined00:31
jpmelos left00:32
toothr joined00:32
shiyuan joined00:32
jpmelos joined00:33
jwmann left00:36
neurodrone left00:36
bartek left00:36
jwmann joined00:37
jwmann left00:37
sgambino left00:37
jwmann joined00:37
jwmann left00:37
shiyuan left00:38
tizzotizzo-afk00:38
rehat left00:39
The24z_awayThe24z00:39
Lulzon left00:41
Bosox20051 joined00:43
cakehero joined00:43
the_cybersphinx left00:44
ninegrid left00:46
ryez left00:46
iocor left00:46
opus joined00:46
Chaser_ joined00:48
SeekingFor left00:48
SeekingFor joined00:49
wolftankk joined00:51
gusnan left00:51
skyf left00:51
beneggett joined00:52
metcalfc_ left00:53
andrewh joined00:55
mischat left00:57
The24zThe24z_away00:57
xaka left00:58
sorahn joined00:59
thelazydeveloper left00:59
patrick99e99 left01:00
breck joined01:00
sorahn is there something similar to 'git rev-parse' that I Can use to either verify a branch exists locally or on remote, and either switch to it, or create it01:00
stevedomin left01:01
sorahn i tied git rev-parse <branch> >/dev/null but that still spits out a bunch of error stuff01:01
and i tried it with 2 >'s as well01:01
breck left01:01
maqr joined01:02
aantix left01:03
timj joined01:05
patrick99e99 joined01:06
beneggett left01:06
frogonwheels sorahn: git show-ref refs/heads/01:07
sorahn: git show-ref refs/heads/<branchname>01:07
Enzo_cc joined01:07
Enzo_ccGuest3919801:07
cmn or you can tell rev-parse not to output those lines and use the exit status01:08
frogonwheels sorahn: but, btw, git checkout already does that.01:09
sorahn: just say you had refs/remote/origin/topicbranch but no refs/heads/topicbranch then git checkout topicbranch will create it, set it to track refs/remote/origin/topicbranch and check it out01:10
xiangfu joined01:11
cmn but that assumes there is no upstream/topicbranch01:11
and it sounds like this is for a script, so relying on these helpers won't always work01:12
frogonwheels cmn: ?01:12
cmn git checkout topicbranch will only create a local topicbranch if it's the only possible meaning01:12
frogonwheels sorahn: !xy01:12
gitinfo sorahn: This sounds like an "XY Problem" http://mywiki.wooledge.org/XyProblem So let's step back for a minute. What are you actually trying to achieve? Why are you doing it this way?01:12
frogonwheels cmn: as it should. agreed.01:13
cmn: we are guessing what sorahn's x is here. Let's find out, shall we?01:13
kvanderw left01:13
cmn if there is more than one remote-tracking branch with the same name, it will fail, and from wanting to shut up rev-parse, it sounds like a script01:13
jcao219 left01:13
Vert left01:14
frogonwheels cmn: why would you prefer rev-parse over show-ref refs/heads/topicbranch ?01:14
jalama joined01:14
hwrd|work left01:14
cmn no particular reason01:14
but the problem presented as about rev-parse01:15
iori joined01:15
hoyang joined01:16
cmn I do notice that show-ref shows all branches with name ending in the given string01:17
Fandekasp left01:17
hyperair left01:17
linguini left01:17
archdori left01:17
frogonwheels cmn: ahh.. well noticed.01:17
cmn: I counter that with --verify --quiet ;)01:18
cmn that won't consier 'master' to be valid01:18
which may or may not be a good thing, depending on what you're trying to do01:18
frogonwheels cmn: but presumably refs/heads/master would be01:18
cmn yeah01:18
show-ref's --verify is much more strict01:18
Fandekasp joined01:19
SyouJyoA left01:19
archdori joined01:19
frogonwheels cmn: I'm stuck on show-ref 'cause it is targeted at references, and not generally parsing revisions. But obviously the devil's in the details :)01:19
rehat joined01:19
flakblas left01:19
YoMomma left01:19
shane_ joined01:19
pdtpatrick left01:19
palm_vue left01:20
bizhanMona left01:20
Lgb left01:20
Sym3tri left01:20
frogonwheels cmn: git show-ref --quiet master && echo YES01:20
cmn: git show-ref --quiet mast && echo YES <-- this doesn't find master01:20
cakehero left01:20
Destos joined01:21
palm_vue joined01:21
Lgb joined01:21
cmn of course it doesn't, 'mast' isn't a suffix of 'master'01:21
bizhanMona joined01:21
frogonwheels bleh. suffix. sorry. got it.01:21
cmn: git show-ref --quiet refs/heads/${branchname} seems to me a pretty good solution. if only sorahn would pop back in and find it :)01:22
pandeiro joined01:22
dinesh6654_ left01:23
cmn if you're giving full refnames, then the difference shouldn't be too much, but I guess show-ref is safer01:24
harish joined01:26
jpmelos left01:29
Jabberwalker left01:30
cpg|awaycpg01:32
zhipeng joined01:33
SeekingFor left01:34
etcetera left01:35
SeekingFor joined01:35
cakehero joined01:36
specialGuest left01:37
superfluous joined01:38
fireh joined01:38
shane_ left01:39
apok left01:41
jalama left01:42
msmithng left01:43
shawngo joined01:44
daniel-s joined01:45
kvanderw joined01:45
i7c left01:46
pdtpatrick joined01:46
joelataylor joined01:47
hyperair joined01:47
hyperair left01:47
hyperair joined01:47
kevwil joined01:47
jackh joined01:48
flippo joined01:49
t0rc left01:49
pdtpatrick left01:49
Jay_Levitt left01:49
i7c joined01:50
jalama joined01:50
jackh_ joined01:50
etcetera joined01:53
LucasTizma left01:54
Araxia joined01:54
Araxia left01:55
etcetera left01:55
iwoj joined01:55
gitinfo set mode: +v01:55
iwoj how to i delete a previous commit?01:55
i tried rebase01:55
but that only gives the option to squash and reword01:56
cmn iwoj: read the instructions01:56
cooloney joined01:57
nadavoid joined01:58
pl0sh left01:58
Destos left01:59
SethRobertson iwoj: Also read !fixup which provides other options and more insrutuctions02:00
gitinfo iwoj: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!02:00
zdk left02:00
iwoj left02:00
Per4u3e joined02:00
weiyang joined02:00
andymikefred joined02:02
zdk joined02:03
Per4u3e left02:04
ology joined02:05
superfluous left02:08
weiyang left02:08
Chib joined02:08
weiyang joined02:08
buhman joined02:08
buhman git bisect is SO cool02:08
daniel-s_ joined02:08
simesy left02:08
buhman I'm going to find this guy's bad commit without even looking at his code :D02:09
tizzo-afktizzo02:09
simesy joined02:09
daniel-s__ joined02:09
Marbug left02:10
daniel-s left02:12
sorahn hi i'm back. cmn and frogonwheels I'm trying to script my dev environment to switch tickets and branches at the same time. So I just want to pass in the branch name (same as the ticket name) and have git either switch to it if it's a branch that exists, or create it if it's new.02:12
daniel-s_ left02:13
sorahn tickets for our bug tracking system not related to git. but i can switch it with scripts as it is. I'd just like git to go with it if possible02:13
xaka joined02:13
duckxx joined02:14
tizzotizzo-afk02:14
tizzo-afktizzo02:15
maletor left02:15
SeekingFor left02:16
SeekingFor joined02:16
jackh_ left02:17
cmullican left02:17
wolftankk left02:18
frogonwheels sorahn: that seems quite a healthy idea. I think git show-ref --quiet refs/heads/${branchname} was the best solution.02:19
sorahn: you can check for upstream versions of the branch with git show-ref --quiet refs/remotes/${remotename}/${branchname}02:19
sorahn: or you can check for any with git show-ref --quiet ${branchname}02:20
artnez left02:20
sorahn that looks great.02:20
Bosox20051 left02:20
sorahn so ( git show-ref <branch> && git checkout <branch> ) || git checkout -b <branch>02:21
thanks for the help02:22
corburn joined02:23
patrick99e99 left02:23
frogonwheels sorahn: and if you put --quiet in your show-ref command, you won't need to surpress output02:24
sorahn oh yea, i saw that too02:24
forgot to stick it in there02:24
thanks02:25
patrick99e99 joined02:25
kvanderw left02:26
kevwil left02:28
WillMarshall joined02:28
erynofwales joined02:30
patrick99e99 left02:31
dinesh6654 joined02:31
jalama left02:32
metcalfc_ joined02:32
corburn left02:33
wolftankk joined02:33
neurodrone joined02:33
daniel-s__ left02:34
shane_ joined02:36
jcao219 joined02:36
keyzs joined02:37
joelataylor left02:37
keyzs what are probably the 3 best hosting companies worldwide?02:37
tizzotizzo-afk02:38
SkAzZ left02:38
Marbug joined02:39
Destos joined02:39
Destos left02:39
andrewhl joined02:39
Eridius left02:41
etcetera joined02:42
rohan32 joined02:42
hollyw00d joined02:43
ehsan left02:45
jalama joined02:45
EugeneKay Loaded question. I like Linode for small VPSes.02:47
Everything else I host myself in a rack rented from HE02:47
jeyanth left02:49
sorahn left02:49
private joined02:50
privateGuest1112302:50
jalama left02:52
daniel-s joined02:53
eletuchy joined02:56
metcalfc_ left02:57
tizzo-afktizzo03:00
duckxx left03:02
SeoZ-work[AWAY]SeoZ03:03
jeyanth joined03:03
opus left03:04
ivan`_ left03:06
stevedomin joined03:07
ivan` joined03:07
artnez joined03:09
jonmasters joined03:10
pppaul joined03:11
kidsalsa joined03:12
ehsan joined03:13
gavin_huang joined03:13
Yuuhi`` joined03:15
nwest left03:16
Yuuhi` left03:17
txdv joined03:18
oojacoboo joined03:19
shane_ left03:19
txdv_ left03:20
xxthink joined03:21
jeyanth left03:22
kcj left03:22
ak5 joined03:23
rchavik joined03:24
ak5 hi guys, I have a few repos in my dir tree, that I wanted to add as submodules, so I did git submodule add blabla.git relative/path/from/git/repo03:25
iliketurtles joined03:25
ak5 but when I pull, it doesn't seem to get the files inside, just the folder03:25
ivan` left03:26
ak5 oh after pull I still needed to do git submodule init03:28
my bas03:28
bad*03:28
bigmeow how to delete a file on remote git repo?03:28
i have push a password file to remote repo03:28
RandalSchwartz bigmeow, !fixup03:28
gitinfo bigmeow: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!03:28
bigmeow now i want to delete it, how to do this?03:28
RandalSchwartz the biggest problem you'll have is rewriting public history03:28
SethRobertson Read the instructions on the link03:28
ak5 bigmeow: https://help.github.com/articles/remove-sensitive-data03:29
ivan` joined03:29
lirt joined03:30
txdv left03:31
magcius left03:31
beneggett joined03:31
txdv joined03:32
flippoFLIPPO03:32
nadavoid left03:32
magcius joined03:34
drook joined03:37
dreiss left03:37
drook left03:39
SirFunk_ left03:40
SirFunk joined03:41
fisted joined03:42
maletor joined03:42
fisted_ left03:42
maqr left03:42
arvind_khadri left03:42
kcj joined03:43
ivan` left03:43
Sky[x] left03:43
Know1edge joined03:44
Kichael joined03:44
Araxia joined03:44
Chib left03:45
corburn joined03:45
ivan` joined03:45
genehack left03:46
splud left03:46
eletuchy left03:46
genehack joined03:46
genehack left03:47
genehack joined03:47
oojacoboo left03:48
plasticboy left03:48
eletuchy joined03:49
plasticboy joined03:49
tizzotizzo-afk03:50
hollyw00d left03:50
dinesh6654 left03:50
corburn left03:51
kukks left03:51
igotnolegs joined03:53
Sky[x] joined03:53
Milossh left03:53
preflex_ joined03:53
Sky[x] left03:54
plasticboy left03:55
preflex left03:55
preflex_preflex03:55
maqr joined03:56
fedesilva joined03:57
Know1edge left03:57
hwrd|work joined03:57
rehat left03:58
hollyw00d joined03:58
maletor left03:59
eletuchy left04:00
aantix joined04:01
dvide left04:02
plasticboy joined04:02
rohan32rohan|sleep04:02
xaka left04:04
Vampire0 joined04:05
OOPMan left04:05
YoMomma joined04:05
YoMomma left04:06
Eridius joined04:06
d3vic3 left04:06
khmarbaise left04:08
Enzo_cc joined04:08
ReekenX joined04:08
Enzo_ccGuest8468604:08
rehat joined04:08
dreiss joined04:09
d3vic3 joined04:10
Guest39198 left04:10
OOPMan joined04:11
kpreid left04:12
kpreid joined04:12
stevedomin left04:13
_huoxito left04:14
etcetera left04:14
hwrd|work left04:15
FreeNote left04:16
metcalfc_ joined04:16
OOPMan left04:20
LucasTizma joined04:22
dhruvasagar joined04:24
maletor joined04:25
towski joined04:28
shane_ joined04:29
pretty_function joined04:30
pandeiro left04:33
fedesilva left04:35
fedesilva joined04:35
simesy left04:36
Samos123 left04:38
luxurymode joined04:39
Samos123 joined04:39
etcetera joined04:44
lustucru_ joined04:46
maletor left04:48
lustucru left04:51
lustucru_ left04:51
dhruvasagar left04:52
avpx joined04:53
simesy joined04:53
pantsman joined04:54
pantsman left04:54
pantsman joined04:54
lirt left04:56
apok joined04:56
SeekingFor left04:56
lirt joined04:56
shane_ left04:57
Zespre_ joined04:57
towski left04:57
lirt left04:57
towski joined04:58
Zespre left04:58
SeekingFor joined04:58
lirt joined04:58
j416 joined04:59
beautifulmind joined04:59
FLIPPO left05:00
apok left05:03
towski left05:04
luxurymode left05:05
maletor joined05:06
lustucru joined05:07
towski joined05:07
codewrangler left05:08
SeekingFor left05:12
TheJH joined05:18
cakehero left05:19
pppaul left05:19
nirix left05:21
etcetera left05:24
Psycho_pr left05:24
Psycho_pr_ joined05:24
metcalfc_ left05:25
SeekingFor joined05:26
w09x joined05:27
shruggar joined05:27
dinesh6654 joined05:28
thansen_ left05:31
MacGyver left05:31
MacGyver joined05:31
MacGyver left05:31
MacGyver joined05:31
thansen joined05:31
lustucru left05:32
andrewhl left05:33
etcetera joined05:33
hollyw00d left05:34
sweet|kid left05:36
herdingcat joined05:36
Fiouz left05:36
sparticvs joined05:37
Samos123 left05:38
Chib joined05:39
Fiouz joined05:39
The24z_awayThe24z05:39
ilogger2 joined05:58
Cake joined05:58
Cake left05:59
arvind_khadri joined05:59
senny joined05:59
tommsen joined06:01
fornext joined06:08
hoschi joined06:09
dsirijus joined06:10
cbreak-work joined06:15
etcetera joined06:15
harshpb joined06:15
leeN joined06:16
soee joined06:18
Maccer joined06:20
xxthink how to upgrade gitolite from v1.5.4 to v3?06:21
papegaaij joined06:21
EugeneKay xxthink - read the upgrading docs. The 2.x ones (mostly) apply to coming from 1.5.x as well06:22
xxthink ok06:22
etcetera left06:24
tqmz joined06:24
chester_ joined06:26
dax_roc joined06:27
psoo joined06:27
dc5ala joined06:30
patrick99e99 joined06:31
marthinal joined06:31
corburn joined06:32
sitaram xxthink: what EugeneKay said. And the reason is that 1.x to 2 was not nearly as drastic a change (and definitely did not involve a completely different RC file format)06:36
flijten joined06:36
lirt joined06:39
und3f joined06:39
OOPMan joined06:40
jonnu joined06:40
w41 joined06:41
xxthink sitaram: thank you for your excellent work06:43
sitaram you're welcome!06:45
rgr joined06:47
etcetera joined06:47
ak5_ joined06:49
tsdh joined06:52
MaximB_ joined06:53
dpino joined06:54
mishok13 joined06:54
n1x joined06:55
brianpWins joined06:59
brianpWins I accidentally the whole repo06:59
jackh joined06:59
_ikke_ brianpWins: Yeah, I do that sometimes too ..07:00
brianpWins but really. I thought the remote branch origin was set to a different remote repo. So I've pushed changes to the wrong remote. Is there a way to undo that push. So the remote i pushed to will no longer have those changes (until a later date when they get marge in again)07:00
marge = merged07:01
_ikke_ brianpWins: You can't undo a push07:01
brianpWins yeah, I just want an undo-esque affect07:01
eighty4 What would be the easiest way to get all diffs for a single file? Google won't give me the answer :/07:01
_ikke_ brianpWins: Do you know where the branch pointed to before the push?07:01
brianpWins like if I revert locally then force push. as long as no one else has pulled it should be okay?07:02
_ikke_ brianpWins: You don't have to 'revert' locally07:02
eighty4 i.e. all changes to it including the actually code07:02
brianpWins _ikke_: yup I know where it pushed to, and where I'd prefer it to push to07:03
_ikke_ eighty4: Not sure what you want, but have you tried git log --all -p -- path/to/file ?07:03
tommsen left07:03
_ikke_ brianpWins: you can do git push -f <remote> <commit_you_want>:<remote_branch>07:03
brianpWins sweet. and as long as no one has pulled in the last 5 minutes it won't effect a thing ?07:04
Advocation joined07:04
_ikke_ brianpWins: nope07:04
eighty4 _ikke_: that would basically be what I want :) I was looking at log but missed that apperantly :/07:04
brianpWins _ikke_: sweet, I was pretty sure that was what I needed to do. Just wanted to verify before I start push -f'ing anything07:05
lol push offing anything07:05
effing*07:05
tommsen joined07:05
_ikke_ lol07:05
brianpWins: Note that some repositories might block non-ff pushes07:06
macivy joined07:07
lirt left07:07
hyperair joined07:07
n1x left07:08
thansen joined07:08
brianpWins noted07:08
sweet it looks like ti worked just dandy07:09
now to fix up the remote branches naming07:09
xxthink what does "change all NAME/ to VREF/NAME/" mean when I upgrade gitlite07:09
for example07:10
Milossh joined07:10
xxthink I have a testing repo, RW+ = @all07:10
what should I do?07:10
EugeneKay Do you have any repo definitins which include the string "NAME/" ?07:10
nirix joined07:11
xxthink no07:11
EugeneKay Then don't worry about it07:11
psoo left07:11
xxthink ok07:11
EugeneKay It's an advanced feature which changed syntax, that's all.07:11
nor5trom joined07:12
nor5trom left07:12
nor5trom joined07:12
xxthink ok07:12
timj1 joined07:12
jackh left07:12
skorgon joined07:12
skorgon left07:12
skorgon joined07:12
eijk joined07:13
nor5trom left07:13
brianpWins thanks _ikke_07:14
_ikke_ yw07:15
lb joined07:15
lb left07:15
lb joined07:15
tsdh left07:17
maccieju joined07:17
maccieju left07:18
breck joined07:20
nor5trom joined07:20
harish joined07:20
Lgb joined07:21
maletor joined07:21
palm_vue joined07:21
bizhanMona joined07:21
Sebo joined07:22
tsdh joined07:24
psoo joined07:27
_jmg joined07:28
thiago joined07:29
jkremser joined07:29
bjornars joined07:31
twinturbo joined07:35
twinturbo Hey I have a remote branch I'm tracking. My coworker used push -f to push a different history. How can I merge that into my local branch without problems?07:35
maletor left07:36
lb twinturbo: !rewrite07:37
gitinfo twinturbo: [!rewriting_public_history] Rewriting public history is a very bad idea. Anyone else who may have pulled the old history will have to `git pull --rebase` and even worse things if they have tagged or branched, so you must publish your humiliation so they know what to do. You will need to `git push -f` to force the push. The server may not allow this. See receive.denyNonFastForwards (git-config)07:37
rgr left07:38
jdav_gon` joined07:39
klj613 joined07:39
fedesilva_ joined07:40
sangi joined07:40
brianpWins left07:40
Guest39198 joined07:40
fedesilva_fedesilva07:41
blami_ joined07:45
robbyoconnor joined07:49
breck left07:49
etcetera left07:49
alexukf joined07:50
cthuluh joined07:50
dr_lepper joined07:51
gavin_huang joined07:51
xxthink who has the post-receive hooks?07:52
I want to send email after pushing the code07:52
Sebo left07:52
RaceCondition joined07:53
xxthink I have found one07:53
fedesilva left07:53
scholtz joined07:54
yuwang joined07:55
thirdknife joined07:55
ryez joined07:55
ryez left07:56
Guest84686 joined07:56
jargon- joined07:59
fedesilva joined07:59
Guest39198 left07:59
Error404NotFound joined07:59
d3vic3 joined08:00
fedesilva left08:03
arkiver joined08:05
_Qman joined08:06
LimeBlast joined08:07
jackh joined08:07
lustucru joined08:07
twigmorewelsh joined08:08
ryez joined08:09
fedesilva joined08:10
ryez why git merge sometimes requires a message specified?08:11
lukosanthropos joined08:11
lukosanthropos left08:11
lukosanthropos joined08:12
frogonwheels_ joined08:12
simesy_ joined08:12
simesy_ left08:12
mikaelj joined08:13
flijten left08:13
unreal joined08:13
cxreg joined08:13
lyddon joined08:13
joshc joined08:13
charon ryez: starting a few releases ago, it fires up the editor when doing a non- !ff merge08:14
gitinfo ryez: A fast-forward merge occurs when you merge a commit which is a descendant of !HEAD. No new commit is created, instead the branch is simply moved forward.08:14
dhruvasagar joined08:14
flijten joined08:15
skorgon left08:15
fedesilva left08:17
twigmorewelsh left08:18
an0maly_ joined08:18
tjadc joined08:19
Element9 joined08:19
vadi joined08:21
vadi Howto get the all the files of my local repository to the state of an old point (commit-id) ?08:22
nevyn git checkout commit08:22
fedesilva joined08:22
Vert joined08:23
vadi I have done it. Actually I have done: rm -rf * and then git checkout commit-id, and I think my problem was the rm -rf *08:23
I think without the rm -rf * it will work08:23
Thanks08:23
nevyn vadi:08:23
do you still have .git?08:23
vadi yes08:23
apok joined08:23
vadi rm -rf * does not remove it08:23
nevyn so you should be ok.08:24
what happens whn you run git checkout commit-id ?08:24
g105b joined08:24
vadi thanks, I think I got an non-complete repo because the git-checkout takes the current ref (HEAD) and apply the patches back to the commit-id.08:25
That was the fault of me executing rm -rf *08:25
before the checkout08:25
I thought git checkout would do a _full_ checkout,08:25
but I think it just take current referente and calculate the minimum checkout to take the repot to commit-id point.08:26
nevyn git reset --hard HEAD08:26
alexukf left08:27
vadi Does do just a commit back?08:27
nevyn nope.08:27
EugeneKay I think you a verb08:27
nevyn that should reset the current branch to HEAD (which is where it is by definition) and restore the working directory08:27
vadi ok, thanks08:28
amcsi_work joined08:28
nevyn I think08:28
giallu joined08:28
skorgon joined08:29
skorgon left08:29
skorgon joined08:29
alexukf joined08:29
mischat joined08:30
g105b left08:31
osse joined08:32
dr_lepper left08:32
dr_lepper joined08:33
dr_lepper left08:33
dr_lepper joined08:33
lcc joined08:34
apok left08:35
changedNicks joined08:36
changedNickssweet|kid08:36
eijk left08:36
jjore joined08:37
giallu left08:37
ryez charon: thanks for pointing out this, yes I understand what is a non-ff merge08:38
nevyn vadi: did that work?08:39
thanpolas joined08:39
thanpolas how can i re-commit a reverted commit?08:39
nevyn revert the revert?08:40
thanpolas right08:40
nevyn that will work.08:40
lb or cherry-pick08:40
thanpolas i can cherry-pick a commit from the same branch?08:40
nevyn sure08:40
lb you can cherrypick every commit08:40
(in the same repo)08:41
nevyn cherry-pick makes a NEW commit remember.08:41
FauxFaux You can cherry-pick any commit at any time, unless it's a filthy merge commit.08:41
nevyn !bad merge08:41
FauxFaux !dirty08:41
Mmm.08:41
(The best kind of merge.)08:41
thanpolas oh cool08:41
cherry-pick worked08:41
jast !ping08:41
gitinfo I only respond to !ECHO-REQUEST08:41
hyperair left08:41
xxc_michael joined08:42
FauxFaux But, I wasn't referring to dirty merges, I was referring to merges at all. ¬_¬08:42
_ikke_ !ECHO-REQUEST08:42
nevyn thanpolas: I still liked reverting the revert08:42
afuentes joined08:42
nevyn it would have been more real history but whatever it's your repo ;)08:42
alexukf left08:42
w41 left08:42
_ikke_ .trigger_edit !ECHO-REQUEST I only respond to !ping08:42
gitinfo _ikke_: Valid trigger names must consist of [a-zA-Z0-9_.-]08:42
thanpolas nevyn i agree08:42
_ikke_ :-(08:42
EugeneKay _ikke_ - no !08:43
_ikke_ yeah, just found that08:43
.trigger_edit ECHO-REQUEST I only respond to !ping08:43
gitinfo _ikke_: Okay.08:43
lb !ECHO-REQUEST08:43
gitinfo I only respond to !ping08:43
nevyn thanpolas: because now it's commit revert commit08:43
rather than commit revert revertofrevert whcih is a more meaningful story to me.08:43
_ikke_ EugeneKay: lol, git ctcp request?08:44
dsirijus left08:44
EugeneKay _ikke_ - what, your client doesn't support it? >_>08:44
_ikke_ nope :P\08:44
EugeneKay MINE does08:44
_ikke_ Unknown CTCP requested by EugeneKay: GIT08:44
What does it do?08:44
paolooo joined08:44
vadi nevyn, Yes, git reset --hard HEAD + git checkout commit_id08:45
thanks08:45
EugeneKay Try it ;-)08:45
twinturbo left08:45
_ikke_ lol08:45
paolooo hi @all, can you help me. How do I fix "You are not currently on a branch..."08:46
EugeneKay paolooo - !detached08:46
gitinfo paolooo: A detached HEAD(aka "no branch") occurs when your HEAD does not point at a branch. New commits will NOT be added to any branch, and can easily be !lost. This can happen if you a) check out a tag, remote tracking branch, or SHA; or b) if you are in a submodule; or you are in the middle of a c) am or d) rebase that is stuck/conflicted. See !reattach08:46
EugeneKay paolooo - !reattach08:46
gitinfo paolooo: Letters refer to !detached. (a) and (b): 'git checkout branchname' to continue working on another branch, or 'git checkout -b branchname' to start a new one here; (c) git am --continue; (d) git rebase --continue08:46
EugeneKay A) is probably what you did08:46
_ikke_ EugeneKay: try again08:46
EugeneKay <308:47
JrCs !cherry08:47
lcc left08:47
pfote left08:47
_ikke_ JrCs: man git cherry08:47
gitinfo JrCs: the git-cherry manpage is available at http://git-scm.com/docs/git-cherry.html08:47
noelbush joined08:48
EugeneKay .trigger_edit fast_forward @!ff08:48
gitinfo EugeneKay: Okay.08:48
harshpb left08:49
whitman joined08:51
harshpb joined08:51
w09x joined08:56
RaceCondishun joined08:57
angelsl joined08:58
harshpb left08:58
lcc joined08:59
harshpb joined08:59
letharion joined09:00
hyperair joined09:00
RaceCondition left09:00
RaceCondishunRaceCondition09:00
RaceCondition left09:00
paolooo gitinfo: thanks. git rebase --continue worked for me. Thank you again09:01
gitinfo paolooo: you're welcome, but please note that I'm a bot. I'm not programmed to care.09:01
_ikke_ lol, gitinfo has a karma of 2 :D09:01
paolooo ah hehehe.. didn't know that...09:01
EugeneKay gitinfo++09:01
_ikke_ EugeneKay: It works on saying name: thanks09:02
EugeneKay Shush, I'm drunk09:02
_ikke_ :D09:02
EugeneKay: When aren't you drunk?09:02
EugeneKay _ikke_: thanks09:02
lb gitinfo: thanks09:02
gitinfo lb: you're welcome, but please note that I'm a bot. I'm not programmed to care.09:02
EugeneKay _ikke_ - wednesdays09:02
_ikke_ EugeneKay: What day is it today?09:03
EugeneKay Tuesday night09:03
lb ;)09:03
Somewhere on the internet there's always morning/night/today/yesterday/tomorrow ;)09:03
EugeneKay I have to be up in 8 hours to do a product deployment. This isn't gonna end well.09:03
Vile joined09:04
_ikke_ EugeneKay: Good luck, please let me know how it ended09:04
harish left09:04
EugeneKay Failure is the expected outcome with this client, so I'm covered09:04
letharion left09:04
_ikke_ lol09:04
lcc left09:05
EugeneKay I need a name for my submodules-alike command09:06
git-library doesn't sound right09:06
Advocation_ joined09:07
RaceCondition joined09:07
_ikke_ git-lib?09:08
Advocation left09:08
Advocation_Advocation09:08
_ikke_ git subproject09:08
gerard0 joined09:08
_ikke_ git include09:08
EugeneKay git include09:08
_ikke_ :D09:08
EugeneKay Heh09:08
john3_ joined09:08
EugeneKay I like it09:08
I've explained the basic concept to you, yes?09:09
_ikke_ EugeneKay: Nope09:09
EugeneKay Same idea as submodules, but instead of including a ref to a URL:SHA, it includes the tree named at the SHA at the path09:09
The idea being that $USER can git-clone the project and not have to care about any submodule commands09:10
SkAzZ joined09:10
EugeneKay No mesys history merging involved, just "Imported foolib at $SHA"09:10
_ikke_ isn't that the same as subtree merge?09:11
macivy left09:11
fayimora joined09:11
_ikke_ !subtree09:11
gitinfo The git subtree merge method is ideal to incorporate a subsidiary git repositories directly in to single git repository with "unified" git history, where you only need to pull changes in from external sources not contribute your own changes back (which if technically possible is at least difficult). See http://progit.org/book/ch6-7.html Type "!subtree_alt" for more options09:11
EugeneKay Subtree craps up your repo with a bunch of objects/refs from the child repo09:11
This would store it in .git/includes/FooLib/09:11
_ikke_ But the idea is the same?09:11
EugeneKay And no keeping of history, at all.09:11
_ikke_ Ok09:12
EugeneKay I don't care about how FooLib got to $SHA, just that I'm including it at that point09:12
_ikke_ But it's still possible to update FooLib to another $SHA?09:12
EugeneKay Sure, if you have the git-include shell script.09:12
_ikke_ right09:12
EugeneKay At the moment I rm FooLib/ -rf, then git-archive a fresh copy from FooLib.git and untar it to FooLib/09:12
This would do that.... in a shell script09:12
blami_ EugeneKay: I wanted to do the same with my project and libraries I developed for it and was angry that git does not support it09:13
xiangfu joined09:13
_ikke_ EugeneKay: But the result would be the same if you manually cloned the sub repo, and copied the files into the directory and comitted that?09:13
SkAzZ1 joined09:13
letharion joined09:13
_ikke_ EugeneKay: right09:13
EugeneKay _ikke_ - exactly so; I have a local clone of FooLib, which I git-archive from09:13
blami_ - good to know I'm not the only one with that problem ;-)09:14
_ikke_ How do you interact with git include?09:14
blami_ EugeneKay: er. I wanted to say I think I was an idiot in the end :)09:14
EugeneKay Define interact.09:15
_ikke_ EugeneKay: How do you tell it what to checkout exactly09:15
blami_ EugeneKay: it's far easier to do it using separate repos and git-submodule with wrapper script09:15
dhruvasagar left09:15
EugeneKay I'm thinking to use the same basic syntax as submodules.09:15
SkAzZ left09:15
EugeneKay blami_ - I hate submodules because they require an external URI dependency09:15
That and they cause AIDS09:15
arex\ Why do I have a million git.exe and git-remote-http.exe processes running?09:16
blami_ EugeneKay: for serious development you need some sort of upstream anyways09:16
arex\ (and sh.exe)09:16
blami_ EugeneKay: so that's not blocker09:16
EugeneKay Sure, but your consumers don't need to care about the upstream. They should be able to git-clone once and be done09:16
No worrying about submodule update crap09:16
The tree you publish is the tree people use09:16
arex\ - I have no idea. WHat are you doing?09:17
teotwaki EugeneKay: please, don't use AIDS as a joke, at least, not in this context. There's enough bigotted people on the internet that one doesn't need to add more fuel to that fire.09:17
thiago left09:17
EugeneKay teotwaki - my Uncle has had AIDS since 1986. He's a Univeristy of Washington research case, on the grounds that he refuses to die. I'm a bit desensitized.09:18
(I was only born in '88)09:18
teotwaki EugeneKay: and I had two good friends pass away from it over the last year. The plural of anecdotes != data.09:18
EugeneKay teotwaki - sorry to hear that. submoduls still suck.09:19
teotwaki oh, yeah, they do.09:19
just call them black holes or something.09:19
EugeneKay revises himself09:19
EugeneKay That and they eat kittns..09:19
_ikke_ EugeneKay: Never though you were as old as I am09:19
teotwaki s/old/young/09:20
vadi left09:20
_ikke_ teotwaki: age complex?09:20
EugeneKay Old people. Bah! :-p09:20
teotwaki I'm from '86! Hah!09:20
But you youngens haven't hit your quarter century yet09:21
While for me... that was over 15... months ago!09:21
gitinfo set mode: +v09:21
frogonwheels_ left09:22
jackh left09:22
jackh joined09:23
specialGuest joined09:24
frogonwheels_ joined09:24
weiyang joined09:25
lustucru left09:25
tvw joined09:25
letharion left09:26
thirdknife left09:26
weiyang left09:27
Advocation_ joined09:27
Advocation left09:27
Advocation_Advocation09:27
patrick85 joined09:27
shruggar joined09:27
jatt joined09:29
dhruvasagar joined09:30
garo How can i create a new branch in a rep on github ? (i will use it for commits with code that is not finished yet, so it would be best if no else can see that branch)09:30
_ikke_ garo: You can't hide anything on a public git repo09:30
garo: So if you don't want people to see it, don't put it on github09:31
lb garo: you'll have to use a private repo for that09:31
or work local ;)09:31
garo i'll just name it BUGGY_DO_NOT_USE than...09:32
but how can i create it, i can't find a create-new-branch button anywhere...09:32
EugeneKay Create it locally, then push it up09:33
lb garo: just create it local09:33
arex\ EugeneKay: nothing special09:33
senny_ joined09:34
letharion joined09:34
garo i'm trying "git checkout -b buggy_do_not_use && git push" but it just tells me "Everything up-to-date"09:35
same with "git push origin"09:36
arex\ Git Extensions refuses to use putty, it only wants to use OpenSSH :(09:36
Ideas?09:36
senny left09:36
lb garo: push origin buggy_do_not_use09:36
FauxFaux git push -u origin buggy_do_not_use # would be better, so it remembers.09:36
blueyed joined09:36
lb arex\: use linux and openssh ;)09:36
garo ok, now it works, thanks !09:37
EugeneKay garo - your local $NEWBRANCH is not configured for remote tracking yet. You need to use one of the methods listed above to create it remotely and thus configure the tracking, so the two-word 'git push' will magically work09:37
(you can, technically speaking, also do it via git-config, but I'm too drunk to look up the exact specs on that)09:37
(or not drunk enough)09:37
_iron joined09:38
lb EugeneKay: go with the 2. option ;)09:38
rob_w joined09:38
john3_ left09:38
rob_w i delete files in my only branch .. how do i get them back ?09:38
john3_ joined09:39
letharion left09:39
lb rob_w: did you commited them?09:39
timthelion joined09:39
vadi joined09:40
pfFredd joined09:40
fayimora left09:41
hidekin1 joined09:42
rob_w lb, yes09:43
pfFredd left09:43
sirdancealot joined09:43
EugeneKay rob_w - man git-checkout; you want to do something like `git checkout $SHA -- foo/bar.txt`09:44
gitinfo rob_w: the git-checkout manpage is available at http://git-scm.com/docs/git-checkout.html09:44
lb rob_w: git checkout SHATHATCONTAINSTHEFILE -- FILE09:44
EugeneKay This will give you foo/bar.txt as it existed at $SHA09:44
rob_w kkk thx09:44
EugeneKay If you just deleted $FILE in the last commit you can use HEAD~ for $SHA, but see also !treeish09:44
gitinfo A tree-ish is something that looks like a tree. Read 'man gitrevisions' and http://git-scm.com/book/en/Git-Tools-Revision-Selection09:44
Lord_DeathMatch joined09:45
letharion joined09:47
Sebo joined09:47
Sebo left09:47
rob_w ok whatif it is not a single file but a alot of and also direcotrys ? is there a way to bring em all back in once09:48
lng joined09:49
EugeneKay checkout will take a dir/, too09:49
Sebo joined09:49
lng hi! user A created branch A and pushed. After that, how come User B can see that branch without knowing its name?09:50
EugeneKay Because git doesn't do any sort of access control. If you can read refs/heads/Foo, you can get Foo09:51
Are you using gitolite?09:51
jackh left09:51
lng GitLab09:52
EugeneKay Which uses gitolite underneath09:52
lng I don't want to pull it to my current branch09:52
EugeneKay There is no (sane) way to restrict reads on a per-branch basis with the standard git stack, which gitolite/gitlab use.09:52
_ikke_ lng: How are you pulling it?09:52
lng first I'd like to list it09:53
git branch -r09:53
it doesn't show it09:53
_ikke_ lng: git fetch <remote>09:53
lng maybe I need to add remote of that user?09:53
oh09:53
_ikke_ lng: Does that user have it's own branch?09:54
lng _ikke_: yes09:54
uniq one09:54
say I don't know its name09:54
and want to list users branches09:54
_ikke_ lng: Don't know what name?09:55
lng branch name09:55
_ikke_ git ls-remote lists all refs on the remote09:55
specialGuest left09:55
lng it might be something like develop/[TaskName]09:56
_ikke_: after I know the branch name, do I fetch it, right?09:56
and it does not change the branch I'm currently working in?09:56
mklappstuhl joined09:57
lng I don't want to merge it09:57
guampa joined09:57
achadwick joined09:57
lng actually, I just want to make it local and switch to it09:57
to see code09:57
one detail, the user pushed this branch to bare repo09:58
fedesilva left09:58
lb lng: git fetch, git checkout $branch09:59
lng I see, thanks!09:59
tvw left09:59
lb lng: !fetchfour09:59
gitinfo lng: Never use the four-word version of git-fetch or git-pull (e.g. git fetch remote refspec). It always ends in tears. Yes, if you understand the implications of FETCH_HEAD it can technically be done, but really it is easier to just fetch the whole remote (or perhaps edit the fetchspec if you never want other bits). If you must, see !fetch4why09:59
vadi left10:00
lb just do a git fetch10:00
_ikke_ lng: note that git automatically creates the local branch because it sees a branch <remote>/<branch>10:00
lng now I can see it10:00
RaceCondition left10:00
lng why did not pull expose it before?10:01
RaceCondition joined10:01
lng ah I10:01
know why10:01
because I used another branch name10:01
_ikke_ lng: You don't want to use pull for that10:01
lng yes10:02
as it will merge10:02
right?10:02
frsk joined10:02
lb yes10:02
!pull10:03
gitinfo pull=fetch+merge (or with flags/config also fetch+rebase). It is thus *not* the opposite of push in any sense. A good article that explains the difference between fetch and pull: http://longair.net/blog/2009/04/16/git-fetch-and-merge/10:03
lng yep10:03
PapaSierra2 joined10:03
dhruvasagar left10:04
thiago joined10:05
lng thanks all of you, guys10:05
lb yw10:05
Sebo left10:06
PapaSierra2 left10:07
stevedomin joined10:08
lng `git checkout analytics` -> Branch analytics set up to track remote branch analytics from origin.10:10
``git checkout analytics` -> Branch analytics set up to track remote branch analytics from origin.10:10
oops10:10
is it correct?10:10
cybersphinx joined10:11
lng looks good10:11
FauxFaux Feels good.10:11
seanw joined10:14
flexd joined10:14
seanw What does it mean if "forced update" is followed by "already up-to-date"? That I haven't lost anything?10:14
k-man joined10:15
_ikke_ seanw: forced update == push -f?10:15
gavin_huang left10:15
seanw _ikke_: no, there was no forced push, but one day I pulled from my repo that only I write to and I got a forced update message.10:16
jacobian joined10:16
gavin_huang joined10:16
jacobian How do I make it so I can just write: git push, rather than git push origin master?10:16
seanw _ikke_: I just want to ensure that I haven't lost anything.10:16
dvide joined10:17
charon seanw: you can look in the reflog of the remote branch to see what the forced update was about10:17
seanw: e.g., git reflog show origin/master10:17
Lord_DeathMatch left10:18
_ikke_ jacobian: git push -u origin master10:18
seanw charon: it says 8fc53c5 refs/remotes/origin/master@{3}: pull : forced-update10:18
charon seanw: well, the line before that tells you what the ref was before the update10:19
seanw: so you can use the two sha1s with 'gitk A...B' or some such10:20
gusnan joined10:20
Sebo joined10:20
Lord_DeathMatch joined10:20
seanw charon: so changes shown there are what is potentially lost? And if those changes aren't lost, then I haven't lost anything?10:20
lng I love Git more and more - it is owesome SCM!10:21
lb lng: stay with it, you'll get so much fun10:21
lng yea, we use it10:21
before my needs were simple10:21
but now we started to use branching and many other things10:22
my mind is expanding10:22
charon seanw: the A...B syntax shows the changes on *either* side of the update, so you'll have to look carefully (you can also use A..B to get only one side)10:22
lng lng: I need to be careful pulling something as it might spoil code10:23
udantee joined10:24
seanw charon: if I do gitk A..B where A is the hash below the forced-update in the reflog and B is the forced-update line, I get no commits. That means there was nothing locally to be affected by the forced-update?10:24
_ikke_ lng: Note that you need to be careful with pull, it'll create merges everytime you pull in new history, and it can't be fast-forwarded.10:26
thirdknife joined10:26
gavin_huang left10:27
xiangfu left10:27
soee_ joined10:29
soee left10:29
hollyw00d joined10:30
thirdknife left10:30
fireh joined10:31
dc5ala left10:32
nirix left10:34
narfnarfnarf joined10:34
hollyw00d left10:34
dhruvasagar joined10:36
Lord_DeathMatch left10:36
Lord_DeathMatch joined10:36
ollieglass joined10:37
sirdancealot left10:37
sirdancealot joined10:38
iocor joined10:39
RaceCondition left10:39
RaceCondition joined10:40
Chib joined10:41
gitinfo set mode: +v10:41
ollieglass Could someone explain what these red blocks are? git diff is showing them https://twitter.com/ollieglass/status/238224121576685568/photo/110:41
FauxFaux ollieglass: Whitespace errors, including mixing tabs and spaces, and whitespace at the end of the line.10:42
ollieglass They appear when I clone a project. Are they being added, because of my local git config?10:42
thirdknife joined10:43
FauxFaux Hilighting what git considers errors is enabled by default, I think. Why do you care?10:43
babilen joined10:44
Lord_DeathMatch left10:44
paolooo left10:44
thirdknife left10:44
Lord_DeathMatch joined10:44
thirdknife joined10:44
ollieglass I'm running a script that installs a lot of dependencies. One of them fails with ""doctrine-dbal" has local modifications. Please revert or commit/push them before running this command again."10:45
paolooo joined10:45
ollieglass This is the modification that git diff shows.10:45
sebbo joined10:45
arkiver left10:45
ollieglass It's (a) causing the whole installation to fail and (b) is something I've not seen before10:45
FauxFaux It's not just the redness that's a local modification, it looks like a load of the file is modified. Perhaps even the whole file? In that case, it's normally core.autocrlf at fault.10:46
seanw charon: I've now realised that I hvae a circle. git reflog shows that the repo went 8fc53c5, 805d6cc, 8fc53c5. Any ideas how that could have occured? Thanks for your help so far.10:47
(sorry this is origin/master)10:47
FauxFaux seanw: That's not a circle, that's a rollback; i.e. a !rewrit10:48
gitinfo seanw: [!rewriting_public_history] Rewriting public history is a very bad idea. Anyone else who may have pulled the old history will have to `git pull --rebase` and even worse things if they have tagged or branched, so you must publish your humiliation so they know what to do. You will need to `git push -f` to force the push. The server may not allow this. See receive.denyNonFastForwards (git-config)10:48
landypro joined10:48
pretty_function joined10:48
seanw FauxFaux: I am the only person writing to thsi repo and I definitely haven't rewritten any public history. I just pull, merge, commit and push.10:49
sebbo left10:52
letharion left10:54
ollieglass FauxFaux: in this case it seems to be an issue with core.whitespace. Thanks for your help10:54
jonnu left10:55
w09x left10:55
gavin_huang joined10:57
arkiver joined10:57
beepbeep_ joined10:58
hyperair left10:59
landypro left11:00
beepbeep_ I'm trying to checkout a certain branch. I have succesfully checked out the master branch. When I type git branch, I see the master branch and I see that I'm on it, I do not see any other branches. I assume this is because I don't have the other branches locally yet. So, I look at github and I see branch "foo" and type git checkout -b foo. I get following msg: fatal: git checkout: updating paths11:00
is incompatible with switching branches. Did you intend to checkout 'foo' which can not be resolved as commit?11:00
seanw left11:01
dr_lepper left11:02
cmn you don't see the branches because they're not local branches, you have a bunch which are remote-tracking, use -r to see them11:04
letharion joined11:04
cmn also, checkout -b won't do what you seem to want11:04
beepbeep_ I simply want to checkout the branch and commit to it11:04
push to it*11:04
cmn there's nothing stopping you, but you need to tell git that11:05
beepbeep_ How? :p11:05
cmn you use git checkout -t <remote>/<branch>11:05
also, read the !book11:05
gitinfo There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable11:05
cmn which explains what this is about11:05
beepbeep_ ty!11:05
I'll definitely looking up11:05
Look it up* .. wow.11:06
Jay_Levitt joined11:07
DanyO83 joined11:08
arkiver I got a conflict for a file and then i resovled that conflict and then commited it. Now i am getting error as : "error: you need to resolve your current index first"11:08
How do I get rid of that error ?11:08
_ikke_ arkiver: !repro11:09
gitinfo arkiver: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session, or at least explain exactly what you did that led up to the problem. This will help immensely with troubleshooting.11:09
albel727 joined11:09
RaceCondishun joined11:10
arkiver I wanted to pull some changes, so i stashed, then i pulled and then i poped the stash. A conflict arised in one of the files. I resolved that conflict and commited as "resolved conflict"11:10
after that i popped my stash11:10
flijten1 joined11:10
arkiver and am getting this11:10
app/models/booking.rb: needs merge11:10
error: you need to resolve your current index first11:10
_ikke_ what does git status show?11:11
beautifulmind joined11:11
arkiver there is a file in "unmerged paths"11:11
and another file in "not staged for commit"11:11
d3vic3 left11:11
_ikke_ arkiver: Probably nothing was comitted then11:11
flijten left11:12
arkiver BUt i can see the commit in the git log11:12
_ikke_ Hmm11:12
Then only part was commited11:12
You have to git add the file before it get's resolved11:12
d3vic3 joined11:13
RaceCondition left11:13
RaceCondishunRaceCondition11:13
jceb_ joined11:14
ollieglass left11:17
d3vic3 left11:17
jacobian _ikke_ Thanks!11:19
berserkr joined11:19
_ikke_ jacobian: You're welcome11:19
xxc_michael left11:19
Lord_DeathMatch left11:20
Lord_DeathMatch joined11:20
zdk joined11:24
zdk left11:24
jacobian left11:27
RaceCondition left11:28
stevedomin left11:29
beakor joined11:30
beakor hello mates11:30
gitinfo beakor: welcome to #git, a place full of helpful gits. If you have a question, just ask it–somebody should answer shortly. For more information about git and this channel, see the links in the topic. It can't hurt to do a backup (type !backup for help) before trying advice you receive here.11:30
hollyw00d joined11:30
thirdknife left11:31
nizeguy joined11:32
RaceCondition joined11:32
sirdancealot left11:32
noelbush left11:33
letharion left11:33
RaceCondition left11:33
hollyw00d left11:35
arkiver left11:36
flijten joined11:37
Guest84686 left11:38
dr_lepper joined11:38
dr_lepper left11:38
dr_lepper joined11:38
ak5_ left11:38
beakor I've added a new file to my repo, but `git status` says I've renamed one of my old files into that new file, and then modified the old file. should I be concerned?11:38
flijten1 left11:39
cmn no11:39
OMGOMG concerned with drying your code, perhaps11:39
joelataylor joined11:39
cmn it's just a heuristic11:39
joelataylor left11:41
archdori hi there. I wish to have colors when doing a git blame. it opens less, so where could I specify "less -R" instead for git blame ?11:41
Ryback_ joined11:43
aboudreault I've just cherry picked a commit from master in my branch. why git push is telling me that everything is up-to-date?11:43
dwmw2_gone joined11:43
maxthoursie joined11:43
thirdknife joined11:43
aboudreault I see it in my git log too.11:43
sgambino joined11:44
cmn aboudreault: see man git config push.default11:44
gitinfo aboudreault: the git-config manpage is available at http://git-scm.com/docs/git-config.html11:44
specialGuest joined11:45
sirdancealot joined11:45
StefanK joined11:45
lb cmn: is the git push four word syntax as bad as the git fetch four ?11:46
cmn no11:46
letharion joined11:46
aboudreault cmn, I've used git push origin branch--211:46
lb thanks11:46
cmn and it tells you that branch--2 is up-to-date? check what ls-remote says11:47
aboudreault cmn, ha wait.... looks like git cherry-pick pushed too.11:47
dwmw2_go` joined11:47
dwmw2_gone left11:48
aboudreault cmn, , arf nvm.... another developer had made the requested change and pushed an hour ago >:|. nvm11:48
_ikke_ aboudreault: :)11:48
lb aboudreault: ^^11:48
cmn that makes no sense... the commit wouldn't be the same11:48
lb cmn: if he cherry picks?11:48
why not?11:49
cmn if he does anything11:49
because it's not the same commit11:49
the metadata is different11:49
beakor I love git11:49
lb Oo11:49
beakor `git blame` who came up with that gem :D11:49
_ikke_ lb: git cherry-pick basically creates a new commit with the same changes as the original commit11:49
cmn beakor: the CVS developers11:50
hwrd|work joined11:50
lb ahha11:50
stevedomin joined11:50
StefanK Hi, I figure this is the right place to ask if it's possible to add a submodule to a specific directory in another repository?11:50
lb StefanK: !submodule11:51
gitinfo StefanK: git-submodule is ideal to add subsidiary git repositories to a git superproject when you do not control the subprojects or more specifically wish to fix the subproject at a specific revision even as the subproject changes upstream. See http://book.git-scm.com/5_submodules.html11:51
fisted joined11:51
ReekenX joined11:51
lb _ikke_: and git does a hash to the metadata like author and stuff?11:51
StefanK lb: What should I be using instead of a submodule?11:52
cmn nobody said you shouldn't11:52
letharion left11:53
_ikke_ lb: Yes, the hash is calculated over the content, and over the metadata11:53
cmn but you'll have to explain what you mean by "in another repository"11:53
thirdknife left11:53
_ikke_ lb: Note that even content is different for a commit that introduces the same chagnes11:54
cmn what's the first repo and why does it matter?11:54
agileadam joined11:54
lb _ikke_: yeah, but if both devs start at the same sha, cherry picking the same different sha, then the content should be identical. not ?11:55
_ikke_ lb: the same different sha?11:55
giallu joined11:56
diegoviola joined11:56
lb _ikke_: knew that ;) sha211:56
geekbri joined11:56
lb both do "git cherry-pick $sha2"11:56
arkiver joined11:56
StefanK cmn: ok, so my use case is the following, I have a few repos with a vagrant file and a puppet directory as well as application code. I would ideally like to add each projects puppet directory to a larger puppet repo with the name of the project it originated from. make sense?11:57
lb _ikke_: i'm just reading it . thanks anyway11:57
beakor left11:58
cmn ok, but you can't have a subdir as a submodule11:59
I mean, a submodule is a repo, not some subset of one11:59
Lord_DeathMatch left11:59
Lord_DeathMatch joined12:00
StefanK cmn: ok, that's all I needed to know. I probably just move the puppet subdirs to their own repos and add those as submodules in both projects. Thanks12:00
cmn you can have unconnected branches if having one repo is simpler12:01
letharion joined12:01
_ikke_ lb: Well, even if the content is the same, they'll end up with different commits12:01
lb: different author, different time of comitting12:01
lb _ikke_: yeah just reading that stuff. i obey master i obey12:01
zdk joined12:01
archdori no way to get git blame rendered with colors then ?12:02
cmn with your editor/IDE, probably12:03
Lord_DeathMatch left12:03
arkiver left12:03
cmn what colours do you want?12:03
Lord_DeathMatch joined12:03
archdori cmn: my question was how can I specify to git to use "less -R" instead of the current less12:03
cmn see core.pager12:04
archdori not sure what colours I want... need to try and I'll see if I like them12:04
ok thanks !12:04
cmn less also has LESSOPTS or some env var12:04
erm...12:04
tsdh left12:04
cmn where do these colours come from?12:04
titaniumNoob joined12:06
hwrd|work left12:07
archdori hmm less -R doesn't print colors, will search the LESSOPTS12:07
quazimodo joined12:08
zdk left12:09
arkiver joined12:09
skyf joined12:09
_ikke_ archdori: does git blame even output colors?12:10
gtrak joined12:10
cmn no12:10
because there is nothing to show12:10
quazimodo left12:10
cmn it would only print them out if you could convince it to output raw control codes that were in a file you were blaming12:11
_ikke_ And why would there be raw control codes in the file you are blaming?12:11
archdori right I have to define rules for git blame to display colors12:12
Lord_DeathMatch left12:12
neurodrone joined12:12
maloik joined12:12
bartek joined12:12
archdori emacs has vc-annotate http://www.saltycrane.com/blog/2011/05/colorized-interactive-git-blame-emacs-vc-annotate/12:12
but I only use vim & less12:12
maloik I made a commit to the wrong branch, but it hasnt been pushed yet... is there a way to undo it ?12:12
cmn _ikke_: I dunno, I'm just saying that's how you'd get them12:13
Lord_DeathMatch joined12:13
jalama joined12:14
cbreak-work maloik: git reset --soft HEAD~112:14
that'll remove the newest commit in the current branch12:15
maloik remove it, and unstage the changes ?12:15
cbreak-work no12:15
if you want to unstage changes as well, use --mixed instead of --soft12:16
leoj3n joined12:16
maloik cbreak-work: I just did it with soft, but it seems the commit is still there, is that possible ?12:16
archdori got it, I can use :Gblame from vim with fugitive, gives nice colors12:17
cmn this still doesn't explain why you thought you could get git-blame to show colours12:18
cbreak-work maloik: it should vanish if you do what I wrote12:18
how did you check wether it's still there?12:19
(also check git reflog)12:19
esc you can also use tig for that12:19
maloik gitx, and I did refresh :-) however its displaying on origin, despite my push failing as I had to pull changes first12:19
esc it will show nice blame view with colors12:19
maloik hmm in reflog it does seem to be gone12:20
cmn so will git gui blame, but none of this that is git-blame12:20
leoj3n When resolving a merge (http://goo.gl/25eH5) how should I edit the text that begins with "<<<<<<< HEAD:file.txt" ?12:20
cbreak-work maloik: if you pushed, then it's pushed12:20
reset won't change origin12:21
cmn leoj3n: see man git merge, it explains the representation12:21
nizeguy left12:21
gitinfo leoj3n: the git-merge manpage is available at http://git-scm.com/docs/git-merge.html12:21
cbreak-work just the local branch12:21
maloik cbreak-work: but the push failed ?12:21
cbreak-work maloik: no12:21
it'd just fail if you pushed12:22
jatt left12:22
maloik what? :-)12:22
cbreak-work maloik: do a git log12:22
do you see the commit?12:22
maloik no I do not12:23
cbreak-work then it's gone.12:23
maloik so why is it still being shown on origin in my gitx ?12:23
cbreak-work that's just what's on the other repo12:23
as I said, git reset only changes local branches12:23
nizeguy joined12:23
maloik I know, but when I pushed, it said I had to do a pull first, so the push failed ?12:24
cbreak-work yes.12:24
maloik I'd expect it wouldnt show up remotely if it failed :o12:24
arkiver left12:24
cbreak-work because there was history on the remote that you don't have locally12:24
you must have previously pushed it12:24
maloik hold on im going to get you a screenshot and explain properly :)12:24
cbreak-work before reseting it away12:24
even though you claimed you didn't12:25
jalama left12:25
leoj3n Can i edit the files using vi, by hand, or do i need to use a mergetool?12:26
Guest39198 joined12:26
cbreak-work you can12:27
leoj3n how would i do it by hand12:27
cbreak-work once you are done resolving conflicts, tell git about that by git adding the files12:27
make the file look like you want it to look12:27
leoj3n would i leave all the >>>>>>> stuff?12:27
cbreak-work only if you want to keep them.12:27
leoj3n lol ok thanks12:28
Guest84686 joined12:28
RaceCondition joined12:29
nizeguy left12:29
pfFredd joined12:30
nizeguy joined12:30
bartek left12:30
freeed joined12:31
marthinal left12:31
Guest39198 left12:31
Chib left12:31
maloik cbreak-work: if you have time to take a look... https://gist.github.com/e1cbc123eaba897c4b6112:32
basically what I want to do is commit the changes I made to master, then put production and master on the same 'level' before I deploy12:33
TrafeX joined12:33
harshpb left12:33
erichynds joined12:33
roflin joined12:34
nigelb joined12:34
pretty_function left12:34
pretty_function joined12:34
architekt joined12:34
RaceCondition left12:34
Artemis_ joined12:35
haf joined12:36
Artemis_ Is there a way to save the current commit has in a file? Like $REV$ in Subversion?12:36
_ikke_ Artemis_: Although there is a way, the question is, why do you need / want that?12:37
jalama joined12:37
_ikke_ Artemis_: Although, you can't store that inside git itself12:37
lb maloik: you're branches have diverged now? i would merge origin/master into master, then merge origin/production into master, then merge master into production and push both.12:39
Artemis_ _ikke_: What do you mean: not store inside git? Reason to have this: We write csv files in a git repository - every time we update the file with changed/additional data we commit it to git12:40
_ikke_ Artemis_: The commit hash is based on the content of the commit. If you should add the hash to the content, the hash changes12:40
Artemis_ In out application we read the file into our database - but we want to know which version of the file we have in our database right now12:40
cmn if you have a database anyway, store it alongside12:41
RaceCondition joined12:42
Artemis_ cmn: store what alongside?12:42
cmn this extra information, the version of th file12:42
Artemis_ but the question is where do I get the version from if not from the imported file?12:43
sangi left12:43
cmn from whatever process you use to store the file12:43
rohan32 joined12:43
cmn hm, wait, you want to store the commit's hash inside a file in the commit? that's impossible12:45
Progster joined12:45
ph^ joined12:46
cmn you can use $Id$ but that doesn't tell you what commit it's at12:46
mischat left12:46
cmn because it can be in anything from one to several million commits12:46
maxthoursie left12:47
Artemis_ ok thanks - didn't think about the commit hash being based on the content12:47
maxthoursie joined12:47
cmn this really sounds like an !xy problem anyway12:48
gitinfo This sounds like an "XY Problem" http://mywiki.wooledge.org/XyProblem So let's step back for a minute. What are you actually trying to achieve? Why are you doing it this way?12:48
Artemis_ I think we should stick with giving the file a new name every time it is computed12:48
cmn this isn't for backup12:48
jalama left12:48
pretty_function left12:48
_ikke_ and also !UGFWIINI12:48
gitinfo You appear to be Using Git For What It Is Not Intended - https://www.google.com/search?q=UGFWIINI Are you sure git is the right tool for the job? See also !wrong12:48
pretty_f_ joined12:48
thomasfr joined12:48
haf left12:50
haf joined12:50
Artemis_ Ok, what we are doing is the following: We have an application with a database - then we have a R program which calculates data and outputs them into a csv file12:50
those csv files change like every week12:50
maloik if I have a branch that's behind master, do I need to check that out and merge master, or checkout master and merge the branch to bring it up to date ?12:50
cmn that means it's generated data, no?12:51
Artemis_ we import the csv into the database - but we want to keep the old versions of the csv output to be able to revert the database to a certain point12:51
Sajaki joined12:51
cmn right, that's pretty much the definition of a database12:52
Artemis_ therefore we also want to know which version we currently have in our database12:52
cmn of a backup, sory12:52
but you said the csv file doesn't have the db contents12:53
haf Hi there12:54
OOPMan left12:54
haf Does somebody know how to get the very latest git on ubuntu - e.g. where an updated ppa is?12:54
cmn grab the source12:55
haf I want packages.12:55
gitinfo haf: welcome to #git, a place full of helpful gits. If you have a question, just ask it–somebody should answer shortly. For more information about git and this channel, see the links in the topic. It can't hurt to do a backup (type !backup for help) before trying advice you receive here.12:55
haf So that I can manage it with my package manager...12:55
Is that possible from source?12:55
revagomes joined12:55
Artemis_ cnm: The way it works: input file from somewher -> R -> output csv -> our app -> database12:55
cmn you can create a package out of the source, or update the source in the package12:56
pinguinux joined12:56
haf What commands do I run to create a package from the source?12:57
tango_ joined12:57
pinguinux left12:57
draginx joined12:57
cmn I don't create new packages often enough to remember off the top of my head12:58
gitinfo set mode: +v12:58
cmn have you searched for a git ppa?12:58
pfFredd left12:58
haf yes, quite a lot12:58
and I haven't been able to find an updated one12:58
FreeArtMan joined12:58
cmn and what does updated mean for you?12:58
haf It means something that contains gitsubtree12:59
seems like >= 1.7.11.412:59
and ubuntu ships 1.7.11.312:59
of course...12:59
Lord_DeathMatch left13:00
Lord_DeathMatch joined13:00
jackh joined13:00
cmn a patch-release wouldn't include such a feature as new13:00
adhawkins haf: Does this help?13:01
https://help.ubuntu.com/community/CompilingEasyHowTo13:01
cmn it shipped with 1.7.1113:01
cannonball joined13:01
cmn if the ubuntu maintainers don't want to include git-subtree, an updated package won't help13:01
ngirard joined13:02
lb ubuntu 12.04: $ git --version13:02
git version 1.7.9.513:02
RaceCondishun joined13:02
haf lb: yes, and I need x.x.x.14 for subtree13:03
I've already tried a PPA, that's probably why it's higher13:03
cmn and you know that for a fact?13:03
adhawkins haf: I think you're missing the point.13:03
haf: What exactly does git --version show on your machine?13:03
cmn how have you come to that conclusion?13:03
haf As I told you, I have 1.7.11.313:04
through that command13:04
stevedomi joined13:04
RaceCondishun left13:04
adhawkins But lb says that his ubuntu has 1.7.9.513:04
And cmn is saying that an upgrade from 1.7.11.3 to 1.7.11.14 wouldn't add subtree13:04
glennpratt joined13:04
Davey joined13:04
RaceCondishun joined13:04
adhawkins As subtree was added in 1.7.1113:04
stevedomin left13:05
cmn how have you come to the conclusion that this piont-release will bring subtree?13:05
haf It gives git: 'subtree' is not a git command. See 'git --help'.13:05
cmn so?13:05
haf So, it's obviously wrong that 1.7.11.0 added subtree; at least that's what it seems to me, since I have a version higher than that, and I don't have subtree13:06
RaceCondition left13:06
RaceCondishunRaceCondition13:06
adhawkins haf: Or ubuntu's maintainers decided to package 1.7.11.x without subtree support13:06
RaceCondition left13:06
adhawkins cmn: Is subtree a build option?13:06
cmn haf: I already told you that's not the reason13:06
adhawkins (i.e. can it be turned off in the build?)13:06
cmn it's in contrib13:07
you need to install it extra13:07
adhawkins Ah ok, so it sounds like the ubuntu packagers didn't do that.13:07
cmn right13:07
haf: I have 1.7.12 and I don't have subtree13:07
this has nothing to do with the minor release you're obsessed about13:07
haf ok, right, so then the question becomes, how do I install from source w/ contrib support.13:07
adhawkins https://launchpad.net/~ivan1986/+archive/ppa/+build/240458013:07
Any help?13:08
Chib joined13:08
macabre joined13:08
Artemis_ left13:08
cmn contrib support?13:08
tango_ left13:08
haf adhawkins: perhaps, except I'm not on 32 bits and I don't know what that package really does.13:09
cmn: yes, how do I compile the contrib things into git?13:09
cmn haf: apt-get source git, then go into contrib/subtree and read the instructions13:09
adhawkins Nor me, I just googled it.13:09
Maybe you need to ask in #ubuntu? (if it exists)13:09
haf adhawkins: ok, thanks13:09
cmn "contrib things" isn't something you install13:09
haf cmn: seems on adhawkins like that13:09
lb adhawkins: its on irc.ubuntu.com13:09
cmn what's on him?13:09
hyperair joined13:09
haf then notion that it's installed.13:10
I'll try the apt-get source git then...13:10
but I still dunno how to create a package from it13:10
cmn you don't have to13:10
amcsi_work left13:10
haf unless of course I use the automake thing13:10
I want to do so, because then it's easier to manage13:10
tango_ joined13:10
quazimodo joined13:10
haf no subtree directory13:12
w41 joined13:12
haf cmn: have you tried what you're suggesting?13:12
ok nm13:12
found it13:12
the readme only contains the man page13:13
ohcibi joined13:13
haf INSTALL contains some instructions on how to build though, but nothing on packaging13:13
TeckniX joined13:14
haf no wonder people think it's obtruse to work on linux with all this yak shaving13:14
lb haf because that has nothing to do with it13:14
haf ^^13:14
koki joined13:14
wereHamster joined13:14
v0n joined13:14
lb just google "ubuntu packaging"13:14
noneo joined13:14
ro0 joined13:15
zackiv31 joined13:15
haf lb: it's not that simple ^^13:15
lb: that would give me a million hits13:15
naquad joined13:15
zaiste joined13:15
haf lb: and then I'd spend an hour reading about it before I can do any real work13:15
like now, e.g. I'm missing http.h supposedly from making it13:16
AaronMT joined13:16
haf now I have to try and find where that comes from13:16
this is yak shaving big time ;)13:16
lb so you rather chat in the git irc channel for about an hour and still dont find someone who does the ubuntu package thing for you ? Oo tough...13:16
no offense ;)13:17
haf lb: right now, I'm trying to build git from source with subtree support13:17
lb: when it comes to the packaging I'll probably move, yes.13:17
lb: but what a non-yak project would do is to have a make target called 'rpm' or 'deb' or something ;)13:17
lb: or a continuous integration server13:18
lb: or a deb or rpm server13:18
axrfnu yes, world's a bad place13:18
haf axrfnu: hehe13:18
lb hehe13:19
zackiv31 left13:19
palm_vue left13:20
bizhanMona left13:20
Lgb left13:20
iocor left13:21
haf OK question; I've built the git root folder, but now it's the contrib. INSTALL says to use 'make install' which I should replace with 'sudo checkinstall' -- should I do that from the root git folder or from the contrib folder?13:21
Lgb joined13:21
palm_vue joined13:22
bizhanMona joined13:22
codewrangler joined13:23
haf Rephrased: when I've run 'make && cd contrib/subtree && make', then what?13:23
specialGuest left13:23
haf perhaps 'cd ../.. && sudo automake' or alternatively 'sudo automake' or third option: 'sudo automake && cd ../.. && sudo automake'13:23
beakor joined13:24
beakor hello mates13:24
danielpunt joined13:24
john3_ left13:25
beakor in this project I have, a function was deleted a number of revisions ago. How do I retrieve this function?13:25
john3_ joined13:25
leoj3n I'm on a Mac trying to git clone a GitHub repo to my NAS @ /Volumes/nasusername/myrepo … the nasusername share is mounted via Transmission using SFTP … I get the error `fatal: could not create leading directories` … can this be made to work?13:25
haf beakor: you can do git checkout with a refspec13:26
it will then check out that file13:26
hellopat joined13:26
_ikke_ beakor: you can use git checkout -p <commit> -- <file> to partially checkout that file13:26
haf depending on how much you changed, you can also do something like create a diff/patch from n+1..n and then apply it13:26
or you can do a revert commit, I guess13:26
nadavoid joined13:26
haf ** Does somebody know how to build contrib packages for git?13:27
git revert <refspec>13:28
beakor: does that help?13:28
gtrak left13:29
scholtz left13:29
scholtz joined13:30
msmithng joined13:30
robotmay joined13:31
blami_ left13:31
jjbohn joined13:32
bartek joined13:32
sawdisk joined13:35
derekpioneer joined13:36
spaceonline joined13:37
Know1edge joined13:41
tonyj joined13:42
tplaner_ joined13:42
hyperair left13:44
dov23 joined13:44
hyperair joined13:45
_huoxito joined13:45
hyperair left13:46
ph^ left13:46
dov23 left13:47
dov23 joined13:48
naquad left13:48
thomasfr left13:48
thomasfr joined13:49
naquad joined13:49
hyperair joined13:50
intransit joined13:50
hyperair left13:50
chuckharmston joined13:52
danielpunt left13:53
lb hm first time i'm facing a rebase. can anyone tell me the correct command to rebase master onto origin/master ?13:53
http://pastebin.com/e6ufBsgm13:53
thomasfr left13:53
_ikke_ git rebase origin/master13:53
lb _ikke_: ok, i was worried about it13:54
xxiao joined13:54
lb but now i'm loving git magic ^^ thanks13:55
_ikke_ Well, you have to know the rules13:55
Lord_DeathMatch left13:55
hyperair joined13:55
_ikke_ But this is a simple case, so rebasing is safe13:55
Lord_DeathMatch joined13:55
lb yep thought so, but i didn't wanted to screw things up ^^13:56
xxiao i have some binary files in git, i don't really need the old versions as they eat up space fast, can I remove certain files _fully_ from git?13:56
_ikke_ xxiao: You'd have to rewrite histry13:57
history13:57
FauxFaux xxiao: https://help.github.com/articles/remove-sensitive-data13:57
xxiao git filter-branch --tree-filter 'rm filename' HEAD13:57
not sure is this is correct, from http://dalibornasevic.com/posts/2-permanently-remove-files-and-folders-from-a-git-repository13:58
FauxFaux Read man git filter-branch, or my link, or just run it, and find out?13:58
gitinfo the git-filter-branch manpage is available at http://git-scm.com/docs/git-filter-branch.html13:58
beautifulmind left13:58
marthinal joined13:58
jason237 joined13:59
MacGyver joined13:59
MacGyver left13:59
MacGyver joined13:59
erynofwales joined13:59
lng left14:00
draginx ok so is there anyway I can make it so if I have file sin a directory.. and I have an nginx instance pointing to it... the files will change base on whatever branch I'mactively on there?14:00
bascially ill do git checkout test; vim test.php; <add a simple var_dump> then hit the page.. looks good, git checkout master -- still see the simple var_dump (not good)14:00
xxiao FauxFaux: thanks, studying14:01
letharion left14:01
FauxFaux draginx: Sounds like a niggix problem.14:01
loops draginx, for the most part git wont touch files unless you've told it to track them. if var_dump is just a random file git will leave it there when you checkout master14:02
draginx well both branches have this file14:02
v0n left14:02
draginx im just modifying it14:02
FauxFaux Ohh, I see, loops. draginx: !float14:02
gitinfo If you have made a change in your working directory and have NOT YET COMMITTED, you may "float" that change over to another (`git checkout oldbranch`) or new (`git checkout -b newbranch`) branch and commit it there. If the files you changed differ between branches, the checkout will fail. In that case, `git stash` then checkout, and `git stash apply` and go through normal conflict resolution.14:02
kermit joined14:02
kermit left14:02
kermit joined14:02
draginx but theres no way to like.. completely change the environment based on which branch Im on? :/14:02
whats the point of branches then? O_o14:02
alexisabril joined14:03
draginx i just want one change to *stay* in that branch14:03
loops draginx, ah, yes, git will not destroy your changes. it thinks you want to commit those changes on another branch14:03
draginx not to bleed over :)14:03
FauxFaux draginx: If you commit before switching branches, it'll do what you expect.14:03
loops draginx ^^ what Faux said14:03
draginx hmm14:03
so what would the ordering be?14:03
Tegi joined14:03
FauxFaux checkout, edit, add, commit, checkout14:03
PerlJam draginx: if you didn't commit it, it's not "on a branch" It's just in your working copy.14:03
draginx git checkout test; vim file.php; git commit -m "doing my test!"; then look at file on chrome; then git checkout master; go back to chrome and changes should be reverted?14:03
titaniumNoob left14:04
FauxFaux You need to do the git add (or commit with -a), but otherwise, yes.14:04
chrisgeorge joined14:04
FauxFaux Also, you need a shell with sane ! interpretation. ¬_¬14:04
ph^ joined14:04
draginx hmm14:05
shawngo joined14:05
iocor joined14:05
andrewhl joined14:06
bartek left14:07
afuentes left14:07
loops draginx, gits behavior is really handy when you make a change and realize it should actually be on a different (or new) branch.14:07
draginx hmmm14:07
but id like to only see changes for a specific branch14:07
if that branch is active :/14:08
loops draginx, the other option for you is to do git stash to temporarily shelve any changes14:08
draginx right14:08
dhruvasagar left14:08
FauxFaux draginx: Yeah, but the changes aren't /in/ a branch, they're in the working copy.14:08
draginx right14:08
FauxFaux commit moves changes from the working copy to a branch.14:08
letharion joined14:08
vpetro joined14:08
draginx ahh is ee now! :) ok thanks14:08
Haix64 joined14:08
Haix64 left14:09
loops Faux made lightbulb comment ;o)14:09
FauxFaux It also caused a breakdown of her vocal circuits.14:09
loops heh14:09
thomasfr joined14:09
Deck` joined14:10
nwest joined14:11
eijk joined14:12
ph^_ joined14:13
nizeguy left14:13
nizeguy joined14:14
v0n joined14:15
ShadeTornado joined14:15
jcromartie joined14:15
ph^ left14:17
jcromartie What's the best way to open source a project in a Git repo, when I might not want *all* history to be included?14:17
I know about shallow clones but I don't think you can push that to a remote like Github.14:18
Lord_DeathMatch left14:18
charon jcromartie: you'll have to rewrite it to exclude the parts of history you don't want to publish. see git-replace, grafts, and git-filter-branch14:18
FauxFaux Or rebase -i and deleting loads of lines. >.>14:18
cakehero joined14:18
charon that obviously comes with all the caveats of rewriting, but i don't think it can be avoided14:18
FauxFaux: only if history is linear14:19
(or you are so lucky with conflicts that you should play in the lottery instead of coding)14:19
FauxFaux Oh, yeah, mergophiles.14:19
andrewhl left14:19
FauxFaux Wait, deleting lines doesn't even remotely do what he wants.14:19
diegoviola left14:19
xmattdh joined14:20
diegoviola joined14:20
jcromartie hah hah14:20
ehsan joined14:20
thomasfr left14:20
kukks joined14:20
kukks left14:20
kukks joined14:20
jcromartie OK so git-filter-branch would get me something14:20
charon hrm, i also wonder whether, after grafts or git-replace, git fast-export|(cd other; git init; git fast-import) would be a way to set the replacements in stone14:21
if so, that would be a few orders of magnitude faster14:21
FauxFaux Did you ever work out why filter-branch was so much slower than fast-export|fast-import?14:22
tommsen_ joined14:22
charon what do you mean, "work out"? one is a shell script, and the other is a C program highly optimized for that exact task14:22
paolooo left14:22
FauxFaux There was a discussion in here about it the other week, I assumed you were involved.14:23
charon thiago was of course right when we had that discussion, *in theory* the approach used by filter-branch processes less data14:23
but in practice, carefully coded C wins14:23
cweqwe joined14:25
Crenial joined14:26
lotus joined14:26
lotus left14:26
tommsen left14:26
tommsen_ left14:27
Nicarlo joined14:27
cweqwe left14:27
lotus joined14:27
tommsen joined14:27
bartek joined14:27
haf Guys, installing subtree as a package http://stackoverflow.com/a/12075310/6362114:27
I answered it after finishing the yak shaving14:27
lotus hey, I want to get my database into version control. I'm sure this is asked all the time. Is there a standard way of doing this? Maybe a tutorial to follow?14:27
axl_ joined14:27
haf only problem now is the --help command14:28
anyone care to help me with thatr?14:28
soee_ left14:28
haf (at bottom of my answer)14:28
lotus help with help? :)14:28
FauxFaux lotus: Things like dbdeploy are reasonably popular, if your platform doesn't provide one.14:28
PerlJam lotus: Try http://sqitch.org/14:28
Nicarlo hey!14:29
letharion left14:29
lotus thank you both, FauxFaux and PerlJam14:29
lcc joined14:30
gitinfo Nicarlo: welcome to #git, a place full of helpful gits. If you have a question, just ask it–somebody should answer shortly. For more information about git and this channel, see the links in the topic. It can't hurt to do a backup (type !backup for help) before trying advice you receive here.14:30
thanpolas_ joined14:31
beakor left14:32
jackh left14:32
codeM0nK_ joined14:32
haf lotus: exactly ;)14:32
tango_ left14:33
ndngvr joined14:33
arvind_khadri left14:33
tommsen left14:34
thanpolas left14:34
tango_ joined14:34
codeM0nK_codeM0nK3Y14:34
Bass10 joined14:34
paolooo joined14:35
rohan32 left14:35
luxurymode joined14:35
Bass10 left14:35
Bass10 joined14:36
tommsen joined14:37
letharion joined14:37
kvanderw joined14:37
berserkr left14:39
kevwil joined14:40
haf My answer now includes a one-liner to install git with git as a package ;)14:41
https://gist.github.com/342622714:41
freeed left14:41
tango_ left14:42
jcromartie OK so any other option? aside from filter-branch to wipe sensitive info…14:43
I'm trying to really understand shallow clones14:43
bitmonk joined14:43
lb left14:43
jcromartie if we just want to publish the tip of the master branch as the initial open source version?14:44
fly9 joined14:44
jcromartie I guess I should just test the scenarios :)14:45
wolftankk joined14:45
vpetro left14:45
jast shallow clones can't be cloned from14:45
(afaik)14:45
jcromartie ah, yeah, that nixes that14:46
just tried :)14:46
charon jcromartie: note that if you really only want to publish a single starting commit, you can just make a new commit on an orphan branch, no filtering required14:46
jcromartie charon: how exactly does that work? it wouldn't have the full history?14:47
haf that's right14:48
jcromartie oh wow14:48
this is perfect,14:48
haf an orphan branch afaik doesn't contain any commit data14:48
then you can just rename it to match14:48
tango_ joined14:48
leoj3n left14:49
haf could someone direct me to where I can read to understand why certain MAN pages aren't installed from a makescript?14:51
bartek left14:52
Ecesis joined14:52
andrewhl joined14:52
bartek joined14:52
jceb_ left14:53
Ecesis left14:53
charon haf: !xy and !repro14:54
gitinfo haf: This sounds like an "XY Problem" http://mywiki.wooledge.org/XyProblem So let's step back for a minute. What are you actually trying to achieve? Why are you doing it this way?14:54
haf: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session, or at least explain exactly what you did that led up to the problem. This will help immensely with troubleshooting.14:54
haf specifically how I make the contrib projects install doc -- the 'sudo checkinstall make prefix=/usr/local install-doc' doesn't install it into man14:54
repro: https://gist.github.com/342622714:54
erichynds left14:56
charon haf: so what's the output from make install-doc?14:56
haf charon: I will check, one second, please.14:56
flijten left14:56
rchavik joined14:56
pl0sh joined14:56
charon haf: i get this: https://gist.github.com/e36c099c449fcf10c9fe14:57
using the prefix from my ~/g/config.mak14:57
(automatically sourced by git-subtree's Makefile)14:57
so it's pretty much "works for me"14:57
freeed joined14:59
Vile left14:59
haf charon: but that's not a package-based install that you're doing there.15:00
charon: so it fails that criterion15:00
charon: I will soon come back with some output though15:00
dinesh6654 joined15:01
psoo left15:02
msmithng left15:02
converge joined15:04
haf charon: seems like checkinstall wants a folder doc-pak but the makefile manually copies to the man folder15:04
beepbeep_ left15:04
haf any ideas?15:05
kevwil left15:06
jcromartie OK thanks guys… git checkout --orphan is the way to go15:06
haf jcromartie: glad it solved ur problem15:06
as for my problem, I'm gonna have to come back later... cya all.15:07
mritz joined15:07
haf left15:07
hyperair left15:08
thomasfr joined15:08
rchavik left15:08
mritz left15:08
Atlantic777 joined15:10
MaximB_ left15:10
zw_yao joined15:11
duckxx joined15:13
pppaul joined15:14
pppaul left15:14
babilen_ joined15:14
pppaul joined15:15
babilen left15:15
cbreak-work left15:15
xiangfu joined15:16
mritz joined15:16
mmc1 joined15:16
maxthoursie_ joined15:17
maxthoursie left15:17
mritz left15:17
maxthoursie_maxthoursie15:17
w41 left15:18
gavin_huang left15:19
eijk_ joined15:19
v0n left15:20
marthinal left15:21
Davey left15:21
Crenial left15:21
jcao219 joined15:22
eijk left15:22
rob_w left15:22
destinydriven joined15:22
marthinal joined15:23
harish joined15:23
Davey joined15:23
destinydriven left15:24
dr_lepper left15:24
gitinfo set mode: +v15:24
zw_yao Hi, all. I'm new to git. what does it mean by " you should rebase your branches to the updated master"?15:25
charon zw_yao: context?15:25
FauxFaux zw_yao: Sounds like it's suggesting you should man git rebase your current branch onto master. Need context to explain why, though.15:26
gitinfo zw_yao: the git-rebase manpage is available at http://git-scm.com/docs/git-rebase.html15:26
destinydriven joined15:26
shreya joined15:26
Atlantic777 left15:26
rehat joined15:26
zw_yao Sorry, let me provide the details.15:26
jason237 left15:26
jcao219 left15:27
Nicarlo Hey! im new to GIT and im a little confused with what the best practice is for what im trying to do. I'd like to setup a live, test and development area and would like to know what are the best way to push something from Development to test and then finally to Live. Would anyone know of any articles that would describe this ?15:27
jcao219 joined15:27
linduxed just out of curiosity15:28
scholtz left15:28
Atlantic777 joined15:28
Atlantic777 left15:28
Atlantic777 joined15:28
FauxFaux Nicarlo: !deploy15:28
gitinfo Nicarlo: Git is not a deployment tool. You can build one around it for simple environments. http://sitaramc.github.com/the-list-and-irc/deploy.html15:28
msmithng joined15:28
linduxed could someone elaborate on the technical side of why this developer of a big project says the following? https://gist.github.com/342676715:28
Nicarlo FauxFaux: I love you15:29
FauxFaux linduxed: He's correct; !big15:29
gitinfo linduxed: [!large_files] Git isn't yet great at large files(larger than RAM). Look at !annex for solutions. You can find them (after gc) with: git verify-pack -v .git/objects/pack/pack-*.idx | grep blob | sort -k3nr | head | while read s x b x; do git rev-list --all --objects | grep $s | awk '{print "'"$b"'",$0;}'; done15:29
nowhere_man is it possible to use rebase to edit the first-ever commit?15:29
lacrymology joined15:30
FauxFaux nowhere_man: Nope; workarounds are hilariously trivial to google.15:30
thelazydeveloper joined15:30
blathijs Hmm, is there some way I can prevent git from pushing out specific commits? I have a branch with certain commits that are not finished, so I'd like to mark them in the commit message with "TODO" or "DONTPUSH" or something like, just in case I ever mess up and accidentally tell git to push the entire branch or something like that. This would apply to both regular git push as well as git svn dcommit. I looked through the various manpages and hooks ...15:30
shreya left15:30
nowhere_man FauxFaux: they are indeed, thx15:30
blathijs ... available, but it seems there isn't really something I could use for this. Any ideas?15:30
t4nkd joined15:30
shreya joined15:31
jcao219 left15:31
linduxed !annex15:31
gitinfo git-annex and git-media are two solutions to the !binary problem. They work by keeping the blobs outside of the repo, storing a reference to the blob in the repo instead. See http://git-annex.branchable.com/ and https://github.com/schacon/git-media15:31
FauxFaux blathijs: Sometimes people suggest creating a dummy remote (with a bogus url), and setting the upstream for the branches to that, such that any push will fail; but it doesn't stop you bungling other pushes.15:31
harv joined15:31
zw_yao My upstream repo have updated. Then I want to update my local, however, I have some work on local have been done. What I want to do is update my local master branch. And then I want to do a pull-request. However, the upsteam requires squash my work into single commit.15:31
Vert left15:32
quazimodo left15:32
v0n joined15:33
SirCmpwn_ joined15:33
john3__ joined15:33
amcsi joined15:33
SirCmpwn_SirCmpwn15:33
zw_yao sorry, my desription may be still obscure...:(15:33
blathijs FauxFaux: I still want to push things, so that doesn't really help me (I can still mess up when I'm not careful then)15:33
destinydriven left15:34
destinydriven joined15:34
destinydriven hello guys15:34
blathijs FauxFaux: Also, I think I don't really use a branch's upstream remote often, usually I just specify the remotes by hand15:34
t4nkd left15:34
Davey left15:34
destinydriven I just edited a file in my repo master branch using github's editor , how do I update my local repo?15:34
FauxFaux destinydriven: man everyday15:35
gitinfo destinydriven: the everyday manpage is available at http://git-scm.com/docs/everyday.html15:35
blathijs FauxFaux: It's mostly that I regularly re-order commits, so I'd like to be sure I can't accidentally push an unfinished commit to the front of the queue15:35
tjholowaychuk joined15:35
destinydriven FauxFaux, thanks15:35
jcao219 joined15:35
apipkin joined15:36
john3_ left15:36
apipkin how do i pull from a specified remote branch to a local branch?15:37
pretty_f_ left15:37
zackiv31 joined15:37
FauxFaux apipkin: You can only pull /to/ the checked out branch. You already know how to pull from a specified branch.15:38
ku joined15:38
charon however, !pull415:38
quazimodo joined15:39
berserkr joined15:39
saml joined15:39
gitinfo [!fetchfour] Never use the four-word version of git-fetch or git-pull (e.g. git fetch remote refspec). It always ends in tears. Yes, if you understand the implications of FETCH_HEAD it can technically be done, but really it is easier to just fetch the whole remote (or perhaps edit the fetchspec if you never want other bits). If you must, see !fetch4why15:39
saml hey, I have a commit that isn't pushed.. but git push doesn't push it15:39
apipkin FauxFaux: so i just need to check out the specified branch? then pulls will be from there?15:39
destinydriven saml, git status, see what hasn't been commit, commit it, then push15:40
saml destinydriven, it says nothing to commit15:40
corburn left15:40
saml i have two branches (develop and master) i was on develop and committed to develop.. and wanted to push to develop15:41
Davey joined15:41
destinydriven saml, and you're on develop branch?15:41
rwestphal joined15:41
jcao219 left15:41
destinydriven git checkout develop15:41
saml but that rejected because local master was running behind.. so, `git checkout master && git pull && git checkout develop && git push`15:41
nothing happens15:41
destinydriven saml, sorry, but this is beyond me :(15:42
saml git is beyond us15:42
scholtz joined15:43
jceb_ joined15:43
FauxFaux git push origin develop:develop15:43
saml ! [rejected] develop -> develop (non-fast-forward)15:43
tjholowaychuk left15:44
saml giEverything up-to-date15:44
charon saml: last i checked, that had an entire paragraph of advice at the end15:44
papegaaij left15:44
saml someone pushed meantime.. so after git pull && git push origin develop:develop... it says Everything up-to-date15:44
charon briefly put, the problem is that somebody (perhaps even you) pushed other work to the same branch15:44
saml but remote repository doesn't have my commit.. local repo does15:44
lukosanthropos left15:44
fly9 left15:44
senny_ left15:45
fly9 joined15:46
axl__ joined15:46
angelsl left15:47
maletor joined15:47
saml maybe it's github. so slow to update remote15:48
tommsen_ joined15:49
jceb_ left15:49
charon saml: what's the *full* output of *both* git pull *and then* git push origin develop? what is the upstream branch of develop (consult git branch -vv) and your 'git config push.default'?15:49
axl_ left15:49
axl__axl_15:49
fly9_ joined15:50
tommsen left15:50
saml charon, thanks. i'll have to read up on those15:50
fisted left15:50
fly9_ left15:50
fly9_ joined15:51
fisted joined15:51
iori joined15:52
fly9 left15:52
fly9_fly915:52
mrOrangeChuck joined15:52
dinesh6654 left15:52
danmackay joined15:52
gavin_huang joined15:53
tommsen_ left15:54
tommsen joined15:54
metcalfc_ joined15:54
iflista joined15:55
afuentes joined15:56
vpetro joined15:57
babilen_babilen15:57
saml charon, https://gist.github.com/4234fdff4eb1fb040a77 this is what I did15:57
Progster left16:00
Vile joined16:00
Shusshu joined16:01
robotmay left16:01
Anders_J joined16:01
Davey left16:02
ryez_ joined16:02
OOPMan joined16:02
imachuchu joined16:04
whitman left16:04
jwmann joined16:04
jwmann left16:04
converge left16:04
jwmann joined16:05
jwmann left16:05
saml i was looking at master branch.. that's why i thought my change didn't go in16:05
jwmann joined16:05
jwmann left16:05
t4nkd joined16:06
StefanK left16:06
jwmann joined16:06
jwmann left16:06
mishok13 left16:07
TheJH joined16:07
apok joined16:08
Sebo left16:08
Sebo joined16:09
lotus hey, I made some changes on the wrong branch but have not committed yet. I went to checkout the right branch to do the commit but it says that my changes would be overwritten. What can I do?16:09
kermit left16:09
skorgon left16:10
tjadc left16:11
offby1 lotus: git stash16:11
then checkout the right branch16:11
then git stash apply16:11
the git add & git commit16:11
very slick16:11
this is (more or less) _exactly_ the problem that "git stash" was designed for.16:11
Textmode joined16:12
vpetro left16:12
lotus ahh, thank you much :D16:12
Davey joined16:13
ppppaul joined16:13
ppppaul left16:13
Sebo left16:13
timj1 left16:14
ppppaul joined16:14
ppppaul left16:14
pppaul left16:14
Sebo joined16:14
nizeguy left16:15
Shusshu left16:15
Synthead joined16:15
pppaul joined16:16
vpetro joined16:17
bitmonk left16:17
martinjlowm joined16:18
scholtz left16:18
titaniumNoob joined16:19
paolooo_ joined16:20
thanpolas_ left16:21
paolooo left16:22
fireh left16:22
ryez left16:22
mmc1 left16:22
freeed left16:23
ryez_ left16:23
Guest84686 left16:23
freeed joined16:24
achadwick left16:25
psoo joined16:25
fly9 left16:25
xiangfu left16:26
apok left16:26
ajpiano joined16:29
maletor left16:29
iori left16:29
bartek left16:29
Advocation left16:30
roto joined16:30
iori joined16:30
rehat left16:31
Sebo left16:31
lcc left16:33
klj613 left16:34
kermit joined16:34
hyperair joined16:34
Know1edge left16:34
Progster joined16:35
sq-one joined16:35
maletor joined16:36
_keith joined16:37
metcalfc_ left16:37
_keith Suggested helpers for pushing git changes to live FTP server, other than BeanStalk?16:38
SidGBF joined16:39
OOPMan left16:39
shruggar _keith: remove "git" from your sentence and realise that the term you want to google is "deployment tool"16:40
SidGBF Hi all! Im preparing a wordpress test environment. For that I would need a submodule of wordpress install and another one that is my plugin. But one submodule must be inside another. How to do this?16:40
_keith OK, so i know I can go through Google Search results. I am asking if you have a suggestion?16:40
shruggar _keith: not git-related ones :) And there's not enough information for me to know general ones. What language? What type of thing are you deploying? How robust a solution do you want? Is push-to-deploy a definite requirement, or if you think really hard about it do you need multiple release phases?16:42
!deploy might have some hints16:43
gitinfo Git is not a deployment tool. You can build one around it for simple environments. http://sitaramc.github.com/the-list-and-irc/deploy.html16:43
_keith Simply push-to-deploy, nothing complicated. Simple PHP web site lets say, maybe a WordPress site16:43
Davey left16:43
converge joined16:44
SidGBF _keith: just clone the website on the server16:44
shruggar SidGBF: how would that get him… anything?16:44
SidGBF or create a repo there, add it as an origin to your local code16:44
_keith So setup repository on the server and then clone it down to my local machine?16:45
SidGBF then you can 'git push production'16:45
Davey joined16:45
SidGBF _keith: yup16:45
shruggar SidGBF: you've never actually tried that, have you?16:45
that is not how git works16:45
_keith It seems like that can be tricky to manage?16:45
SidGBF shruggar: nop :p16:46
shruggar: old idea that I had no time/need to test16:46
shruggar "push" is about sending objects / packs from one repository to another. It does not have anything to do with worktrees16:46
_keith I am using git for version control and I love it. I just want to get off of using FTP to post the changes. I was looking into BeanStalk, but it looks like more than what I am looking to do.16:46
codeshah joined16:46
kermit left16:47
shruggar _keith: I expect !deploy will tell you enough for the basics16:47
gitinfo _keith: Git is not a deployment tool. You can build one around it for simple environments. http://sitaramc.github.com/the-list-and-irc/deploy.html16:47
boombatower joined16:47
stevedomi left16:47
_keith gitinfo: Checking out that link now. Thank you for the resource.16:47
gitinfo _keith: you're welcome, but please note that I'm a bot. I'm not programmed to care.16:47
lb joined16:47
paolooo_ left16:47
_keith gitinfo: nice, just got burned, schweet16:48
SidGBF shruggar: So, he needs: 1) local repo with code, 2) remote server with production code, 3) remote server with cloned repo that actually is the production website?16:48
thorbjornDX _keith: for simple stuff you can set up a non-bare repo on your remote that pulls from a bare repo w/ a post-receive hook16:48
thirdknife joined16:48
paolooo joined16:48
etcetera joined16:48
_keith post-receive hook…..how would a command like that look16:48
thirdknife left16:48
shruggar SidGBF: 1) local repo with code 2) some sort of deployment infrastructure :)16:49
SidGBF shruggar: ok :)16:49
thorbjornDX _keith: it's a shell script that sets GIT_DIR to your non-bare repo and does a git pull from your bare repo, let me see if I can find an example16:49
babilen left16:49
hwrd|work joined16:49
_keith thorbjornDX: ok16:49
SidGBF Im preparing a wordpress test environment. For that I would need a submodule of wordpress install and another one that is my plugin. But one submodule must be inside another. How to do this?16:49
naee joined16:49
LekeFly joined16:50
shruggar SidGBF: for wordpress, I prefer subtree merge16:51
khmarbaise joined16:51
shruggar though, on looking at wordpress code, for wordpress I these days prefer to tell people to avoid wordpress if at all possible :)16:51
_keith what are using capistranio?16:52
capistrano?16:52
SidGBF shruggar: why?16:52
avinashhm joined16:52
thorbjornDX _keith: http://toroid.org/ams/git-website-howto Use with caution though16:53
SidGBF it doesn't look like helping me out... can you explain how it works?16:53
pppaul left16:54
thorbjornDX _keith: the sitaramc link posted earlier has some of the same information too, and might be more up-to-date16:54
tjholowaychuk joined16:55
_keith thorbjornDX: Thanks, I appreciate the resources.16:55
shruggar SidGBF: I don't have a representative line in front of me at the moment, sorry. I shall summarise in that it is written in a style which I do not expect to see outside of a classroom, for a class where the subject is unrelated to programming, in a school in a bad neighborhood16:55
jason237 joined16:56
opus joined16:56
SidGBF shruggar: lol16:56
apipkin left16:56
pppaul joined16:56
apok joined16:56
oojacoboo joined16:57
metcalfc_ joined16:57
Davey left16:58
xxc_michael joined16:58
SidGBF anyone to solve the submodule inside submodule question?16:59
shruggar SidGBF: my only recommendation is to use subtree-merge instead16:59
scholtz joined16:59
shruggar SidGBF: or, if the module is your own, just develop it directly inside a wordpress clone17:00
SidGBF shruggar: as I said, I didn't understood how it will help me. Could you give me a brief explanation?17:00
scholtz left17:00
SidGBF shruggar: the plugin has it's own repo17:00
fornext left17:00
nor5trom left17:00
shruggar sorry, I must flee :)17:00
!subtree might help17:00
gitinfo The git subtree merge method is ideal to incorporate a subsidiary git repositories directly in to single git repository with "unified" git history, where you only need to pull changes in from external sources not contribute your own changes back (which if technically possible is at least difficult). See http://progit.org/book/ch6-7.html Type "!subtree_alt" for more options17:00
Anders_J left17:01
_keith left17:01
_keith joined17:01
shruggar left17:01
lotus left17:02
ku left17:02
dinesh6654 joined17:03
pppaul left17:03
imachuchu quick question, if I have commits A->B->C->D and I want to cherry-pick them onto my branch the correct syntax is "git cherry-pick A..D", right?17:03
and I tried it (as is the knee-jerk reaction) and it missed A for some reason, is that reason my own ignorace or something else?17:04
kermit joined17:04
lotus joined17:04
ku joined17:05
alexchamberlain joined17:05
skorgon joined17:06
Davey joined17:07
Sym3tri_ joined17:07
alexchamberlain Hi all, I've written a post-recieve hook - on a bare repo - that clones 2 copies. On 1 copy it checks out the build branch, builds stuff from the master branch, adds everything and pushes back. The only problem is that it is calling the post-recieve hook recursively. Any ideas?17:07
I guess it will involve processing STDIN17:08
pppaul joined17:08
pdelvo this is not specially git related, but you may can help me. I want to rename a github repository, but this does not look like a good idea because many things will break. do you have a better solution?17:08
ShadeTornado left17:08
psoo left17:10
tommsen left17:10
mklappstuhl left17:10
uwjesd joined17:10
wereHamster pdelvo: solution to what17:10
pdelvo I have a public repo with a working name i want to rename, but then references to it will all break17:11
tommsen joined17:11
wereHamster pdelvo: and where is the problem?17:11
pdelvo bookmarks will break, remotes will break. sounds not very good to me17:12
letharion left17:12
wereHamster then don't rename it.17:12
wolftankk left17:13
Progster left17:14
LucasTizma joined17:14
pppaul left17:15
duckxx left17:15
apok left17:16
xxc_michael left17:16
tommsen_ joined17:16
apok joined17:16
letharion joined17:18
titaniumNoob left17:18
tommsen left17:18
converge left17:19
spyro joined17:20
spyro left17:20
tommsen_ left17:21
spyro joined17:21
cmullican joined17:21
tommsen joined17:21
etcetera left17:23
devth joined17:23
Psycho_pr_ joined17:24
converge joined17:25
p3rror joined17:25
Chib left17:26
p3rror left17:26
p3rror joined17:26
valberg_ joined17:30
avinashhm left17:38
codeshah left17:38
iori left17:38
eijk_ left17:38
chuckharmston left17:38
DanyO83 left17:38
kermit left17:38
hwrd|work left17:38
imachuchu left17:38
maxthoursie left17:38
ndngvr left17:38
intransit left17:38
nadavoid left17:38
bizhanMona left17:38
Lgb left17:38
cannonball left17:38
paolooo left17:38
SidGBF left17:38
p3rror left17:38
msmithng left17:38
MacGyver left17:38
ro0 left17:38
dwmw2_go` left17:38
sweet|kid left17:38
converge left17:38
apok left17:38
tjholowaychuk left17:38
maletor left17:38
sq-one left17:38
ajpiano left17:38
roto left17:38
t4nkd left17:38
Vile left17:38
_keith left17:38
afuentes left17:38
danmackay left17:38
rwestphal left17:38
thelazydeveloper left17:38
kvanderw left17:38
codeM0nK3Y left17:38
ph^_ left17:38
Deck` left17:38
Tegi left17:38
dov23 left17:38
tplaner_ left17:38
codewrangler left17:38
ngirard left17:38
revagomes left17:38
geekbri left17:38
giallu left17:38
sgambino left17:38
cybersphinx left17:38
alexchamberlain left17:38
SkAzZ1 left17:38
jargon- left17:38
robbyoconnor left17:38
leeN left17:38
ohcibi left17:38
architekt left17:38
wereHamster left17:38
nigelb left17:38
_iron left17:38
patrick85 left17:38
LimeBlast left17:38
iflista left17:38
zackiv31 left17:38
harv left17:38
xmattdh left17:38
erynofwales left17:38
jjbohn left17:38
narfnarfnarf left17:38
udantee left17:38
osse left17:38
TheJH left17:38
quazimodo left17:38
harish left17:38
luxurymode left17:38
roflin left17:38
Ryback_ left17:38
timthelion left17:38
jjore left17:38
Element9 left17:38
freeed left17:38
axl_ left17:38
zw_yao left17:38
kukks left17:38
ehsan left17:38
derekpioneer left17:38
zaiste left17:38
koki left17:38
skyf left17:38
k-man left17:38
flexd left17:38
gerard0 left17:38
cthuluh left17:38
cmullican left17:38
iocor left17:38
shawngo left17:38
spaceonline left17:38
guampa left17:38
Sajaki left17:38
lyddon left17:38
cxreg left17:38
thansen left17:38
patrick99e99 left17:38
frsk left17:38
letharion left17:38
LucasTizma left17:38
LekeFly left17:38
vpetro left17:38
berserkr left17:38
gusnan left17:38
_Qman left17:38
yuwang left17:38
bjornars left17:38
tommsen left17:38
Sym3tri_ left17:38
lacrymology left17:38
Atlantic777 left17:38
pl0sh left17:38
sawdisk left17:38
saml left17:38
blueyed left17:38
Maccer left17:38
lb left17:38
mrOrangeChuck left17:38
fisted left17:38
nwest left17:38
AaronMT left17:38
dvide left17:38
thiago left17:38
xxiao left17:38
Textmode left17:38
tonyj left17:38
noneo left17:38
glennpratt left17:38
hidekin1 left17:38
an0maly_ left17:38
unreal left17:38
und3f left17:38
hoschi left17:38
maloik left17:38
nick_h left17:38
worch left17:38
opus left17:38
naee left17:38
shreya left17:38
thomasfr left17:38
alexisabril left17:38
naquad left17:38
hellopat left17:38
FreeArtMan left17:38
neurodrone left17:38
albel727 left17:38
Error404NotFound left17:38
rphillips left17:38
linduxed left17:38
boombatower left17:38
v0n left17:38
dinesh6654 left17:38
metcalfc_ left17:38
oojacoboo left17:38
amcsi left17:38
destinydriven left17:38
jcromartie left17:38
dpino left17:38
dax_roc left17:38
skorgon left17:38
ku left17:38
lotus left17:38
john3__ left17:38
spyro left17:38
uwjesd left17:38
Davey left17:38
jason237 left17:38
martinjlowm left17:38
marthinal left17:38
andrewhl left17:38
tango_ left17:38
Bass10 left17:38
diegoviola left17:38
cakehero left17:38
chrisgeorge left17:38
palm_vue left17:38
TeckniX left17:38
macabre left17:38
draginx left17:38
frogonwheels_ left17:38
mikaelj left17:38
_jmg left17:38
Milossh left17:38
jaeckel left17:38
Seveas left17:38
robinsmidsrod left17:38
devth left17:38
khmarbaise left17:38
hyperair left17:38
Synthead left17:38
TrafeX left17:38
sirdancealot left17:38
Jay_Levitt left17:38
jdav_gon` left17:38
chester_ left17:38
cycad joined17:39
hooch joined17:39
Droggl joined17:39
eregon joined17:39
project2501b joined17:39
littlebear joined17:39
esc joined17:39
Hunner joined17:39
snappy joined17:39
antix_ joined17:39
no_maam_ joined17:39
tazle_ joined17:39
crispus joined17:39
nasso joined17:39
unnamedwill joined17:39
akheron joined17:39
eightyeight joined17:39
Poapfel joined17:39
slakmagik joined17:39
bddn joined17:39
blathijs joined17:39
click joined17:39
serj joined17:39
spb joined17:39
nelk joined17:39
roland joined17:39
jsec joined17:39
antihero joined17:39
ivan` joined17:39
loops joined17:39
dax_roc joined17:39
jcromartie joined17:39
destinydriven joined17:39
amcsi joined17:39
metcalfc_ joined17:39
dinesh6654 joined17:39
daniel- joined17:39
Antisoche_ joined17:39
netj_ joined17:39
Caelum_ joined17:39
RichardBronosky_ joined17:39
spyro_ joined17:39
adhawkinz joined17:39
Vampire0_ joined17:39
floppyears joined17:39
Evanlec_ joined17:39
rudi_s_ joined17:39
pratchett.freenode.net set mode: +v17:39
twisted`_ joined17:39
vogxn joined17:39
varg_ joined17:39
ladder4_ joined17:39
buhman_ joined17:39
matthiasgorgens1 joined17:39
ipalaus_ joined17:39
RRubin joined17:39
franck__ joined17:39
lteo_ joined17:39
mikaelj_ joined17:39
wcarss_ joined17:39
Weiss_ joined17:39
tokkee_ joined17:39
robins joined17:39
tmz_ joined17:39
vals_ joined17:39
Remram joined17:39
pigeon_ joined17:39
sparticv1 joined17:39
marlun joined17:39
tureba_ joined17:39
benbergm1n joined17:39
Gaga joined17:39
heoa_ joined17:39
OMGOMG_ joined17:39
kenperkins joined17:39
xxtjaxx_ joined17:39
raek_ joined17:39
uwjesd_ joined17:39
hyperbor1ean joined17:39
eno__ joined17:39
zizzfizzix_ joined17:39
diegovio1a joined17:39
eijk__ joined17:39
codertux_ joined17:39
andrewhl_ joined17:39
HAL_9001 joined17:39
martinjl` joined17:39
_iori_ joined17:39
subhojit777 joined17:39
p3rror joined17:39
converge joined17:39
cmullican joined17:39
letharion joined17:39
apok joined17:39
LucasTizma joined17:39
Sym3tri_ joined17:39
alexchamberlain joined17:39
_keith joined17:39
tjholowaychuk joined17:39
LekeFly joined17:39
lb joined17:39
maletor joined17:39
sq-one joined17:39
roto joined17:39
ajpiano joined17:39
freeed joined17:39
vpetro joined17:39
Textmode joined17:39
TheJH joined17:39
t4nkd joined17:39
afuentes joined17:39
iflista joined17:39
danmackay joined17:39
mrOrangeChuck joined17:39
fisted joined17:39
axl_ joined17:39
rwestphal joined17:39
saml joined17:39
berserkr joined17:39
zackiv31 joined17:39
harv joined17:39
thelazydeveloper joined17:39
lacrymology joined17:39
msmithng joined17:39
Atlantic777 joined17:39
harish joined17:39
zw_yao joined17:39
pl0sh joined17:39
kvanderw joined17:39
luxurymode joined17:39
codeM0nK3Y joined17:39
kukks joined17:39
ehsan joined17:39
xmattdh joined17:39
ph^_ joined17:39
nwest joined17:39
Deck` joined17:39
iocor joined17:39
shawngo joined17:39
Tegi joined17:39
erynofwales joined17:39
MacGyver joined17:39
pratchett.freenode.net set mode: +v17:39
xxiao joined17:39
dov23 joined17:39
tplaner_ joined17:39
spaceonline joined17:39
derekpioneer joined17:39
sawdisk joined17:39
jjbohn joined17:39
codewrangler joined17:39
AaronMT joined17:39
zaiste joined17:39
ro0 joined17:39
wereHamster joined17:39
koki joined17:39
ohcibi joined17:39
ngirard joined17:39
revagomes joined17:39
Sajaki joined17:39
architekt joined17:39
nigelb joined17:39
roflin joined17:39
skyf joined17:39
geekbri joined17:39
giallu joined17:39
dwmw2_go` joined17:39
sgambino joined17:39
Ryback_ joined17:39
udantee joined17:39
gusnan joined17:39
dvide joined17:39
k-man joined17:39
flexd joined17:39
cybersphinx joined17:39
thiago joined17:39
frsk joined17:39
guampa joined17:39
timthelion joined17:39
_iron joined17:39
blueyed joined17:39
patrick85 joined17:39
SkAzZ1 joined17:39
gerard0 joined17:39
jjore joined17:39
osse joined17:39
Element9 joined17:39
lyddon joined17:39
cxreg joined17:39
LimeBlast joined17:39
_Qman joined17:39
jargon- joined17:39
yuwang joined17:39
cthuluh joined17:39
robbyoconnor joined17:39
bjornars joined17:39
thansen joined17:39
patrick99e99 joined17:39
Maccer joined17:39
leeN joined17:39
smw joined17:39
dsop joined17:39
sweet|kid joined17:39
Samos123 joined17:39
Fiouz joined17:39
j416 joined17:39
Zespre_ joined17:39
kpreid joined17:39
plasticboy joined17:39
maqr joined17:39
genehack joined17:39
SirFunk joined17:39
txdv joined17:39
iliketurtles joined17:39
jonmasters joined17:39
daniel-s joined17:39
Marbug joined17:39
i7c joined17:39
archdori joined17:39
Chaser_ joined17:39
Arokh joined17:39
hays joined17:39
SamB_MacG5 joined17:39
project2501a joined17:39
jgoss joined17:39
milian joined17:39
ethanol joined17:39
osmosis joined17:39
garo joined17:39
przemoc joined17:39
resmo joined17:39
rking joined17:39
qknight joined17:39
bartman` joined17:39
SegFaultAX|work2 joined17:39
Mez joined17:39
aep joined17:39
Pupeno_W joined17:39
JStoker joined17:39
gitinfo joined17:39
ozzloy joined17:39
awx joined17:39
_sundar_ joined17:39
diago joined17:39
cenuij joined17:39
dpwright joined17:39
toed joined17:39
Kindari joined17:39
newbie999 joined17:39
ruskie joined17:39
pasky joined17:39
IcePic joined17:39
alta joined17:39
kkszysiu_work joined17:39
_W_ joined17:39
cbreak joined17:39
nobdraisentone joined17:39
Tuomas joined17:39
heroux joined17:39
oso96_2000 joined17:39
kristopolous joined17:39
nutron joined17:39
bremner joined17:39
russt joined17:39
Bombe joined17:39
Olipro joined17:39
jrdnn joined17:39
s0ber joined17:39
milleja46 joined17:39
b_jonas joined17:39
jspiros joined17:39
bloony joined17:39
Praise joined17:39
jast joined17:39
mitsuhiko joined17:39
MetaCosm joined17:39
teotwaki joined17:39
tubbo joined17:39
kiffer84 joined17:39
un1matr1x joined17:39
EugeneKay joined17:39
ReinH joined17:39
Womkes joined17:39
yardenac joined17:39
pratchett.freenode.net set mode: +ovv17:39
acrocity joined17:39
Putr joined17:39
Khisanth joined17:39
mmattice joined17:39
gxk joined17:39
hpa joined17:39
Y_Ichiro joined17:39
CareBear\ joined17:39
SunilThaha joined17:39
Marcux83 joined17:39
pdelvo joined17:39
r126t joined17:39
siprbaum joined17:39
oakdog8 joined17:39
Kicer86 joined17:39
Nikoli joined17:39
aaronky joined17:39
kart0ffelsack joined17:39
Maldoror joined17:39
NfNitLoop joined17:39
eMBee joined17:39
GameGamer43 joined17:39
rhl joined17:39
keller joined17:39
smarter_ joined17:39
SebastianFlyte joined17:39
grillo joined17:39
helgikrs joined17:39
flaguy48 joined17:39
actel joined17:39
denysonique joined17:39
jab416171|Cloud joined17:39
tfnico joined17:39
NimeshNeema joined17:39
offbyone joined17:39
jmcantrell joined17:39
jave_ joined17:39
JEEB joined17:39
GodEater joined17:39
Zenopus joined17:39
mattp_ joined17:39
Bigcheese joined17:39
vDubG joined17:39
optixx joined17:39
dgottlieb joined17:39
kimico joined17:39
MissionCritical joined17:39
melee_ joined17:39
rkz joined17:39
allquixotic joined17:39
rails joined17:39
yhager joined17:39
Beej joined17:39
txomon|nqas joined17:39
tty1 joined17:39
gmarkall joined17:39
foraks joined17:39
talexb joined17:39
Guest42477 joined17:39
multi_io joined17:39
hegge joined17:39
axrfnu joined17:39
chrisward joined17:39
bronsen joined17:39
tizzo joined17:39
zibri joined17:39
electrog1ek joined17:39
brandonw_ joined17:39
jhford_ joined17:39
twem2 joined17:39
JrCs joined17:39
ShooterMG joined17:39
Orphis joined17:39
Chani joined17:39
pavelz joined17:39
heinrich5991 joined17:39
SaCu joined17:39
KBme joined17:39
SiDz joined17:39
yorick joined17:39
lindenle joined17:39
lu_zero joined17:39
arex\ joined17:39
berndj joined17:39
camdenx joined17:39
hexa2k9 joined17:39
ameoba joined17:39
malesca joined17:39
lsobral joined17:39
soren joined17:39
legumbre joined17:39
akiress joined17:39
Swathe_ joined17:39
nb joined17:39
pratchett.freenode.net set mode: +v17:39
kini joined17:39
Ratler joined17:39
cschneid joined17:39
Odjuret_ joined17:39
ketas joined17:39
Hamled joined17:39
blami joined17:39
lamont joined17:39
sjefen6 joined17:39
variable joined17:39
colona joined17:39
sporous joined17:39
liori joined17:39
chayin_ joined17:39
wart___ joined17:39
d1b joined17:39
dzan joined17:39
mbreslin joined17:39
kanru_ joined17:39
diminoten joined17:39
BinGOs joined17:39
TML joined17:39
tg joined17:39
schlumpi joined17:39
chuckf joined17:39
FabTG_ joined17:39
elliottc1ble joined17:39
wanders_ joined17:39
myme joined17:39
shibayu36_ joined17:39
hide_ joined17:39
Moult joined17:39
nevyn joined17:39
drodger joined17:39
chris2 joined17:39
ZorgHCS joined17:39
oakdog8__ joined17:39
LittleFool joined17:39
charon joined17:39
oogatta joined17:39
troyt joined17:39
Gizmokid2005 joined17:39
basepi joined17:39
guide joined17:39
Corey joined17:39
Bilge joined17:39
gefd joined17:39
daethorian joined17:39
sontek joined17:39
jstemmer joined17:39
SwK joined17:39
metze joined17:39
stepnem joined17:39
thallada joined17:39
SkieDr joined17:39
imarcusthis joined17:39
Soliton joined17:39
dropdrive joined17:39
FauxFaux joined17:39
Cerise joined17:39
kenyon joined17:39
Will| joined17:39
steevel joined17:39
Mogget joined17:39
dirker_ joined17:39
petteyg joined17:39
tystr joined17:39
xrogaan_ joined17:39
Strogg joined17:39
jperry2 joined17:39
SethRobertson joined17:39
Derander joined17:39
olri joined17:39
EToS joined17:39
hejki joined17:39
Fissure joined17:39
ammar joined17:39
somasin joined17:39
Caius joined17:39
n2o4 joined17:39
kanzure joined17:39
felher joined17:39
Freeaqingme joined17:39
mtkd_ joined17:39
LotR joined17:39
lfaraone__ joined17:39
tomek joined17:39
jhoepken joined17:39
kmussel joined17:39
majuscule joined17:39
TheMoonMaster joined17:39
offby1 joined17:39
mjessome joined17:39
sente joined17:39
Sajbar joined17:39
teukka joined17:39
rvsjoen joined17:39
niax joined17:39
totte joined17:39
VadtecWk joined17:39
Maxdamantus joined17:39
Drakevr joined17:39
surfdue joined17:39
theoros joined17:39
majoh joined17:39
mythmon joined17:39
Pieter joined17:39
UukGoblin joined17:39
coopsh joined17:39
roger_raymond joined17:39
haarg joined17:39
yeryry joined17:39
pom_ joined17:39
RichardJ joined17:39
Myhro joined17:39
_ikke_ joined17:39
Natureshadow joined17:39
Nickeeh joined17:39
AlexanderS joined17:39
EgS joined17:39
Ingmar joined17:39
zorzar joined17:39
mikegerw1tz joined17:39
txwikinger joined17:39
kloeri joined17:39
sente` joined17:39
tomaw joined17:39
maxb joined17:39
bwidmer joined17:39
Stravy joined17:39
Fuxx joined17:39
phryk joined17:39
mika joined17:39
Chipzz joined17:39
Derega joined17:39
sobel joined17:39
Lisimba2 joined17:39
sneakret joined17:39
reuss joined17:39
ndim joined17:39
Slush- joined17:39
pratchett.freenode.net set mode: +v17:39
SJr joined17:39
GH0S1_R33P0R joined17:39
maxorator joined17:39
cworth joined17:39
leptonix joined17:39
epitron joined17:39
sharpobject joined17:39
ybit joined17:39
bball- joined17:39
marienz joined17:39
Grum joined17:39
poohtarou joined17:39
joschi joined17:39
Kiall joined17:39
felipe joined17:39
mikeshultz joined17:39
spacepluk joined17:39
deavid joined17:39
[mbm] joined17:39
JPohlmann joined17:39
e-ndy joined17:39
makkes joined17:39
doki_pen joined17:39
dj_tjerk joined17:39
Bucciarati joined17:39
batrick joined17:39
chronos joined17:39
Kuukunen joined17:39
ldlework joined17:39
ironfroggy joined17:39
up_the_irons joined17:39
ahf joined17:39
kirin` joined17:39
daniel- left17:39
DarkClown joined17:39
cespare joined17:39
palm_vue joined17:39
tommsen joined17:39
dermoth|home joined17:39
Milossh joined17:39
toky joined17:39
Dynom joined17:39
larva joined17:39
Bass2 joined17:39
youngblood_ joined17:39
TeckniX_ joined17:39
devth joined17:39
khmarbaise joined17:39
hyperair joined17:39
Synthead joined17:39
TrafeX joined17:39
sirdancealot joined17:39
Jay_Levitt joined17:39
jdav_gon` joined17:39
chester_ joined17:39
tinti_ joined17:39
jjore_ joined17:39
mlevin joined17:39
Vinnie_win joined17:39
Zeeshan_M joined17:39
squentin joined17:39
Emmycakes joined17:39
zz_jcao219 joined17:39
madduck joined17:39
finch joined17:39
jkitchen joined17:39
milli` joined17:39
Sargun_Screen joined17:39
mikemol joined17:39
Glitch| joined17:39
jams joined17:39
davidh joined17:39
lae joined17:39
goner joined17:39
SIFTU joined17:39
kcm1700 joined17:39
SimonP86 joined17:39
sejo joined17:39
jeremy_c_ joined17:39
imMute joined17:39
cedr joined17:39
shad joined17:39
Nugget joined17:39
milki joined17:39
ben_alman joined17:39
devn joined17:39
OPK joined17:39
mattikus joined17:39
draginx joined17:39
paolooo joined17:39
aantix joined17:39
SwK left17:39
skorgon joined17:39
ku joined17:39
lotus joined17:39
john3__ joined17:39
krishna joined17:39
three18ti joined17:39
asakura joined17:39
ahayweh joined17:39
sh4rm4 joined17:39
cmn joined17:39
Windwaker joined17:39
The24z joined17:39
RobertLaptop joined17:39
KRF joined17:39
zivester joined17:39
vitor-br joined17:39
intripoon_ joined17:39
grandy joined17:39
WakiMiko joined17:39
rrxtns joined17:39
nogginBasher joined17:39
Internet13 joined17:39
setmeaway joined17:39
Adys joined17:39
piggybox joined17:39
beawesomeinstead joined17:39
dougsland joined17:39
phix joined17:39
Merwin joined17:39
lonewulf` joined17:39
nowhere_man joined17:39
kaen joined17:39
iamtakingiteasy joined17:39
candybar joined17:39
n00b6502 joined17:39
Nibato joined17:39
Tommy[D] joined17:39
Kabaka joined17:39
webben joined17:39
krazyj joined17:39
SHAGGSTaRR joined17:39
faen joined17:39
Gitzilla joined17:39
else- joined17:39
stfn joined17:39
Leonidas joined17:39
ciscon joined17:39
anildigital joined17:39
jlewis joined17:39
Godslastering joined17:39
JonasF_ joined17:39
neersighted joined17:39
neurodamage joined17:39
drags joined17:39
CrazyGir joined17:39
_root_ joined17:39
othiym23 joined17:39
aboudreault joined17:39
BBonifield joined17:39
vinay joined17:39
Ferris_ joined17:39
jayne joined17:39
avium joined17:39
lahwran joined17:39
esto joined17:39
lqi joined17:39
ciaranm joined17:39
rjt_ joined17:39
avinash_hm joined17:40
ferai joined17:40
Exposure_ joined17:40
DanyO joined17:40
molixiaoge__ joined17:40
hwrd|work joined17:40
imachuchu joined17:40
maxthoursie joined17:40
ndngvr joined17:40
intransit joined17:40
nadavoid joined17:40
bizhanMona joined17:40
Lgb joined17:40
cannonball joined17:40
keltvek joined17:40
magnus_ joined17:40
meatlover joined17:40
warthog9 joined17:40
palyboy joined17:40
Tabmow joined17:40
bigmeow joined17:40
scttnlsn joined17:40
CEnnis91 joined17:40
avar joined17:40
lausi joined17:40
dsantiago joined17:40
SJS joined17:40
sitaram joined17:40
jpalmer joined17:40
The_Ball joined17:40
thomas_b joined17:40
PaulePanter joined17:40
Mpenzi joined17:40
gnoel_ joined17:40
tabakhase_ joined17:40
vmiklos_ joined17:40
djh___ joined17:40
efjboss_ joined17:40
Spockz_ joined17:40
frogonwheels__ joined17:40
ianmcorvidae|alt joined17:40
opus joined17:40
naee joined17:40
shreya joined17:40
thomasfr joined17:40
alexisabril joined17:40
naquad joined17:40
hellopat joined17:40
FreeArtMan joined17:40
neurodrone joined17:40
albel727 joined17:40
Error404NotFound joined17:40
meLon joined17:40
preflex joined17:40
Kichael joined17:40
Fandekasp joined17:40
joephelius joined17:40
TNTshop joined17:40
markatto joined17:40
torjus joined17:40
eam joined17:40
dv_ joined17:40
madsy joined17:40
microcolonel joined17:40
rue joined17:40
barneybook joined17:40
ping-pong joined17:40
nischayn22 joined17:40
bgerber joined17:40
lottadot joined17:40
cpg|away joined17:40
srcerer joined17:40
piti joined17:40
Silex joined17:40
zamba joined17:40
JPT joined17:40
tgummerer joined17:40
redrocket joined17:40
wolog joined17:40
canton7 joined17:40
tonsofpcs joined17:40
cmr joined17:40
qwertz_ joined17:40
tgggg joined17:40
peper joined17:40
ikrabbe joined17:40
rphillips joined17:40
linduxed joined17:40
tchan joined17:40
delt0r joined17:40
_jesse_ joined17:40
mh_le joined17:40
AlexMax joined17:40
yibe_ joined17:40
abackstrom joined17:40
shabble joined17:40
errr joined17:40
orisinal joined17:40
TTilus joined17:40
chadi joined17:40
MissionCritical left17:40
Adys left17:40
Kabaka left17:40
neersighted left17:40
nogginBasher left17:40
Godslastering left17:40
Internet13 left17:40
aantix left17:40
cmn left17:40
Adys joined17:40
peper left17:40
boombatower joined17:40
v0n joined17:40
magcius joined17:40
tr4656 joined17:40
RandalSchwartz joined17:40
tansell joined17:40
_aeris_ joined17:40
tm1000 joined17:40
heytrav joined17:40
kryl99 joined17:40
skoop joined17:40
zenazn joined17:40
EvanDotPro joined17:40
Tectu joined17:40
Seveaz joined17:40
Tuna-Fish2 joined17:40
micah joined17:40
tokiya_ joined17:40
tonyj joined17:40
noneo joined17:40
glennpratt joined17:40
maloik joined17:40
hidekin1 joined17:40
an0maly_ joined17:40
unreal joined17:40
und3f joined17:40
hoschi joined17:40
artnez joined17:40
toothr joined17:40
mgorbach joined17:40
scriabin joined17:40
xerxas joined17:40
jcp joined17:40
aruiz joined17:40
gurps joined17:40
niki joined17:40
lectrick joined17:40
heidar joined17:40
ivan\ joined17:40
cian1500ww joined17:40
tnelson joined17:40
gonzzor joined17:40
ryland_ joined17:40
RickXy joined17:40
saurik joined17:40
andres joined17:40
aromasca_ joined17:40
yatiohi joined17:40
mh` joined17:40
knittl joined17:40
sunny256 joined17:40
kortti joined17:40
dcorbin_work joined17:40
DrNick joined17:40
ScottE joined17:40
iivvoo joined17:40
nick_h joined17:40
worch joined17:40
RichiH joined17:40
Werring joined17:40
mikejw joined17:40
jbub joined17:40
Estragon joined17:40
robonyankitty joined17:40
peper joined17:40
aantix joined17:40
ndngvr left17:40
jpalmer left17:40
daniel-s left17:40
Lisimba3 joined17:41
jpalmer joined17:41
neersighted joined17:41
tjholowaychuk left17:41
tommsen left17:41
Kabaka joined17:41
tabakhase_ left17:41
ndngvr joined17:41
Olipro left17:41
xmattdh left17:42
SamB_MacG5 left17:42
cmn joined17:42
xmattdh joined17:42
weltall joined17:42
joeytwiddle joined17:42
Error404NotFound left17:42
SegFaultAX joined17:43
Lisimba2 left17:43
iocor left17:43
srcerer left17:43
mikemol Ok, so I screwed up; I created a branch, did some work in that branch and committed those changes to that branch. All well and good. Without realizing it, I subsequently switched back to master and committed a number of changes to that. I've merged those changes into my branch, now how do I cull them from master?17:43
jason237 joined17:44
chrisward left17:44
FauxFaux mikemol: !fixup17:44
gitinfo mikemol: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!17:44
daniel-s joined17:44
FauxFaux But, it's probably going to be easiest to destroy the merge, rebase (cherry-pick them) into the branch and just rewind master.17:44
netj_ left17:44
Antisoche_ left17:44
dinesh6654 left17:44
metcalfc_ left17:44
amcsi left17:44
destinydriven left17:44
jcromartie left17:44
dax_roc left17:44
loops left17:44
ivan` left17:44
antihero left17:44
roland left17:44
nelk left17:44
jsec left17:44
spb left17:44
serj left17:44
click left17:44
blathijs left17:44
bddn left17:44
slakmagik left17:44
Poapfel left17:44
eightyeight left17:44
akheron left17:44
unnamedwill left17:44
nasso left17:44
tazle_ left17:44
no_maam_ left17:44
antix_ left17:44
esc left17:44
littlebear left17:44
snappy left17:44
project2501b left17:44
eregon left17:44
Hunner left17:44
Droggl left17:44
crispus left17:44
hooch left17:44
Internet13 joined17:45
netj_ joined17:45
Antisoche_ joined17:45
dinesh6654 joined17:45
metcalfc_ joined17:45
amcsi joined17:45
destinydriven joined17:45
jcromartie joined17:45
dax_roc joined17:45
loops joined17:45
ivan` joined17:45
antihero joined17:45
jsec joined17:45
roland joined17:45
nelk joined17:45
spb joined17:45
serj joined17:45
click joined17:45
blathijs joined17:45
bddn joined17:45
slakmagik joined17:45
Poapfel joined17:45
eightyeight joined17:45
akheron joined17:45
unnamedwill joined17:45
nasso joined17:45
crispus joined17:45
tazle_ joined17:45
no_maam_ joined17:45
antix_ joined17:45
snappy joined17:45
Hunner joined17:45
esc joined17:45
littlebear joined17:45
project2501b joined17:45
eregon joined17:45
Droggl joined17:45
hooch joined17:45
pratchett.freenode.net set mode: +v17:45
p3rror left17:45
mikemol Rewinding master sounds like what I need to do; my branch is in the state I like it, I just need to get rid of the last few commits on master.17:45
erynofwales left17:46
face__ joined17:46
tommsen joined17:47
mikemol Ah, I see. My svn background is getting in my way again.17:47
ahayweh left17:47
chrisward joined17:48
gitinfo set mode: +v17:48
imachuchu mikemol: and are you sure you haven't pushed these changes, or someone else hasn't pulled them yet?17:48
if so then just reset master back to where you want it17:49
sorry, if the changes are still completely local then just reset master back to where you want it17:49
kermit joined17:49
_iori_ left17:49
jaeckel joined17:50
skorgon left17:50
mikemol Tried to push, but a server issue blocked it, fortunately. Nobody can pull from me.17:51
LucasTizma left17:51
tommsen left17:51
Godslastering joined17:52
imachuchu mikemol: and when you said "merged those changes", I assume you meant with the merge command (as opposed to cherry-picking)17:52
Olipro joined17:52
imachuchu mikemol: in which case FauxFaux is correct, you will need to undo the merge (like reset before it) then cherry-pick the commits you want from master into your branch17:53
dreiss joined17:53
imachuchu mikemol: preferably before you rebase master (though that's not completely needed)17:53
mikemol: *reset master17:53
yatiohi left17:53
jalama joined17:54
paolooo left17:54
shreya left17:54
maqr left17:54
Ntrepid joined17:54
NTrepid_ joined17:56
oojacoboo joined17:56
marthinal joined17:56
NTrepid_ left17:56
evaned1 joined17:56
benbergm1n left17:56
eletuchy joined17:57
p3rror joined17:57
MissionCritical joined17:57
tommsen joined17:57
Ntrepid left17:57
armenianeagle joined17:57
bartek joined17:58
NTrepid joined17:58
fedesilva joined17:58
und3f1 joined17:58
und3f left17:58
fedesilva left17:58
erynofwales joined17:59
towski joined17:59
mikemol imachuchu, FauxFaux: thx17:59
t4nkd left18:00
jackyyll joined18:00
mikemol git log for both branches looks the same right now, so I'm no longer sure exactly where the merge took place.18:01
imachuchu mikemol: was it a ff merge (like you rebased before hand and then merged)?18:02
iori joined18:02
SamB_MacG5 joined18:03
mikemol 'git merge master' output in scrollback says "Fast-forward", yeah.18:04
Samos123 left18:04
Samos123 joined18:04
axl_ left18:05
fluxdude joined18:05
mikemol Hm. The same output includes the text "0c06542..37ec24a" ... I wonder if I can use that to find the point where the merge happened.18:06
t4nkd joined18:06
gitinfo set mode: +v18:06
evaned1 Hi all. I'm trying to build Git 1.7.12 on Red Hat Enterprise 6. I ran 'make prefix=... PROFILE=BUILD SANE_TOOL_PATH=/s/gcc-4.7.1/bin all', but nearly all git-svn tests are failing. ("not ok - 2 import an SVN revision into git", "not ok - 4 try a deep --rmdir with a commit", etc.) It says I can define NO_SVN_TESTS to skip them, but I'd rather get it working. Any ideas of what's not right? I can run 'svn' from the command line fine; it's 1.7.4.18:06
lb mikemol: thats all you need18:07
opus left18:07
lb then master was at 0c0654218:07
before the merge took place18:07
imachuchu evaned1: any reason you aren't just using the ones in the repo/an rpm of git?18:08
lb mikemol: and it was fast forwareded to 37ec24a18:08
maqr joined18:08
p3rror left18:08
evaned1 Reason building my own: no admin rights and installing to a custom location18:08
imachuchu evaned1: we've just had people in the last couple of days who didn't know they had a package manager18:10
tjadc joined18:10
gitinfo set mode: +v18:10
evaned1 fair enough :-)18:10
cmn do you have the development libraries for libsvn?18:10
shruggar joined18:11
cmn actually, you shouldn't need that, just the perl lib18:13
micah how can I merge in a set of commits without taking everything else, and without having to cherry-pick each individual commit?18:14
evaned1 cmn: know how I can check for the presence of the perl libraries?18:14
maxthoursie left18:14
evaned1 i don't really know perl18:14
cmn apt-cache show libperl-svn or something18:14
or try to run your git-svn and see what it says18:15
mikemol lb: Master wasn't what was fast-forwarded. At least, I don't think it was. Hell, even I can't remember the sequence of events any more. Grr.18:15
shruggar left18:15
mikemol I'll get this sorted out. At this point, it would have been easier to just rewrite the work; the commits were trivial. :(18:15
jalama left18:15
tabakhase_ joined18:16
__class__ joined18:16
eighty4_ joined18:16
marc_kdab_ joined18:16
asedeno_ joined18:16
quadz joined18:16
njbair_ joined18:16
idoru joined18:16
twisted`_ left18:16
twisted`_ joined18:16
ladder4_ left18:16
ladder4_ joined18:16
palm_vue left18:16
palm_vue joined18:16
evaned1 ah, that's the problem. thanks18:16
_br_ joined18:16
SeySayux joined18:16
quazimod1 joined18:16
blast_hardcheese joined18:16
jtwalters joined18:16
xid joined18:16
dermoth|work joined18:16
thorbjornDX joined18:16
NTrepid left18:16
NTrepid joined18:16
Tegi left18:16
marc_kdab_ left18:17
evaned1 now i'm unsure of why it seemed to work on another system, but whatever i guess18:17
marc_kdab_ joined18:17
blast_hardcheese left18:17
Goplat joined18:17
cilly joined18:18
bartek left18:18
sq-one left18:19
fornext joined18:20
Kulrak joined18:20
cilly left18:20
joephelius left18:21
markatto left18:22
jjbohn back18:22
jjbohnjjbohn|afk18:22
joephelius joined18:22
_Qman left18:22
imachuchu mikemol: even if the changes were trivial it's nice to know how to do it, you never know when next time the chagnes may be painful to just reimplement18:23
les_sylvains joined18:23
tjadc left18:23
shruggar joined18:25
bartek joined18:25
Jay_Levitt left18:26
ferdna joined18:26
maqr left18:26
cakehero joined18:26
p3rror joined18:28
jcromartie how can I replay the diff between two branches that have no common ancestor?18:28
thirdknife joined18:28
jcromartie it would be a rebase if they had anything in common18:28
RichiH "replay"?18:28
bartek left18:29
t4nkd left18:29
bartek joined18:29
imachuchu jcromartie: cherry-pick, and I assume that they have no conflicts (as in two completly seperate histories you are welding together)18:29
jcromartie yeah so I have "master" and then an orphan branch created from master18:29
cherry pick sounds perfect18:30
I thought it might but I wasn't sure if there was some rebase mode18:30
RichiH wonders if jcromartie is simply looking for merge18:30
jcromartie RichiH: no, I don't want to introduce the parent commits of master into the orphan branch18:30
imachuchu jcromartie: well rebase just calls cherry-pick under the hood. And RichiH may be right, are you sure you don't just want a merge commit?18:31
jcromartie I'm trying to figure out how to keep an "internal" branch, and an "open source" branch18:31
imachuchu RichiH: you wont, if you merge orphan into master then orphan doesn't see the changes18:31
jcromartie where the open source branch is pushed to a public open source repository18:31
RichiH then merge the open into the internal one18:31
tmz_ left18:32
jcromartie I want to "merge" the internal one into the open one18:32
RichiH commit into either as needed18:32
jcromartie other way around18:32
cherry pick I guess18:32
RichiH and merge again when you need the changes in internal18:32
DanyO left18:32
n00b6502 left18:32
ipalaus_ left18:32
RichiH no, you want to merge the open branch into the closed one18:32
NTrepid left18:32
tmz joined18:32
imachuchu jcromartie: either cherry-pick or merge will work, merging only effects one of the branch pointers (the other stays put)18:32
RichiH else, you will have two open ones :)18:32
imachuchu jcromartie: really do both, create 2 temporary branches, merge one and cherry-pick the other, see which you like. !tias18:33
gitinfo jcromartie: Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://sitaramc.github.com/1-basic-usage/tias.html may help with git-specific TIAS.18:33
jcromartie OK wait, so if there are new commits in "master" and none in "open-source" then, from "master": running "git merge open-source" will update open-source?18:33
yes thanks18:33
blast_hardcheese joined18:33
jcromartie I am experimenting too :)18:33
Sebo joined18:33
methods joined18:34
iori left18:36
cmn if there are no commits in open-source, you can't merge anything into it18:36
methods why would git push try to push every single branch ? i get issue where i try to push changes i made to 1 branch but it complains that it will not fast forward another branch.. so i switch to that other branch and do a pull18:36
cmn methods: see man git config push.default18:36
gitinfo methods: the git-config manpage is available at http://git-scm.com/docs/git-config.html18:36
lb jcromartie: you always merge into the branch you're currently on18:37
jcromartie I think I'm figuring it out.18:38
fornext left18:38
fornext joined18:39
methods the different there between upstream/simple/current isn't very clear18:39
thansen left18:39
thansen_ joined18:39
shreya joined18:39
mmc1 joined18:41
shruggar left18:42
shruggar1 joined18:42
pantsman joined18:42
cmn read it again, then18:42
and check what config you have18:42
micah left18:43
cmn and what branches exist on each remote18:43
boombatower left18:43
thansen joined18:43
thansen_ left18:44
methods left18:44
\ology joined18:45
Eridius joined18:46
fornext left18:46
xmattdh left18:46
fornext joined18:46
revagomes left18:46
ReekenX left18:46
Sebo left18:47
tommsen_ joined18:48
hashpuppy joined18:49
hashpuppy how do i reset everything that's not staged?18:49
Sebo joined18:49
EugeneKay I would commit, then reset --hard HEAD18:50
hashpuppy i don't want it committed, though18:50
jceb_ joined18:50
hashpuppy there's a 10% chance i'll use it18:50
mmattice you don't want the staged stuff committed?18:50
cpg|awaycpg18:50
n00b6502 joined18:50
hashpuppy yeah, i plan on unstaging it18:50
oogatta left18:50
mmattice git stash save --keep-index ; git stash drop ?18:51
EugeneKay Then...... use !dashes on checkout HEAD? Or something.18:51
gitinfo Use a double-dash(--) to separate refs or arguments from file paths. This is especially useful when dealing with ambiguous names. Ex: `git checkout origin -- master` will check out the file "master" from branch "origin"18:51
tommsen left18:52
DeviceZer0 joined18:52
revagomes joined18:53
_huoxito left18:54
hashpuppy mmattice: interesting. thanks18:54
mmattice only really useful if you have a lot of stuff not staged.18:54
Maccer left18:55
Sebo left18:56
jwmann joined18:57
jwmann left18:57
jwmann joined18:57
jwmann left18:57
beneggett joined18:58
jwmann joined18:58
jwmann left18:58
marthinal left18:58
private joined18:58
tommsen joined18:58
tommsen_ left18:59
ninegrid joined19:00
shruggar1 left19:02
i42n joined19:02
Sebo joined19:03
tubbo left19:03
twisted`_ left19:03
jab416171|Cloud left19:03
offbyone left19:03
denysonique left19:03
beawesomeinstead left19:03
actel left19:03
rrxtns left19:03
nischayn22 left19:03
xerxas left19:03
CEnnis91 left19:03
tubbo joined19:03
aisipos joined19:04
velcrobots joined19:05
Sajaki left19:05
towski left19:05
velcrobots left19:06
vogxn left19:06
beawesomeinstead joined19:06
vogxn joined19:06
rrxtns joined19:06
_huoxito joined19:07
Jay_Levitt joined19:08
thansen left19:09
thansen_ joined19:09
CEnnis91 joined19:09
Araxia joined19:09
converge left19:09
twisted`_ joined19:09
converge joined19:11
ajpiano left19:12
tommsen_ joined19:13
tomislater joined19:13
iocor joined19:14
ajpiano joined19:15
jjbohn|afkjjbohn19:15
tommsen left19:16
liangent joined19:16
armenianeagle left19:16
jab416171|Cloud joined19:16
chester_1 joined19:16
liangent left19:16
berserkr left19:17
Sebo left19:17
leila_ joined19:17
duckxx joined19:17
chester_ left19:18
dhruvasagar joined19:19
bizhanMona left19:20
Lgb left19:20
palm_vue left19:20
nickpresta joined19:20
bartek left19:20
Lgb joined19:21
palm_vue joined19:21
bizhanMona joined19:21
t4nkd joined19:23
nickpresta left19:23
shreya left19:23
nickpresta joined19:24
offbyone joined19:24
xerxas joined19:24
denysonique joined19:25
leila_ left19:25
ferdna left19:25
Kindarikoen-vespa19:27
p3rror left19:27
koen-vespaKindari19:27
nadavoid left19:29
t4nkd left19:29
YoMomma joined19:30
EzeQL joined19:31
sweet|kidupasna19:31
Jay_Levitt left19:31
maletor left19:32
mikemol imachuchu: Indeed. I did take a look at the repo through git-gui and gitk...and was able to show that both branches had identical parent/child relationships in their history. So I was able to simply reset master back.19:32
nadavoid joined19:32
j416 left19:33
actel joined19:33
nischayn22 joined19:33
evaned1 left19:33
ourea joined19:34
andygrossman joined19:35
gitinfo set mode: +v19:35
imachuchu mikemol: just glad it worked out19:36
private left19:37
Goplat left19:37
erynofwales left19:37
i42n left19:38
Internet13 left19:39
ianmcorvidae|alt left19:39
ianmcorvidae joined19:39
p3rror joined19:40
ourea left19:40
nicoulaj joined19:40
rohan32 joined19:41
yoklov joined19:41
daethorian left19:42
subhojit777 left19:42
rohan32 left19:42
cat_five joined19:43
rohan32 joined19:43
pj joined19:43
lteo_ left19:44
thomasfr left19:44
converge left19:45
cat_five left19:45
nadavoid left19:45
jceb_ left19:45
cat_five joined19:45
cat_five left19:46
hseg joined19:46
cat_five joined19:46
malex joined19:46
kidsalsa joined19:48
kidsalsa left19:48
Maccer joined19:49
lb left19:50
gitinfo set mode: +v19:51
gitinfo set mode: +v19:51
naee left19:51
paolooo joined19:53
converge joined19:54
pj left19:56
dfr|mac joined19:57
paolooo left19:58
hseg left19:58
spaceonline left19:58
p3rror left19:58
SidGBF joined19:59
sh0ne joined19:59
rcu joined20:00
jwmann1 joined20:00
jwmann1 left20:00
txdv left20:01
jwmann1 joined20:01
jwmann1 left20:01
torjus_ joined20:01
jwmann1 joined20:01
jwmann1 left20:01
und3f1 left20:01
txdv joined20:02
ninegrid left20:02
malex left20:03
gtrak joined20:03
gtrak left20:04
Yuuhi joined20:04
bloony left20:04
thiago left20:04
aisipos left20:05
intransit[w] joined20:05
milli` left20:05
macivy joined20:06
dwmw2_go` left20:06
jason237 left20:06
bloony joined20:07
milli joined20:07
jason237 joined20:08
intransit left20:08
agileadam left20:08
gitinfo set mode: +v20:09
p3rror joined20:11
vals_ left20:11
anabelle joined20:11
tango_ joined20:12
fly9 joined20:12
dwmw2_gone joined20:12
FreeArtMan left20:13
skyf left20:13
_iron left20:14
dwmw2_gone left20:16
codewrangler left20:17
dwmw2_gone joined20:17
codewrangler joined20:18
Araxia left20:18
chester_1 left20:19
Araxia joined20:19
rcu left20:21
RaceCondition joined20:23
patrick85 left20:23
yitz_ joined20:24
EugeneKay becomes filled with an urgeto murder msysgit20:24
elux joined20:24
SidGBF left20:25
beneggett left20:27
jwmann joined20:27
jwmann left20:27
jwmann joined20:27
jwmann left20:28
maletor joined20:28
jwmann joined20:28
jwmann left20:28
EugeneKay Of course reinstalling it fixes it20:28
jwmann joined20:28
jwmann left20:28
jwmann joined20:29
jwmann left20:29
tewecske joined20:29
tewecske left20:29
imachuchu EugeneKay: it is a windows program after all20:29
destinydriven left20:29
EugeneKay bash.exe wasn't sourcing /etc/profile, and I could not figure out why for the life of me20:30
_ikke_ EugeneKay: Busy deploying/20:30
?20:30
EugeneKay Oh that? went without a hitch20:30
jwmann joined20:32
jwmann left20:32
hashpuppy left20:32
_ikke_ hehe20:32
stevedomin joined20:33
hakunin joined20:34
Internet13 joined20:34
garo i am using "git svn clone", is it normal that it takes about a second for each commit ?20:35
EugeneKay Yes.20:35
Go do lunch or something, you'll be waiting a while20:35
garo pff :(20:35
jcromartie left20:36
_ikke_ garo: It has to do a checkout for each revision, and svn isn't built for doing many checkouts20:36
haarg git svn is very slow. usually when i do an initial clone with it, i create a local mirror of the svn repo first and run it against that.20:36
tommsen_ left20:36
haarg usually ends up going a lot faster. kind of annoying to set up though.20:37
EugeneKay What's really annoying is when you discover that you passed the wrong set of flags for the SVN layout and have to restart the four-hour process20:37
elux left20:37
_ikke_ auch20:37
yhager EugeneKay: four hours is not a lot.. I've been through exactly that process. It's part of the pain of git-svn20:39
imachuchu garo: an important point though, it will be much faster after this as it won't need to pull down all of that data again, just whats (if anything) has changed20:39
tommsen joined20:39
garo about 1/3-th is done, too late to restart20:40
yhager we use a "central" git-svn clone that is updated from crontab, and everybody clones the git repo20:40
iocor left20:41
iocor joined20:41
Olipro left20:41
Olipro joined20:41
fluxdude left20:41
fluxdude joined20:41
DeviceZer0 left20:41
DeviceZer0 joined20:41
jaeckel left20:41
jaeckel joined20:41
blast_hardcheese left20:41
blast_hardcheese joined20:41
SeySayux left20:41
SeySayux joined20:41
DanyO83 joined20:41
converge left20:41
chuckharmston joined20:41
rtjure joined20:41
cat_five left20:41
AdysGuest668420:42
actelGuest8574320:42
nischayn22Guest274120:42
jpalmerGuest4960120:42
Vampire0_Guest9084720:42
tubboGuest8289420:42
denysoniqueGuest6884820:42
offbyoneGuest3380720:42
chriswardGuest4924020:42
GodslasteringGuest912520:42
dhruvasagarGuest7946120:42
Davey joined20:42
chrisgeorge joined20:42
chrisgeorge left20:42
wuwoot joined20:42
wuwoot left20:42
etcetera joined20:43
andrewhl_ left20:43
tommsen left20:43
converge joined20:44
tommsen joined20:44
srcerer joined20:45
_keith left20:45
stevedomin left20:46
stevedomin joined20:46
rudi_s_rudi_s20:47
thiago joined20:48
robins left20:48
kvanderw_ joined20:48
lustucru joined20:48
robinsmidsrod joined20:48
kermitGuest9817820:48
EzeQLGuest5913220:48
mike_oalian joined20:49
mike_oalian left20:49
pppaul joined20:49
erynofwales joined20:49
Guest90847 left20:50
martinjl` left20:50
beneggett joined20:50
TheFuzzball joined20:50
kvanderw_ left20:51
daethorian joined20:51
ppppaul joined20:51
ppppaul left20:51
ahayweh joined20:51
kvanderw left20:52
ppppaul joined20:52
ppppaul left20:52
ppppaul joined20:52
pppaul left20:53
ppppaulpppaul20:53
pppaul left20:53
tabakhase_ left20:53
tabakhase_ joined20:53
andygrossman left20:53
pppaul joined20:53
pppaul left20:53
torjus_ left20:54
brentratliff joined20:54
pppaul joined20:54
macivy left20:54
spyro_ left20:54
spyro_ joined20:54
spyro_spyro20:54
jjbohnjjbohn|afk20:54
hoschi left20:55
aantix_ joined20:55
j416 joined20:56
dfr|mac left20:56
freeed left20:57
blast_hardcheese Oh man. git checkout - <--- awesome.20:57
lustucru left20:57
snappy left20:57
sanmarcos joined20:58
therealfakemoot joined20:58
_ikke_ :D20:58
opus joined20:58
sanmarcos I need to find which commits added lines with a certain string after a certain date/commit?20:58
saml left20:58
Droggl blast_hardcheese: what does it do?20:58
_keith joined20:58
blast_hardcheese Droggl: cd - for commitrefs20:58
sanmarcos basically give me a list of all commits that modified files by introducing a string "whatever" in its changes (starting from X commit)20:59
blast_hardcheese or commits, rather20:59
aantix left20:59
aantix_aantix20:59
Droggl ah, nice20:59
blast_hardcheese Droggl: "toggle between this and the last commit"20:59
jjbohn|afkjjbohn20:59
therealfakemoot I'm having trouble setting up a remote git repo. I've got one git repo I've been working in here on my laptop. I've got a dev server where I want to set up a remote repo for deployment. I've tried several of the guides and followed the instructions. They all went successful with the branches being updated, but there's nothing on the server.20:59
rwestphal left20:59
blast_hardcheese therealfakemoot: ssh backed or using the git protocol?21:00
therealfakemoot ssh, preferably.21:00
EugeneKay !deploy21:00
gitinfo Git is not a deployment tool. You can build one around it for simple environments. http://sitaramc.github.com/the-list-and-irc/deploy.html21:00
cmn what do you mean there is nothing on the server? if the branches are updated, that's it21:00
blast_hardcheese Have you tried just creating a bare repo on a remote server and git remote add-ing it to your repo?21:00
therealfakemoot Alright21:00
thirdknife left21:00
therealfakemoot blast_hardcheese: That's what I tried first.21:00
geekbri left21:00
blast_hardcheese oh, maybe that's it; Did you create a bare repo or a working repo?21:01
therealfakemoot it seemed every simple. I got successful messages from git all the way. There was just nothing at all on the server.21:01
nor5trom joined21:01
blast_hardcheese you might be pushing to the repo, but you haven't checked anything out in that repo21:01
try git branch on the remote server21:01
therealfakemoot "* master"21:01
cmn therealfakemoot: again, what do you mean by nothing on the serve?21:01
all there has to be are the branches21:02
therealfakemoot None of my code. Just the .git directory21:02
cmn which you say update fine21:02
there is no reason why the files should be there21:02
therealfakemoot And I tried checking out master and got "fatal: This operation must be run in a work tree21:02
cmn read the EugeneKay pointed you to21:02
also !bare21:02
gitinfo an explanation of bare and non-bare repositories (and why pushing to a non-bare one causes problems) can be found here: http://bare-vs-nonbare.gitrecipes.de/21:02
therealfakemoot Roger21:02
guampa left21:02
project2501a left21:02
pantsman left21:02
EugeneKay cmn accidentally a21:03
jita joined21:03
jita how do i resolve this 'Your branch and 'origin/master' have diverged' ?21:03
codeFiend joined21:03
EugeneKay jita - git pull21:03
blast_hardcheese therealfakemoot: If you're looking for a "real" multi-repo git server, check out gitolite21:03
dys joined21:03
EugeneKay And read the !book21:03
gitinfo There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable21:03
cmn or git merge origin/master, but it depends on what you want to do21:03
divergence is not a problem21:03
tizzotizzo-afk21:04
uwjesd_ left21:04
blast_hardcheese Rewriting history is a problem, I've gotten that message after doing something stupid21:04
tizzo-afktizzo21:04
torjus_ joined21:04
sebastorama joined21:05
cmn it can be, but that's not necessarily what's happened21:05
blast_hardcheese right, not suggesting one way or another, just throwing that out there to jog jita's memory21:05
tabakhase_tabakhase21:06
Guest59132 left21:06
iocor left21:08
rohan32rohan|afk21:08
adamm joined21:08
tplaner_ left21:10
sanmarcos any way to show which file contained the match found by git log -Sword ?21:10
iocor joined21:11
iocor left21:11
torjus_ left21:12
rohan|afkrohan3221:13
alexchamberlain left21:13
fly9 left21:14
rweait joined21:14
hidekin1 left21:14
williamcotton joined21:15
blast_hardcheese sanmarcos: --name-only21:15
lustucru joined21:15
converge left21:15
blast_hardcheese maybe?21:15
Yeah, that looks like it does what you want21:16
kcj joined21:16
andrewhl joined21:17
Ryback_ left21:17
sanmarcos blast_hardcheese: awesome!21:18
blast_hardcheese For future reference, most git commands support --help :)21:18
lresende joined21:18
sanmarcos git help log21:19
yes, but it had so many options that I choose not to read it in detail21:20
TL;DR21:20
cmn and now you lost time21:20
lustucru left21:21
jjore_ From hanging out in #mercurial I'm learning they've got an idea where the tools by default won't tell you about *every* option because initially you're not on a ramp-up curve to be able to use it yet.21:21
Kind of an interesting idea.21:21
sebastorama left21:21
cmn the tool won't in git either21:21
sanmarcos I wish git reset/revert was a little bit clearer21:22
tworkin joined21:22
Vile joined21:22
blast_hardcheese How is it not clear?21:22
cmn the workflow is with patches21:22
EugeneKay It's plenty clear; you need to learn svn revert ;-)21:22
cmn that's how they're named21:22
sanmarcos well, with svn one would just do svn revert file, to revert all changes, but since git has the stage thing21:23
blast_hardcheese "revert all changes"21:23
git checkout <commit> <file>21:23
EugeneKay The only similarity between svn revert and git revert is the six letter name21:23
sanmarcos in fact, I find that I am much more efficient with a GUI on GIT, with SVN a gui is a waste of time since it is so simple21:23
EugeneKay !GIT21:23
gitinfo Git is not an acronym. Writing it in all caps is heresy and will be punished by Subversion or SCCS for more grievous offences. It's "git" or "Git". Thank you for your help in making the world a better place.21:23
sanmarcos blast_hardcheese: well yes but I dont remember the last commit21:23
blast_hardcheese Sounds like you need to learn how to use git21:24
lustucru joined21:24
sanmarcos the hash that is, I dont want to copy paste it21:24
blast_hardcheese: possibly, yes, need more practice21:24
cmn you don't need to remember it21:24
pdelvopdelvo|afk21:24
blast_hardcheese whelp, back to work. Good luck sanmarcos :)21:24
sanmarcos thanks21:24
cmn git defaults to the current commit21:24
also see man gitrevisions21:24
gitinfo the gitrevisions manpage is available at http://git-scm.com/docs/gitrevisions.html21:24
sanmarcos cmn: ah, thanks21:24
cmn this is why you do read the manual21:24
tworkin left21:25
tworkin joined21:25
sanmarcos no man gitrevisions on OS X21:25
gitinfo the gitrevisions manpage is available at http://git-scm.com/docs/gitrevisions.html21:25
cmn install you manual pages then21:25
sanmarcos cmn: yes, but I believe good software should become instinctive, no need for manuals21:26
rohan32rohan|afk21:26
cmn that's not something that can work21:26
dov23 left21:26
sanmarcos i think its the biggest complaint about git, the "roughness" of it as seen here http://amplicate.com/hate/git21:26
EugeneKay .trigger_edit unlearn Users of centralized VCSes will need to unlearn a number of habits in order to learn git. Many commands, such as "checkout" and "revert" bear little in common to those holding the same name in other systems.21:26
gitinfo EugeneKay: Okay.21:26
sanmarcos but other than that, it is awesome, so much better than SVN21:26
I can't go back now21:26
gitinfo set mode: +v21:26
cmn the nipple is the only thing that's intuitive21:26
tworkin I accidentally did `submodule update --init` on a submodule I don't want inited currently (but dont want to remove it form the parent repo). will rm -rf subm_dir appear as a change in the parent repo? how do you "uninit" the submodule?21:27
Nugget cmn: and the fist21:27
Araxia left21:27
EugeneKay I won't argue that git's porcelain sucks. It is a product of evolution, not intelligent design.21:27
Davey left21:27
cmn the fist?21:27
lustucru left21:27
Nugget punches cmn in the shin21:27
cmn nah21:27
Araxia joined21:27
cmn that's not intutive21:27
not doing it properly anyway21:27
udantee left21:28
AaronMT left21:28
intransit[w] left21:28
hellopat left21:28
nicoulaj left21:28
juvenal joined21:29
intransit joined21:29
opus left21:30
opus joined21:31
les_sylvains left21:32
varg_ left21:32
nwest left21:33
lustucru joined21:34
tommsen left21:35
tworkin !submodule_rm21:35
gitinfo [!submodules_rm] You want to delete submodules? Excellent choice! All commands are in the superproject. Edit/delete .gitmodules to remove the submodule. Then `rm -rf submodulepath; git rm -f --cached submodulepath; git commit -am "Removed submodules!"` Inspect .git/config for "submodule" entries to remove. Inspect .git/modules for caches to remove "!gitslave" or "!subtree" (type them!) might be alternatives21:35
mrOrangeChuck left21:36
madewokherd joined21:36
udantee joined21:36
lustucru left21:37
t4nkd joined21:38
_keith left21:38
leeN left21:38
shawngo left21:38
juvenal left21:39
t4nkd left21:40
click "rewrite21:40
!rewrite history21:40
gitinfo [!rewriting_public_history] Rewriting public history is a very bad idea. Anyone else who may have pulled the old history will have to `git pull --rebase` and even worse things if they have tagged or branched, so you must publish your humiliation so they know what to do. You will need to `git push -f` to force the push. The server may not allow this. See receive.denyNonFastForwards (git-config)21:40
lustucru joined21:41
axl_ joined21:42
axl_ left21:42
fornext left21:43
aspotashev joined21:43
iocor joined21:43
_keith joined21:44
axl_ joined21:44
Element9 left21:44
axl_ left21:44
axl_ joined21:45
nickpresta left21:45
_keith left21:46
luxurymode left21:46
Orbitrix joined21:46
lustucru left21:47
sanmarcos HUMILIATION21:47
lustucru joined21:49
sgambino left21:49
axl_ left21:49
rtjure left21:49
sanmarcos !refs21:49
gfontenot joined21:50
axl_ joined21:50
\ology left21:51
_keith joined21:51
mutex joined21:52
sanmarcos is this a good workflow for working with bundles http://codemonkeydo.blogspot.com/2010/05/git-workflow-using-bundles.html ?21:52
EugeneKay .trigger_edit refs @!treeish21:52
gitinfo EugeneKay: Okay.21:52
EugeneKay sanmarcos - sneakernetting a bundle?21:53
sanmarcos yep21:53
EugeneKay You can init a bare git repo on a FAT32 USB stick just fine21:53
ph^_ left21:53
sanmarcos well we bundle it and then send it encrypted through dropbox21:54
bundle is better than a bunch of files, dropbox will probably screw it21:54
EugeneKay Oy.21:54
udantee left21:54
EugeneKay Yeah, a bit better. I would advise getting a bitbucket account.21:54
Or rent a VPS and install gitolite21:54
sanmarcos yes, sure, doens't apply to our situation, legal stuff21:54
but it totally makes sense otherwise21:55
The24zThe24z_away21:55
EugeneKay Even rsyning the encrypted bundle to a VPS is better than dropbox :-p21:55
cmn huh? you're not legally allowed to transfer information over the wire?21:55
psoo joined21:56
sanmarcos it woult take too long to set up everything, people dont understand, clearance from legal, management etc, firewalls21:56
big companies21:56
EugeneKay Well, there's a good question. Are you required to encrypt in transit, store encrypted?21:56
sanmarcos so I just sneakernet a bundle through dropbox to their technichal contact21:56
and screw it21:56
EugeneKay Heh. That works.21:56
lustucru left21:56
sanmarcos my question was about the workflow of sending differentials21:56
basically tagging and then bundling from tags, seems like a good approach21:57
tworkin cmn: cloud storage means you have to read the EULA really carefully or you could be giving away ownership of your file. people get nervous about it and then force you to use the one crappy process thats been approved21:57
therealfakemoot left21:57
sanmarcos yes I know, dropbox will screw you, they copy your data, but I don't really care, the bundle is encrypted21:57
just pass it through openssl they can copy all they want21:57
cmn tworkin: so don't use cloud storag21:58
Goplat joined21:59
yoklov left21:59
yoklov joined22:00
sanmarcos so, my current procedure for creating a full clone of a github repo as a bundle is $ git clone --mirror; git bundle create --all22:02
which gets me *everything*22:03
cagedwisdom joined22:03
yatiohi joined22:03
cmn yeah, you don't want to mirror github repo, it's full of metadata22:03
Davey joined22:03
cmn just change the refspec to be refs/heads/*:refs/heads/* and refs/tags/*:refs/tags/*22:04
add notes if you use them22:04
FernandoBasso joined22:04
sanmarcos cmn: can you give me some docs on that, no idea what a refspec is?22:04
cmn see man gitglossary and man git fetch22:05
gitinfo the gitglossary manpage is available at http://git-scm.com/docs/gitglossary.html22:05
the git-fetch manpage is available at http://git-scm.com/docs/git-fetch.html22:05
cmn a refspec is what tells git what to download and where to put the refs22:05
drupin joined22:07
drupin left22:07
sanmarcos basically I wanted to give them a copy of the github repo, not sure what extra metadata they got and why that would be bad?22:08
dfr|mac joined22:08
dfr|mac left22:08
sanmarcos just bundlign my working copy would not have been enough as I haven't checked out all the branches available22:08
udantee joined22:09
lustucru joined22:09
vpetro left22:09
nor5trom left22:09
cmn github stores pull requests there as well22:09
but if you don't have any, then you can mirror22:10
GameGamer43_ joined22:10
sanmarcos ah, ok, yeah I dont think we use them22:10
github must be doing some magic with git then22:10
lustucru left22:10
eijk__ left22:11
eletuchy_ joined22:11
cmn no magic22:12
they add extra refs, which are only really useful in the context of github22:12
as they refer to the PRs by number22:12
sanmarcos refs are some sort of key value store?22:12
cmn everything is22:13
a ref points to git objects22:13
well, each to one22:13
eletuchy left22:14
j416 left22:15
Guest98178 left22:17
The24z_awayThe24z22:17
drupin joined22:17
drupin left22:17
kermit joined22:18
tqmz left22:18
Orbitrix left22:18
giallu left22:18
gfontenot left22:19
Orbitrix joined22:19
gfontenot joined22:22
RaceCondition left22:23
lustucru joined22:23
lustucru left22:23
rohan|afkrohan3222:23
tworkin left22:25
lresende_ joined22:25
tworkin joined22:25
lresende_ left22:26
chuckharmston left22:26
The24zThe24z_away22:27
lresende left22:28
lustucru joined22:28
Enlik joined22:29
lustucru left22:29
Sym3tri_ left22:30
dfr|mac joined22:30
dvide left22:30
tomislater left22:31
revagomes left22:32
ladder4_ left22:33
thelazydeveloper left22:34
ladder4 joined22:34
sh0ne left22:34
letharion left22:35
zastern joined22:36
jbub left22:36
rweait left22:36
Sym3tri joined22:36
dfr|mac left22:38
draginx left22:38
rohan32rohan|afk22:40
jspiros left22:41
xxiao i have a few deleted files and a few changed files, just want to commit the delete ones, how could i do that22:41
timthelion left22:41
letharion joined22:41
FauxFaux xxiao: You can use git rm to stage the removals, or just list them on commit's command line.22:41
jspiros joined22:41
wagle joined22:43
xxiao FauxFaux: that worked, thanks!22:43
_keith left22:43
tizzotizzo-afk22:43
w09x joined22:45
w09x left22:45
jbub joined22:46
xxiao sigh, i accidentally did 'git add .' which involves quite a lot files, how can I back off?22:46
_keith joined22:46
david1010 joined22:47
david1010 left22:47
xxiao git reset . ?22:47
git rm --cached each-single-file ?22:47
GameGamer43 left22:49
GameGamer43_ left22:49
chuckharmston joined22:49
xxiao looks like git reset did it22:49
GameGamer43 joined22:50
EugeneKay xxiao - !unstage22:50
gitinfo xxiao: To unstage a file from the index(in other words, to undo an accidental `git add foo/bar.txt`), use: git reset foo/bar.txt22:50
cpgcpg|away22:50
_keith left22:50
xxiao EugeneKay: the problem is that i have a long list of them, git reset seems unstage all of them at once22:50
chuckharmston left22:50
EugeneKay It will take a directory name, same as add22:50
derekpioneer left22:51
lustucru joined22:51
TheJH left22:52
kvanderw joined22:53
timj joined22:53
beneggett left22:53
shawngo joined22:53
SeoZ joined22:54
lustucru left22:55
FernandoBasso left22:57
yoklov left22:57
simesy joined23:02
smw left23:02
lacrymology left23:03
stevedomin left23:04
Sebo joined23:04
zastern left23:04
cooloney joined23:08
diegovio1a left23:09
buhman_ left23:10
buhman_ joined23:10
buhman_buhman23:11
mmc1 left23:11
jita left23:11
iocor left23:11
The24z_awayThe24z23:12
diegoviola joined23:13
GameGamer43_ joined23:13
toothrtoothrot23:13
sinful joined23:13
LucasTizma joined23:13
nightcrawler786 joined23:14
jcao219 joined23:14
jcao219 left23:14
jcao219 joined23:14
GameGamer43 left23:14
_keith joined23:14
jjbohn left23:14
GameGamer43_ left23:14
GameGamer43 joined23:15
nightcrawler786 left23:15
nightcrawler786 joined23:15
FernandoBasso joined23:16
Davey left23:17
MattRichardson left23:17
SirCmpwn left23:17
gitinfo set mode: +v23:17
lindenle Hi all how do i build an rpm from sourc? I tried make rpm and i am getting some doc error on 1.7.11.23:17
MattRichardson joined23:18
anabelle left23:18
EugeneKay lindenle - you would need to consult the docs for the package you're trying to build.23:18
lindenle EugeneKay: right, right rtfm23:19
thiago lindenle: did you mean from the Git sources?23:19
Caelum_Caelum23:20
andrewhl left23:21
kerrick joined23:22
Guest79461 left23:23
afuentes left23:23
jjang joined23:24
cannonball left23:24
dhruvasagar joined23:25
AaronMT joined23:25
eletuchy_ left23:27
ryez joined23:27
GameGamer43_ joined23:28
GameGamer43 left23:28
allquixotic left23:29
lindenle thiago: yes, I am looking in Documentation and cannot find it...23:29
allquixotic joined23:29
tensory joined23:30
kvanderw left23:31
opus left23:32
Marcux83Marcux83|away23:33
w09x joined23:33
tensory left23:34
Guest9125 left23:35
cpg|awaycpg23:35
eletuchy joined23:37
axl_ left23:38
breck joined23:38
axl_ joined23:38
Esa joined23:39
opus joined23:39
maletor left23:42
Mjiig joined23:43
nirix joined23:44
lustucru joined23:44
yaymukund joined23:45
LucasTizma left23:45
unreal left23:45
lindenle thiago: is there a way to skip the documentation in an rpm build23:46
Mjiig if i want to move uncommited changes from one repo to another on my local machine, will "git diff > temp.patch" in the first repo followed by "git apply temp.patch" in the second repo work?23:46
lustucru left23:46
lustucru joined23:47
The24zThe24z_away23:47
w09x left23:47
snappy joined23:47
snappy left23:47
snappy joined23:47
imachuchu Mjiig: and why would you want to? just commit them, slap a tag/branch on them, then sync that. If later you don't want the commit rebase it into another/rebase it out completely23:48
gitinfo set mode: +v23:49
yaymukund I branched from master and added two commits: m1 < b1 < b2. I've added a commit to master since I branched. All the changes so far have been pushed to remote, so I can't rebase. How do I end up with m1 < m2 < b1 < b2 in a new branch?23:49
codeFiend left23:49
yaymukund (I can fix conflicts as needed)23:49
Mjiig imachuchu: you mean commit in the first repo, then push in that repo, then pull in the repo where i want the changes?23:49
that makes more sense :) thanks23:50
_keith left23:50
tworkin can you add "any symbolic link" to gitignore?23:51
eletuchy_ joined23:51
imachuchu Mjiig: commit in your repo, then push or pull it to the other23:51
ehsan left23:51
eletuchy_ left23:52
etcetera left23:52
eletuchy left23:52
eletuchy joined23:53
luxurymode joined23:53
lindenle http://pastie.org/4571259 Can anyone help me with this error when i try make rpm?23:53
etcetera joined23:54
Mjiig imachuchu: okay, thanks a lot, got it working now23:54
metcalfc_ left23:54
yoklov joined23:55
EugeneKay lindenle - if you're wanting the latest git for a RHEL/CentOS system you can get it from rpmforge23:55
lindenle well that is not exactly what I want but it might work23:55
Mjiig left23:55
lustucru left23:56
goshawk joined23:58
yaymukund I think actually, I just need to branch from an updated master and merge my original_branch in23:58
psoo left23:59
psoo joined23:59

Logs Search ←Prev date Next date→ Channels Documentation