IRCloggy #git 2012-08-23

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-23

thiago left00:00
apok_ joined00:02
maletor joined00:02
lustucru joined00:03
lustucru left00:03
tworkin left00:04
apok left00:05
apok_apok00:05
Anders_J joined00:05
nightcrawler786 left00:05
oorang3 joined00:07
lustucru joined00:08
sgambino joined00:08
dinkytoy joined00:08
GameGamer43_ left00:09
GameGamer43_ joined00:10
apok left00:11
apok joined00:12
oorang3 hey folks, first time user here00:12
i'm trying to commit the readme, and i get an error00:12
error: The requested URL returned error: 403 while accessing https://github.com/rmadair/fuzzer.git/info/refs00:12
fatal: HTTP request failed00:12
maletor left00:12
gusnan left00:13
oorang3 i even copy pasted the suggested lines on "Create a new repository on the command line"00:13
cmn this has nothing to do with committing, only pushing00:14
the 403 error means you're not allowed to00:14
SethRobertson What URL are you using when you cloned?00:14
`git remote -v` will tell you/us00:14
oorang3 okay, let me run that00:14
Lulzon joined00:14
oorang3 origin https://github.com/rmadair/fuzzer.git (fetch)00:14
origin https://github.com/rmadair/fuzzer.git (push)00:15
GameGamer43_ left00:15
kvanderw joined00:15
codeFiend joined00:15
GameGamer43_ joined00:16
oorang3 any ideas?00:16
SethRobertson Have you ever made a commit with github?00:16
oorang3 no, this is the first one following the "Create A Repository" instructions00:17
cmn is that your username?00:17
oorang3 rmadair00:17
maletor joined00:18
cmn are you using a hilariously old version of git?00:18
oorang3 git version 1.7.0.400:18
default in the ubuntu repo00:18
itatitat joined00:18
SethRobertson That may not have https password support00:18
oorang3 ah00:18
SethRobertson Can you upgrade or use the ssh url?00:19
oorang3 let me remove it and grab the latest version from teh site00:19
cmn that should be new enough for smart http00:19
SethRobertson But for https user authentication?00:20
quazimodo joined00:20
SethRobertson github requires username/password which requires the credential code00:20
iocor joined00:20
cmn that's handled by curl, that's not a problem00:21
the credential cacher won't be there, but http user/pass works in that version00:21
SethRobertson I don't think there is any interface to asking for the username/password.00:21
oorang3 i've never gotten asked ^00:22
SethRobertson 1.7.7 is the version when it was introduced00:22
oorang3 is making newest version atm00:22
psoo left00:22
cmn hm, that sounds really odd00:22
steve6 joined00:23
cmn the 403 error code should indicate that there was a password given00:23
erynofwales left00:24
lindenle Is there an ubuntu package host for git?00:24
cmn a package host?00:24
maletor left00:24
SethRobertson precompiled latest apk I'm assuming he wants00:24
oorang3 okay00:25
git version 1.7.1200:25
lustucru left00:25
oorang3 retries00:25
cmn .deb, isn't apk the Android one?00:25
EugeneKay Yes.00:25
hyperair left00:26
itatitat left00:26
oorang3 haha, that fixed it00:27
maletor joined00:27
oorang3 thanks guys, i appreciate the help00:27
just needed to get the latest version00:27
oorang3 curses the ubuntu repos00:27
cmn huh, I'd never noticed that before00:28
luxurymode left00:28
lresende joined00:29
breck left00:29
steve6 left00:30
breck joined00:30
imachuchu oorang3: what version of ubuntu are you running?00:31
Yuuhi` joined00:31
gavin_huang left00:31
AAA_awright_ joined00:32
steve6 joined00:32
xwalk joined00:32
murr4y left00:32
ilteris_ joined00:32
Yuuhi left00:33
koivula joined00:33
ska-fan joined00:33
styx_ joined00:33
harish left00:34
murr4y joined00:34
devth left00:34
iocor left00:34
YoMomma left00:34
JrCs left00:34
quazimod1 left00:34
steve6 left00:35
gavin_huang joined00:35
steve6 joined00:35
oorang3 imachuchu: 10.04.4 LTS00:36
sgambino_ joined00:36
JrCs joined00:36
kenperkins left00:36
juvenal joined00:37
Sym3tri left00:37
imachuchu oorang3: yeah, the LTS isn't going to see newer packages. If you want fresher repos switch to a newer version (12.04 here with git version 1.7.9.5)00:38
sgambino left00:39
steve6 left00:39
beneggett joined00:39
Synthead left00:39
mmattice oorang3: https://launchpad.net/~git-core/+archive/ppa00:39
AAA_awright_AAA_awright00:40
steve6 joined00:40
oorang3 ah, ty for the info :)00:41
mmattice much easier than rebuilding it yourself all the time00:41
v0n left00:41
_keith joined00:43
goshawk left00:44
breck left00:44
diegoviola left00:45
ehsan joined00:46
daniel-s left00:49
daniel-s joined00:50
harish joined00:51
iori joined00:51
hide_hide00:52
_keith left00:53
duckxx left00:54
erynofwales joined00:54
unreal joined00:54
tmz left00:55
tmz joined00:55
ahayweh left00:55
gavin_huang left00:56
dreiss left00:56
maletor left00:56
imachuchu left00:56
zw_yao Hi,all. I try to rebase my topic branch to the updated master branch, and then squash(use git rebase -i) all my topic commits into single commit. It works. however, I also try the alternative way to do this: first squash the topic branch(there are about 50 commits need to be squash), then rebase to the updated master branch. finally, it failed at the squash, there are many conflicts. Could anyone give some tips?thanks!00:58
alfplayer joined00:58
msmithng left00:59
zw_yao Why the squash successes after rebase and fails before rebase?01:00
milki doesnt make sense to me01:02
gtuckerkellogg joined01:02
hwrd|work left01:03
zw_yao milki, you mean those 2 approaches should both be viable?01:06
etcetera left01:06
SyouJyoA joined01:07
codeFiend left01:08
ngirard left01:08
dinesh6654 left01:09
ahayweh joined01:09
milki ya01:10
etcetera joined01:11
SeoZ left01:11
_keith joined01:12
SeoZ joined01:14
dreiss joined01:15
iocor joined01:15
hyperair joined01:16
weiyang joined01:16
p3rror left01:16
etcetera left01:17
_keith left01:18
Davey joined01:18
aantix_ joined01:18
palm_vue left01:20
Lgb left01:20
bizhanMona left01:20
Fernando1asso joined01:20
aantix_ left01:20
ngirard joined01:20
FernandoBasso left01:21
Fernando1assoFernandoBasso01:21
palm_vue joined01:21
Lgb joined01:21
bizhanMona joined01:21
aantix left01:21
Sebo left01:21
harish left01:22
sgambino_ left01:22
intripoon joined01:23
cybersphinx left01:23
gtrak joined01:24
codeFiend joined01:24
Chib joined01:24
project2501b left01:25
project2501a joined01:26
AaronMT left01:26
intripoon_ left01:26
dreiss left01:28
oogatta joined01:30
Textmode left01:30
wolftankk joined01:30
_keith joined01:31
iliketurtles left01:32
_keith left01:32
hollyw00d joined01:35
iliketurtles joined01:35
corburn joined01:36
_keith joined01:36
boombatower joined01:40
SyouJyoA left01:42
xiangfu joined01:43
iliketurtles left01:44
gfontenot left01:44
electrog1ek left01:45
electrogeek joined01:45
electrogeek left01:45
electrogeek joined01:45
harish joined01:45
etcetera joined01:46
TheLZA joined01:46
shane_ joined01:47
etcetera left01:47
hellopat joined01:49
blackcustard joined01:49
electrogeek left01:50
iocor left01:51
toobluesc joined01:52
dhruvasagar left01:52
apok left01:52
electrogeek joined01:53
electrogeek left01:53
electrogeek joined01:53
hwrd|work joined01:54
SkAzZ joined01:56
_keith left01:57
anabelle joined01:58
Eridius left01:59
SkAzZ1 left02:00
weiyang left02:00
_keith joined02:00
nutron left02:03
SyouJyoA joined02:03
Lulzon left02:03
bawigga joined02:05
andrewhl joined02:05
beneggett left02:08
steve6 left02:09
opus left02:10
beneggett joined02:10
_keith left02:10
zdk joined02:12
xxthink joined02:12
wctype joined02:15
FernandoBasso left02:16
weiyang joined02:17
metcalfc_ joined02:19
SwK_ joined02:21
shane_ left02:21
shane_ joined02:22
breck joined02:23
SkAzZ left02:24
ehsan left02:25
igotnolegs joined02:25
zdk left02:25
etcetera joined02:26
Guest49601 left02:27
blackcustard what does it mean when git svn update-ref fails with "fatal: refs/remotes/svn/trunk: not a valid SHA1"? the man page doesn't seem to say anything about it02:27
i'm thinking it's got the wrong path through the remote repository and isn't finding trunk?02:27
jpalmer joined02:27
hwrd|work left02:28
Eridius joined02:28
bawigga left02:28
dreiss joined02:28
frogonwheels__ left02:29
frogonwheels joined02:29
shane_ left02:31
Davey left02:31
Bombe left02:36
w09x joined02:36
rehat joined02:37
w09x left02:37
ndngvr left02:42
weiyang left02:42
Bombe joined02:43
weiyang joined02:44
oorang3 left02:44
codeFiend left02:46
pppaul left02:46
ology joined02:47
rohan|afk left02:47
thansen_ left02:47
thansen joined02:47
Samual joined02:47
Samual left02:47
Samual joined02:47
shane_ joined02:48
wctype_ joined02:49
HAL_9001 left02:50
evanz joined02:50
jarray52 joined02:51
wctype left02:51
SethRobertson sounds more like a git error. Try git-fsck?02:52
rohan32 joined02:52
thansen left02:52
jarray52 I'm using git version 1.7.3.4-r1, and I ran git clone <url>. It says Cloning into <dir name>... Then, it asks for username and password. However, the directory does not appear after the git clone command finishes.02:52
rohan32 left02:53
asakura left02:56
xiangfu left02:56
asakura joined02:57
xiangfu joined02:58
beneggett left02:58
maletor joined02:59
EugeneKay That sounds peculiar03:00
What OS?03:01
codeFiend joined03:01
jarray52 Gentoo03:01
CEnnis91 left03:02
CEnnis91 joined03:02
CEnnis91 left03:02
CEnnis91 joined03:02
jarray52 I'm checking out from github, and the same command works perfectly on an Ubuntu machine with gt version 1.7.11.2.24903:02
s/gt/git03:02
SaCu jarray52, does that ubuntu machine ask you for credentials, too?03:03
EugeneKay Abd it's doing the object download? Not erroring out or anything?03:04
jarray52 SaCu: Yes.03:04
EugeneKay What's the exit code of the `git clone` process? (run `echo $?`)03:04
lresende left03:04
hellopat left03:04
jarray52 12803:05
EugeneKay That's definitely an error03:05
!repro03:05
gitinfo 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.03:05
pppaul joined03:06
jarray52 gitinfo: I ran the command: git clone https://github.com/...03:06
gitinfo: Then, I entered username and password.03:07
beneggett joined03:07
jarray52 gitinfo: Then, I typed `echo $?`03:07
gitinfo: This returned 12803:07
pppaul left03:08
jarray52 EugeneKay: What do you mean by '!repro' ?03:08
ndngvr joined03:08
EugeneKay !gitinfo03:08
gitinfo I am an IRC bot which responds to certain keywords to provide helpful(?) information to humans. Please see http://jk.gs/git/bot for more information about how to use me.03:08
EugeneKay Read the gist linked ;-)03:09
pppaul joined03:10
pppaul left03:10
jackh joined03:10
pppaul joined03:10
pppaul left03:10
pppaul joined03:11
SaCu There are ~20 places in git itself where it exits with 128 :)03:11
TheLZA left03:12
jarray52 SaCu: Is there a way to get more information about this error without reading the git source code?03:12
SaCu jarray52, i'm not really sure. I've never had a case myself where git did "just fail and not tell me why".03:13
maletor left03:13
lahwran I have a .patch file exported by format-patch. I want to apply this to my working directory, so that I can manually review and re-commit it. how would I do this?03:14
etcetera left03:14
jarray52 By the way, I'm new to git. So, this could easily be user error. Something simple.03:14
Yuuhi` left03:14
Eridius left03:15
SaCu lahwran, man git-am03:15
gitinfo lahwran: the git-am manpage is available at http://git-scm.com/docs/git-am.html03:15
Yuuhi` joined03:15
SaCu jarray52, can you clone the repository with a "git@github....." url?03:15
lahwran SaCu: I don't see what's relevant about that (obviously it is, I just don't see it)03:16
jarray52 Anyone have a sample github account that I could try cloning?03:16
SaCu lahwran, 'git am' is the counter-command to format-patch. It applies it. If you have a raw diff output, you can use 'git apply' or just the 'patch' program03:16
lahwran ah03:17
so will that allow me to review the code?03:17
well, er03:17
SaCu what exactly do you mean by "review the code"?03:17
lahwran I mean I could review the patch, but I'd prefer to review it in the working directory03:17
SaCu jarray52, if you don't have a github account on your own, what username/password are you giving it then?03:19
Chib left03:19
jarray52 SaCu: I have a github account.03:19
pppaul left03:20
SaCu jarray52, then why do you want to use another one?03:20
shane_ left03:20
jarray52 SaCu: To test if the problem is with my account. I wasn't asking for someone's username/password. I was asking if someone had a url that I could download a piece of example code from.03:21
wctype_ left03:21
SaCu lahwran, git am will create a local commit; but you could easily discard this one, if you don't like it.03:21
_br_ left03:21
lahwran SaCu: or amend it to a commit message that isn't "temp"?03:22
:p03:22
_br_ joined03:22
SaCu jarray52, ah, okay. Well, any github hosted project should be okay then :)03:22
lahwran, indeed. But you could already have changed that in the patch (that's an advantage of format-patch over "raw" diffs)03:23
nutron joined03:23
pppaul joined03:23
pppaul left03:23
SaCu lahwran, the original intention of format-patch is to transport commits via mail.03:24
nutron left03:24
kukks left03:24
nutron|w joined03:24
pppaul joined03:24
beneggett left03:24
jarray52 SaCu: I'll find one. I apologize for my laziness.03:24
lahwran blah, I lost work due to this mess03:25
_br_ left03:26
lahwran oh well, it wasn't complex work, probably easier to redo than to try to find the lost data in git03:26
probably doesn't exist anyway, the whole issue was that it hadn't been committed :p03:27
jarray52 SaCu: I ran git clone https://github.com/emberjs/ember.js.git and then ran echo $?03:27
_br_ joined03:27
jarray52 SaCu: The return value was still 12803:27
beneggett joined03:27
ak5 joined03:27
SaCu jarray52, does 'git clone git://github.com/emberjs/ember.js.git' work then?03:28
jarray52 SaCu: No03:29
lahwran heavens, git fetch takes a long time03:29
ak5 hi, I work with a few different computers at my work, so I decided to put my .ssh folder under git (and host it on a private git server). However, my subfolders holding keys have wierd permissions I have never seen before when I clone on another machine. ls -al just gives me ????????? ? ? ? ? ?03:30
does anyone know why?03:30
this problem persists if I do chown -R myuser:users .ssh/03:30
jarray52 ak5: Are you root?03:30
ak5 jarray52: no, not on either03:30
jarray52 ak5: If I run ls -alh in .ssh, I can see the permissions of all my files such as id_dsa.pub03:31
Bass2 left03:32
ak5 jarray52: it seems to work in ~/.ssh but not in ~/.ssh/foo/03:32
jarray52 ak5: I'm not sure then.03:32
ak5 do you have keys organised in subfolders?03:33
jarray52 ak5: I have to step out for a moment.03:33
ak5 ok03:33
Eridius joined03:33
rchavik joined03:33
rchavik left03:33
rchavik joined03:33
SaCu jarray52, if cloning via the git@-url doesn't work too, i have currently no clue why it should fail. Do you have a proxy?03:33
cakehero left03:34
jarray52 SaCu: no. I have to step out for a moment. Thanks for your help.03:34
lotus left03:34
sebastorama joined03:34
blackcustard left03:36
weiyang left03:38
yaymukund left03:42
ak5 does git not track permissions?03:46
offby1 mostly not.03:47
it tracks the executable bit ... and AFAIK, that's it.03:47
ak5 I see03:47
offby1 Next!03:47
ak5 :P03:47
offby1 I can't, however, explain why you're getting a bunch of question marks; I'd expect you to get 644 or something.03:48
Perhaps you're using Cygwin03:48
sebastorama left03:50
bgerber left03:50
weiyang joined03:51
Kyzz joined03:52
sebastorama joined03:53
ReekenX joined03:57
cmullican left03:57
r0bby joined03:58
ak5 offby1: I actually fixed it by doing chmod 777 * && chmod 600 *04:01
no just linux04:01
I have no clue whats going on04:01
but it's done now, I'll set up a githook to do that whenever I pull04:02
robbyoconnor left04:02
offby1 maybe you're using some unusual file system? Or NFS?04:04
kenperkins joined04:04
bgerber joined04:04
offby1 Or ACLs ?04:04
ak5 nope, ext404:04
no ACLs04:04
offby1 *shrug*04:05
a mystery04:05
boombatower left04:05
fisted left04:05
quazimod1 joined04:06
SaCu left04:07
fisted joined04:09
dinkytoy left04:09
Guest42477 left04:14
SaCu joined04:14
ndngvr left04:14
raar joined04:15
raarGuest9640604:15
ndngvr joined04:16
Per4u3e joined04:17
subhojit777 joined04:17
Per4u3e left04:17
ehsan joined04:18
quazimodo left04:18
aspotashev left04:18
Anders_J left04:19
quazimod1 left04:19
quazimodo joined04:20
SyouJyoA left04:20
Davey joined04:21
alexisabril left04:23
Kyzz left04:24
quazimodo left04:25
iliketurtles joined04:25
hwrd|work joined04:25
javawizard joined04:26
javawizard left04:26
javawizard joined04:26
khmarbaise left04:26
jcp left04:26
rehat left04:27
private joined04:28
privateGuest239204:29
jarray52 Does git have a mechanism of testing whether it is installed properly?04:29
yitz_ left04:29
Kichael left04:29
etcetera joined04:30
madewokherd left04:31
Natureshadow left04:34
codewrangler left04:34
EugeneKay `git init`. If it works, it works. If it doesn't, it doesn't.04:35
shawngo left04:37
breck left04:39
oorang3 joined04:39
oorang3 so i created the gh-pages branch, but it just shows up normallly as a list of files. how do i have it render the html?04:40
r0bby_ joined04:40
yoklov left04:40
ahayweh left04:41
hollyw00d left04:42
jarray52 EugeneKey: git init works and echo $? returns 0.04:42
ahayweh joined04:43
jarray52 EugeneKey: However, I'm still having problems cloning repositories from github.04:43
milki jarray52: care to elaborate?04:43
r0bby left04:44
jarray52 milki: git clone https://github.com/emberjs/ember.js.git fails04:44
milki: And echo $? returns 128.04:44
yoklov joined04:45
jarray52 milki: There is no error message. Not sure what else to say.04:45
ozzloy left04:45
milki not sure here either then >.>04:46
anabelle left04:46
jarray52 milki: git init works04:46
eletuchy_ joined04:47
milki try another repo?04:47
DanyO83 left04:47
anabelle joined04:47
hollyw00d joined04:47
ozzloy joined04:47
ozzloy left04:47
ozzloy joined04:47
yoklov left04:47
maletor joined04:48
jarray52 milki: I believe I have the problem with all repos, but let me try another.04:48
pretty_function joined04:49
eletuchy left04:50
jarray52 milki: git clone https://github.com/thoughtbot/paperclip.git does the same thing.04:50
borgebjo joined04:50
milki then try reinstall git04:50
no clue whats wrong04:51
maybe rebooting will help :o04:51
eletuchy joined04:51
milki :P04:51
jarray52 milki: I'm not using git on Windows.04:52
maletor left04:52
milki also need to sacrifice your finest goat04:52
ak5 left04:52
jarray52 milki: lol...04:52
milki: I'm running an update on Gentoo. I'll try reinstalling git afterwards. It's possible this update is causing the problem, but it seems as though git is installed and "working".04:53
milki hmmm04:54
maybe its ssl related then04:54
try a non ssl repo04:54
or ssh?04:54
jarray52 Good point04:55
metcalfc_ left04:55
jarray52 Let me try04:55
milki and local04:55
eletuchy_ left04:55
juvenal left04:56
yaymukund joined04:57
jarray52 milki: Do you know a project that has a small http: repo?04:57
tnelson left04:58
milki nope04:59
tnelson joined04:59
milki only does ssh04:59
yoklov joined05:03
Eridius left05:08
borgebjo left05:08
giallu joined05:10
harish left05:11
hollyw00d left05:12
quazimodo joined05:12
etcetera left05:12
Sebo joined05:13
maletor joined05:14
giallu left05:14
kerrick left05:14
arkiver joined05:14
thirdknife joined05:16
beautifulmind joined05:16
dsirijus joined05:17
gerard0 left05:18
sebastorama left05:18
yaymukund left05:18
loops left05:19
patrick85 joined05:19
yaymukund joined05:19
thirdknife left05:21
ryez left05:21
thirdknife joined05:21
quazimodo left05:21
yoklov left05:22
The24z_awayThe24z05:22
asakura left05:23
thirdknife left05:23
loops joined05:23
gerard0 joined05:23
quazimodo joined05:24
Psycho_pr_ left05:24
Psycho_pr joined05:25
loops left05:25
Chib joined05:27
loops joined05:28
oorang3 after creating a gh-pages branch using the page generator, what url actually renders the html?05:28
shruggar joined05:32
r0bby_robbyoconnor05:32
simesy left05:32
simesy joined05:33
mishok13 joined05:34
iliketurtles left05:34
Davey left05:35
sq-one joined05:36
milki username.github.com/projectname05:38
longbeach joined05:38
gerard0 left05:38
marc_kdab_ left05:39
mishok13 left05:39
marc_kdab_ joined05:39
sq-one left05:39
dinesh6654 joined05:40
kvanderw_ joined05:40
kvanderw left05:41
kvanderw_kvanderw05:41
sebastorama joined05:42
gerard0 joined05:42
jnewt joined05:42
pppaul left05:42
Milossh left05:43
jnewt i've named branches incorrecly, and pushed. no one has pulled / fetched. if i rename them correctly on my local and push, will it rename the remote branches?05:44
nevyn nope05:44
it'll add more branches on the remote05:45
Araxia_ joined05:46
Araxia left05:46
Araxia_Araxia05:46
senny joined05:47
lirt joined05:47
pppaul joined05:48
jnewt nevyn: so this is undoable? great05:48
ferdna joined05:48
nevyn delete them on the remote?05:48
lirt left05:49
nevyn sure05:49
git push remote :branch will delete a remote branch05:49
etcetera joined05:50
zw_yao left05:50
The24zThe24z_away05:50
Guest49240chrisward05:52
jnewt nevyn: i don't want to delete the remote branch. i just need to run two commands on remote. git branch -m pt_test pt_test_bugfix and then git branch pt_test 61c186 so that i rename the rmote branch bugfix, and put the pt_test back where it was.05:53
is that doable?05:53
adamm left05:54
mishok13 joined05:54
nevyn so you don't need to do it on the remote.05:56
you can do this with push05:56
pantsman joined05:57
pantsman left05:57
pantsman joined05:57
gavin_huang joined05:58
jcao219 left05:59
SJr left05:59
oorang3 milki: ty06:00
SJr joined06:00
milki ?06:01
o06:01
pdelvo|afkpdelvo06:02
shruggar left06:02
Nirvanko joined06:02
anabelle left06:03
OOPMan joined06:03
MZAWeb joined06:05
andrewhl left06:06
etcetera left06:06
SJr left06:07
meatlover left06:07
pppaul left06:08
SJr joined06:09
john_anderson joined06:09
MaximB_ joined06:09
afuentes joined06:13
osmosis left06:15
arvind_khadri joined06:15
patrick99e99 left06:16
sebastorama left06:17
rehat joined06:20
igotnole_ joined06:20
jwmann1 joined06:21
igotnolegs left06:21
jwmann1 left06:21
jwmann1 joined06:21
pdelvopdelvo|afk06:22
_huoxito left06:22
etcetera joined06:22
Goplat left06:22
cbreak-work joined06:23
hoschi joined06:24
flijten joined06:24
jwmann1 left06:25
fornext joined06:25
dinesh6654 left06:26
und3f joined06:26
lb joined06:26
lb left06:26
lb joined06:26
thomasfr joined06:27
shruggar joined06:27
skorgon joined06:27
skorgon left06:27
skorgon joined06:27
mishok13 left06:30
philips_ joined06:33
etcetera left06:33
john_anderson left06:33
nor5trom joined06:35
halpurt joined06:35
thomasfr left06:35
thomasfr joined06:36
patrick99e99 joined06:40
_iron joined06:40
thomasfr left06:40
marthinal joined06:40
skorgon left06:44
gerard0 left06:45
thanpolas joined06:45
caseymcg joined06:46
towski joined06:46
gerard0 joined06:49
skorgon joined06:50
skorgon left06:50
skorgon joined06:50
rgr joined06:50
shruggar left06:52
halpurt left06:52
dc5ala joined06:52
towski_ joined06:53
towski left06:53
rgr left06:53
xxthink left06:54
Eridius joined06:56
eletuchy left06:57
iflista left06:58
shruggar joined06:58
ph^_ joined06:59
xxthink joined06:59
SJr left07:00
caseymcg left07:00
dr_lepper joined07:01
dr_lepper left07:01
dr_lepper joined07:01
madsy left07:04
sebastorama joined07:05
SJr joined07:05
mishok13 joined07:08
shruggar left07:08
igotnole_ left07:09
Zespre_ left07:09
timj1 joined07:10
fepede joined07:10
fepede left07:11
Zespre joined07:11
kenperkins left07:13
timj left07:13
xwalk_ joined07:16
resmo_ joined07:16
Merwin left07:16
vmiklos_ left07:17
wolftankk left07:17
sebastorama left07:17
Merwin joined07:17
dhruvasagar joined07:17
jkremser left07:17
mastro joined07:17
vmiklos joined07:17
buhman left07:18
ferdna left07:19
bizhanMona left07:20
palm_vue left07:20
Lgb left07:20
towski_ left07:20
palm_vue joined07:21
Lgb joined07:21
bizhanMona joined07:21
eletuchy joined07:23
MZAWeb left07:23
eletuchy_ joined07:24
Nirvanko left07:25
psoo joined07:26
stodan joined07:26
eletuchy left07:27
scholtz joined07:29
Sebo left07:30
scholtz left07:31
amcsi_work joined07:35
Sebo joined07:35
sh4rm4 left07:35
arkiver left07:35
sh4rm4 joined07:36
tqmz joined07:36
scholtz joined07:37
TheHaven joined07:38
scholtz left07:38
Natureshadow joined07:39
sebbo joined07:41
beautifulmind left07:42
thiago joined07:45
tqmz left07:45
scholtz joined07:45
ipalaus joined07:46
giany joined07:46
RaceCondition joined07:47
maletor left07:48
ology left07:48
simesy left07:49
caseymcg joined07:49
jkremser joined07:52
tqmz joined07:52
Eridius left07:55
Pupeno_W left07:55
weiyang left07:58
Advocation joined07:58
adhawkinz left07:59
adhawkinz joined07:59
adhawkinzadhawkins07:59
caseymcg left08:00
shruggar joined08:02
hyperair left08:02
The24z_awayThe24z08:03
d3vic3 joined08:05
madsy joined08:06
madsy left08:06
madsy joined08:06
w09x joined08:06
Fissure left08:07
pantsman left08:08
klj613 joined08:08
Guest85743 left08:08
Guest85743 joined08:08
stevedomin joined08:09
blami_ joined08:10
deitarion joined08:10
eletuchy_ left08:11
timthelion joined08:12
deitarion I don't suppose anyone here could recommend a trustworthy repo for getting git 1.7.10 on Ubuntu 12.04 (Precise)? The main tree is still on 1.9.5 and I'm really getting tired of waiting for [include]. (As is, I have to leave .gitconfig in a partially-committed state to keep my SMTP password and GitHub secret private.)08:12
eletuchy joined08:12
cbreak-work deitarion: what's wrong with git.git?08:14
jkremser left08:14
deitarion cbreak-work: Perhaps nothing. What's git.git?08:14
Oh, building from source?08:15
cbreak-work it's the git repo of git08:15
skorgon https://github.com/git/git08:15
cbreak-work what were you asking about?08:15
git://git.kernel.org/pub/scm/git/git.git08:15
The24zThe24z_away08:15
deitarion Were I still on Gentoo, I'd have no problem with that. As I'm on Lubuntu until I have time to debug my own integration gotchas, I'd prefer to not have to manage my own security fixes and manually keep git.git from fighting with apt's dependency resolution.08:16
cbreak-work it was no problem on OS X.08:16
BiggFREE joined08:16
Freeaqingme left08:17
deitarion Yeah. As far as I know, OSX doesn't have a package manager. Lubuntu has a package manager that errs on the side of overbearing.08:17
Fissure joined08:17
cbreak-work you can install your own git into /usr/local/bin, or maybe even ~/bin08:18
deitarion (For example, I have to keep manually removing pulseaudio because various packages list it as an install-time dependency to try to "help" me "unbreak" my system)08:18
dr_lepper left08:19
Guest85743 left08:19
deitarion cbreak-work: That doesn't solve the problem of making me responsible for watching for when security holes are discovered in git or when the Ubuntu-provided git version number passes my own install's.08:19
actel joined08:19
cbreak-work of course not.08:21
take responsibility or don't. :)08:21
either you compile your source from the repository08:21
or you're stuck with what you get via other ways08:21
deitarion cbreak-work: I have no problem being stuck with other ways. I'm just looking to see if I can get some consensus on which 3rd-party repos for git 1.7.10+ are most likely to be trustworthy.08:22
khmarbaise joined08:23
nevyn deitarion: pulse is part of modern systems deal.08:23
cbreak-work I don't think there are any forks of git08:23
esc deitarion: [include], is it coming?08:23
cbreak-work and even if there are, if you use a repo, then you'll get just sources08:23
gtuckerkellogg left08:24
deitarion nevyn: Nope. I run without it and the only thing that breaks is Skype and only because it's unlucky enough to run up against a rough edge of how Ubuntu tries to force ALSA apps to use pulse.08:24
cbreak-work: You obviously don't understand what I'm talking about. Every result in this search potentially contains pre-built binary packages of git for Ubuntu. --> https://launchpad.net/ubuntu/+ppas?name_filter=git08:24
cbreak-work yeah, but that's not a repository08:25
Anders_J joined08:25
cbreak-work that's some linux thing08:25
Sebo left08:25
skorgon that's a question for #ubuntu08:25
deitarion cbreak-work: It's a package repository. It's "a linux thing".08:25
cbreak-work they commit binaries?08:26
asakura joined08:26
cbreak-work never heard of that08:26
deitarion cbreak-work: It's a tree of folders and metadata. They've been using the terminology since the late 90s at least and it's what Apple App Stores made a crappy knock-off of.08:27
cbreak-work so like a package manager?08:27
deitarion cbreak-work: Yeah. The server-side collections of source data used by package managers are called package repositories. Completely separate from git/bzr/hg/svn/etc.08:28
mklappstuhl joined08:28
cbreak-work those are probably distro specific08:28
deitarion cbreak-work: They are. I just thought I'd ask since, with Ubuntu being so popular, it might not be a total waste.08:29
Eridius joined08:29
deitarion (I already checked in #ubuntu and nobody was technical enough to have needed non-default versions of git)08:29
esc: Would you mind clarifying your question?08:30
cbreak-work 90% of the things I read about ubuntu is complaining about things like Gnome3, Unity and so on.08:30
lb try irc.ubuntu.com #ubuntu08:30
cbreak-work maybe the popularity is waning. :/08:30
deitarion lb: From what I remember of the X-Chat in the LiveCD, I'm pretty sure irc.ubuntu.com is part of FreeNode.08:30
cbreak-work: I run Lubuntu, not Ubuntu. Same base OS, but with a sane LXDE desktop.08:31
hwrd|work left08:31
deitarion I hear lots of people use Kubuntu, but I want something lightweight. (And Xubuntu devs are as bad as GNOME devs for feeling essential features are either too scary or too "inelegant")08:31
Well, XFCE devs are. All I know is that the Xubuntu devs don't seem to be patching them in.08:32
esc deitarion: is there an include statement for the gitconfig file coming>08:33
Eridius left08:34
deitarion esc: It's already in 1.7.10. http://stackoverflow.com/a/9733277/43525308:34
jackh left08:34
jkremser joined08:34
jackh joined08:35
Guest50184 joined08:36
robotmay joined08:37
Vile left08:37
jackh left08:40
Vert joined08:41
deitarion nevyn: Oh, and I do periodically give PulseAudio a chance. It always hits me with some kind of deal-breaking bug within the first few days of use. (Most recently, it would randomly but fairly eagerly start pegging my CPU at 100% until I killed it if I played any games in Wine)08:41
Atlantic777 left08:42
jackh joined08:43
deitarion ...and that was with a fresh, clean Lubuntu install with the audio subsystem configured completely with defaults and a fairly ordinary desktop Intel HDA sound chip.08:43
neurodrone left08:44
deitarion Anyone who has anything to do with producing or defending PulseAudio's suitability for general use has lost all credibility with me from their repeated cries of "NOW we've fixed all the bugs".08:44
NicolasNox joined08:44
Atlantic777 joined08:44
Atlantic777 left08:44
Atlantic777 joined08:44
NicolasNox left08:44
davesag joined08:45
gitinfo set mode: +v08:45
frogonwheels deitarion: ot.08:45
deitarion frogonwheels: I was done anyway. Just wanted to make sure nevyn understood why "deal with it" was an unreasonable response.08:46
papegaaij joined08:47
The24z_awayThe24z08:49
Sebo joined08:49
nevyn meh. it works for me.08:50
thomasfr joined08:50
cantoma joined09:02
artnez left09:03
kvanderw_ joined09:03
ehsan left09:04
sam113101 joined09:04
jjang left09:04
oojacoboo left09:04
sam113101 I NEED HELP09:04
oojacoboo joined09:05
giallu joined09:05
Vile joined09:06
barq joined09:06
kvanderw left09:07
kvanderw_kvanderw09:07
sam113101 I created a new git repo, added a file, commit, created a new branch, I modified the file inside that branch09:07
scholtz left09:07
sam113101 then I merge the branch into master09:07
merged*09:07
when I display the graph I don't see the branch09:08
is there a minimum of commits to be made before it displays branches (/ | \ on the command line)?09:08
jast looks like you did a fast-forward merge09:09
that's when, at the point of merging in stuff, the target branch hasn't actually had new commits of its own09:09
i.e. the merge can be performed by just adding the commits on top09:09
that way it's not a "real" merge but instead it just adds the commits09:10
if you had changed master, too, before merging, you'd now have a real merge09:10
sam113101 ah09:10
jast you can force real merges even if fast-forwarding is possible by using --no-ff09:10
TheJH joined09:11
sam113101 so there's no way of knowing that those changes were wade in another branch, now?09:11
barq left09:12
barq joined09:13
angelsl joined09:13
soee joined09:15
jacobat joined09:18
jacobat Is it possible to configure that master should be pulled from remote A and pushed to remote B ?09:18
Desproges joined09:19
Desproges Hi, all, what is the equivalent of "svn resolved /my/file.txt" ?09:20
(I m talking about the case you do not use the mergetool feature)09:20
lb git add09:20
git add foo/bar.txt09:20
OOPMan left09:22
Desproges yeah, I just found that, simply .. thanks a lot lb !09:22
thiago jacobat: no, I don't think you can configure different remotes09:22
tqmz left09:23
jacobat thiago: How about the branch.<name>.merge setting?09:23
lb thiago: is git push --set-upstream seperate from the normal remote url?09:23
thiago jacobat: that sets the branch name in the remote09:23
jacobat: but there's only one remote setting09:24
lb: what?09:24
jacobat: an option is to set a different push URL for that remote09:24
nirix left09:24
lb thought about jacobat question. isn't the push url seperate from the fetch url?09:25
thiago lb: if you use that, it sets the pull upstream too09:25
lb ok09:25
thiago lb: the push URL is separate from the pull URL, yes, but that's not how you set it09:26
it also requires that either the branch name is the same in the pulling and in the pushing, or that he can set a push refspec too09:26
Desproges lb, I need one more advise: now I m ready to "git commit" : should I type this or is there a special command to use after a merge ?09:27
gavin_huang left09:27
mklappstuhl left09:29
thanpolas travis.ci bit spammy ?09:30
jacobat Bummer :/09:30
achadwick joined09:32
d1b left09:33
d1b joined09:34
thiago left09:35
jacobian joined09:39
EugeneKay _ikke_ - poke09:42
juvenal joined09:43
EugeneKay _ikke_ - I composed a basic man page-like thing for that git-library command I was brainstorming. https://github.com/EugeneKay/scripts/blob/master/bash/git-library.sh09:43
jackh left09:43
khmarbaise left09:45
fluxdude left09:45
vectorshelve joined09:45
vectorshelve left09:46
SeoZSeoZ-work[AWAY]09:48
EugeneKay But now I'm gonna sleep09:49
BiggFREE left09:50
Milossh joined09:54
gavin_huang joined09:54
Milossh left09:54
Milossh joined09:55
jacobian left09:55
dhruvasagar left09:56
afuentes left09:59
gavin_huang left10:04
Araxia left10:06
tqmz joined10:08
thiago joined10:10
iamtakingiteasy left10:11
dhruvasagar joined10:11
deitarion left10:11
gavin_huang joined10:14
harish joined10:16
TheJH left10:17
iamtakingiteasy joined10:21
whitman joined10:22
Fullmoon joined10:24
SeySayux left10:24
eighty4_ left10:25
eighty4 joined10:25
Internet13 left10:25
Internet13 joined10:26
alegen joined10:28
sgambino joined10:31
SkAzZ joined10:31
Atlantic777 left10:32
iamtakingiteasy left10:33
iamtakingiteasy joined10:35
udantee left10:35
jceb joined10:36
gusnan joined10:36
iamtakingiteasy left10:36
sgambino left10:37
SeySayux joined10:37
udantee joined10:38
ingsoc joined10:39
SkAzZ1 joined10:40
ingsoc left10:41
SkAzZ2 joined10:41
madsy left10:42
SkAzZ left10:43
iamtakingiteasy joined10:44
shreya joined10:44
SkAzZ1 left10:45
varg joined10:46
dc5ala left10:47
lresende joined10:50
xwalk_ left10:50
multi_io left10:51
multi_io joined10:51
letharion left10:52
sawdisk_ joined10:53
sawdisk left10:53
dpino joined10:53
diegoviola joined10:56
cpgcpg|away10:56
heroux left10:57
vogxn left10:58
letharion joined11:01
Guest50184Freeaqingme11:01
patrick85 left11:03
gavin_huang left11:03
bartman` left11:04
fluxdude joined11:05
Lord_DeathMatch joined11:06
ph^_ left11:08
heinrich5991 left11:10
nor5trom left11:10
bartman` joined11:10
tinti_ left11:10
letharion left11:10
znake joined11:10
bassliner joined11:11
G__81 joined11:11
bassliner hi there, is there a reason git doesn't like ignores in .gitignore that start with ./ like so: ./.foofile ?11:11
angelsl left11:12
billyoc joined11:13
nor5trom joined11:14
G__81 I have a repo which has 2 branches. The repo is remote. I have a copy of the branch 1 locally but when i do clone of the branch2 it fails because the connection gets reset as the code base is quite huge. What i did was this. i did a git pull of the branch 1 and it showed me already upto date and then what i did was i did git checkout -b branch2 -t origin/branch2". Is there a better way to do this process ?11:14
the reason why i did was this because to overcome the failure. The admin team is looking into why the connection gets reset but in parallel i have done that. The above mentioned process works but is there a better way to accomplish this ?11:16
znake left11:18
heinrich5991 joined11:19
G__81 can someone clarify on this ?11:19
lb G__81: if you can see $branch2 in your remotes, then a simple "git checkout $branch2" would do the trick11:20
G__81 how do i check if i see branch2 in remote?11:21
git remote show origin ?11:21
lb git branch -r11:22
if branch2 shows up, your fine11:22
G__81 ok else ?11:22
lresende left11:22
lb fetch the remote repo11:22
git fetch $remote11:22
beautifulmind joined11:23
ph^ joined11:23
G__81 ok once i fetch it i got to do git checkout $branch211:23
noecc joined11:23
lb yap11:23
G__81 just to clarify i can just do git fetch $remote ?11:24
lb of course11:24
G__81: git !pull is not the same as git fetch11:25
gitinfo G__81: 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/11:25
tqmz left11:25
G__81 lb, ok thanks a lot i ll try this11:25
lb you're welcome11:26
Milossh left11:27
letharion joined11:27
Milossh joined11:28
Exposure_ left11:31
hollyw00d joined11:33
OOPMan joined11:33
angelsl joined11:34
arkiver joined11:34
hollyw00d left11:34
rwestphal joined11:36
tqmz joined11:38
giany "remote: error: refusing to update checked out branch: refs/heads/master"11:40
what does this error mean?11:40
w09x left11:40
giany I'm trying to run git push to a remote location11:40
FauxFaux giany: !faq non-bare !deploy11:40
gitinfo giany: Git is not a deployment tool. You can build one around it for simple environments. http://sitaramc.github.com/the-list-and-irc/deploy.html11:40
giany: Pushing to non-bare repositories is discouraged; more details available at http://jk.gs/gitfaq#non-bare11:40
TheJH joined11:44
agileadam joined11:45
Guest2392 left11:48
berserkr joined11:48
rurufufuss joined11:48
billyoc left11:49
joephelius left11:50
cilly joined11:50
cagedwisdom left11:51
letharion left11:51
erichynds joined11:51
cilly left11:52
patrick85 joined11:52
geekbri joined11:55
hyperair joined11:56
hidekin joined11:57
ndngvr left11:58
letharion joined11:58
quazimodo left12:00
Guest6684 left12:00
lresende joined12:01
eletuchy left12:01
cannonball joined12:04
nor5trom left12:04
dr_lepper joined12:09
dr_lepper left12:09
dr_lepper joined12:09
iocor joined12:10
hyperair left12:11
skyf joined12:11
csmrfx joined12:11
csmrfx Good Afternoon12:12
I have the honor to introduce rest of my workplace to git12:13
charon bassliner: presumably that it just uses fnmatch() in the obvious way, and the ./ prevents a match12:13
quazimodo joined12:13
lresende left12:13
marthinal left12:13
csmrfx What do you think are the most important and difficult concepts for people new to git/distributed versioning?12:13
FauxFaux csmrfx: !book !parable12:14
gitinfo csmrfx: 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 !parable12:14
csmrfx: 'The git parable' provides some good reasoning behind git. http://tom.preston-werner.com/2009/05/19/the-git-parable.html12:14
billyoc joined12:17
thirdknife joined12:18
mklappstuhl joined12:19
letharion left12:20
joephelius joined12:20
nor5trom joined12:22
kcj left12:24
letharion joined12:26
Chib left12:30
nor5trom left12:31
csmrfx Thanks FauxFaux12:31
eletuchy joined12:32
nor5trom joined12:33
guampa joined12:33
khmarbaise joined12:34
charon csmrfx: also, if you're coming from svn, IMHO it's faster to forget anything you know with a bit of booze and re-learn than trying to map over concepts.12:35
converge joined12:35
charon (almost nothing maps 1:1 because git is so different)12:35
csmrfx charon: haha, get everybody really drunk and start telling them parables12:36
les_sylvains joined12:37
les_sylvains left12:37
les_sylvains joined12:38
les_sylvains left12:38
les_sylvains joined12:38
les_sylvains left12:39
txomon|nqas left12:39
les_sylvains joined12:40
freeed joined12:40
eletuchy left12:41
billyoc Can you get some kind of --dry-run output that matches what you'd get from a git pull? I just want to see all the files that would be updated in a project that I'm not modifying locally.12:44
PetrMotejlek joined12:45
dvide joined12:46
nwest joined12:47
charon billyoc: from !pull it follows that e.g. git fetch && git diff --name-status ...@{u} can do something like it12:49
gitinfo billyoc: 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/12:49
charon billyoc: or just run the merge and see what happens, you can always remove it later12:49
codeM0nK_ joined12:49
apok joined12:50
Esa left12:50
codeM0nK3Y left12:51
codeM0nK_codeM0nK3Y12:51
barq1 joined12:51
barq left12:52
thanpolas that travis project has been spamming me all day today12:52
_keith joined12:54
hellopat joined12:57
lresende joined12:58
ddelrio1986 joined12:59
resmo_ thanpolas: afaik is this not travis, travis is fighting to kill this bot12:59
d3vic3 left13:00
resmo_ thanpolas: see https://twitter.com/travisci/status/23855568780489113613:00
beautifulmind left13:00
d3vic3 joined13:01
shtrb joined13:03
codewrangler joined13:04
jcromartie joined13:04
kvanderw left13:05
thanpolas travis is fighting? maybe github should? :}13:05
macabre joined13:08
shtrb Can git store local commit messages ? - I'm wish to convert an in house VC (based on REST api) as another git VCS , but I wish to save the commit logs localy (as they are not stored in the VC system)13:08
bartek joined13:09
The24z left13:09
FauxFaux shtrb: I don't follow. What's a "local commit message"? How are they associated with commits if they're not in the VCS?13:09
fireh joined13:09
lb shtrb: and in git, everything exept remotes, are local13:09
fireh left13:09
lb s/are/is/g13:09
OOPMan left13:10
shtrb FauxFaux, when I do git commit and add a message I wish that message to be stored localy, so if I will do git log ... I will have the log from the local rep only13:10
jast you can add local notes to commits13:10
FauxFaux So you don't want the messages in the git repo, as per pushes/13:11
shtrb FauxFaux, the external VS only store rev , auther , changes and date13:11
jast but the commit messages themselves will be uploaded during push13:11
skoop left13:11
shtrb jast, yes they will be pushed but the server will discard that13:11
jast that must be a pretty special git server, then13:11
yoklov joined13:12
shtrb I'm changing the git source itself (another dir as vcs-svn)13:12
neurodrone joined13:12
shtrb the end point should be like git-svn just git-blabla13:12
converge left13:14
pdelvo|afkpdelvo13:14
jast sounds painful13:14
but yeah, you can use notes for that; man git-notes13:15
gitinfo the git-notes manpage is available at http://git-scm.com/docs/git-notes.html13:15
shtrb it is but that would fix all the workaround scripts I'm currently using13:15
jast well, good luck :)13:15
shtrb :)13:16
acekim joined13:16
ehsan joined13:17
TheJH_ joined13:19
skoop joined13:19
Lgb left13:20
bizhanMona left13:20
palm_vue left13:20
gtrak left13:20
TheJH left13:22
palm_vue joined13:22
giallu left13:22
Lgb joined13:22
mmc1 joined13:22
bizhanMona joined13:22
giallu joined13:22
piggybox left13:25
thomasfr left13:25
systemclient joined13:26
systemclient In branch master, I renamed files. In branch sphinx, I had the files already renamed. Now I want to merge master into sphinx, but it does not remember the renames, so I got index.rst and en.rst sitting around, one "UA", the other "AU". How can I sort this out?13:26
dsirijus left13:27
xiangfu left13:27
znake joined13:29
gtrak joined13:29
kermit left13:29
ph^ left13:30
kvanderw joined13:30
Guest68848 left13:31
apok left13:32
Eridius joined13:32
denysonique joined13:33
paolooo joined13:33
znake left13:34
Element9 joined13:34
chrisgeorge joined13:34
kermit joined13:34
znake joined13:34
derekpioneer joined13:35
cbreak-work systemclient: so both branches renamed the files?13:35
merging should work just fine then13:35
axl_ left13:36
dpino left13:36
axl_ joined13:36
revagomes joined13:36
Ryback_ joined13:37
Ryback_ left13:37
Ryback_ joined13:37
pretty_function left13:37
fireh joined13:38
ReekenX left13:38
dpino joined13:39
chuckharmston joined13:39
SamB_Mac_ joined13:40
dov23 joined13:40
SamB_MacG5 left13:41
yoklov left13:41
john_anderson joined13:42
_keith anyone active in this room right now?13:44
lb nope13:44
_keith I installed git on my remote Linux box like so yum install git13:44
everything went through OK, but it is still not recognizing the "git" command. Where do I tell Linuz the path to my git, which is why I am assuming it is having trouble?13:45
jarray52 left13:45
jacobat _keith: That's not really a git question, probably more of a $DISTRO question :)13:47
_keith something I figure needs to be updated in my .bash_profile?13:47
I figured people who are using git, would have a clue to how to solve a git installation issue13:48
lausi left13:48
lausi joined13:48
PerlJam _keith: rpm -ql git # see where it installed git and make sure that's in your PATH13:48
_keith: for me, it's /usr/bin/git (and /usr/bin really should be in your PATH)13:49
billyoc _keith: `which git`13:49
PerlJam _keith: but somehow I think you're doing something else wrong13:49
iori left13:49
gtrak left13:50
_keith PearlJam: it says package not installed when I run that command13:50
weird13:50
PerlJam _keith: sounds like a clue to me.13:51
shruggar1 joined13:51
_keith why would the results of yum install git say it is installed? weird13:51
soee left13:51
giallu left13:51
patrick85 left13:51
giallu joined13:52
giallu left13:52
giallu joined13:52
PerlJam _keith: and now you're back to what jacobat said. This is more of a problem with your dist and its tools than a git problem.13:52
shruggar left13:52
_keith one thing I notice at the end of running yum install git is that it says "No Match for argument: git"13:52
PerlJam _keith: or, as I suspect ... PEBKAC :)13:52
cakehero joined13:52
cbreak-work git-core13:52
kukks joined13:53
kukks left13:53
kukks joined13:53
blami_ left13:53
twigmorewelsh joined13:54
UnknownCoder joined13:54
blami_ joined13:54
_keith PealJam: thanks for the help, seems it is a distro issue, using CentOS, it needs to be compiled from source13:54
UnknownCoder hi, i am relative new to using git, so my question may be a bit nooby ;)13:54
PerlJam _keith: or ... listen to cbreak-work13:54
UnknownCoder i am working on a project for a while and kept all my changes in my master branch13:54
_keith PearlJam: I tried git-core, same result13:55
znake left13:55
thomasfr joined13:55
UnknownCoder some weeks ago i used an experimental branch to test something and later merged it into the master branch13:55
now my master branch is way more up to date than the experimental13:55
but today i want to test some new things and keep them in my experimental branch13:55
PerlJam UnknownCoder: merge master into experimental13:56
Emmycakes if I want to create a new-banch from other-branch, how would I do that?13:56
UnknownCoder am i right to checkout the experimental branch and then merge the master into it?13:56
PerlJam: yeah thanks :)13:56
i wasn't sure if i am doing the right thing here13:56
thanks for the fast answer :)13:56
Emmycakes is it just git checkout other-branch && git checkout -b new-branch ?13:56
PerlJam Emmycakes: git branch other-branch new-branch13:56
pppaul joined13:57
PerlJam Emmycakes: your way will work too :)13:57
joephelius left13:57
Emmycakes PerlJam: cool beans :D13:57
PerlJam Emmycakes: you can always type "git help branch" or "git help checkout" for some quick docs if you're unsure about something13:57
AaronMT joined13:58
UnknownCoder PerlJam: worked :D thanks again for the great help :D13:58
Lord_DeathMatch left13:58
Lord_DeathMatch joined13:58
PerlJam Emmycakes: and looking at the git help, I see that I got the args to "git branch" backwards for your use case :)13:59
(I was thinking of "git branch -m" apparently.)14:00
ReekenX joined14:01
shtrb left14:01
alexisabril joined14:01
thirdknife_ joined14:01
patrick85 joined14:01
andrewhl joined14:02
thirdknife left14:02
stodan left14:02
hyperair joined14:02
lb Emmycakes: PerlJam a git checkout -b newbranch otherbranch will work too ;)14:03
ehsan left14:03
marthinal joined14:04
dov23 left14:05
dov23_ joined14:05
patrick85 left14:06
gfontenot joined14:06
shreya left14:06
chuckharmston left14:07
msmithng joined14:07
axl_ left14:08
axl_ joined14:09
alegen left14:09
tqmz left14:10
dov23_ left14:10
billyoc left14:12
axl_ left14:12
nirix joined14:13
axl_ joined14:13
ph^ joined14:14
dov23 joined14:14
bigmeow can github support svn repo as its upstream?14:14
corburn left14:16
lb bigmeow: afaik github supported only a one-time import from svn. but even that is unsupported now14:16
https://help.github.com/articles/importing-from-subversion14:16
intransit left14:18
eijk joined14:18
intransit joined14:19
khmarbaise left14:19
cmn what? github supports updates from svn perfectly fine14:20
axl_ left14:21
fly9 joined14:21
lb then i may misunderstood the question.14:21
axl_ joined14:21
cmn the question doesn't have any specifics, so there's no way to know14:21
lb a github repo can be of course used as an svn repo, but a constantly connected "upstream" repo ?14:21
Davey joined14:21
axl_ left14:22
cmn if you want a git mirror of your svn repo, you need to update it yourself14:22
lb thats what i meant14:22
cmn just like any other git-svn repo14:22
lb i'm stumbleing upon the words :/14:22
cmn the problem with that is that the git repo will me mostly unusable14:23
lb needs to learn english14:23
axl_ joined14:23
adhawkins lb: Your English is better than my <insert your mother tongue here>!14:23
lb adhawkins: german ;)14:23
v0n joined14:23
adhawkins *Way* better then! :D14:24
nickpresta joined14:24
makerbreakr joined14:24
lb is happy again14:24
makerbreakr is there an easy way to delete the whole history of a rebo14:24
repo*14:24
i tried doing a git clone --depth=114:24
adhawkins I can stumble by in French (just) and follow a conversation in Welsh, but that's as far as it goes for me in terms of multi-linguistics!14:24
makerbreakr but i get a error when i push to a new github repo14:25
lb makerbreakr: rm -rf .git && git init14:25
makerbreakr lb, i did that14:25
basically, I did a git clone --depth=1 git@github14:25
lugzer joined14:25
makerbreakr them i rm -rf .git && git init14:25
lugzer afternoon14:26
makerbreakr add a new remote on git hub14:26
lb makerbreakr: !repro14:26
gitinfo makerbreakr: 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:26
jacobat left14:26
makerbreakr https://gist.github.com/343714114:26
lb hm doesnt know that :/ maybe another nice person around here14:27
makerbreakr thanks though anyways14:27
adhawkins makerbreakr: Is that the result of git push?14:28
makerbreakr i also ran git fsck on the cloned repo, nad found no errors14:28
yessir14:28
oakdog8 left14:28
adhawkins Are you pushing to an existing repro?14:28
jjbohn joined14:28
makerbreakr it was a brand new repo i just created14:28
lb error: unable to find 4ecb81922ffd9d33505d4337a2244cfc06aa1b1314:28
fatal: object of unexpected type14:28
error: unpack failed: index-pack abnormal exit14:28
trungqtran joined14:29
adhawkins And you did the clone in a new directory?14:29
steve6 joined14:29
adhawkins Scratch that, it's a clone14:29
doh14:29
makerbreakr https://gist.github.com/343717114:29
thats the whole command sequence basically14:29
jceb left14:30
chuckharmston joined14:31
adhawkins After the rm of .git, is .git actually gone?14:31
makerbreakr yes14:31
dov23 left14:31
adhawkins How about if you just copy the working files somewhere else?14:31
systemclient left14:31
adhawkins Something like (in your working directory)14:31
mkdir ../tmp && rsynv -avz . ../tmp --exclude .git14:32
The in ../tmp do the init, add, remote add and push?14:32
makerbreakr i can try that14:32
freeed left14:32
ska-fan left14:33
ska-fan joined14:33
ska-fan left14:33
axl__ joined14:33
axl__ left14:33
thirdknife_ left14:35
adhawkins makerbreakr: That should be rsync, not rsynv obviously!14:35
makerbreakr ya heh14:35
axl__ joined14:35
Ntrepid joined14:35
Lord_DeathMatch left14:36
psoo left14:36
lb ah normal git clone and a rm -rf of the resulting .git dir should leave the latest version intact in the folder. an git init && git add . && git commit should work Oo14:36
Lord_DeathMatch joined14:37
ehsan joined14:37
codeFiend left14:37
axl_ left14:38
axl__axl_14:38
lacrymology joined14:38
ska-fan joined14:38
subhojit777 left14:39
nadavoid joined14:39
und3f left14:39
wolftankk joined14:40
codeM0nK_ joined14:40
GameGamer43_ left14:40
codeM0nK3Y left14:40
codeM0nK_codeM0nK3Y14:40
GameGamer43 joined14:40
axl__ joined14:41
freeed joined14:41
Lord_DeathMatch left14:42
lb just did it...14:42
works perfect14:42
axl__ left14:42
axl__ joined14:43
axl_ left14:44
axl__axl_14:44
adhawkins lb: I'd expect it to work. That's why I asked if the .git directory was actually being removed.14:46
tbrock joined14:47
gitinfo set mode: +v14:47
tbrock hey guys im cloning a repo and getting dirty files on a git status immediately after14:47
how can that possibly be14:47
wolftankk left14:48
wereHamster tbrock: are you cloning the linux kernel under windows?14:48
Mannequin joined14:48
ska-fan left14:48
tbrock wereHamster, nope14:48
adhawkins tbrock: Usually line endings I'd expect.14:48
What does git diff show?14:48
ska-fan joined14:49
tbrock shows there is a diff14:49
adhawkins And is it a 'real' difference?14:49
Or just a difference in whitespace.14:49
tbrock sorry i didn't mean that to be snippy14:49
umm its a real difference14:49
upper vs. lower case14:49
but i pushed this and can clone it just fine, my colleague clones it and gets dirty files immediately14:50
adhawkins In what, filenames?14:50
twisted`_ left14:50
ikrabbe you mean upper vs. lower case in file contents14:50
or in file names?14:50
tbrock its within the file14:51
Yuuhi` left14:51
lb upper/lowercase is normally unix / win problem14:51
adhawkins tbrock: That sounds very unusual...14:51
lb: In the file's contents?14:51
tbrock im on linux14:51
he's on mac14:51
lb in the file is unexpected Oo14:51
ikrabbe are you sure the clone hasn't told you some error message?14:51
tbrock yeah im sure14:51
lb adhawkins: typed before read ;)14:51
tbrock i can show output14:51
adhawkins tbrock: gist of the diff would be good too14:52
dov23 joined14:52
tbrock http://pastebin.com/jyXj2dax14:52
Progster joined14:53
adhawkins Can you show a git diff too?14:53
tbrock http://pastebin.com/t0Fk4Ckj14:53
adhawkins There's no way git should be making changes like that of its own accord.14:54
tbrock agreed14:54
...14:54
not sure what to do14:54
ikrabbe tbrock check git branch -av14:54
adhawkins Some sort of hook?14:54
tbrock so bizaare14:54
Yuuhi joined14:54
ikrabbe there must be a dfference between your master and origin/master14:55
adhawkins Are you sure the directory didn't exist before you cloned?14:55
lb left14:55
tbrock * master 619f4df RUBY: 1.7.0.rc0 release14:55
remotes/origin/HEAD -> origin/master14:55
remotes/origin/master 619f4df RUBY: 1.7.0.rc0 release14:55
yes dir is brand new14:55
this is on my machine, the one i pushed from14:56
my colleague's is the one with the problem14:56
adhawkins Could it be a checkout hook misbehaving?14:56
nor5trom left14:56
pdelvo maybe a problem with submodules?14:56
adhawkins Is it only ID -> Id that has changed?14:56
joephelius joined14:57
adhawkins Smacks of a badly coded $Id$ to me! :)14:57
tbrock hahaha14:57
yeah its for docs14:57
for a very old version of our driver14:57
i fixed a bug where docs for rcs werent generated14:57
so this old one got created14:57
so that was an old old fix14:57
ikrabbe on a fresh checkout this absolutely makes no sense and actually cannot happen at all.14:58
try another clone into a new directory14:58
dermoth|home left14:59
Zespre left14:59
ikrabbe you should even be able to clone from your local copy14:59
Sebo left14:59
dermoth|home joined14:59
Zespre joined15:00
Silex fatal: ambiguous argument 'foo': both revision and filename15:00
I wanted to do git cherry-pick foo15:00
how do I specify that I want the branch and not the filename?15:00
tried "git cherry-pick foo --"15:01
lugzer hide, i'm trying to troubleshoot an issue my friend has - he makes a change in a file, commits & pushes in. then another change to the same file, commit, and when pushing he needs to resolve a conflict with this same file. when i looked at history of changes, it looks like he didn't get fast-forwarded after first push.. any ideas why is this happening? this is Eclipse & Egit.15:01
cmn use -- to separate15:01
or use the real name of the branch15:01
Silex -- only for for the file case15:01
lugzer (hide, sorry i wanted to write "hi")15:01
Silex cmn: what is the real name?15:01
cmn -- is used to separate reivions from filees15:01
Silex cmn: I know, but -- isn't helping there15:01
nor5trom joined15:02
cmn the real name depends on what foo is15:02
Silex a local branch15:02
cmn if it's a local branch, it's refs/heads/foo15:02
cooloney left15:02
Silex ok, thanks15:02
cmn or you can use foo~0 to make sure git knows you mean a ref15:02
mmc1 left15:03
Silex nice trick15:03
rchavik left15:03
SHAGGSTaRR left15:04
angelsl left15:05
Zespre left15:06
madsy joined15:07
madsy left15:07
madsy joined15:07
torjus_ joined15:08
Araxia joined15:09
Araxia left15:10
SHAGGSTaRR joined15:11
codeFiend joined15:11
cbreak-work left15:12
Zespre joined15:12
dinesh6654 joined15:14
flargh2 joined15:14
dinesh6654_ joined15:16
UnsignedCode joined15:18
dinesh6654 left15:19
charon Silex: umm, which git version is this? i did 'git branch README' in my git.git, and any style of calling 'git cherry-pick README' interprets it as the revision. yes, even 'git cherry-pick -- README'15:20
daethorianthiderman15:20
eijk left15:22
eijk_ joined15:22
DanyO83 joined15:23
aantix joined15:24
torjus_ left15:24
uicoded joined15:24
apok joined15:24
aantix left15:24
aantix joined15:24
skoop left15:25
skoop joined15:25
Silex charon: git version 1.7.9.515:25
arvind_khadri left15:25
MetaCosm left15:26
Silex charon: http://codepad.org/j4RMFtPB15:27
iori joined15:27
iori left15:27
kenperkins joined15:27
EugeneKay charon - don't use that as a branch name :-p15:27
charon EugeneKay: huh?15:27
SirCmpwn_ joined15:27
iori joined15:27
EugeneKay README15:27
charon EugeneKay: we're discussing the case of collisions. of *course* i am provoking a collision.15:27
axl__ joined15:27
Silex here the vilain in question was "tmp", I forgot I had a subdirectory named like this15:28
EugeneKay crawls back under rock15:28
Silex my little testcase shows clearly the problem tho15:28
AaronMT left15:28
EugeneKay I would suggest using the full refs/heads/Foo syntax in concert with the dashes15:28
Silex EugeneKay: we know the solutions, we wonder about why it happens on my machine and not on charon's one15:29
SirCmpwn_SirCmpwn15:29
jacobat joined15:29
charon Silex: yeah, it was fixed in 6d5b93f2 and went into v1.7.10.215:29
Silex probably simply the git version15:29
charon: aight, thanks15:29
neurodrone left15:29
charon (and v1.7.11 also)15:29
Silex charon: I wonder why the -- version still uses the ref tho, maybe that is a bug15:30
apok left15:30
nyuszika7h joined15:30
erynofwales left15:30
flijten left15:30
nyuszika7h hi, anyone know how can I have multi-line commit messages on Cloud9? \n doesn't seem to work.15:30
stkrzysiak_ joined15:30
AaronMT joined15:30
cmn nyuszika7h: you should ask cloud915:30
charon Silex: yes, but since the correct fix is already in, i'm not bothered ;)15:30
stkrzysiak_ left15:31
Silex charon: oh you mean this is already fixed? nice15:31
axl_ left15:31
axl__axl_15:31
charon Silex: well as i said, starting at v1.7.11 and v1.7.10.2 it simply does not accept any file arguments any more15:31
nyuszika7h cmn: I asked in #cloud9ide now, waiting for answer - thanks15:31
Silex you said it interprets it as the revision15:32
vpetro joined15:32
charon Silex: so it's slightly inconsistent with other usage of -- in git, but since you cannot *give* file arguments to cherry-pick, it should be ok15:32
Synthead joined15:32
charon Silex: any arg is now parsed as a revision15:32
Silex to me if you write -- FOO it'd fail if there's no file named FOO15:32
skorgon left15:32
Silex but I guess it's not that evil15:32
MetaCosm joined15:32
MetaCosm left15:32
MetaCosm joined15:32
Silex gotta go, bye & thanks15:32
garo If i want to completely clean my gitrep, i normally do this: "rm -rf *" (so that only .git and other hidden files/dirs still remain) followed by "git diff | patch -p1 -R" to restore all the files.15:33
tango_ Silex: cherry pick does not accept file arguments, so why should it try parsing the thing as a file name15:33
garo this works, but has 2 problems:15:33
torjus_ joined15:33
tango_ garo: git clean15:33
Silex garo: why not git reset --hard?15:33
wait, git clean is even better15:33
gah gotta go :)15:33
charon garo: you actually need both15:33
garo ah, thanks15:33
charon: ?15:34
nor5trom left15:34
garo both is 'git clean' and ... ?15:34
charon to both scrap all untracked files *and* scrap all uncommitted work in tracked files, you need both 'git clean ...' and 'git reset --hard' (or 'git checkout -- .')15:34
Davey left15:34
ingsoc joined15:34
tango_ garo: and git reset --hard15:34
git clean removes untracked files15:34
charon garo: fill in the ... when you are confident that you're not losing anything ;)15:34
tango_ git reset resets the tracked file15:34
charon garo: also note that there is no safety net in either one15:34
all of that data is irretrievably lost15:35
gitinfo set mode: +v15:36
garo will i lose new commits if'm not at the HEAD commit ?15:36
charon !HEAD15:36
gitinfo HEAD is a 'pointer' to the currently checked out branch (or commit, if HEAD is !detached). In bare repositories it serves a different function: it tells clients which branch to checkout initially after cloning. HEAD is *not* something that exists separately for every branch; that's a common misunderstanding.15:36
gitinfo set mode: +v15:37
ingsoc scenario: server, and 2 users, user A pushes a new branch to server, user B does fetch, what does user B need to do to be able to work on the new branch15:37
dinesh6654_ left15:37
garo sorry i mean "will i lose new commits if'm not at the newest commit ?"15:37
charon garo: actually i wanted it to say: ... and HEAD is *also* not the "global newest commit" (a concept which by itself is already wonky)15:37
garo: but no, resetting without a branch arg does not affect history/branches15:37
s/branch arg/commit arg/15:37
Fullmoon left15:38
garo ok, thanks !15:38
MaximB_ left15:38
charon ingsoc: presumably check out a local branch that starts at the remote one, such as by 'git checkout -b name origin/name' or with sufficient dwimmery even just 'git checkout name'15:38
Mannequin left15:39
Mannequin joined15:40
ingsoc charon: ah ok so you can just do a new branch with reference to the origin branch15:40
cheers15:40
ipalaus left15:40
nor5trom joined15:41
ingsoc charon: 'git checkout name' would infer origin/name if name hadn;t already been used as a local branch ?15:41
nadavoid_ joined15:41
charon ingsoc: yes, there are also a bunch of checks to ensure that it is unique IIRC15:41
dinesh6654 joined15:41
papegaaij left15:42
jacobat left15:42
ISF joined15:42
dsirijus joined15:43
msmithng left15:44
thelazydeveloper joined15:44
ingsoc charon: nice, I beginning to like git15:45
:)15:45
arkiver left15:46
davesag left15:47
jcao219 joined15:47
nadavoid_ left15:47
alexisabril left15:47
luxurymode joined15:48
diegoviola left15:49
metcalfc_ joined15:49
garo "git clean" gives me a couple lines like "Not removing somesubdirectory/"15:50
milki -Fdx!15:50
Fullmoon joined15:51
jim0203 joined15:51
tomislater joined15:52
dinesh6654 left15:52
Vert left15:52
garo strange that -d isn't on by default...15:53
milki not really15:54
hwrd|work joined15:55
milki see description of git-clean15:55
says untracekd files15:55
thiago left15:56
iori left15:57
jcp joined15:57
jcp left15:57
jcp joined15:57
javawizard left15:58
vpetro left15:58
ppppaul joined15:58
Exposure joined15:59
neurodrone joined16:00
neurodrone left16:00
neurodrone joined16:00
senny left16:01
torjus_ left16:02
etcetera joined16:03
robotmay left16:04
torjus_ joined16:04
boombatower joined16:04
etcetera left16:04
thomasfr left16:04
Exposure left16:04
zmuser3 joined16:05
etcetera joined16:05
nor5trom left16:05
whitman left16:06
cybersphinx joined16:07
apok joined16:07
msmithng joined16:07
timj1 left16:07
styx_ left16:07
branduren joined16:08
bartek left16:08
mmc1 joined16:08
anabelle joined16:09
nor5trom joined16:10
jwmann joined16:10
jwmann left16:10
jwmann joined16:10
jwmann left16:10
jwmann joined16:11
jwmann left16:11
jwmann joined16:11
jwmann left16:11
jwmann joined16:11
jwmann left16:11
zmuser3 seriously?16:12
jwmann joined16:12
private joined16:12
jwmann left16:13
EugeneKay Defaulting to -d would cause sooooo many problems with people who didn't really want to clean16:13
privateGuest4611216:13
apok left16:13
EugeneKay It's almost as bad as `mkdir /\*` and then waiting for a sysadmin to find it16:13
dpino left16:14
jargon- left16:15
dpino joined16:15
maletor joined16:15
styx_ joined16:15
dhruvasagar left16:16
fluxdude_ joined16:16
fluxdude_ left16:16
fluxdude_ joined16:16
fisted left16:16
hwrd|work left16:17
LucasTizma joined16:17
fluxdude left16:17
fluxdude_fluxdude16:17
les_sylvains left16:17
ingsoc when you do a git fetch this pulls all updates and branches, when you do a git push, you are pushing the commits from the branch you are currently working on (local head)16:17
?16:17
PetrMotejlek left16:18
charon ingsoc: man git-config, push.default16:18
gitinfo ingsoc: the git-config manpage is available at http://git-scm.com/docs/git-config.html16:18
fisted joined16:18
jwmann joined16:18
jwmann left16:18
charon ingsoc: as for fetch, with no args it will fetch (*) the remote associated to the current branch16:19
(*) don't use 'pull' here, because !pull16:19
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/16:19
jwmann joined16:19
jwmann left16:19
jwmann joined16:19
jwmann left16:19
Advocation left16:20
rohan32 joined16:21
Fullmoon left16:21
Vert joined16:21
goshawk joined16:22
MetaCosm left16:22
jaseemabid joined16:23
nightcrawler786 joined16:23
skorgon joined16:23
nor5tromronald3516:23
aruiz left16:23
mklappstuhl left16:24
yoklov joined16:26
LimeBlast left16:26
xwalk left16:27
ISF left16:27
mmc1 left16:28
xwalk joined16:28
Goplat joined16:30
anabelle left16:30
klj613 left16:30
martinjlowm joined16:30
lugzer left16:31
Davey joined16:31
stevedomin left16:31
adhawkinsadhawkins-away16:31
Shusshu joined16:32
Shusshu left16:32
ferdna joined16:33
rmr joined16:33
thiago joined16:33
aruiz joined16:35
skorgon left16:35
blami_ left16:37
mishok13 left16:37
ipalaus joined16:38
kerrick joined16:39
maletor left16:39
brentratliff left16:39
codeFiend left16:40
MetaCosm joined16:40
MetaCosm left16:40
MetaCosm joined16:40
aruiz left16:41
rohan32rohan32|away16:41
jcromartie left16:41
thanpolas left16:42
skorgon joined16:43
LucasTizma left16:44
codeFiend joined16:45
tewecske joined16:45
tizzo-afktizzo16:46
bartek joined16:46
rehat left16:46
Exposure joined16:47
Sym3tri joined16:47
maletor joined16:48
twigmorewelsh left16:49
patrick85 joined16:49
Dave^| joined16:49
apok joined16:50
wo66le joined16:50
yoklov left16:50
eletuchy joined16:51
metcalfc_ left16:52
jceb_ joined16:52
scttnlsn left16:52
tokkee_tokkee16:53
Exposure left16:53
aruiz joined16:53
Exposure joined16:53
converge joined16:53
chester_ joined16:55
dr_lepper left16:55
aspotashev joined16:55
ronald35 left16:56
Exposure left16:56
barneybook left16:57
genehack left16:57
achadwick left16:57
derekpioneer left16:57
Exposure joined16:58
heoa_heoa16:58
thirdknife_ joined16:59
thirdknife_ left16:59
shruggar1 left16:59
mmc1 joined17:01
jargon- joined17:02
giallu left17:02
les_sylvains joined17:02
twigmorewelsh joined17:02
hwrd|work joined17:02
Exposure left17:03
jjbohnjjbohn|afk17:04
chuckharmston left17:04
milian left17:05
Exposure joined17:05
barneybook joined17:05
bgerber left17:06
ShooterMG left17:06
dinesh6654 joined17:06
beneggett left17:07
duckxx joined17:07
tplaner_ joined17:08
torjus_ left17:08
rurufufuss left17:09
boombatower left17:09
Vert left17:10
bgerber joined17:10
yaymukund left17:10
torjus_ joined17:10
starlays joined17:11
starlays hello to all, how can i add file and commit in the same time? can it be done?17:11
jaseemabid left17:12
charon starlays: git add file && git commit ;)17:12
imachuchu joined17:13
makerbreakr left17:13
uwjesd joined17:13
starlays charon: a, ok, i thought that there is an 1 in 9999 command :P17:13
cmn commit accepts paths, but it might not do what you want17:14
bgerber left17:14
cmn starlays: it's explained in point 3 of man git commit17:14
gitinfo starlays: the git-commit manpage is available at http://git-scm.com/docs/git-commit.html17:14
apok left17:15
rtjure joined17:16
apok joined17:16
bgerber joined17:17
cmullican joined17:17
starlays cmn: ok, thank you17:17
duckxx left17:19
milian joined17:19
starlays left17:20
dsirijus left17:21
yosinof joined17:21
Ntrepid Hi all, may I ask you what the difference is between `git reset --hard HEAD~` and `git reset --hard HEAD^` ? I couldn't find anything in the web...17:22
fornext left17:22
mischief joined17:22
cmn none17:23
mischief hey folks, what is the best way to backup/archive multiple git repos into one? maybe using bup..17:23
cmn Ntrepid: see man gitrevisions for the explanation of what they mean;17:23
gitinfo Ntrepid: the gitrevisions manpage is available at http://git-scm.com/docs/gitrevisions.html17:23
cmn in your case, both talk about the same commit (the first parent)17:23
Psycho_pr left17:24
imachuchu mischief: are you trying to backup, or combine?17:24
Psycho_pr joined17:25
Ntrepid Thank you17:25
I'll have a look at the manpages17:25
tworkin joined17:25
imachuchu mischief: backup: bundle them togther then gzip the bundles. Combine into one: fetch and merge17:25
etcetera left17:25
imachuchu mischief: well tar + gzip the bundles17:26
ajpiano left17:26
cmn gzip the bundle? that won't help17:26
unless you have a gazillion refs17:26
cbreak just simply fetching should be enough17:27
no need to merge17:27
derekpioneer joined17:28
afuentes joined17:28
UnknownCoder left17:28
nirix left17:28
erynofwales joined17:29
imachuchu cmn: the refs get compressed too (so lots of tags automatically get combined to save space), the tar+gzip is to put all of the bundles together, and then it may save space (reducing the redundency between bundles)17:29
Jay_Levitt joined17:29
imachuchu cbreak: yeah, actually, you wouldn't need to merge would you17:29
revagomes left17:30
cmn that's what I said about the gazillion refs; but the rest is going to be very un-compressable17:30
cbreak tar won't compress anyway17:30
no need to gzip the tar17:30
amcsi_work left17:30
juvenal left17:30
cmn right17:30
cbreak no need to tar either I guess17:30
todd_dsm joined17:30
ReekenX left17:30
cbreak hmm... there's probably also no need to combine them17:30
is there a point in anything?!?17:31
metcalfc_ joined17:31
gitinfo set mode: +v17:31
steve6 left17:31
OMGOMG_OMGOMG17:31
cmn tar lets you have all your bundles in one file, so it's harder to keep track of them17:32
harder to loose track17:32
freeed left17:33
mischief imachuchu: but what about bup?17:33
imachuchu mischief: it was always something I had wanted to look into, just never got around to it/got it working in the time I had17:34
freeed joined17:34
skorgon left17:35
mischief i think i may try it17:35
i think it will work17:35
and also deduplicate files17:35
since basically all of the repos i have share files that have little or no modification to them17:35
chuckharmston joined17:36
ReekenX joined17:36
tworkin what precautions should i take if i want to commit symlinks in my project? we do have a windows build, which doesnt need the symlinks17:36
cbreak tworkin: they'll be files containing the path on windows17:36
SkAzZ joined17:36
cbreak make sure the symlinks are relative17:37
tworkin `ln -s ../../other/file link` instead of `ln -s /path/to/repo/other/file link` is sufficient for that?17:37
cbreak think so. Not like I tried... but you can try :D17:38
tworkin cool. thanks17:38
SkAzZ2 left17:38
tworkin i can also create them in our 'repo ready' script, but ill see how this goes17:38
parolin joined17:40
bgerber left17:40
dpino left17:40
sq-one joined17:41
revagomes joined17:43
fork[you] joined17:43
fork[you] left17:43
gusnan left17:44
jaseemabid joined17:45
jceb_ left17:45
bgerber joined17:45
SkAzZ1 joined17:46
pdtpatrick joined17:47
SkAzZ left17:47
opus__ joined17:48
LucasTizma joined17:48
opus joined17:48
berserkr left17:50
chuckharmston left17:50
titaniumNoob joined17:50
phishy joined17:50
sawdisk joined17:51
Stoob_ joined17:51
Hasbro joined17:51
yaymukund joined17:53
converge left17:53
msmithng left17:55
styx_ left17:55
sq-one left17:55
Vile left17:56
msmithng joined17:56
Ntrepid left17:58
shennyg joined17:59
john_anderson left17:59
rmr left18:00
alexisabril joined18:01
ajpiano joined18:01
ajpiano left18:01
Synthead left18:02
khmarbaise joined18:02
towski joined18:03
Synthead joined18:03
stevedomin joined18:04
ajpiano joined18:04
towski left18:05
berserkr joined18:05
glennpratt_ joined18:06
diegoviola joined18:06
glennpratt left18:06
converge joined18:07
jjbohn|afkjjbohn18:07
styx_ joined18:08
flargh2 left18:08
glennpratt_ left18:09
joshvermaire joined18:09
tqmz joined18:09
Marcux83|awayMarcux8318:09
glennpratt joined18:10
twigmorewelsh left18:12
twigmorewelsh joined18:13
gusnan joined18:14
Nicarlo left18:14
adammokan joined18:15
eletuchy_ joined18:16
G__81 left18:16
toed left18:17
pantsman joined18:17
pantsman left18:17
pantsman joined18:17
converge left18:19
eletuchy left18:20
bartek left18:21
genehack joined18:21
joephlius joined18:22
solidus-river joined18:22
solidus-river good sirs, git is amazingly better than mercurial, thank you18:22
kermit left18:24
Godslastering joined18:24
joephelius left18:25
MacDada joined18:25
converge joined18:25
imachuchu solidus-river: glad you agree, but why do you say so?18:25
MacDada http://stackoverflow.com/questions/12097853/utf8-characters-allegedly-changed-in-netbeans-diff-when-using-git <<< do you think this might be connected to my git config or is it just NetBeans problem?18:25
msmithng left18:26
bartek joined18:26
cbreak changed in diff?18:26
solidus-river imachuchu: i'm used to using the git flow branching module and keeping some changes in flux in my current index and pushing them to appropriate places or ammending commits as i go to organize18:26
towski joined18:26
Davey left18:26
solidus-river this is so much better than the place i jsut started workings' methodology of using mercurial patch queues18:26
msmithng joined18:26
solidus-river and all their arguments against it can all be fixed by a better branching method18:27
cmn MacDada: that's probably netbeans not knowing how to deal with unicode chars18:27
towski left18:27
solidus-river and i dont even want to think whats going to happen if this place ever needs more than one dev to work on a project at a time18:27
converge left18:27
iocor left18:27
solidus-river and a full copy for each branch? or you just give up bieng able to see branches via names?18:27
either i'm missing a LOT of the features of mercurial or it is quite far behind18:28
juvenal joined18:28
towski joined18:28
solidus-river and i figured i'd get more clear response from here than from #mercurial, didn't want to start up flames18:28
I'm guessing someone from here has previously used mercurial?18:28
towski left18:29
Davey joined18:29
cmn MacDada: if you check the bytes that make up the file, you'll probably find that they have changed18:29
imachuchu solidus-river: I haven't, but I like looking at the major DVCS and seeing how they do things differently18:30
CannedCorn joined18:30
solidus-river imachuchu: hmm, mercurial seems to be easier to conceptualize but horrible for pracice of more than one person working on one area at a time, and it looks like anyone can push changes that completly overwrite others18:31
the only benefit i see is that it makes it much more handfed to modify history before you push to a repo so your commits are cleaner18:31
but like.. learn to commit eh?18:31
converge joined18:33
imachuchu solidus-river: and if you really want an enforced clean history with git, well use a different workflow18:33
kermit joined18:34
imachuchu solidus-river: like a general-lieutenant workflow18:34
axl_ left18:36
axl_ joined18:36
aselder joined18:36
aselder left18:36
LucasTizma left18:37
mabrand joined18:38
Vile joined18:39
mabrand left18:40
dreiss left18:40
i42n joined18:40
wo66le left18:41
dreiss joined18:41
twigmorewelsh left18:41
osmosis joined18:41
ehsan_ joined18:42
darren joined18:42
adammokan left18:42
mabrand joined18:42
i42n left18:43
ehsan left18:43
nosalt joined18:45
agileadam left18:46
nosalt I had some uncommitted changes in my git repo, and I deleted some files erroneously. I can still see it in the git log, but any way to get them back without loosing the uncommitted changes as well?18:46
FauxFaux nosalt: git checkout HEAD path/to/file18:47
paolooo left18:47
flijten joined18:47
letharion left18:47
bluethud9765 joined18:47
nosalt Thanks...18:47
That taught me a lesson about committing more frequently. :'(18:48
arighi joined18:48
imachuchu nosalt: commit early, commit often, you can always change your private history later (as long as it's commited)18:48
gitinfo set mode: +v18:49
CannedCorn is there any way to introspect the directory structure on github via client side js18:49
arighi left18:49
nosalt imachuchu: I know now. :|18:49
juvenal left18:49
Eridius_ joined18:50
patrick85 left18:50
berserkr left18:52
yosinof left18:52
nosalt left18:52
Ulrik joined18:52
gitinfo set mode: +v18:54
patrick85 joined18:54
letharion joined18:54
duckxx joined18:55
boombatower joined18:57
eletuchy_ left18:57
dreiss left18:59
jaseemabid left18:59
etcetera joined18:59
neurodrone left18:59
hellopat left19:00
kerrick left19:00
mabrand left19:00
Ulrik I am trying to get a git-note to get copied in a cherry-pick, but I cannot get it work. Does anyone here have any insights on this matter that could help? I have managed to get notes copied successfully during rebase, but cherry-pick seems to be a different matter.19:01
solidus-river left19:01
mrOrangeChuck joined19:01
neurodrone joined19:01
jaseemabid joined19:01
bluethud9765 left19:02
Progster left19:02
nightmutewrack joined19:02
mabrand joined19:03
jonez joined19:03
charon Ulrik: i didn't consider cherry-pick rewriting, so it doesn't do that. write a patch or something if you have a use-case, or copy them manually using 'git notes copy A B'19:04
twigmorewelsh joined19:04
nightmutewrack left19:05
joshvermaire left19:05
ISF joined19:06
gluxon joined19:06
artnez joined19:07
gluxon Hi. I'm having this issue with git commits from different users. One of the contributors for a project of mine keeps making commits that erase the entire file, and re-add everything. This is with changes to 1 or 2 lines.19:07
I think the issue is git treating file encoding formats differently?19:07
Hasbro left19:07
Hasbro joined19:07
Maccer left19:08
FeelingLuckyPun joined19:08
canton7 gluxon, sounds a lot like it. !crlf19:08
gitinfo gluxon: to fix problems with line endings on different platforms, check out http://line-endings.gitrecipes.de/19:08
FeelingLuckyPun left19:08
hellopat joined19:08
canton7 also https://help.github.com/articles/dealing-with-line-endings19:09
gluxon Thank you. I'll suggest that.19:09
canton7 you can create the .gitattributes file yourself19:10
lmfao00 joined19:11
zmuser3 trying out git p4 clone (1.7.12) and getting errors: http://pastebin.com/TnMk5KZh git p4 sync seems to work ok, is git p4 sync + git checkout pretty much the same thing as git p4 clone?19:11
Vile left19:12
adhawkins-awayadhawkins19:13
Ulrik Charon, thank you, I will try to make do with git notes copy.19:13
adityamenon joined19:13
chrisgeorge left19:14
warthog9 left19:14
Ulrik left19:14
converge left19:14
mattalexx joined19:15
mattalexx left19:15
mattalexx joined19:15
Progster joined19:15
mattalexx I know I can do `git reset --hard [commit-sha]` but how can I define that commit as "the commit where the remote branch remotename/branchname is"?19:16
canton7 remotename/branchname19:16
you said it19:16
axl_ left19:16
gluxon left19:17
kaen left19:18
adhawkinsadhawkins-away19:18
kaen joined19:18
chrisgeorge joined19:19
Lgb left19:20
palm_vue left19:20
bizhanMona left19:20
axl_ joined19:20
mattalexx canton7, Thanks. Should have tried before I posted.19:20
mabrand left19:21
DanyO83 left19:21
palm_vue joined19:21
Lgb joined19:21
bizhanMona joined19:21
kaen left19:22
lb joined19:22
kaen joined19:22
kaen left19:22
jaequery joined19:22
warthog9 joined19:23
Sebo joined19:24
kaen joined19:24
ijuma joined19:25
chuckharmston joined19:26
warthog9 left19:26
noecc left19:29
beneggett joined19:29
torjus_ left19:30
fireh left19:31
beneggett left19:31
beneggett joined19:32
bball- left19:32
ReekenX left19:32
OOPMan joined19:33
ska-fan left19:33
nwest left19:33
ska-fan joined19:33
Xizor joined19:36
iliketurtles joined19:37
juvenal joined19:38
torjus_ joined19:38
bball- joined19:38
The24z joined19:39
The24z Hi everybody, can somebody briefly tell me where the pointer to the commit for a submodule is stored (in the superproject)19:40
I might have to manually manipulate it19:40
flijten left19:40
MacDada left19:41
zackiv31 left19:43
The24z anybody?19:43
microcolonel left19:43
lb left19:45
marthinal left19:46
prettyrobots joined19:47
_ikke_ The24z: It is probably stored in some tree object, not sure how exactly19:47
The24z: But why do you think you need to manually tinker with it?19:48
zackiv31 joined19:48
warthog9 joined19:50
styx_ left19:50
Khisanth left19:50
The24z It pointed to a commit that doesn't exist… not sure how that happened19:50
Also on another note: If I change anything inside the submodules directory (inside the superproject) and I push back to the submodules origin, I assume I do have to also commit the superproject to update the pointer? Am I right?19:51
Khisanth joined19:51
FernandoBasso joined19:51
khmarbaise left19:52
thomasfr joined19:53
boombatower left19:55
twigmorewelsh left19:56
fly9_ joined19:56
fly9_ left19:56
_ikke_ The24z: yes19:56
fly9 left19:56
zackiv31 left19:56
fly9_ joined19:56
The24z so the workflow would be19:57
zackiv31 joined19:57
dbck joined19:58
entrenador joined19:58
The24z git commit -am "..." inside the submodule19:58
then push19:58
cd into the super project19:58
add the submodule folder19:58
commit19:58
push19:58
?19:58
olliejudge joined19:58
twigmorewelsh joined19:59
entrenador left19:59
entrenador joined19:59
olliejudge left20:00
entrenador left20:00
olliejudge joined20:00
adityamenon left20:01
Maccer joined20:01
boombatower joined20:02
pppaul left20:02
dov23 left20:03
ph^_ joined20:03
zz_jcao219 left20:04
varg left20:04
_ikke_ The24z: exactly20:05
ph^ left20:06
erynofwales left20:06
stevedomi joined20:06
pppaul joined20:07
pppaul left20:07
stevedomin left20:07
thomasfr left20:07
chuckharmston left20:07
patrick85 left20:07
pppaul joined20:07
pppaul left20:07
pppaul joined20:08
pppaul left20:08
pppaul joined20:08
pppaul left20:08
ben225 joined20:09
FreeArtMan joined20:09
pppaul joined20:09
pppaul left20:09
styx_ joined20:10
lotus joined20:10
pppaul joined20:10
pppaul left20:10
beneggett left20:10
ben225beneggett20:10
lotus hey, I want to remove something from the repository but I don't want a checkout -f to delete it -- do I have an option outside of letting checkout -f delete it and then add the file to the folder manually?20:10
pppaul joined20:10
pppaul left20:10
chuckharmston joined20:10
chuckharmston left20:11
chuckharmston joined20:11
pppaul joined20:11
pppaul left20:11
pppaul joined20:12
_ikke_ lotus: git rm --cached20:12
ephesius joined20:12
hellopat left20:14
hellopat joined20:15
thomasfr joined20:17
_iron left20:17
torjus_ left20:18
erynofwales joined20:18
geekbri left20:21
j416 joined20:21
TheHaven left20:22
mabrand joined20:22
shruggar joined20:24
ph^_ left20:25
mischief bash-3.2$ find . -size +10M20:25
./.git/objects/pack/pack-ce945118ff585172342d362c9eae5465e47877cb.pack20:25
madewokherd joined20:25
mischief how do i identify this git hash and what objects are in it20:25
DanyO83 joined20:25
mischief i tried to visit that commit but i cannot, at least in gitk20:25
ph^ joined20:25
kermit left20:26
_ikke_ mischief: It's not a commit, it's a pack20:26
nicoulaj joined20:26
FreeArtMan left20:26
mischief _ikke_: understood. how do i identify which commits pertain to it20:26
uwjesd left20:26
j416 left20:27
_ikke_ Well, you'd have to unpack them I guess20:28
drale2k joined20:28
titaniumNoob left20:28
drale2k left20:28
mischief _ikke_: how is that done20:28
lresende left20:28
yoklov joined20:29
ahayweh left20:29
mishok13 joined20:29
longbeach left20:29
ph^ left20:30
ShooterMG joined20:30
_ikke_ Not sure if it's possible, but you might try git unpack-objects -n /.git/objects/pack/pack-ce945118ff585172342d362c9eae5465e47877cb.pack20:32
athit joined20:32
mischief _ikke_: https://stubbisms.wordpress.com/2009/07/10/git-script-to-show-largest-pack-objects-and-trim-your-waist-line/20:32
imachuchu what are you trying to do exactly, just make smaller packs or what?20:34
olliejudge left20:35
patrick99e99 left20:35
mischief imachuchu: no20:35
there is a 100M file in my git repo20:36
and i am trying to use filter-branch to remove it20:36
but it persists20:36
maybe i need to git gc20:36
cpg|awaycpg20:36
Xizor left20:37
CannedCorn left20:37
andrewmriley joined20:39
s0ber_ joined20:39
imachuchu mischief: so what you are really trying to do is make your repo smaller (by removing things that are no longer referenced, like those commits that have the 100M file)20:40
mischief in a sense i guess20:41
some idiot put a .gem in the repo20:41
and i am trying to fix his mistake20:41
s0ber left20:41
s0ber_s0ber20:41
cagedwisdom joined20:41
mabrand left20:42
kermit joined20:42
imachuchu mischief: expire your reflog then git gc, git repack -Ad20:42
thomasfr left20:43
mahna_mahna joined20:43
fork[you] joined20:43
thomasfr joined20:43
rehat joined20:44
mabrand joined20:44
mischief imachuchu: still there20:44
FreeArtMan joined20:44
imachuchu mischief: yep, looking for the right command to expire the reflog (I've never done it)20:45
mischief git reflog expire --all && git gc --aggressive --prune && git repack -Ad20:45
imachuchu mischief: yeah, but do you want to expire everything in the reflog20:45
fork[you] left20:46
mischief i have no idea, i am a git noobyie20:46
imachuchu mischief: "--expire=<someTime>" would allow you to keep some based on time20:46
jerware joined20:46
jerware I don't know how this happened but my local master diverged from the remote master, therefore I can't do a git pull. I though git reset --hard HEAD would help but it didn't. How can I syncronize my local master with origin master ?20:46
mischief after the above command, 'git verify-pack -v .git/objects/pack/pack-*.idx | grep -v chain | sort -k3nr | head' still shows a 100M file20:46
imachuchu mischief: ok, so the reflog keeps track of where you have been, it's really usefule esp to get you out of problems20:46
mischief: and you should !backup before doing anything20:47
gitinfo mischief: Taking a backup of a git repository is always a good idea, especially when taking advice over IRC. Usually, the best way to TACTICALLY back up a git repo is `git clone --mirror`. However, some unusual maintenance might require `tar cf repo-backup.tar repodir`. Testing in a clone is also an excellent idea. See also http://sethrobertson.github.com/GitBestPractices/#backups20:47
imachuchu mischief: most likely with a simple tar of the repo20:47
uicoded left20:47
mischief i think i already blew it away20:47
imachuchu mischief: don't use gc --aggressive, it's got problems (just not optimal)20:47
mischief: try a git bundle of the repo, does it contain the file (you'll know because it will be really big)20:48
mishok13 left20:48
shruggar left20:50
mischief imachuchu: no it's only 700K20:50
shruggar joined20:50
beneggett left20:50
twigmorewelsh left20:51
beneggett joined20:52
dfr|mac joined20:52
talexb left20:54
imachuchu mischief: try "git reflog expire --expire-unreachable=now --all"20:54
Beelsebob joined20:55
und3f joined20:55
mischief hm20:55
imachuchu: that didn't seem to change/do anything20:55
Beelsebob So, this is rather off topic, so feel free to tell me to piss off, what I'm wondering, is if anyone happens to know if it's possible to add to someone's pull request on github? I have someone who's contributed a 90% good pull request with a minor issue that I'd like to fix before pulling it in, so that the repo's never in a broken state.20:55
mischief is there a way to tell git to recreate packfiles only from objects which have live references20:55
imachuchu mischief: mischief well you'll still need to do the git gc; git repack -Ad20:56
Hasbro left20:56
mishok13 joined20:56
freeed left20:56
imachuchu Beelsebob: no idea, check the #github channel?20:56
mischief imachuchu: it's still in the packfile :p20:56
cpgcpg|away20:56
Beelsebob imachuchu: ah cheers, I didn't realise there was a #github20:56
sebastorama joined20:57
scelis joined20:57
pppaul i screwed up a merge20:57
imachuchu mischief: ok, wash rise repeat with "git reflog expire --expire=now --all"20:57
pppaul so i reset20:57
Anders_J left20:57
cannonball left20:57
imachuchu Beelsebob: best of luck!20:57
pppaul and now i can't figure out how to merge again20:57
bartek left20:57
les_sylvains left20:57
imachuchu jerware: "git reset --hard origin/master" would do that, but what did you commit to your master?20:58
ddelrio1986 left20:58
imachuchu pppaul: "can't figure how to merge", like the right command or does it throw an error?20:58
opus__ left20:58
opus left20:58
mischief git reflog expire --expire=now --all && git gc --aggressive --prune && git repack -Ad20:58
the object is still in the .pack file20:58
pppaul well, i tried merging again after i reset20:58
and it says there is nothing to merge20:59
mischief maybe it is just not possible to make git remove it20:59
pppaul it's telling me to commit20:59
but my files are old20:59
rwestphal left20:59
phishy left20:59
Beelsebob left20:59
linguini joined20:59
beneggett left20:59
pppaul i think i reset too far21:00
imachuchu mischief: it is21:00
mischief: I've seen git be unwilling to create a new pack file if it doesn't think that compressing the newest commits would save enough space21:01
mabrand left21:02
beneggett joined21:02
pppaul the git gods have frown upon me21:03
skyf left21:04
mabrand joined21:05
linguini I would like my local repository to contain a handful of persistent differences form the remote repository. E.g. perl -i -lpe 's/badhardcode/goodhardcode/g' file.cc. Is there some way to do this such that my changes to file.cc are never sent when I do 'git push'?21:05
dov23 joined21:05
tworkin linguini: .gitignore ?21:05
imachuchu mischief: "git repack -adf"21:05
pdelvo add it to the ignore file?21:05
imachuchu mischief: and please backup your repo before you do any of this, I've never attempted it but it seems what it should do21:06
mischief same21:06
linguini tworkin: Hmm, .gitignore would ignore the entire file.cc, though, right? I really want just a 2 line change here, and a 4 line change in there.cc.21:06
I know the question is kind of ugly; I'm not sure how to accomplish this in /any/ revision control system.21:07
revagomes left21:07
rohan32|awayrohan3221:07
linguini I think one option is to maintain a separate local branch, and constantly merge from the remote repository my private branch. But I'm not sure how much extra typing this will require on a regular basis.21:08
toddWork joined21:09
linguini Conceptually, I suppose I want something similar to applying a patch file after every git pull, and then unapplying the patch before every git push.21:09
thomasfr left21:10
zastern joined21:10
thomasfr joined21:10
toddWork how can i verify my pre-commit hook is running?21:11
_keith left21:11
toddWork (i can't get it to do a mysql dump; the command works from the cli, however)21:12
torjus_ joined21:12
rtjure left21:12
imachuchu mischief: (I can keep this up all day!) "git prune --expire now" then "git repack -adf"21:12
mischief imachuchu: no dice21:13
btw this is the script i am using to show the bloat in a repo21:13
http://sprunge.us/RZLM21:13
pdelvopdelvo|afk21:13
mischief i need to grab lunch21:13
be back in ~2021:13
thomasfr left21:15
jjbohn left21:15
tjadc joined21:15
The24zThe24z_away21:16
jonez greetings. I am a convert from svn.. I was wondering if I am modeling git correctly -- every "working directory" (svn term) is a git repo?21:16
PerlJam jonez: yep21:16
jonez so when I start a new project, I should cd into the new folder and do 'git init'?21:16
PerlJam jonez: yep21:17
nicoulaj left21:17
PerlJam (maybe)21:17
jonez PerlJam, cool. ty21:17
er..? :)21:17
PerlJam Well, many people use something like github or their own "centralized" repo for sharing with others.21:17
opus joined21:18
PerlJam You may do something different if you do that.21:18
mabrand left21:18
rohan32rohan32|afk21:18
jonez oh.. so far, it's just me. I might want to be able to push to another repo in the cloud to share with coworkers or whatnot21:19
but that would be just a 'push' command, right?21:19
ngirard left21:19
tplaner_ left21:19
bartek joined21:20
kerrick joined21:20
Element9 left21:20
mahna_mahna left21:21
hubub joined21:21
microcolonel joined21:21
hubub hi all, I have just created a git repo locally and managed to do a git push to my server after running through a tutorial however I can't see any subsequent changes I have made locally, not sure what I'm doing wrong21:22
mklappstuhl joined21:22
intripoon left21:22
faenil joined21:22
faenil hi :)21:22
gitinfo faenil: 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.21:22
tomislater left21:23
faenil I was looking for some help with this:21:23
I have a repo I forked, the forked repo has master and "abc" branch21:23
intripoon joined21:23
anabelle joined21:23
faenil now, I modified in the abc branch21:23
but the repo I forked from (upstream) got new commits21:24
what should I do before sending my commits?21:24
Sebo left21:24
cbreak faenil: you can git fetch origin the new commits21:25
und3f left21:25
cbreak (or from what ever remote you want)21:25
and then merge or rebase21:25
microcolonel left21:25
microcolonel joined21:25
martinjlowm left21:25
faenil thanks cbreak :) yeah I wasn't sure about that path21:25
microcolonel left21:26
lacrymology left21:26
pantsman left21:27
microcolonel joined21:27
faenil cbreak, at the moment I have uncommited changes in my abc branch21:27
and git reports that it will overwrite some of my changes21:27
hubub okay, I created a new branch and it is now picking up changes for some reason21:27
faenil do I have to commit before fetching? ...:/21:27
nightcrawler786 whats the difference between using git branch --set-upstream vs git branch --track. Can't find any decent/clear answers on Google21:27
faenil I would like to create a commit taking into account the new upstream changes21:27
The24z_awayThe24z21:28
mishok13 left21:28
faenil I don't want to commit, then fetch, then commit again21:28
hubub also, I am still not seeing directories that I have created, any help appreciated, I'm trying to add a little sense to my website deployments with git push21:29
torjus_ left21:29
urseus joined21:29
urseus hey how can i discard tracking files which is starting with moc_* , what i have to add in my .gitignore ?21:30
codeFiend left21:30
RichiH without cloning the whole repo (slow internet here), how can i find out what tags/releases of git contain https://github.com/git/git/commit/be8779f7ac9a3be9aa783df008d59082f4054f67 ?21:31
imachuchu faenil: commit then rebase ontop of the changes21:31
maletor left21:32
ferdna left21:32
dinesh6654_ joined21:32
imachuchu faenil: or stash, pull, stash pop21:32
faenil imachuchu, wait...commit then fetch then rebase you mean21:32
acekim left21:32
faenil the thing is the new changes I have to get from upstream could break my code, so I want to fetch before committing the changes I have pending21:32
nickpresta left21:32
faenil is that doable?21:32
neurodrone left21:33
imachuchu faenil: actually fetch will only pull down the changes, not merge them like git pull21:33
faenil: commit now, worry about conflicts after you get any remote changes21:33
dinesh6654 left21:33
faenil ok, so I can commit then pull upstream?21:33
imachuchu faenil: git pull = fetch + merge21:34
faenil yeah21:34
is that a yes? :)21:34
milian left21:35
cakehero left21:35
imachuchu faenil: so you can either commit, pull, then have the merge, or commit, fetch, rebase/merge21:35
tizzotizzo-afk21:35
imachuchu faenil: !tias but commit first (you can always fix it up later)21:35
gitinfo faenil: 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.21:35
urseus left21:36
faenil :)21:36
ok thanks ;)21:36
hellopat left21:36
maletor joined21:37
Vert joined21:38
hubub left21:39
bartek left21:39
tworkin left21:40
sebastorama left21:40
andrewmriley left21:41
milian joined21:42
ISF left21:42
MetaCosm left21:42
imachuchu RichiH: "git ls-remote <remoteName>"?21:43
aspotashev left21:44
oojacoboo left21:44
imachuchu RichiH: nm, I didn't read the whole question. No, no there is not21:44
RichiH imachuchu: if you feel like having a quick look, i would appreciate it21:45
lotus left21:45
RichiH if not, i am at 25% after 23 minutes so i will have an answer in 45 minutes, anyway :p21:46
faenil another thing, I'm seen many commits which are multiline, but only one line is shown when you see commits...21:46
how does that work?21:46
oojacoboo joined21:46
faenil should I use /n in git commit -m ?21:46
\n21:47
RichiH faenil: just don't use -m21:47
faenil RichiH, ok :D21:47
RichiH or hit ener while ' or " is open21:47
enter*21:47
faenil ok, thanks21:47
imachuchu faenil: yeah, if you don't use -m an editor will open prompting for the message21:47
maestrojed joined21:47
faenil imachuchu, shall I just close it and it will go on?21:48
tias :D21:48
!tias21:48
gitinfo 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.21:48
dbck left21:49
iliketurtles left21:49
maestrojed I have a short commit hash and am interested to see what that change was. I was a commit from a while ago. What is the best way to do this?21:49
FauxFaux git show thathash21:49
imachuchu maestrojed: "git show <hash>"21:49
RichiH faenil: if you don't save the commit message and quit, it will not commit21:50
just fyi21:50
imachuchu maestrojed: or "git checkout <hash>" then checkout again <wherever> to go back to wherever21:50
RichiH and keep a blank line in between your subject and your body21:50
plusl, subject should not be longer than 72(?) chars21:50
fly9 joined21:50
fly9 left21:51
fly9_ left21:51
fly9 joined21:51
dfr|mac left21:51
maestrojed imachuchu wow, too easy! Thanks!21:51
etcetera left21:52
Psycho_pr left21:53
faenil RichiH ;)21:53
etcetera joined21:53
imachuchu maestrojed: np21:54
jjasinski joined21:55
ppppaul left21:55
gfontenot left21:56
codeFiend joined21:56
comps joined21:56
Psycho_pr joined21:56
tizzo-afktizzo21:57
jkremser left21:58
msmithng left21:58
adamm joined21:59
msmithng joined22:00
opus left22:00
cpg|awaycpg22:00
tizzotizzo-afk22:00
athit left22:00
chester_1 joined22:00
ingsoc left22:01
aruiz left22:01
codeFiend faenil: either use git stash to save the uncommitted changes22:01
trungqtran left22:01
opus joined22:01
cpgcpg|away22:01
codeFiend faenil: or create a new branch for your own work and commit things there22:01
tizzo-afktizzo22:01
cpg|awaycpg22:01
project2501a left22:02
chester_ left22:04
neurodrone joined22:05
neurodrone left22:05
neurodrone joined22:05
faenil codeFiend, I'm already on my own branch22:05
codeFiend ah i thought you meant abc was also upstream22:06
afuentes left22:06
faenil nope ;)22:06
codeFiend then you shouldn't have any problems… use git stash to save your uncommitted changes22:06
faenil mm ok I have to read about stash22:06
macBigRig joined22:06
codeFiend it's basically like making a temporary commit22:06
Chaser_Chaser22:07
afuentes joined22:07
faenil codeFiend, sounds good22:07
codeFiend faenil: so what you want to do is push your changes back up to master?22:07
faenil: or what?22:07
faenil pull from upstream, and then adapt the code I have in my branch (currently uncommitted) and only then commitr22:07
stash then fetch and rebase I guess22:08
tizzotizzo-afk22:08
camdenx left22:08
camdenx joined22:08
codeFiend faenil: you're saying you have no commits at all on "abc"?22:08
you should be committing often, not all in one chunk22:08
but that's beside the point22:08
beneggett left22:09
fly9 left22:10
gurps left22:10
faenil codeFiend, nope ...that branch is only for this modification22:11
codeFiend in your place i would do 'git stash; git checkout master; git pull --rebase; git checkout abc; git merge master;'22:11
gurps joined22:11
codeFiend this will bring your abc branch up to date with master22:11
(actually maybe git rebase master)22:11
then git stash pop22:12
and resolve any conflicts22:12
anabelle left22:12
faenil codeFiend, yeah that's the best solution I think :)22:12
scelis left22:13
shruggar left22:14
zivester left22:14
aruiz joined22:14
chuckharmston left22:15
zivester joined22:15
ingsoc joined22:16
ppppaul joined22:17
macabre left22:17
tinti joined22:18
zivester left22:20
zivester_ joined22:20
amcsi left22:21
iocor joined22:21
jaseemabid left22:22
eijk_ left22:23
apok_ joined22:23
luxurymode left22:24
apok left22:26
apok_apok22:26
kerrick left22:27
tjadc left22:28
duckxx left22:29
kermit left22:29
stkrzysiak_ joined22:29
stkrzysiak_ left22:30
kermit joined22:30
hellopat joined22:30
Marcux83Marcux83|away22:31
kcj joined22:31
alexisabril left22:33
faenil what if I stashed but forgot to add unstaged files?22:34
I read I can unstash with git stash show -p | git apply -R22:34
but that only shows errors22:34
tizzo-afktizzo22:35
dinesh6654 joined22:37
rohan32|afkrohan3222:38
neersighted left22:39
cmn faenil: you unstash with git stash pop22:39
faenil cmn doesn't that also apply ?22:39
cmn it applies to the right places22:39
faenil I just need to go back, as if I never used stash22:39
dinesh6654_ left22:40
diminoten in github can I refer to other files?22:40
okay that's a bad question22:40
cmn faenil: then use pop22:40
w09x joined22:40
diminoten say I'm writing a doc in markdown, and I want to reference another doc in my repo, that happens to be in json22:40
is there a way to display the contents of my JSON file from within my markdown file?22:40
cmn diminoten: this channel isn't about the details of github's markdown display22:40
diminoten cmn does such a channel exist22:41
cmn they have their own support channels22:41
hellopat left22:41
diminoten is this an official git support channel22:41
faenil cmn, ok thanks22:41
cmn diminoten: as official as anything git gets22:42
diminoten okay thanks22:42
msmithng left22:43
msmithng joined22:45
neurodrone left22:46
russt_ joined22:47
youngblood_ left22:47
youngblood joined22:48
rohan32rohan32|afk22:48
russt left22:48
russt_russt22:48
harish left22:48
barq1 left22:48
Synthead left22:50
pppaul left22:50
vitor-br left22:50
psoo joined22:50
neurodrone joined22:51
specialGuest joined22:52
specialGuest left22:52
specialGuest joined22:52
jonez left22:52
Psycho_pr_ joined22:52
corburn joined22:53
_keith joined22:54
Dave^| left22:54
neersighted joined22:54
Psycho_pr left22:54
Psycho_pr_Psycho_pr22:54
CannedCorn joined22:57
_keith left22:58
skyf joined22:58
chester_1 left22:59
EugeneKay diminoten - the simple answer to your question is no.22:59
TeckniX_ left22:59
diminoten EugeneKay: as I've discovered over in #github :d22:59
loops This is the oldest git channel, it might as well be considered official23:00
apok left23:00
EugeneKay It's unofficially official23:01
apok joined23:01
loops well, it's as official as it gets in an open source world23:01
tizzotizzo-afk23:01
youngblood_ joined23:01
EugeneKay Something like that23:01
loops change offical to "primary" and the answer is yes23:01
apok_ joined23:02
rohan32|afkrohan3223:03
youngblood left23:04
youngblood_youngblood23:04
codeFiend left23:04
branduren left23:04
apok left23:05
apok_apok23:05
boombatower_ joined23:06
boombatower_ left23:06
boombatower left23:06
apok left23:06
Davey left23:06
apok joined23:06
john_anderson joined23:07
thelazydeveloper left23:07
milani joined23:07
milani hi, I committed my code, then found out there is commits on the remote. I don't want a merge master commit.23:07
what should I do?23:08
EugeneKay milani - man git-rebase23:08
gitinfo milani: the git-rebase manpage is available at http://git-scm.com/docs/git-rebase.html23:08
monokrome joined23:08
monokrome Hello23:08
gitinfo monokrome: 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.23:08
boombatower joined23:08
EugeneKay milani - you would fetch, then rebase yours23:08
milani but I don't have the commits from remote yet.23:08
aha.23:08
got it. fetch was the key.23:08
EugeneKay pull == fetch && merge23:08
corburn left23:08
milani yeah didn't come to my mind. thx.23:08
monokrome I am using git submodules and I noticed that the repository hosting the module noticed a change in a submodule. If I commit this change, will it try to commit to the submodule's repository - or does git intelligently patch these changes on top of the 3rd party repository?23:09
beneggett joined23:09
cmn intelligently?23:09
simesy joined23:09
cmn a submodule is just another repo23:09
beneggett left23:09
monokrome I know that, but I am asking which repo that commit is hosted in.23:09
cmn it's in that repo23:10
monokrome Okay, thanks :)23:10
cmn if you push that somewhere, then it will be in that other one as well23:10
MetaCosm joined23:11
MetaCosm left23:11
MetaCosm joined23:11
dsirijus joined23:12
afuentes left23:14
thursday joined23:14
opus left23:18
osmosis left23:18
oorang3 so, git pull origin gh-pages <--- works just fine23:19
git push origin gh-pages <--- i get an error23:19
error: src refspec gh-pages does not match any.23:19
zmuser3 if I clone a project from somewhere, can I then git remote add origin and git push it (or even a part of it) to my own central repo? will that keep history?23:19
timthelion left23:19
oorang3 what am i missing? :/23:19
FauxFaux zmuser3: Yes, although the name "origin" will already be taken so you'll have to pick another.23:20
dsirijus left23:20
eletuchy joined23:20
canton7 oorang3, the former merges the remote branch gh-pages into the local branch. the latter pushes the local branch gh-pages. you don't have a local branch called gh-pages23:20
zmuser3 oh ok awesome23:20
oorang3 canton7: ah, i thought i was getting it with pull. how do i get the local branch gh-pages?23:21
canton7 oorang3, you can create a local branch based off the remote on. git checkout -b gh-pages origin/gh-pages23:21
CannedCorn left23:21
robbyoconnor left23:21
canton7 s/remote on/remote one23:21
robbyoconnor joined23:21
oorang3 canton7: excellent, ty. let me try that.23:21
Progster left23:22
canton7 oorang3, I should clarify: 'git pull origin gh-pages' merges the remote branch gh-pages into the *currently-checked-out* local branch23:22
skyf left23:22
oorang3 so if all i want to do is grab the latest copy, make changes, and push23:22
i will do checkout then?23:23
canton7 oorang3, if you don't have a local gh-pages, create one. then checkout the local gh-pages ('git checkout gh-pages') and update it ('git pull'). then make changes, commit, push ('git push')23:23
tewecske left23:23
canton7 oorang3, read !book for a better understanding23:25
gitinfo oorang3: 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 !parable23:25
oorang3 great, thanks for the info guys. much appreciated :)23:25
psoo left23:25
ahayweh joined23:26
ingsoc left23:26
r0bby joined23:26
_keith joined23:26
robbyoconnor left23:26
zmuser3 do I have to git init every new repo on the server before I can push to it? if so, how do you do that since the shell is git-shell? (using ssh protocol)23:27
SirCmpwn left23:27
milani left23:27
linguini left23:28
tabakhase left23:28
__class__ left23:28
asedeno_ left23:28
quadz left23:28
njbair_ left23:28
eighty4 left23:28
idoru left23:28
psoo joined23:28
r0bby_ joined23:29
thursday left23:31
r0bby left23:31
eighty4 joined23:31
EugeneKay zmuser3 - you would use !gitolite23:32
gitinfo zmuser3: Want to host as many git repos (and users!) as you like, on your own server, with fine-grained access control? You want gitolite: https://github.com/sitaramc/gitolite - Documentation: http://sitaramc.github.com/gitolite/master-toc.html23:32
zmuser3 ok23:32
erichynds left23:32
idoru joined23:32
linguini joined23:32
tabakhase joined23:32
__class__ joined23:32
asedeno_ joined23:32
quadz joined23:32
njbair_ joined23:32
pabs3 joined23:33
pabs3 with gitk, how do I exclude paths or sets of paths?23:33
r0bby_ left23:33
setmeaway left23:33
camdenx left23:35
FreeArtMan left23:35
duckxx joined23:36
rehat left23:36
jjang joined23:37
torjus left23:37
codeFiend joined23:37
boombatower left23:37
Esa joined23:38
v0n left23:39
cakehero joined23:39
r0bby_ joined23:39
brentratliff joined23:39
rohan32rohan32|dinner23:40
osmosis joined23:40
beneggett joined23:41
Anders_J joined23:41
_keith left23:41
r0bby_robbyoconnor23:41
hidekin left23:43
dreiss joined23:43
MetaCosm left23:44
boombatower joined23:45
gfontenot joined23:46
cpgcpg|away23:47
vervic joined23:47
tqmz left23:49
maestrojed left23:50
_keith joined23:51
_keith left23:52
UnsignedCode1 joined23:54
UnsignedCode left23:54
john_anderson left23:55
mritz joined23:58
Fissure left23:58
AaronMT left23:59
mritz any good alternatives to gtiflow ?23:59

Logs Search ←Prev date Next date→ Channels Documentation