IRCloggy #git 2015-03-30

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.

2015-03-30

fstd left00:00
fstd joined00:00
scientes_ left00:01
skorgon joined00:01
scientes_ joined00:01
scientes_ left00:01
scientes_ joined00:01
cbonobo left00:02
jagob left00:03
clarkpan joined00:03
jds left00:05
tmager left00:07
ivan_on_trac joined00:07
ottanta joined00:07
ivan_on_trac toggle features and flag features. are synonymous?00:08
intellix left00:08
nyexpress joined00:09
deltab ivan_on_trac: in what context?00:09
cbonobo joined00:09
nyexpress left00:09
ivan_on_trac deltab: Git perhaps, continuous integration00:10
gbit86 joined00:10
deltab ah, http://stackoverflow.com/questions/19434222/feature-toggles-vs-feature-branches00:10
reaverb joined00:10
kadoban joined00:10
scientes_ left00:10
Seikho_ joined00:10
deltab sounds like toggles and flags would be the same thing00:10
scientes_ joined00:10
tier joined00:11
madewokherd joined00:11
bronson joined00:11
ottanta hey, so a friend recommended I rebase my feature branch against the master branch of the tree I'm basing my patch off of00:11
MattMaker left00:12
tomasm- left00:13
CheckDavid left00:13
cbonobo left00:14
scientes_ left00:14
tmager joined00:14
ivan_on_trac deltab: ok00:14
scientes_ joined00:14
scientes_ left00:14
scientes_ joined00:14
makepkgn_ joined00:15
bronson left00:16
WaReZ left00:16
mezod left00:17
scientes_ left00:17
makepkgn_ left00:17
HelloATMega left00:18
diegoviola left00:18
scientes_ joined00:18
scientes_ left00:18
scientes_ joined00:18
makepkgn_ joined00:19
reaverb left00:19
reaverb joined00:20
madewokherd left00:20
gopar left00:21
scientes_ left00:21
madewokherd joined00:21
Corey84 joined00:23
macabre joined00:23
deltab ivan_on_trac: "feature bits, flags, flippers, switches and the like. There seems no generally accepted name yet". — http://martinfowler.com/bliki/FeatureToggle.html00:24
Sonicbit left00:26
ivan_on_trac deltab: Martin Flower. Where is he. I hope he's always right.00:26
mikiones left00:27
nnyk_ joined00:27
Charlie_WONG_Sup joined00:27
iml joined00:27
_Cyclone_ left00:28
AmR|EiSa joined00:28
cbonobo joined00:28
dreiss joined00:28
robustus left00:30
neunon left00:31
madewokherd left00:31
bluesm joined00:31
Charlie_WONG_Sup left00:32
nnyk_ left00:32
Charlie_WONG_Sup joined00:32
martinbmadsen joined00:33
robustus joined00:34
tmager left00:34
neunon joined00:34
unixpro1970 joined00:35
ottanta left00:35
Charlie_WONG_Sup left00:36
Charlie_WONG_Sup joined00:36
ManikM left00:37
cdown left00:37
tomtclai left00:38
dougsland joined00:38
arnaud__ joined00:38
martinbmadsen left00:39
KEN_403 joined00:39
kadoban left00:39
vreo left00:40
madewokherd joined00:40
s8321414 left00:41
tmoor joined00:42
daedeloth left00:43
toothrot joined00:44
dreiss left00:45
effi joined00:45
CheckDavid joined00:45
cdown joined00:46
tomtclai joined00:47
daito joined00:47
theme2 joined00:47
smccully left00:48
ropav_ left00:48
theme2 left00:49
macabre left00:49
tmoor left00:50
tmoor joined00:50
frivol left00:51
DrNick joined00:51
Corey84 left00:53
zacts joined00:53
effi left00:53
ace1 joined00:53
cdown left00:54
madewokherd left00:55
senkin joined00:55
happy-dude left00:56
fserb left00:56
reaverb left00:56
fserb joined00:57
fserb left00:57
Takle left00:57
fserb joined00:57
whitby left00:58
AmR|EiSa left00:59
skorgon left00:59
clarkpan left00:59
richarddoyle joined00:59
harish left00:59
richarddoyle left01:00
richarddoyle joined01:00
richarddoyle left01:00
clarkpan joined01:01
LikiLiki joined01:02
_Atom_ left01:02
LikiLiki left01:03
gitinfo set mode: +v01:03
ace1 hi01:04
gitinfo ace1: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.01:04
grepper back01:04
ace1 Hey, is there something wrong with using Apple's Git instead of Git from the main website?01:04
jerematic joined01:05
_Atom_ joined01:06
fserb Apple's git is usually outdated (and they lack some extra stuff).01:06
(you can also uso git from homebrew on mac, which is usually better than downloading the one form git site)01:06
eletuchy joined01:09
jerematic left01:10
jaznow_ joined01:10
unixpro1970 left01:10
happy-dude joined01:12
bronson joined01:12
AmR|EiSa joined01:12
denete left01:13
Sonicbit joined01:13
Gamecubic joined01:14
jaznow_ left01:14
eletuchy left01:14
Vgr_Vgr01:15
reaverb joined01:16
ace1 Thanks fserb01:16
bronson left01:17
macabre joined01:17
EminenceHC joined01:19
grepper qsuscs: around ? Still trying to figure out why 'git descibe' doesn't work as you think it should.01:20
Consuela left01:21
reaverb left01:21
pks left01:21
pks joined01:22
madewokherd joined01:23
Floatingman left01:23
Vampire0_ joined01:23
netj left01:23
netj joined01:23
EminenceHC left01:23
ashokrajar joined01:25
Vampire0 left01:26
Floatingman joined01:26
nkouevda_nkouevda01:28
ashokrajar left01:29
sgen left01:30
bgerber left01:31
madewokherd left01:31
MadsRC left01:32
Rastus_Vernon left01:32
rgp100 left01:33
AustinTheGrey joined01:33
gopar joined01:34
_Atom_ left01:34
arnaud__ left01:35
Es0teric joined01:35
bgerber joined01:35
MadsRC joined01:35
chrisgeorge joined01:37
GinoMan joined01:38
Asiajey left01:39
AustinTheGrey left01:39
daftano_ left01:39
goldstar_ left01:40
Es0teric left01:40
chrisgeorge_ left01:41
Es0teric joined01:43
AmR|EiSa left01:43
daftano joined01:44
imMute left01:44
dreiss joined01:47
luaboy how to git add all modified files in subdirs ?01:47
meaneye git add .01:48
?01:48
luaboy meaneye:are you sure?01:48
chrisgeorge left01:48
meaneye Well, that will add all the modified files.01:48
chrisgeorge_ joined01:48
rkazak_ try it out in a test repos.01:48
meaneye Are you talking about few or specific subdirectories?01:48
skorgon joined01:49
sgen joined01:49
sgen left01:49
martinbmadsen joined01:49
luaboy if I want to add all the .py file recursively,how is that?01:49
_2_4251202106 joined01:50
_2_4251202106 left01:50
SoFLy left01:51
meaneye git add dir/*.py01:51
c74dGuest787201:51
Guest7872 left01:51
meaneye Or git add *.py01:51
Or git add *.py01:51
Sorry for repeating :D01:52
mizu_no_oto joined01:52
luaboy git add *.py just woking for the .py in current dir01:52
c74d joined01:52
ghostpl_ joined01:53
meaneye Ah, sorry01:53
You have to escape the *01:53
So it's01:53
dig add \*.py01:53
Because shell expands it.01:53
Dig lol. Too tired.01:53
Also for subdirectories: git add dir/\*.py01:54
imMute joined01:54
martinbmadsen left01:55
harish joined01:56
tier left01:58
madewokherd joined01:58
luaboy git push or git push origin master for upload modification01:58
meaneye Well, they might behave the same. Depending on configuration. Default is to behave the same.01:59
If I remember correctly it should push to the same branch you are on.01:59
I always specify remote and branch just to make sure.01:59
So git push origin master.01:59
luaboy all right02:00
ghostpl_ left02:00
AmR|EiSa joined02:00
luaboy meaneye:Thanks a lot02:00
meaneye You are welcome.02:00
Goplat joined02:01
mizu_no_oto left02:01
berz3rk left02:02
oriba left02:02
_X_C_V_B_ left02:02
madewokherd left02:02
reaverb joined02:02
lvegerano joined02:03
mizu_no_oto joined02:04
Charlie_WONG_Sup left02:06
Charlie_WONG_Sup joined02:06
asflex joined02:07
echo-area joined02:07
jrahmy left02:07
yahoshi left02:08
Dorf left02:09
maqr joined02:10
joetam joined02:10
eletuchy joined02:10
Zamyatin left02:11
netj left02:11
netj joined02:12
Charlie_WONG_Sup left02:13
Charlie_WONG_Sup joined02:13
Es0teric left02:13
Goopyo left02:13
bleb joined02:13
bronson joined02:13
sdothum left02:13
clarkpan left02:15
eletuchy left02:15
toothrot left02:15
devll joined02:15
bleb git status says master is ahead of origin/master by 22 commits... but on github the most recent commits are the same as my most recent commits in master branch. How do I get my origin/master consistent with the master branch on github? (which is also consistent with my master branch)02:16
ropav_ joined02:16
clarkpan joined02:16
meaneye Isn't origin/master on github?02:17
TheNet left02:17
jorj left02:17
ropav left02:17
bronson left02:17
clarkpan left02:18
jorj joined02:18
bleb I would expect origin/master to be the same as what's on github, but that's not the case02:18
madewokherd joined02:18
bleb I've been able to pull and everything too02:18
meaneye Are you sure changes are the same?02:19
clarkpan joined02:20
LucasTT left02:20
meaneye Try git fetch origin02:20
And see if that clears up the message.02:20
AmR|EiSa left02:22
livingstn left02:22
madewokherd left02:23
livingstn joined02:24
neonKow left02:24
zacts left02:25
yqt left02:26
martinbmadsen joined02:26
lvegerano left02:27
neonKow joined02:29
oojacoboo left02:29
MattMaker joined02:29
michelangelo joined02:29
zapb_ left02:31
Es0teric joined02:31
jsilver_ joined02:31
joetam left02:33
donmichelangelo left02:33
darkbasic left02:33
darkbasic joined02:34
jonmorehouse left02:34
msonntag left02:36
ben____ joined02:36
DuckMaestro left02:36
zapb_ joined02:37
msonntag joined02:37
zacts joined02:37
bleb meaneye: yeah that did it! Its funny because I tried git fetch master, git fetch origin/master, and git fetch origin master; none of those work. What would I do if I only wanted to fetch the master branch?02:39
ojacobson 'git fetch origin'02:39
(i.e., stop wanting that, it doesn't help as much as you might think)02:39
if you _really_ want to do that have a look at git remote's set-branch subcommand02:39
madewokherd joined02:40
meaneye bleb, as far as I know this issue should not happen often.02:40
bleb thats chill, I guess there isn't really any reason not to fetch everything02:41
meaneye Well, pull and push do that for you anyway. I don't know how you ended up with that situation.02:41
hcc23 left02:41
jsolano left02:42
sgen_ joined02:43
CheckDavid left02:43
jsolano joined02:44
effi joined02:44
devll left02:44
devll joined02:44
fserb left02:45
Es0teric left02:46
makepkgn_ left02:47
Charlie_WONG_Sup left02:47
Charlie_WONG_Sup joined02:47
macabre left02:48
effi left02:48
jstimm joined02:48
cbonobo left02:48
IIT joined02:50
Es0teric joined02:50
cromero left02:51
toothrot joined02:52
nsev joined02:53
Charlie_WONG_Sup left02:54
jerematic joined02:54
Charlie_WONG_Sup joined02:54
nsev left02:54
uaenb joined02:55
livingstn left02:55
mizu_no_oto left02:56
uaenb left02:56
meaneye left02:56
bleb left02:56
Dougie187 left02:57
Eein joined02:57
axs221 joined02:57
dougsland left02:57
Eein left02:58
jerematic left02:58
Wgse joined02:59
Sonicbit left02:59
Es0teric left03:00
neonKow left03:00
OutofControl joined03:00
luc_ joined03:00
Wgse left03:00
neonKow joined03:00
cbonobo joined03:01
rchavik joined03:01
viyy joined03:01
c74d left03:02
viyy left03:02
bluesm left03:03
lfau joined03:03
ropav_ left03:04
meoblast001 joined03:04
cromero joined03:04
c74d joined03:04
meoblast001 is it generally safe to package something with a ".git" directory in it to pass to someone else? i'd just like to make sure there's no sensitive user-specific data in there03:04
Charlie_WONG_Sup left03:04
Charlie_WONG_Sup joined03:05
APerson_ joined03:05
ropav joined03:05
bernalex left03:06
EminenceHC joined03:07
ashokrajar joined03:10
gargola left03:10
cbonobo left03:10
Goopyo joined03:10
Asiajey joined03:10
cbonobo joined03:11
makepkgnotwar joined03:12
EminenceHC left03:12
makepkgnotwar left03:13
kpreid meoblast001: pretty much depends on what you've put in03:13
for example, it can contain usernames for remotes, which you might or might not consider sensitive03:13
MattMaker left03:13
makepkgnotwar joined03:13
meoblast001 hm.. i just cloned it from my public github03:13
nothing else03:13
Charlie_WONG_Sup left03:13
kpreid I'd suggest just poking around (skip the 'objects' directory) and see what's there03:14
Charlie_WONG_Sup joined03:14
meoblast001 the few things i poked at seemed to have nothing03:14
gargola joined03:14
kpreid if you've done work you don't want to share, there might be remnants, and a fresh clone woul be better03:14
bronson joined03:14
rdbell left03:14
metastableb joined03:14
deltab meoblast001: names and email addresses of authors and committers; hostnames and directory paths of remote repos; deleted branches and stashes, unless garbage collected03:14
meoblast001 deltab: hm. that doesn't seem that bad03:15
ashokrajar left03:15
meoblast001 kpreid: yeah. totally fresh clone03:15
iamjarvo joined03:15
Goopyo_ joined03:16
Goopyo left03:16
mr-kyd left03:16
Goopyo_Goopyo03:16
iamjarvo left03:16
chrisgeorge joined03:16
chrisgeorge left03:16
hahuang61 joined03:17
bronson left03:19
clarkpan left03:19
ef5c_ef5c left03:20
chrisgeorge_ left03:20
axs221 left03:20
SleePy left03:22
SleePy joined03:23
arnaud__ joined03:24
iamjarvo joined03:24
ivan_on_trac Do you keep the source of the applications in a different location from the database schema? Repo different.03:25
meoblast001 left03:25
bitkiller left03:25
Vgr left03:27
SimonNa left03:28
arnaud__ left03:28
cbonobo left03:31
makepkgnotwar left03:31
zacts` joined03:34
cbonobo joined03:34
raymond joined03:34
zacts left03:35
zacts` left03:37
otter768 left03:38
Charlie_WONG_Sup left03:38
hahuang61 left03:39
hahuang61 joined03:40
zacts joined03:40
ancientcc12 joined03:41
Gamecubic left03:41
ManikM joined03:42
jonmorehouse joined03:43
neonKow left03:43
ghostpl_ joined03:43
makepkgnotwar joined03:44
Seikho_ left03:44
Seikho_ joined03:44
in3xes joined03:45
effi joined03:45
MattMaker joined03:46
iamjarvo left03:47
ghostpl_ left03:48
effi left03:50
MasterPiece left03:51
zapb_ left03:52
cromero left03:52
clarkpan joined03:52
harish left03:53
DuckMaestro joined03:53
grepper how can I get 'git describe' to output something like v0.35.0-0xxxx ? I have a tag v0.35.0 but perhaps it is seen only in branch, if that makes sense. Right now 'git describe' doesn't output anything unless I use --always.03:54
daito left03:54
harish joined03:56
cromero joined03:56
devoldmx left03:57
devoldmx3 joined03:57
zapb_ joined03:58
Charlie_WONG_Sup joined03:58
kadoban joined03:59
eletuchy joined03:59
m0viefreak left04:00
dsdeiz joined04:02
eletuchy left04:04
lvegerano joined04:05
thiago grepper: first of all, are you sure that the tag can describe that commit?04:07
grepper: git log <thatcommit>..v0.35.004:07
anything printed?04:07
grepper not sure I understand. What is <thatcommit> here? The tag points to the correct commit right now.04:09
I just want it to show up in master when I do git describe04:09
ranchodev joined04:10
grepper actually both branch "tovid-0.35.0" and the tag v0.35.0 point at the same commit04:10
thiago you want to describe a commit04:10
replace <thatcommit> with the commit you want described04:10
grepper well, I want 'git describe' in master to show the tag followed by the current commit in master, like v0.35.0-9d12e204:11
isn't that the way 'git describe' is supposed work ?04:11
thiago ok, so the commit is HEAD04:11
do what I asked and tell me if it prints anything04:11
grepper actually, I think the problem is the commit was made in branch, and isn't in master04:12
so the tag points to the commit and to the branch, but it doesn't affect 'git describe' in master branch04:13
(if that makes any sense), Sorry, 1st week with git coming from SVN04:13
$ git describe 9d12e2c v0.35.004:14
v0.35.004:14
v0.35.004:14
thiago ok, as expected04:14
bronson joined04:15
k_sze[work] joined04:16
metts joined04:16
ancientcc12 left04:18
cagedwisdom joined04:18
bronson left04:19
alokbeniwal joined04:22
makepkgnotwar left04:22
grepper thiago: so any idea what I can do to get the expected behavior of 'git describe' in master ?04:23
git rev-parse HEAD in master shows f2d20b8.... so shouldn't 'git describe' output v0.35.0-f2d20b or somesuch ?04:24
arnaud__ joined04:24
subhojit777 joined04:24
howitdo left04:25
Sonicbit joined04:25
kadoban grepper: Is v0.35.0 even reachable from the tip of master?04:27
ace1 left04:27
grepper I can do 'git checkout v0.35.0' if that is what you mean04:27
mikiones joined04:28
kadoban grepper: It's not. Also, you know git describe only uses annotated tags by default, right?04:28
grepper kadoban: yes, I found out about that - how do I know if it is 'annotated' ?04:29
arnaud__ left04:29
kadoban grepper: For 'git describe' to use v0.35.0 to describe the commit you're talking about, the commit would have to have v0.35.0 as an ancestor. Hmm, how did you tag? If you used -a or -s it's annotated, if not, not. I'm sure there's a way to check … I'm not terribly sure what it is though, I /always/ use annotated tags so I have little experience with non.04:30
grepper I think its important that if I do git log --pretty=format:'%H %ae %an' |grep 9d12e2c (9d12e2c is the tag hash), it comes up empty04:30
kadoban Then that's probably why it's not using that tag to describe your current. How could it?04:30
grepper is it one that shows up with a second tag with {} somethink appended ?04:30
ashu11 joined04:31
arnaud__ joined04:31
grepper kadoban: yep, I think that is the problem too. How can I change this ?04:31
kadoban grepper: I'm not sure what you mean by "change this" what do you want to happen?04:31
grepper I'd like 'git describe' to print v0.35.0-f2d20b04:32
kadoban grepper: Well, I'm not sure how it'd make sense at all for it to do that.04:32
grepper where f2d20b is the 'git rev-parse HEAD' output04:32
well, I was told that was a good way to go about getting output for my program's --version switch04:33
mikiones left04:33
APerson_ left04:33
grepper so it will show the last release, followed by the present commit in master, which is what they checked out04:33
for the release version it is already solved, this is for those doing a 'git clone'04:34
aerth left04:34
kadoban grepper: It may be, when it actually makes any sense. What you have though, is a master which is basically unrelated to the tag you're trying to use to describe it, which … doesn't make any sense? What's it supposed to say, "uhm, well you take tag W go back X commits, then you follow a different branch, then you go Y more commits?" Seems a bit odd to expect that.04:34
That's not really what describe does at all, as far as I understand. All it does it find the most recent tag that's /reachable/ from the commit you're trying to describe, essentially. Your tag isn't reachable from the commit you're talking about.04:35
grepper yeah, it was a mistake commiting that in branch and pointing to it04:35
I guess they only way out would be to move the tag back one commit, which is also in master04:36
though that isn't a great solution04:36
thiago grepper: I asked you to run a command for me half an hour ago. You still haven't done it.04:36
grepper I thought I did04:36
you said the output was as expected04:36
thiago 21:07 < thiago> grepper: git log <thatcommit>..v0.35.004:37
you never ran the git log04:37
beautifulmind joined04:37
grepper shit, I must have read that as 'git describe <thatcommit> .... sorry04:38
sec04:38
thiago we know it won't be empty04:38
howitdo joined04:39
grepper yeah, it prints that commit at the top of the list04:39
CalrikAakiwa joined04:39
thiago so the tag isn't reachable from that commit04:39
the tag cannot be used to describe the commit in question04:39
z8z joined04:39
tekbasse joined04:39
aerth joined04:40
Peasley joined04:40
grepper hm, I don't know where to go from here with it then04:40
thiago nowhere04:40
madewokherd left04:40
thiago we've reached a conclusion04:40
maqr left04:40
grepper heh04:40
kadoban What is the tag, and why is it separate from master? What's on master?04:41
lvegerano left04:41
grepper everything but that one commit, unfortunately04:41
kadoban Perhaps you should merge it into master? (wild-ass guess)04:41
thiago you branched off master and then tagged it04:41
so the tag is not in master04:41
grepper which I made and tagged in branch04:41
yep04:41
thiago have you considered merging the branch back into master?04:41
grepper not the way I wanted it, but it was all new to me04:41
beautifulmind left04:42
grepper not sure how to do that, it will keep the same hashes and keep all my changes in master since then ?04:42
maqr joined04:42
jerematic joined04:43
thiago yes04:43
grepper then I can recreate the branch and the tag ?04:44
or I guess the branch will still be there...04:44
kadoban So will the tag04:44
thiago just merge04:44
grepper okay, so that is the solution then it seems04:44
thiago you can delete the branch after that04:44
ahr3n joined04:45
einmalfel joined04:45
grepper but the branch will still stop at the commit/tag, ie. it will be only one way?04:45
beautifulmind joined04:45
lfau left04:46
tristanp joined04:46
effi joined04:46
pm90_ joined04:47
bgerber left04:47
grepper sorry for all the dumb seeming questions, I learn by getting totally confused first, then sorting it out :P04:47
jerematic left04:47
CalrikAakiwa left04:49
skorgon left04:49
toothrot left04:50
Nizumzen left04:50
tristanp left04:50
bgerber joined04:50
Tommy[D]_ joined04:51
effi left04:51
ashu11 left04:51
ckruczek joined04:52
Consuela joined04:52
jambocomp joined04:52
gitinfo set mode: +v04:52
beautifulmind left04:53
beautifulmind joined04:54
Tommy[D] left04:55
metts left04:55
cbonobo left04:56
clarkpan left04:56
EminenceHC joined04:56
dreiss left04:57
tekbasse left04:57
uojks joined04:57
clarkpan joined04:57
devoldmx joined04:58
kadoban grepper: No need to apologize, didn't seem like a dumb question.04:58
uojks left04:58
aerth left04:59
grepper kadoban: so the answer is 'yes' ?04:59
devoldmx3 left04:59
aerth joined04:59
sjow joined04:59
kadoban grepper: Oh the last question? Uhm, I don't really understand what you're asking.04:59
grepper well, the branch was static and the last commit (and the tag) is the point of the 0.35.0 release05:00
kadoban grepper: Oh are you asking if merging branch 'blah' into 'master' will affect branch 'blah'? It won't, it only modifies 'master'05:00
grepper yep, cool thanks05:00
so just 'git merge tovid-0.35.0' ?05:01
EminenceHC left05:01
daito joined05:01
grepper (using the branch name)05:01
rchavik left05:01
kadoban Yep. You can actually merge tags commits, whatever. Make sure you're on 'master' first.05:01
grepper heh, yeah, going to make sure this time05:01
Noldorin left05:02
aerth left05:03
grepper hm, it doesn't like what I am trying to do, lots of conflicts. Some of those files have been removed in master since the release, or renamed/moved05:03
can I merge only that single commit ?05:04
aerth joined05:04
Polyatomic joined05:05
kadoban grepper: I think that's what you're doing now. If lots has happened on master since that commit, and the changes affect the same areas that the tagged commit does, conflicts are expected.05:06
!eek might help05:06
gitinfo [!eekaconflict] Merge conflicts are a natural part of collaboration. When facing one, *don't panic*. Read "How to resolve conflicts" in man git-merge and http://git-scm.com/book/ch3-2.html#Basic-Merge-Conflicts then carefully go through the conflicts. Picking one side verbatim is not always the right choice! A nice video explaining merge conflicts: https://www.youtube.com/watch?v=zz7NuSCH6II05:06
grepper okay, thanks05:07
jiku joined05:07
eletuchy joined05:08
pobivan joined05:08
ascarter joined05:08
anaran left05:08
Goopyo left05:09
eletuchy left05:13
pm90_ left05:13
MechtiIde joined05:14
dsdeiz left05:14
alokbeniwal left05:15
alokbeniwal joined05:16
grepper uf, I think this is too much work to do just to have 'git describe' do what I want. Going to do a 'git reset --hard'05:19
DuckMaestro_ joined05:19
grepper lesson learned, I'll know better next time I tag a release05:19
ottanta joined05:20
arnaud___ joined05:20
alokbeniwal left05:20
ropav_ joined05:20
ScottE left05:21
kossy left05:21
ivan_on_trac left05:21
rsvp left05:21
arnaud__ left05:21
hahuang61 left05:22
sandr8_ joined05:22
DuckMaestro left05:22
zacts left05:22
ropav left05:22
Lyqyd left05:22
zacts` joined05:22
gopar left05:22
nkouevda left05:22
sandr8 left05:22
hahuang65 left05:22
Joel__ joined05:22
JargonNode left05:22
kossy joined05:23
akushner left05:23
Joel__ left05:23
duderonomy left05:23
__main__ left05:23
tmoor left05:23
jonmorehouse left05:23
hahuang61 joined05:24
aerth left05:25
arnaud___ left05:25
ottanta left05:25
__main__ joined05:26
ascarter left05:27
ehmatthes joined05:27
aerth joined05:28
ScottE joined05:29
theme2 joined05:29
hahuang61 left05:29
Junior joined05:29
fahadash left05:30
akushner joined05:31
zacts` left05:31
dreiss joined05:31
ghostpl_ joined05:32
hahuang61 joined05:33
Raging_Hog joined05:33
a-l-e joined05:35
linoge joined05:36
michael_mbp left05:36
sjow left05:36
michael_mbp joined05:37
JargonNode joined05:37
KaZeR_ joined05:37
gopar joined05:37
linoge If I'm working on a topic branch but I do some minor changes in master, and I want those changes to appear in my topic branch, what is the best way to do it?05:37
checkout topic branch and merge with master?05:37
ghostpl_ left05:37
tzero left05:37
preaction rebase your topic branch, probably05:38
ashu11 joined05:38
kadoban linoge: If you want (new) stuff from master in your topic branch, you either rebase the topic, or you merge in master. It depends what you want history to look like. If you've published/shared 'topic', you probably want to lean more towards merge, otherwise it's up to you.05:38
harish left05:39
Seveas linoge: merge, cherry-pick or rebase, depending on your project's normal policy.05:39
otter768 joined05:39
kadoban Or cherry-pick, yeah05:39
preaction cherry-pick might end up badly if the topic will ever be merged back into master05:39
Uuo joined05:39
pantsman- joined05:39
Seveas not really05:39
linoge Mmm... I'll try with the rebasing, it's just I'm trying git (first time with a cvs) :)05:40
Seveas don't call git a cvs, that's an insult :)05:40
you probably mean vcs :)05:40
Uuo left05:40
linoge lol05:40
Right ;)05:41
aerth left05:41
hahuang61 left05:41
ManikM left05:41
Manny joined05:41
aerth joined05:41
Puaar joined05:42
Puaar left05:43
otter768 left05:43
clarkpan left05:44
fiu joined05:45
thebrush joined05:45
mkoskar left05:45
fiu left05:46
aauns joined05:47
Silmarilion joined05:47
cagedwisdom left05:48
ben____ left05:48
jakke joined05:48
twoface88 joined05:49
chiemseesurfer_ joined05:49
aerth left05:49
aerth joined05:50
lamppid joined05:51
johannes_ joined05:51
cagedwisdom joined05:52
ashu11 left05:52
cvanball joined05:53
stickperson joined05:54
twoface88 left05:54
tpollard left05:55
stickperson i created a branch and pushed some changes to that branch. after pushing, some changes from a separate branch (which did not change any of my branch’s files) were pushed into master. after making further changes in my branch, i can’t push to that branch any longer05:55
jonmorehouse joined05:55
stickperson because my branch is behind its remote counterpart05:56
thiago why not?05:56
harish joined05:56
thiago start over05:56
talk about one branch only05:56
stickperson sure05:56
thiago what have you done since the past push that succeeded to that branch?05:56
ronskisika joined05:56
tzero joined05:57
stickperson i had to make a couple additional changes, so i did (on the same branch)05:57
Raging_Hog left05:57
stickperson during that time05:57
thiago more commits?05:57
pantsman- left05:57
stickperson i made the changes and would like to commit and then push them05:57
make sense?05:57
thiago yes05:57
but what else have you done?05:57
stickperson cool05:57
thiago besides git add and git commit05:58
stickperson me personally, only git push origin mybranch05:58
but someone else was working on a separate part of the code05:58
linoge Hey, rebase was exactly what I was looking for thanks :)05:58
thiago so someone else pushed there?05:58
stickperson not there, no. someone else pushed to the master branch05:58
thiago but have they pushed to this branch?05:58
cvanball left05:58
stickperson nope05:59
thiago are you sure?05:59
stickperson yes05:59
devoldmx3 joined05:59
thiago ok05:59
so no one has pushed since you last pushed, correct?05:59
stickperson no one has pushed to this branch since i last did05:59
thiago are you sure you have not done git rebase or git reset?05:59
devoldmx left06:00
linoge left06:00
stickperson i don’t know what they are, so no i haven’t done them06:00
aerth left06:00
thiago ok06:00
so git push works06:00
stickperson somebody else (the project owner) added some stuff to the master branch06:00
git push isn’t working though06:00
thiago we're not talking about master06:00
stickperson right06:00
ok06:00
thiago you're pushing to this branch only06:00
so this push must work06:00
stickperson here’s the message: “Updates were rejected because the tip of your current branch is behind its remote counterpart”06:01
aerth joined06:01
stickperson which i don’t understand. only i pushed to that branch.06:01
lqi joined06:01
thiago so we conclude some part of your story is wrong06:02
either you've done a reset or rebase, or you or someone else pushed to that branch06:02
git fetch from the server and then do: git log ..origin/branchname06:02
does it print anything?06:03
MechtiIde left06:03
ashokrajar joined06:03
gopar left06:03
stickperson so just type “git fetch” when i’m on my branch?06:03
thiago yes06:04
jceb joined06:04
Zifre joined06:05
stickperson ok06:05
when i do “git log mybranch"06:05
cvanball joined06:05
thiago that's not what I asked06:05
stickperson oh, do “git log origin/mybranch"06:06
thiago no06:06
git log ..origin/branchname06:06
the .. is important06:06
stickperson oh, ok06:06
thiago do you see any commits?06:06
stickperson just the commit i did the other day06:06
aerth left06:07
thiago just the one?06:07
stickperson yup06:07
so06:07
thiago ok, now git log mybranch06:07
stickperson ok06:07
thiago do you see that commit somewhere?06:07
stickperson let’s see...06:07
aerth joined06:07
stickperson nope06:08
nnyk_ joined06:08
cromero left06:08
thiago stickperson: and it's your commit?06:09
eletuchy joined06:09
stickperson not following what you’re asking06:09
heroux left06:09
thiago you remember making that commit?06:09
stickperson the one that i got in “git log ..origin/mybranch”? yep, i remember making that commit06:10
thiago did you make it in another computer?06:10
stickperson nope06:11
twoface88 joined06:11
thiago well, you somehow pushed it but you don't have it in this commit06:11
sorry, in this branch06:11
can you think of a reason why that might be?06:11
heroux joined06:11
stickperson hm06:11
after pushing to my branch originally and then after making changes, i did a “git add file” then “git commit file”06:12
and then realized i wanted to change one more thing in the file06:12
kcj joined06:12
stickperson so i did “git reset --soft HEAD~1”06:12
then “git reset HEAD file"06:13
nnyk_ left06:13
Guest11351 left06:13
Guest11351 joined06:13
stickperson what if i do this..06:13
thiago 22:59 < thiago> are you sure you have not done git rebase or git reset?06:13
23:00 < stickperson> i don’t know what they are, so no i haven’t done them06:13
stickperson oh fuck me06:13
eddyp joined06:14
stickperson sorry06:14
Guest11351Cork06:14
thiago like I said, there was a problem with your story06:14
robarelli joined06:14
thiago do you want to discard this commit?06:14
the one that is in the remote but not in your local branch?06:14
stickperson the one in the remote branch is good06:15
i committed something locally but wanted to undo it06:15
thiago git pull --rebase then06:15
stickperson what does that do exactly?06:15
Ancchi joined06:16
thiago it does a git fetch, then git rebase06:16
the rebase will take all commits that aren't in the remote and will re-apply them on top of that remote06:16
on top of the new base ==> rebase06:16
aerth left06:16
aerth joined06:17
bronson joined06:17
stickperson ok, so let me make sure that’s what i want to do06:17
i pushed some stuff to my branch a couple days ago. that’s all fine and good.06:18
zivester left06:18
stickperson afterwards, i made a change to file1. i did “git add file1” “git commit -m …”06:18
then thought “crap, i actaully forgot to do something in file 1. “git reset —soft HEAD~1” “git reset HEAD file1”06:19
fahadash joined06:19
blr left06:19
stickperson so at the moment my changes in file1 are unstaged06:20
nnyk_ joined06:20
pwnz0r joined06:21
in3xes left06:21
sculley joined06:21
bronson left06:21
roelmonnens joined06:22
Errorical joined06:22
circ-user-jdqwJ left06:25
zacts joined06:25
alokbeniwal joined06:26
yvan1 left06:26
jagob joined06:27
acolson joined06:27
Asiajey left06:27
jceb left06:27
fahadash left06:28
fahadash joined06:28
fahadash left06:29
fahadash joined06:29
aerth left06:29
beautifulmind left06:30
PCatinean joined06:30
aerth joined06:30
alokbeniwal left06:31
jerematic joined06:31
Lingo___ joined06:32
effi joined06:32
in3xes joined06:33
noyb joined06:34
thierryp joined06:35
cbreak stickperson: you should have used git commit --amend06:35
way more convenient :)06:35
thierryp left06:35
rchavik joined06:35
aauns left06:35
stickperson cbreak: damnit, that looks so much nicer06:36
thierryp joined06:36
aerth left06:36
stickperson i just shouldn’t mess around when it comes to git06:36
subhojit777 left06:36
aerth joined06:36
jerematic left06:36
effi left06:37
settermjd joined06:37
pheaver left06:37
Eoo joined06:37
tomog999_ joined06:37
nfk joined06:38
mostlybadfly left06:38
Eoo left06:38
loz-- left06:38
vstoniest left06:39
netj left06:39
loz-- joined06:40
Alienpruts joined06:40
elementalest_dc joined06:40
netj joined06:40
tomog999 left06:40
noyb left06:40
vstoniest joined06:40
Qrror joined06:40
pingupingu left06:40
hebz0rl joined06:41
jstimm left06:41
Qrror left06:41
nilg joined06:41
jstimm joined06:42
sgen_ left06:42
johannes_ left06:43
elementalest_ left06:43
Guest50661 joined06:43
a-l-e left06:43
Goplat left06:44
EminenceHC joined06:45
lindenle joined06:45
Gizburdt joined06:45
zadock left06:46
nfk left06:46
hebz0rl left06:46
hebz0rl joined06:47
robarelli left06:48
luc_ left06:49
lindenle left06:49
ahr3n left06:49
EminenceHC left06:49
dprophit joined06:50
Zifre left06:50
subhojit777 joined06:51
vixterra joined06:52
thiago left06:53
kadoban left06:54
ashu11 joined06:55
aerth left06:56
Lingo___ left06:56
Lingo___ joined06:56
frox joined06:57
thevishy joined06:57
heroux left07:00
duderonomy joined07:00
aerth joined07:01
heroux joined07:02
JanC left07:04
ayaz joined07:04
bonswouar joined07:04
reaverb left07:06
gitinfo set mode: +v07:07
aerth left07:07
King_Hual joined07:07
King_Hual left07:07
King_Hual joined07:07
taruner joined07:08
sudshekhar left07:08
Gizburdt left07:08
aerth joined07:08
heroux left07:08
heroux joined07:09
diosmiux joined07:13
MattMaker left07:13
pm90_ joined07:14
devll left07:14
diosmiux left07:16
MasterPiece joined07:16
Tuna-Fish left07:17
diosmiux joined07:17
Gizburdt joined07:18
JanC joined07:18
King_Hual` joined07:20
basiclaser joined07:20
King_Hual left07:21
ErKa left07:21
ghostpl_ joined07:21
Adib joined07:21
aerth left07:22
daito left07:22
pm90_ left07:23
aerth joined07:23
dreiss left07:24
jaznow_ joined07:24
pwnz0r left07:25
pwnz0r joined07:25
Joel__ joined07:26
intellix joined07:26
blr joined07:26
heroux left07:26
Takle joined07:27
craigp joined07:28
Tuna-Fish joined07:28
nnyk_ left07:28
ghostpl_ left07:28
heroux joined07:28
Ancchi left07:29
evie_hammond left07:29
psoo joined07:29
pwnz0r left07:30
Balliad joined07:30
jrahmy joined07:31
harish left07:32
daito joined07:32
seschwar joined07:32
jerematic joined07:32
Sonicbit left07:33
Sonicbit joined07:33
jiku left07:34
subhojit777 left07:35
ki0 joined07:35
sCiphre joined07:35
lb1a joined07:36
unixpro1970 joined07:36
ctag left07:36
jiku joined07:36
hans_s joined07:36
jerematic left07:36
creep joined07:37
govg left07:38
bhldev left07:39
skylite joined07:39
bhldev joined07:39
otter768 joined07:39
lb1a left07:41
Manny left07:41
ManikM joined07:41
raven-au left07:41
Kartagis git update-index --assume-unchanged robots.txt .htaccess07:42
fatal: Unable to mark file robots.txt <--- why?07:42
potteratt joined07:44
otter768 left07:44
eddyp left07:45
Charlie_WONG_Sup left07:46
_ikke_ git ls-files07:46
Charlie_WONG_Sup joined07:46
_ikke_ does that return robots.txt?07:46
subhojit777 joined07:46
ome joined07:47
wrouesnel1 left07:48
Gama11 joined07:49
noname left07:49
Charlie_WONG_Sup left07:49
potteratt left07:49
Hounddog joined07:50
MattMaker joined07:50
PeterBooker joined07:50
ehmatthes left07:50
nnyk_ joined07:50
zadock joined07:51
MattMake_ joined07:52
Charlie_WONG_Sup joined07:52
DuckMaestro_ left07:52
ThomasLocke joined07:53
ashu11 left07:53
MattMaker left07:54
Kartagis _ikke_: nope. I removed it from .gitignore, and still same07:54
_ikke_ And did you git add it?07:55
craigp left07:55
Kartagis nope. I want to stop tracking it completely07:56
Seveas git rm --cached07:56
Kartagis Seveas: that also removed the file from the server I perform git pull07:56
_ikke_ yes, once07:56
Seveas well, yes.07:56
!deploy07:57
gitinfo Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html07:57
nowhere_man joined07:57
sparetire left07:57
_ikke_ Kartagis: but, if ls-files didn't return that file, it means the file wasn't tracked in the first place07:57
leeN joined07:57
Kartagis _ikke_: hrm07:57
_ikke_ (and assume unchanged has nothing to do with tracking or untracking a file)07:57
devoldmx joined07:57
Kartagis brb, meeting07:58
devoldmx3 left07:58
nowhere_man left07:59
mylord joined07:59
nowhere_man joined07:59
Takle left07:59
jiku left08:00
_5kg left08:02
effi joined08:03
pm90_ joined08:04
cvanball left08:04
stickperson left08:05
dprophit left08:05
aidalgol joined08:06
jiku joined08:06
Grimlock1 joined08:06
thierryp left08:07
neunon left08:08
effi left08:08
aerth left08:08
morois joined08:09
nour joined08:09
aerth joined08:09
marcogmonteiro joined08:10
Ancchi joined08:12
shinnya left08:12
pm90_ left08:12
Ancchi left08:13
jost joined08:14
aerth left08:15
zoso joined08:15
FreezingCold joined08:16
Takle joined08:18
shinnya joined08:18
unixpro1970 left08:18
bronson joined08:19
jargon joined08:19
howlymowly joined08:20
frox hey, i'm new to git. how can i pull a specific branch?08:21
iveqy frox: you can't08:21
frox: sorry, slipped on the keys08:21
grawity you can, sure, it's generally just not needed...08:21
iveqy frox: does man git pull help you?08:21
gitinfo frox: the git-pull manpage is available at http://jk.gs/git-pull.html08:21
grawity frox: try `git fetch && git checkout <somebranch>` if I guessed your question right08:21
aerth joined08:21
Agusanz left08:22
tristanp joined08:23
f3lp left08:23
bronson left08:24
nnyk_ left08:24
raven-au joined08:24
BlaXpirit joined08:25
frox if i want to pull the testing branch, i have to do: git pull origin testing, right?08:27
zarac left08:27
zarac joined08:27
tjm_jimm_ joined08:27
aerth left08:27
grawity what do you mean by 'pull' the branch, anyway?08:28
tristanp left08:28
grawity what result do you expect?08:28
alokbeniwal joined08:28
grawity I mean, it doesn't look like 'pull' means what you think it means08:28
aerth joined08:28
lb1a joined08:29
_ikke_ pull == fetch + merge, so it downloads the history for that branch, and merges it into the current branch08:29
maqr left08:31
ciampix joined08:31
slax0r left08:31
cllamas joined08:32
maqr joined08:32
frox +grawity: i like to have 3 folders. one, that holds the bare repository, one that represents the testing environment and one that represents the stable environment (web development). in the repository, there are 2 branches: testing and master. developers should commit to testing. if everything is fine, testing can be merged to master. thats is my plan.08:33
alokbeniwal left08:33
alokbeniwal joined08:33
joo-_ joined08:33
Guest50661 left08:33
jagob left08:33
settermjd left08:34
blr left08:34
jagob joined08:34
Charlie_WONG_Sup left08:34
teran left08:34
aerth left08:35
qgeh joined08:36
settermjd joined08:36
aerth joined08:36
jambocomp left08:36
Marc_C_ joined08:37
CustosL1m3n left08:37
Ancchi joined08:37
alokbeniwal left08:38
ghostpl_ joined08:38
fahadash left08:38
harish joined08:39
gitinfo set mode: +v08:40
Marc_C_ hi everyone, i try to use git clone a non interactive way but git ask me to check the fingerprint of my git server. But08:40
qgeh left08:40
Marc_C_ I try to use it with systemd so I can't use the knowhost file nor StrictHostKeyChecking no08:41
I ask systemd chat and they said it was a git issue08:41
martinbmadsen left08:41
Marc_C_ can someone help me ?08:41
Eipg joined08:42
aerth left08:42
Eipg left08:42
Gizburdt left08:43
s5s joined08:43
_ikke_ What version of git do you have?08:43
Igfc joined08:44
inamoriti joined08:44
s5s Hi guys, I used git rebase to update to lastest master. I stayed on my branch then did some more work and then did a git rebase. The new rebase asked me to redo the same merging that the first rebase asked me to do so I did a git pull which merged cleanly automatically. Now I want to commit to master. How can I do this without screwing everyone else?08:45
Marc_C_ GitLab 7.9.108:45
Igfc left08:45
_ikke_ git version, gitlab != git08:45
aidalgol left08:45
Marc_C_ oh sorry, git 2.0.408:46
uzpf joined08:46
tjm_jimm_ left08:46
Gizburdt joined08:46
lindenle joined08:47
ghostpl_ left08:47
echo-area left08:47
uzpf left08:47
ktosiek left08:47
echo-area joined08:48
grawity Marc_C_: you can still use known_hosts with systemd...08:48
aerth joined08:48
grawity I mean, what's stopping you from doing so08:48
dvdq joined08:48
grawity frox: so really you're looking for "git checkout testing" then08:49
nilg left08:49
echo-area left08:49
pm90_ joined08:49
Marc_C_ grawity, how can I do that ? where do I put the knownhosts file ?08:50
grawity ssh always looks in the same place, $HOME/.ssh/known_hosts08:50
ktosiek joined08:50
grawity or, if you want, /etc/ssh/ssh_known_hosts for system-wide ones08:50
BlaXpirit-UA joined08:50
lindenle left08:51
yvan1 joined08:51
Marc_C_ so if I use systemd I must place it in /etc/ssh/ssh_known_hosts because systemd doesn't have $HOME, I will try it thank you08:52
nilg joined08:52
grawity users have $HOME; if the service has User=marc, it will have marc's $HOME08:53
BlaXpirit left08:53
Sleepy63 left08:53
frox i have had problem with git push to. after compressing ne next process stops at about 7% and says "error: index-pack died of signal 9" some threads in forums says, it is an issue of memory so i looked at meminfo:08:55
$ cat /proc/meminfo08:55
MemTotal: 16155788 kB08:55
MemFree: 158504 kB08:55
Cached: 9416636 kB08:55
morois left08:56
cbreak Marc_C_: systemd doesn't matter08:56
frox i wondered, why memfree isso low and asked my provider. he sayed, tha cached shows the memory and memfree can bee ignored. that sounds strange to me08:56
wrouesnel1 joined08:56
cbreak Marc_C_: known_hosts is for clients08:56
devoldmx left08:56
devoldmx joined08:56
frox memfree is that low all the time08:56
Oebele joined08:57
hmsimha left08:57
skullcrasher joined08:57
morois joined08:58
cbreak frox: free memory is wasted memory08:58
modern operating systems, like Mac OS X, will not let too much free memory go to waste08:58
they will be used for file system caches and so on08:58
mikiones joined08:59
frox cbreak, oh yes, that makes sense.08:59
Adib left08:59
ZJvandeWeg joined09:00
Pr0Wolf29 joined09:01
ashu11 joined09:02
thierryp joined09:02
aerth left09:02
wrouesnel1 left09:03
Akagi201_ left09:04
Akagi201 joined09:04
Takle left09:05
morois left09:06
petersr joined09:06
frox 15 minutes ago i moved a magento-folder to the development repo an called git add * . i'm still waiting for that. is this the noraml behavior?09:06
ohcibi frox: add is the operation that takes the most time09:06
i dont know if 15 minutes is appropriate actually but if you have MANY files, add can take quite a while09:07
cdown joined09:07
ohcibi (if they didnt improved that in the last 4 years 8-))09:07
frox ohcibi. ah ok. there are about 25000 files in that folder09:07
CustosL1m3n joined09:08
ohcibi heh09:08
cbreak that shouldn't take too long09:08
or are those big files?09:08
aerth joined09:08
ohcibi frox: again, i dont know if 15 minutes is appropriate then, its just said that it'll take longer to add those files than to e.g. checkout em09:08
frox cbreak: $ du -hs09:09
3.9G09:09
cbreak frox: yeah, that's going to take ages09:09
Seikho_ left09:10
cbreak probably not a good idea to put stuff like that into git09:10
ohcibi frox: what are those files actually?09:10
Adib joined09:10
frox ohcibi: it is a magento shop09:10
abrrs left09:11
ohcibi whats uses 3,9G in a shop that should be versioned?09:11
Akagi201_ joined09:11
osse ohcibi: King Kong rendering09:12
MLM left09:13
frox ohcibi i think the log files...i should put them into .gitignore, than there are images09:13
z8z left09:14
Akagi201 left09:14
wrouesnel1 joined09:15
ohcibi frox: you shouldnt version control logfiles... if those images are the assets of the shopitems, then you should simply backup and not scm them09:15
frox ohcibi, yes aou are right. is it possible to git pull into a folde, where other date is located?09:16
Gizburdt left09:16
aerth left09:16
TomyLobo joined09:17
ohcibi I assume you mean clone instead of pull, and no its not, if a directory exists and is not empty, git won't clone into that directory09:17
telling you it wont clone because the directory exist and is not empty09:17
morois joined09:17
LikiLiki joined09:17
petersr left09:17
frox ohcibi lcone will create a new folder. when done, can i write some more data to tha new folder which will be ignored by git?09:18
bernalex joined09:18
frox lcone=clone09:18
tvw joined09:19
cbreak sure09:19
Tennis joined09:19
aerth joined09:19
ohcibi not sure what you mean, but you can add new stuff to .gitignore after you have cloned a repository.. git won't ignore files that are already tracked though09:19
frox for example whe i dont call git add * in that folder09:19
cbreak frox: if that other data is in .gitignore or similar09:19
JR___ joined09:19
bernalex left09:19
bernalex joined09:19
KamalKaur joined09:20
LikiLiki left09:20
jerematic joined09:21
Vigmo joined09:21
LikiLiki joined09:21
aswen joined09:23
frox in the magento-folder, there are just 3 subfolders, that should be versioned, but the other folders and files are needed to run the application. does that meen, i had to put alle the other files and folders to .gitignore?09:24
JR___ left09:24
Lingo___ left09:24
cbreak sure.09:24
* to ignore everything09:24
!foo to unignore foo09:24
gitinfo bar09:24
Lingo___ joined09:24
frox ok09:24
encod3 joined09:25
jerematic left09:25
nnyk_ joined09:25
aerth left09:26
smccully joined09:26
twoface88 left09:27
aerth joined09:27
ghostpl_ joined09:27
cvanball joined09:27
jstimm left09:28
cdown left09:29
s8321414 joined09:29
pm90_ left09:30
cdown joined09:30
_ikke_ lol09:30
wrouesnel1 left09:31
KamalKaur left09:33
aerth left09:34
ag4ve left09:34
Takle joined09:36
cdown left09:39
jonmorehouse left09:39
frox to unignore a folder in .gitignore, do i have to write !foo/* or just !foo09:40
gitinfo bar09:40
daftano left09:40
otter768 joined09:40
Joel__ left09:40
ManikM left09:41
ManikM joined09:41
jrahmy left09:41
daftano joined09:43
KEN_403 left09:44
pm90_ joined09:44
aerth joined09:45
Adib left09:45
otter768 left09:45
joki left09:47
lindenle joined09:48
Vigmo left09:48
effi joined09:49
Gizburdt joined09:50
teran joined09:50
tokik left09:51
ashu11 left09:51
tokik joined09:52
aerth left09:52
lindenle left09:52
dvdq left09:52
joki joined09:53
Adib joined09:54
effi left09:54
teran_ joined09:54
pyokagan joined09:55
ManikM left09:56
devoldmx left09:56
devoldmx joined09:56
devoldmx left09:56
devoldmx joined09:56
teran left09:57
Dzt joined09:58
Dzt left09:58
aerth joined09:59
senkin left09:59
Opmn joined10:00
theme2 left10:00
Opmn left10:00
FreezingCold left10:01
ArchRogem joined10:02
jagob left10:02
lxu joined10:03
lxu left10:03
Zumnw joined10:05
Zumnw left10:05
acolson left10:05
acolson joined10:05
Sghkc joined10:06
meaneye joined10:06
jagob joined10:07
Sghkc left10:07
ashu11 joined10:07
Gitzilla left10:07
aerth left10:07
wvxu joined10:08
aerth joined10:08
wvxu left10:09
LikiLiki left10:10
Tioes joined10:11
Tioes left10:12
Qitt joined10:13
Qitt left10:13
govg joined10:14
Lancien joined10:14
aerth left10:14
Vigmo joined10:14
ckruczek2 joined10:15
Hrj joined10:15
gitinfo set mode: +v10:15
aerth joined10:15
endiruna joined10:15
Gizburdt left10:15
LikiLiki joined10:16
Vigmo left10:19
groton joined10:19
aerth left10:20
aerth joined10:20
keksike- left10:20
bronson joined10:21
NetStorm joined10:21
NetStorm left10:21
eletuchy left10:21
liamkeily joined10:21
eletuchy joined10:22
pm90_ left10:22
EminenceHC joined10:22
daito left10:23
Dragooon joined10:23
effi joined10:24
hs366 joined10:25
Lancien left10:25
bronson left10:26
eletuchy_ joined10:26
eletuchy left10:27
EminenceHC left10:27
aerth left10:27
goldstar_ joined10:28
lucianangelus joined10:28
devll joined10:28
paulweb515 left10:28
bluesm joined10:29
_1_vikas joined10:29
Kronuz left10:30
sdothum joined10:30
Dragooon left10:31
Arsonide left10:31
ome left10:33
kcj left10:34
aswen left10:35
settermjd left10:38
devll left10:38
fabio_p joined10:38
misha_hell joined10:39
Gizburdt joined10:39
Kicer86 joined10:40
GT joined10:40
settermjd joined10:42
cvanball left10:43
raven-au_ joined10:43
aerth joined10:44
raven-au left10:45
raven-au_raven-au10:45
iamjarvo joined10:46
eletuchy_ left10:47
eletuchy joined10:47
jost left10:47
taruner left10:48
lindenle joined10:48
metastableb left10:49
alokbeniwal joined10:51
eletuchy left10:52
lindenle left10:53
Adib left10:53
z8z joined10:54
aerth left10:54
aerth joined10:55
arup_r joined10:56
Walex left10:57
cagedwisdom left10:58
asflex left10:58
seschwar left10:58
seschwar joined10:58
joo-_ left10:58
Walex joined10:58
Vile left10:59
cagedwisdom joined10:59
mojibake joined10:59
BuenGenio joined11:00
goldstar_ left11:01
tzero left11:01
twoface88 joined11:01
mizu_no_oto joined11:01
stamina joined11:02
_1_vikas left11:03
thevishy left11:03
ePax joined11:04
evie_hammond joined11:04
yqt joined11:06
cdown joined11:07
liamkeily left11:08
tzero joined11:09
misha_hell left11:09
jerematic joined11:10
misha_hell joined11:11
BuenGenio left11:12
Adib joined11:12
Hrj left11:14
gitinfo set mode: +v11:14
jerematic left11:14
ashokrajar left11:14
Uoi joined11:15
ashokrajar joined11:15
Uoi left11:16
thevishy joined11:16
groton left11:16
Juzzika joined11:16
frox can someone help me to interprete that?11:16
$ git clone ../repository/ b11:16
Cloning into 'b'...11:16
done.11:16
warning: remote HEAD refers to nonexistent ref, unable to checkout.11:16
rnsanchez joined11:16
Hrk joined11:17
SimonNa joined11:17
Takle left11:17
Walex left11:17
Hrk left11:18
Ancchi left11:18
Takle joined11:18
Walex joined11:18
wwxu joined11:19
tobiasvl what's the default branch in the repo?11:19
frox tobiasvl i think it is master.11:19
wwxu left11:20
frox tobiasvl i just init a bare repo there and commit some data to a testing branch11:20
tobiasvl ok, and HEAD in the bare repo points to what?11:21
Ranai joined11:21
BuenGenio joined11:21
bronson joined11:22
threedot joined11:22
aerth left11:23
d10n-work joined11:24
anaran joined11:24
achadwick joined11:24
aerth joined11:24
tobiasvl when cloning a bare repo, the clone attempts to checkout what HEAD points to in the bare11:24
mezod joined11:25
bronson left11:26
crestbook joined11:27
joo-_ joined11:28
zoso left11:28
GinoMan left11:28
jstimm joined11:29
bumbar_ left11:29
dsdeiz joined11:29
Lunatrius` joined11:30
mingwandroid joined11:30
Lunatrius left11:30
aerth left11:31
Polyatomic left11:31
Lunatrius`Lunatrius11:31
frox tobiasvl $ cat ../repository/HEAD11:31
ref: refs/heads/master11:31
Ephexeve joined11:32
Ephexeve Hey guys, I have two remotes, one pointing to Github and another one pointing to Gitlab. I have some files that I don't want to commit to github, though, I do fully want in Gitlab (since it's private.)11:33
skylite_ joined11:33
Ephexeve Is there a way I can commit to one, but not to other?11:34
mgedmin not really11:34
ABarroso joined11:35
ABarroso left11:35
abarroso joined11:35
mgedmin one way of approaching this would be to create a separate private gitlab repo containing just those files11:35
and check it out in a subdirectory, that's .gitignored in your github repo11:35
ashu11 left11:35
effi left11:35
cllamas left11:35
skylite left11:36
Errorical left11:37
cdown_ joined11:37
Ephexeve mgedmin: Hmm, but I think this is an ugly approach, right? Better just keep two different repo and that's that11:37
am I right?11:37
CheckDavid joined11:37
iamjarvo left11:37
mgedmin I've no idea what your use-case is11:37
Ephexeve mgedmin: dotfiles11:38
mgedmin ah11:38
martinbmadsen joined11:38
mgedmin hm11:38
effi joined11:39
rcn joined11:39
mgedmin how about: two separate dotfile repos, one public, one private; both checked out somewhere (~/dotfiles, ~/private-dotfiles), with symlinks pointing to individual dotfiles from wherever they are11:39
cdown left11:39
FreezingCold joined11:39
Ephexeve mgedmin: Yup, sounds better than my aproach. Nice, thanks buddy11:40
BuenGenio left11:40
mgedmin I currently have only public dotfiles, but I use the symlink scheme11:40
omario joined11:40
mgedmin my ~/dotfiles/install.sh is very careful about not overwriting dotfiles I may have modified locally: https://github.com/mgedmin/dotfiles/blob/master/install.sh11:41
Ephexeve mgedmin: Yeah, thought I have some files with GPG keys, passwords, and others :(11:41
let me see11:41
Ah11:41
otter768 joined11:41
Ephexeve but for keeping track of symlinks and mods, I am using mackup, familiar with it?11:41
mgedmin no11:41
mgedmin googles11:41
Ephexeve https://github.com/lra/mackup11:42
mgedmin: ^11:42
It's nice, easier and really not painfull at all11:42
if you need custom config, create some new config, and use it. Good stuff11:42
bitkiller joined11:42
omario left11:42
freestyl3r joined11:43
mgedmin sounds nice!11:43
Lingo___ left11:43
Ephexeve Yeah11:43
Lingo___ joined11:43
Ephexeve I've been using it for a few months now, no regrets11:43
martinbmadsen left11:43
threedot left11:45
otter768 left11:46
iamjarvo joined11:47
aerth joined11:48
Lingo___ left11:48
threedot joined11:48
cavallari joined11:48
Ranai left11:48
lindenle joined11:49
aswen joined11:49
Zez joined11:50
Zez left11:50
Caroi joined11:51
mostlybadfly joined11:52
aerth left11:52
Vigmo joined11:52
ValicekB left11:53
aerth joined11:53
Vile joined11:53
lindenle left11:54
IIT left11:54
Uiaku joined11:54
Zifre joined11:55
Uiaku left11:55
richarddoyle joined11:55
Ephexeve left11:56
richarddoyle left11:56
misha_hell left11:56
IIT joined11:57
ckruczek2 left11:57
Hxtu joined11:57
richarddoyle joined11:57
richarddoyle left11:57
devoldmx left11:57
devoldmx joined11:57
iamjarvo left11:57
Caroi left11:58
Takle left11:58
fstd left11:59
Takle joined11:59
fstd joined11:59
Akagi201_ left11:59
hs366 is it important which branch i should checkout before running git mergetool ?11:59
richarddoyle joined12:00
richarddoyle left12:00
Akagi201 joined12:00
ronskisika left12:00
SIGKILLer left12:00
Segfault_ joined12:01
tristanp joined12:01
joetam joined12:01
Akagi201_ joined12:01
bremner hs366: normally you run mergetool in the middle of a conflicted merge12:02
hs366 ok12:02
ronskisika joined12:02
Tennis left12:02
hs366 thx i'll try it12:02
Adib left12:03
nikio__ joined12:04
alokbeniwal left12:04
aerth left12:05
Vigmo left12:05
Akagi201 left12:05
aerth joined12:06
tristanp left12:06
cdown_ left12:06
Kartagis what do I do if I want git to stop tracking a file?12:07
tobiasvl Kartagis: !untrack12:07
gitinfo Kartagis: To remove a file from git's tracking, without deleting it from your working tree, `git rm --cached <file>`. Note that any repo which pulls this change will delete their local copy of that file. You can "bring it back" using `git checkout HEAD@{1} file` immediately after pulling / merging12:07
cdown joined12:07
CodeBot3000 joined12:08
jaznow_ left12:08
nikio_ left12:08
Kartagis tobiasvl: oh, after I do git checkout HEAD@{1} file, it will not be deleted again, right?12:08
even if I pull12:08
Vgr joined12:08
Dorf joined12:09
ronskisika left12:09
alokbeniwal joined12:09
tobiasvl correct. git will tell you in status that it's not tracked. you can then ignore it if you want12:09
Kartagis okay, thanks12:10
aerth left12:10
jerematic joined12:10
Lancien joined12:11
EminenceHC joined12:12
jagob left12:12
jagob joined12:12
nikio___ joined12:13
tier joined12:13
jerematic left12:15
acolson left12:16
nikio__ left12:16
EminenceHC left12:16
yqt left12:16
_1_Matureguy joined12:17
BombStrike left12:17
alokbeniwal left12:17
ValicekB joined12:17
richarddoyle joined12:17
StuartMI joined12:17
alokbeniwal joined12:17
Gizburdt left12:18
acolson joined12:19
KaZeR_ left12:19
paulweb515 joined12:19
BtbN left12:20
sonOfRa left12:20
BtbN joined12:20
_1_Matureguy left12:20
sonOfRa joined12:20
hs366 in git diff <<<<HEAD is latest changes ?12:21
alokbeniwal left12:22
hs366 i mean is there any definition for this symbols12:22
bronson joined12:23
Marc_C_ left12:23
boblee joined12:23
mgedmin HEAD refers to the currently checked out branch12:23
richarddoyle left12:23
boblee left12:24
boblee joined12:24
mgedmin <<<<< looks like a conflict marker to me12:24
paulweb515 left12:24
tobiasvl !eek12:24
gitinfo [!eekaconflict] Merge conflicts are a natural part of collaboration. When facing one, *don't panic*. Read "How to resolve conflicts" in man git-merge and http://git-scm.com/book/ch3-2.html#Basic-Merge-Conflicts then carefully go through the conflicts. Picking one side verbatim is not always the right choice! A nice video explaining merge conflicts: https://www.youtube.com/watch?v=zz7NuSCH6II12:24
mgedmin git diff doesn't add those; git merge writes them to the files in the working tree when it gets a merge conflict12:24
tobiasvl the first link explains conflict markers12:24
d0nkeyBOB joined12:24
moparisthebest left12:24
Peasley left12:25
berz3rk joined12:26
Peasley joined12:26
hs366 mgedmin, thx alot12:27
bronson left12:27
hs366 tobiasvl, thx12:27
_Cyclone_ joined12:28
hs366 when i get mergeconflict . should i fix the conflict at that stage or git rebase --abort then fix the conflict ?12:28
mgedmin fix it at that stage12:28
Gizburdt joined12:28
canton7 if you abort, you won't have a conflict any more ;12:28
* ;)12:29
hs366 git branch => *(no branch, rebasing mybranchname)12:29
Guest61386 left12:29
hs366 ok i think i understand the concept12:29
mgedmin that just means you're in the middle of a git rebase12:29
everything's paused now until you resolve the conflict12:30
(or decide to abort)12:30
hs366 then when i fix the conflict , i should git add, git commit and git rebase --continue12:30
yes12:30
?12:30
threedot left12:30
ronskisika joined12:31
smccully left12:31
Guest61456 left12:32
Guest61456 joined12:32
neunon joined12:32
moparisthebest joined12:33
GT left12:34
metastableb joined12:34
gv joined12:34
gvGuest3045312:34
D-Boy left12:34
ruby_on_tails joined12:37
ruby_on_tails how can i check for a commit based on a specific line of code which was added months ago?12:37
mellernoia joined12:37
opdavies joined12:37
osse ruby_on_tails: git blame thatfile.cpp12:38
Adib joined12:38
Walex left12:38
D-Boy joined12:39
paulweb515 joined12:39
ruby_on_tails osse: very weird kind of an output i see12:39
osse ruby_on_tails: commits on the left. lines of the file on the right12:40
govg left12:40
Walex joined12:40
Gizburdt left12:40
canton7 finds 'git gui blame' clearer12:40
ruby_on_tails canton7: git: 'gui' is not a git command. See 'git --help'.12:41
canton7 probably not installed by default by your distro's 'git' package12:41
find 'git-gui' or similar12:41
ruby_on_tails hmm12:41
i use gitk12:41
Guest61456guyz12:41
osse ruby_on_tails: find the line of the file you're looking for. the SHA of that commit is to the left on that line.12:42
canton7 gitk might be separate?12:42
drathir git gui need installed somethin in os to workin...12:42
canton7 "in os"?12:42
tachoknight_tachoknight12:42
drathir in operating system12:42
canton7 why would git gui need os support?12:42
rchavik left12:43
jtrag joined12:43
osse mouse, keyboard, disk IO12:43
canton7 apart from those :P12:43
osse display :P12:44
Hxtu left12:45
nisseni joined12:46
toothrot joined12:46
ome joined12:47
heroux left12:47
nisseni Me and a co-worker are having a problem with sass and git. When committing it says something about a "No new line at the end of the file" and something about merging... Anyone experienced this?12:48
osse nisseni: "No new line at the end of the file" is just for you information. doesn't matter12:48
cagedwisdom left12:48
nisseni Ok, but what should I set when it wants to merge?12:49
How do I resolve the merge, rather...12:49
heroux joined12:49
osse !conflict12:49
gitinfo [!eekaconflict] Merge conflicts are a natural part of collaboration. When facing one, *don't panic*. Read "How to resolve conflicts" in man git-merge and http://git-scm.com/book/ch3-2.html#Basic-Merge-Conflicts then carefully go through the conflicts. Picking one side verbatim is not always the right choice! A nice video explaining merge conflicts: https://www.youtube.com/watch?v=zz7NuSCH6II12:49
Asiajey joined12:49
Nikhil_D left12:49
neunon left12:50
lindenle joined12:50
Nikhil_D joined12:50
neunon joined12:51
mgedmin pedantically, all text files on Unix systems are supposed to have trailing newlines12:51
if they don't fix your editor so it adds one12:51
ruby_on_tails left12:51
mgedmin or add a blank line at the end of the file by hand12:51
astrofog joined12:51
KennyRayFL left12:52
Gizburdt joined12:53
Oebele left12:53
astrofog left12:54
jerius joined12:54
daftano left12:54
Guest30453 left12:54
sahil1 joined12:55
Gizburdt left12:55
lindenle left12:55
gv_ joined12:55
groton joined12:56
devoldmx left12:56
govg joined12:56
devoldmx joined12:56
ValicekB left12:57
knownasilya joined12:57
iamjarvo joined12:59
jerius left13:00
mizu_no_oto left13:01
fabio_p left13:02
jayeshsolanki joined13:02
jerius joined13:02
bluesm left13:03
Ragnar_ joined13:03
jerematic joined13:03
ropav_ left13:04
Takle left13:04
ropav joined13:04
zivester joined13:04
Gizburdt joined13:05
KennyRayFL joined13:06
mkoskar joined13:08
moritz how can I get a list of all files in a tree in a bare repo?13:08
Takle joined13:09
Granitosaurus joined13:09
lb1a moritz, git ls-tree ?13:09
iamjarvo left13:09
osse s/\?$/./13:09
_ikke_ git ls-tree HEAD13:09
macabre joined13:09
Granitosaurus I've forked a repo on github and would like to pull original repo updated contents into my fork, how do I do that?13:09
tobiasvl Granitosaurus: !sync13:10
gitinfo Granitosaurus: [!fork_sync] You can read a nice guide on how to update your fork with the upstream repository here: https://help.github.com/articles/syncing-a-fork13:10
moritz thanks lb1a, osse, _ikke_13:10
Granitosaurus thanks guys !13:10
Gizburdt left13:10
lb1a moritz, perhaps with --full-tree13:10
for subfolders13:10
moritz lb1a: I used -r13:11
Agusanz joined13:11
Agusanz left13:11
Agusanz joined13:11
zenith_ joined13:11
Agusanz left13:14
Tennis joined13:14
livingstn joined13:14
livingstn left13:14
livingstn joined13:15
stamina left13:15
ghostpl_ left13:15
jerius left13:15
hcc23 joined13:16
moritz <rant>some idiot cow-orker created a repo that is 2GB in bare form, full of binary debian packages and tar balls</rant>13:16
rnat joined13:17
PerlJam moritz: come on now, that's perfectly fine ... if you're never going to commit to the repo again. ;)13:18
moritz PerlJam: I'm writing a tool that crawls through our repos in order to find which versions of which software we have in there13:19
PerlJam: and stumbling over a 2GB repo in that process is no fun13:20
crestbook seen a repo with 3gb worth of pdfs and video files bundled with code, awesome stuff.. "allright, I'll just clone the repo.. oh.. this is slow.."13:20
bernalex left13:21
moritz PerlJam: and that repo hasn't been touched for 3 years; it's likely that we can simply dispose of it13:21
qsuscs i’ve seen a repo with the source for android, ios, posix, windows and what you imagine, alongside binaries13:21
crestbook runs off to buy ifoundthisrepo.com13:22
PerlJam moritz: see?!? it's all good. You discovered something you can improve by throwing things away13:22
PerlJam is having a glass-half-full day today13:22
toothrot left13:22
KennyRay_ joined13:22
LikiLiki left13:23
bremner so far.13:23
subhojit777 left13:23
moritz :-)13:23
bronson joined13:24
lvegerano joined13:24
KennyRayFL left13:24
PerlJam bremner: you are clearly wise :)13:24
ErKa joined13:25
bannakaffalatta left13:26
Ugjk joined13:26
jerius joined13:26
jtragjtrag[Away]13:26
Adib left13:26
jaznow_ joined13:26
bannakaffalatta joined13:26
cjwilburn joined13:26
Ugjk left13:27
mdhopkins joined13:27
crestbook left13:28
bronson left13:28
mtakkman joined13:29
cxee joined13:29
jwhisnant joined13:30
govg left13:30
bannakaffalatta left13:31
Takle left13:31
cxee left13:31
denete joined13:32
denete left13:32
jakke left13:32
tristanp joined13:32
KennyRay_ left13:32
Wteal joined13:33
skylite joined13:33
JDHawke joined13:33
Goopyo joined13:34
KennyRayFL joined13:34
Wteal left13:34
Gizburdt joined13:36
skylite_ left13:36
KennyRayFL left13:37
Esri joined13:37
sbogg joined13:37
pretodor joined13:38
lvegerano left13:38
KennyRayFL joined13:38
Gizburdt left13:38
Gizburdt_ joined13:38
BuenGenio joined13:38
Esri left13:39
denete joined13:39
zly joined13:39
zly left13:40
d0nkeyBOB left13:40
goldstar left13:40
goldstar joined13:40
yqt joined13:40
ashu11 joined13:40
Takle joined13:41
doizq joined13:41
venmx left13:41
sagittarian|2 joined13:42
IrishPrime joined13:42
otter768 joined13:42
fabio_p joined13:42
pretodor left13:43
ehynds joined13:46
groton_ joined13:46
Dragooon joined13:46
Es0teric joined13:47
Gamecubic joined13:47
otter768 left13:47
Raging_Hog joined13:48
groton left13:48
groton_groton13:48
Adib joined13:48
sgen_ joined13:48
ronskisika left13:48
mekhami joined13:49
CussBot left13:49
Dougie187 joined13:49
CussBot joined13:49
lindenle joined13:50
ghostpl_ joined13:51
ckruczek2 joined13:51
BuenGenio left13:51
lindenle left13:51
erichf left13:52
thebrush left13:53
joo-_ left13:53
erichf joined13:53
joo-_ joined13:53
tnkhanh joined13:54
joo-_ left13:55
Agusanz joined13:56
Agusanz left13:56
Agusanz joined13:56
Spacew00t joined13:56
Walex left13:57
joo-_ joined13:57
ckruczek2 left13:57
mp4 left13:57
Consuela left13:57
Walex joined13:57
settermjd left13:57
AaronMT joined13:58
s8321414 left13:58
pm90_ joined14:00
EminenceHC joined14:00
pm90_ left14:02
Zamyatin joined14:02
pm90_ joined14:02
Es0teric left14:04
Es0teric joined14:04
EminenceHC left14:05
morois left14:05
ReScO left14:05
ReScO joined14:06
tmager joined14:09
tmager left14:10
doizq left14:12
tanjia joined14:14
steele joined14:15
jstimm left14:15
Susq joined14:15
Susq left14:16
zivester left14:16
arup_r left14:16
sbogg left14:16
chiemseesurfer_ left14:17
Acidnerd joined14:18
tanjia left14:18
_Atom_ joined14:19
mquin_ joined14:19
GinoMan joined14:22
highcup joined14:22
mquin left14:22
Henryabcd joined14:23
aswen left14:23
teufelChiCoder joined14:24
Walex left14:24
bronson joined14:25
gargola left14:26
Walex joined14:26
ignas joined14:26
msonntag left14:27
editshare-ericf joined14:28
ghostpl_ left14:28
hebz0rl left14:29
ghostpl_ joined14:29
stickperson joined14:29
msonntag joined14:29
cbonobo joined14:29
bronson left14:29
vmiklos left14:29
sarri left14:29
cbonobo left14:29
cbonobo joined14:30
sarri joined14:31
settermjd joined14:31
Neozonz|Disc joined14:31
Neozonz|Disc left14:31
Neozonz|Disc joined14:31
aswen joined14:32
GoddeR joined14:33
Ancchi joined14:34
bsanford left14:34
Arsonide joined14:34
skorgon joined14:34
skorgon left14:34
skorgon joined14:34
ghostpl_ left14:34
skul left14:35
scientes joined14:35
scientes left14:35
scientes joined14:35
ghostpl_ joined14:35
tmager joined14:36
m0viefreak joined14:36
tmager left14:36
mizu_no_oto joined14:36
tmager joined14:37
ghostpl_ left14:37
ascarter joined14:37
aswen left14:38
devoldmx3 joined14:38
ghostpl_ joined14:38
chitopunk joined14:38
cmoneylulz left14:38
cmoneylulz joined14:38
devoldmx left14:39
devoldmx27 joined14:39
Goopyo left14:39
msonntag left14:40
bernalex joined14:40
Gizburdt_ left14:41
mizu_no_oto left14:41
BuenGenio joined14:41
ghostpl_ left14:41
skul joined14:42
vmiklos joined14:42
Adib left14:42
msonntag joined14:43
devoldmx3 left14:43
nezZario joined14:43
ghostpl_ joined14:43
cpt_yossarian left14:43
zenith_ left14:43
Lovich joined14:43
nfk joined14:44
_Atom_ left14:44
mizu_no_oto joined14:45
mquin_ left14:45
im8bit joined14:45
mquin joined14:46
gargola joined14:46
ayaz left14:46
Gizburdt joined14:46
_Atom_ joined14:46
jagob left14:47
devoldmx joined14:47
fg3 joined14:48
hmsimha joined14:49
devoldmx27 left14:49
MasterPiece left14:50
joo-_ left14:50
xolubi joined14:52
chiemseesurfer_ joined14:52
dvaske joined14:52
lindenle joined14:52
bsanford joined14:52
tmager left14:53
dsdeiz left14:54
ashu11 left14:55
BuenGenio left14:55
zenith_ joined14:55
tak30 joined14:55
ascarter left14:55
EminenceHC joined14:56
thedodd joined14:56
frostyfrog left14:56
groton left14:56
tak30 left14:56
lindenle left14:57
_1_Qutaiba joined14:57
zackiv31 joined14:57
subhojit777 joined14:57
_Atom_ left14:57
Gizburdt left14:58
Goopyo joined14:59
_1_Qutaiba left14:59
OutofControl left15:00
chiemseesurfer_ left15:00
dreiss joined15:00
Gizburdt joined15:00
Silmarilion left15:01
pheaver joined15:01
creep left15:01
devoldmx left15:01
Hestil joined15:01
jagob joined15:01
stickperson left15:02
zadock left15:02
govg joined15:02
Amandil joined15:02
shinnya left15:02
acolson left15:03
oakdog8 joined15:03
relipse joined15:03
Gizburdt left15:03
iamjarvo joined15:03
Gizburdt joined15:04
z8z left15:04
dvaske left15:06
Bootinbull joined15:06
roelmonnens left15:06
oojacoboo joined15:06
jargon left15:06
msonntag left15:08
rcn_ joined15:09
FreezingCold left15:09
bb010g joined15:09
pyokagan left15:09
Gizburdt left15:10
crose left15:10
crose joined15:10
canton7 heh, http://dir.gmane.org/gmane.comp.version-control.git is failing badly15:10
smccully joined15:11
Charlie_WONG_Sup joined15:11
ashu11 joined15:11
FreezingCold joined15:12
rcn left15:12
chiemseesurfer_ joined15:13
aartist joined15:13
iveqy canton7: infinit loop! :D15:13
Briman|offBriman15:13
Hestil left15:14
Ancchi left15:14
rkazak_ left15:14
lsiv568 joined15:14
dougsland joined15:15
Alienpruts left15:15
Amandil left15:16
JargonNode left15:17
yvan1 left15:17
Goopyo left15:17
Amandil joined15:17
qsuscs > PHP15:18
Gizburdt joined15:18
mr-kyd joined15:19
Amandil left15:19
_Atom_ joined15:19
hs366 left15:20
skorgon left15:20
nisseni left15:20
Amandil joined15:20
rnat left15:22
MLM joined15:22
chiemseesurfer_ left15:22
JargonNode joined15:23
b0ne_ left15:23
Juzzika left15:24
Dragooon left15:24
Amandil|2 joined15:25
Gizburdt left15:25
jiku left15:25
Amandil left15:25
bronson joined15:25
Amandil|2 left15:26
lsiv568 left15:26
lsiv568 joined15:27
dreiss left15:27
Xiti left15:28
kpease joined15:28
hans_s left15:28
thiago joined15:30
bronson left15:30
effi left15:31
Dragooon joined15:31
frox left15:31
lsiv568 left15:32
reim left15:32
endiruna left15:32
Walex left15:32
Walex joined15:33
reim joined15:33
axs221 joined15:34
Sleepy63 joined15:34
msonntag joined15:34
endiruna joined15:34
sagittarian|2 left15:34
stamina joined15:34
ghostpl_ left15:35
Xiti joined15:35
reim_ joined15:35
sagittarian|2 joined15:35
lamppid left15:35
ghostpl_ joined15:36
michael_mbp left15:36
ReScO left15:36
michael_mbp joined15:37
ReScO joined15:37
effi joined15:38
lb1a left15:38
ciampix left15:38
reim left15:38
Arsonide left15:40
reim_ left15:41
IIT left15:41
Balliad left15:42
jstimm joined15:42
pobivan left15:42
pobivan_ joined15:42
zenith_ left15:42
stamina left15:42
otter768 joined15:43
Balliad joined15:44
Goopyo joined15:44
Charlie_WONG_Sup left15:45
jtrag[Away] left15:46
circ-user-jdqwJ joined15:46
jtPretzel80 joined15:46
reim_ joined15:46
bluesm joined15:46
yqt left15:47
bonswouar left15:47
abarroso left15:47
otter768 left15:48
Balliad left15:48
abarroso joined15:48
abarroso_ joined15:49
abarroso left15:49
hugo_moss joined15:49
skorgon joined15:49
Neozonz|Disc2 joined15:49
thierryp left15:49
thierryp joined15:50
Neozonz|Disc left15:50
thierryp left15:50
lsiv568 joined15:50
psoo left15:51
MechtiIde joined15:51
iamjarvo left15:52
Corey84 joined15:54
endiruna left15:54
sentriz joined15:55
fooforge left15:55
sahil1 left15:55
IIT joined15:55
circ-user-jdqwJ left15:55
metts joined15:56
Corey84 left15:56
dougsland left15:56
fooforge joined15:57
khisanth_Khisanth15:58
pheaver left15:58
filcab left15:59
ashu11 left15:59
Corey84 joined15:59
p3lim joined15:59
p3lim When I clone a repository and then want to add another push remote, the first time it runs it replaces the original remote's push url, even if it doesn't match16:00
Is this a bug or intentional?16:00
Takle left16:00
qsuscs !www16:00
gitinfo What did you do (which commands?), what happened as a result (any messages?), and what was the result you expected instead?16:00
Takle joined16:01
filcab joined16:01
p3lim I first do `git clone [email@hidden.address] then I follow with `git remote set-url origin --push --add [email@hidden.address]16:01
jtxve joined16:01
p3lim I expect that the second url to be added to the remote's url list, instead it replaces the original16:02
Basically, I think the "--add" part is broken on first run16:02
qsuscs p3lim: git remote add otherrepo [email@hidden.address] is what you want.16:02
p3lim no, I want to add the url, not a different remote16:03
That way when I push to origin, it pushes to multiple urls16:03
Essentially, it achieves mirroring16:03
paulweb5151 joined16:04
hobodave joined16:04
jtPretzel80 left16:04
PigeonFriend joined16:05
mkjgore joined16:05
zapb_ left16:05
hugo_moss left16:06
paulweb515 left16:06
achadwick left16:06
mkjgore hey folks, so I accidentally added a wrong remote to my local repo (tried to add a fork to my local and instead now have two repos in one)16:06
FreezingCold left16:06
mkjgore I removed the remote but it seems that the commits are still in my local repo16:06
I've tried git gc and git prune but it seems the data is still there :-/16:07
reim_ left16:07
mkjgore the remote seems to be gone (doesn't show when I do git remotes -v) and there are no reference branches (git branch -a)… not really sure where to turn16:07
BSaboia joined16:08
jtxve left16:08
paulweb5151 left16:08
skorgon left16:08
metastableb left16:09
thedodd left16:10
zapb_ joined16:11
Gamecubic left16:13
Gamecubic joined16:13
KennyRayFL left16:13
cromero joined16:13
cromero left16:13
cromero joined16:14
Quevin joined16:14
lsiv568 left16:14
Wrav joined16:14
lsiv568 joined16:15
reim joined16:15
KennyRayFL joined16:16
Wrav left16:16
Takle left16:16
axs221 left16:17
Takle joined16:17
Takle left16:17
Ivai joined16:17
seschwar left16:18
thebrush joined16:18
BrimanBriman|off16:19
lsiv568 left16:19
mkjgore sigh… nm folks, turns out there were some tags still waiting to be killed16:19
thx anyways16:19
nettoweb joined16:19
howlymowly left16:19
Sasazuka joined16:20
alokbeniwal joined16:21
thevishy left16:21
Takle_ joined16:21
hmsimha left16:21
Lancien left16:21
paulweb515 joined16:22
_2_Hotblonde2 joined16:23
Takle_ left16:23
nettoweb left16:24
sCiphre left16:24
nettoweb joined16:25
ejd joined16:25
alokbeniwal left16:25
paulweb5151 joined16:26
circ-user-jdqwJ joined16:26
lindenle joined16:26
bronson joined16:26
JEEB left16:27
Ivai left16:27
_2_Hotblonde2 left16:27
ojacobson p3lim: design wart I suspect16:27
Es0teric left16:27
ojacobson on a newly-created remote there are zero push URLs16:27
Bootinbull left16:28
ojacobson you are, in fact, adding one... which also suppresses the default behaviour when there are none at all16:28
p3lim on a freshly cloned repo there is16:28
eup joined16:28
ojacobson (i.e., the default is not "one push url and one fetch url", it's "one fetch url and no push url")16:28
lindenle left16:28
ojacobson the resulting UI is surprising, and that's probably bad; raise it on the !list16:28
gitinfo [!official] Some official resources for git. Homepage: http://git-scm.com/ | Source repo: https://www.kernel.org/pub/scm/git/git.git/ (Mirrrored: https://github.com/git/git/) | IRC channel: You're in it. | Mailing list: http://vger.kernel.org/vger-lists.html#git (git@vger.kernel.org, subscription optional)16:28
Bootinbull joined16:28
Briman|offBriman16:29
paulweb515 left16:29
ojacobson The 'git remote -v' UI should probably not claim that there's a push URL when in that state16:29
(if you look at the underlying data in .git/config, there's no push URL)16:29
zenith_ joined16:29
eup left16:29
lindenle joined16:30
p3lim Either way, there is a bug16:30
ojacobson > the resulting UI is surprising, and that's probably bad; raise it on the !list16:30
gitinfo [!official] Some official resources for git. Homepage: http://git-scm.com/ | Source repo: https://www.kernel.org/pub/scm/git/git.git/ (Mirrrored: https://github.com/git/git/) | IRC channel: You're in it. | Mailing list: http://vger.kernel.org/vger-lists.html#git (git@vger.kernel.org, subscription optional)16:30
michael_mbp left16:30
p3lim Although when you clone a repo, the expected result would be having a remote with both fetch and push urls16:31
bronson left16:31
p3lim Yeah I'll report it16:31
Vinnie_win left16:31
Vinnie_win joined16:31
Lovich left16:32
daftano joined16:32
liamkeily joined16:32
reim left16:32
Dbog joined16:33
CheckDavid left16:33
michael_mbp joined16:34
mkjgore left16:34
PCatinean left16:35
liamkeily left16:36
Es0teric joined16:36
akushner_ joined16:36
inamoriti left16:36
a-l-e joined16:37
iliketurtles joined16:37
jessec joined16:37
intellix left16:37
justtobe joined16:38
yvan1 joined16:39
freimatz left16:39
rcn_rcn16:39
ciampix joined16:39
abarroso_ left16:40
mikiones left16:40
lsiv568 joined16:41
sparetire joined16:41
abrrs joined16:41
elementalest_dc left16:41
Tennis left16:41
ghostpl_ left16:42
ome left16:43
Bruno_ joined16:43
rcn left16:43
BrimanBriman|off16:44
basiclaser left16:44
nisseni joined16:44
mizu_no_oto left16:45
BSaboia left16:45
reim joined16:45
rez joined16:45
rezGuest5903516:45
KennyRayFL left16:45
govg left16:46
ghostpl_ joined16:46
akiva joined16:46
pm90_ left16:47
ashu11 joined16:47
Dbog left16:48
akushner_ left16:48
hyperair left16:49
CustosL1m3n left16:49
ashu11 left16:49
matthewhill joined16:50
hyperair joined16:50
matthewhill left16:50
Aygm joined16:50
zadock joined16:50
Hestil joined16:51
justtobe left16:51
axs221 joined16:51
gfixler left16:52
nikio___ left16:52
gopar joined16:52
ePax left16:52
KennyRayFL joined16:53
unixpro1970 joined16:53
Grimlock1 left16:53
blackwind_123 left16:54
Zamyatin left16:54
ashokrajar left16:55
Lancien joined16:55
Grimlock1 joined16:55
ashokrajar joined16:55
blackwind_123 joined16:56
effi left16:57
RLa joined16:57
RLa is it possible to keep git repo nested inside another git repo?16:57
grawity yes and no16:58
tirengarfio joined16:58
wicope joined16:58
wicope left16:58
grawity you can use submodules, or directly track the subrepo's working tree, but Git will refuse to add the ".git" directory16:58
RLa i'm working on a project that mocks git over http16:58
wicope joined16:58
Zamyatin joined16:58
ncd|leeN joined16:59
RLa easiest way seems to be serving bare repo over http16:59
Arsonide joined16:59
RLa but i would have to store the repo somewhere16:59
grawity that's the old way, yes16:59
anyway, you can add 'bare' repos16:59
and generally anything that's not named ".git"16:59
RLa nice16:59
kevireilly left17:00
RLa i only need read-only repo, so plain http file serving should work17:00
michael_mbp left17:00
grawity it works, but it's not very efficient17:00
effi joined17:00
michael_mbp joined17:00
RLa it's for testing a package manager that can use http git urls17:00
pheaver joined17:00
grawity (on most Git hosting sites, "git over HTTP" means git-http-backend)17:00
RLa real git http access uses webdav?17:01
MarkyC joined17:01
grawity no17:01
lsiv568 left17:01
ashokraj_ joined17:01
lsiv568 joined17:01
reim left17:01
grawity it uses git-http-backend; i.e. talking to the actual Git, over CGI17:01
nour left17:02
zenith__ joined17:02
leeN left17:02
qsuscs webdav was the old way17:02
RLa does it actually require web server?17:02
reim joined17:02
RLa the new way17:02
grawity if you want HTTP, then yes17:02
qsuscs no, git-http-backend uses rsync, as the name suggests.17:03
Seveas slaps qsuscs17:03
qsuscs :>17:03
thiago left17:03
xolubi_ joined17:03
xolubi_ left17:03
grawity RLa: the "new way" meaning Git packfile protocol, usually runs either over raw TCP (git://, served by git-daemon), or over SSH (ssh:// or user@host:, no special server), or over HTTP(S) (using the git-http-backend CGI program)17:04
durham joined17:04
zenith_ left17:04
grawity the old transports still work, including "dumb HTTP", and I gues they can sometimes be useful, but... don't rely on them for serious repo usage17:05
actually17:05
Aygm left17:05
qsuscs grawity: do you know whether git over webdav is smart? i mean, it’s definitely more than dumb static HTTP17:05
effi left17:05
grawity I'm curious why `git instaweb` can configure Gitweb but not git-http-backend17:05
qsuscs: it's not more, is it?17:05
ashokrajar left17:05
RLa i go with easiest and most portable solution first17:05
grawity qsuscs: it cannot create packfiles on demand the way git-upload-pack does.17:05
qsuscs RLa: that would be SSH and/or git://17:05
grawity: yet it’s obviously more than dumb HTTP17:05
grawity (which is the difference between 'smart' transports, which can do that, vs 'dumb' ones, which only serve static files)17:06
effi joined17:06
grawity qsuscs: how exactly more is it then?17:06
qsuscs grawity: i don’t know, that’s what i’m asking17:06
grawity qsuscs: well you said "obviously"17:06
akushner_ joined17:06
lsiv568 left17:06
Zamyatin left17:07
qsuscs grawity: why should you use webdav for dumb transport if simple HTTP is enough?17:07
lsiv568 joined17:07
gebjgd joined17:07
grawity qsuscs: it adds proper file uploading and other filesystem-like stuff17:07
Bruno_ left17:07
xolubi left17:07
RLa qsuscs, nope, http must be involved17:08
qsuscs RLa: man git http-backend then.17:08
gitinfo RLa: the git-http-backend manpage is available at http://jk.gs/git-http-backend.html17:08
RLa do i need directory listing support?17:08
grawity qsuscs: and I guess in the case of SVN (where each file has its own URL, etc) it lets you use a svn-specific DAV backend that serves the magic stuff17:08
RLa: no17:08
sgen_ left17:08
grawity regular HTTP directory listing isn't standard enough to be useful17:08
danzilio joined17:09
grawity Git only uses the file generated by git-update-server-info, and continues from there17:10
guyzdaynaskully17:10
Sbab joined17:10
qsuscs !svn2git17:10
gitinfo For a one-time conversion of SVN to git, svn2git should be used instead of git-svn. There are many tools with this name. Probably the best is the KDE one at https://gitorious.org/svn2git. To analyze the SVN repo history upfront for building up proper rules for svn2git, you might use svneverever from here: http://blog.hartwork.org/?p=76317:10
qsuscs hmm that’s quite long17:11
Sbab left17:11
Zamyatin joined17:12
qsuscs anyways, i mirrored it at https://git.qsuscs.de/cgit/svn2git.git/ in case gitorious goes down and the owner did not migrate to github17:13
Gamecubic left17:13
effi left17:13
Gamecubic joined17:13
stickperson joined17:14
fabio_p left17:14
ashokraj_ left17:14
moeu joined17:14
LikiLiki joined17:14
crose left17:15
effi joined17:15
nnyk_ left17:15
moeu left17:15
ranchodev left17:15
nisseni left17:16
sgen_ joined17:16
wicope left17:17
wicope joined17:17
Dudi joined17:17
liri joined17:17
jaznow_ left17:17
pm90_ joined17:18
jayeshsolanki left17:19
tnkhanh what does mirror mean?17:19
lucianangelus left17:19
tnkhanh is it just copy to another serverr17:19
MasterPiece joined17:20
mkjgore joined17:20
lucianangelus joined17:20
pm90_ left17:20
qsuscs clone --mirror and, in this case, also the wiki17:20
pm90_ joined17:20
aswen joined17:21
Zamyatin left17:21
Zamyatin joined17:22
HelloShitty joined17:22
HelloShittyHelloATMega117:23
LBV_User joined17:23
mizu_no_oto joined17:23
Tomdarkness joined17:24
diosmiux left17:24
HelloATMega1HelloATMega17:25
halfline left17:25
iamjarvo joined17:26
halfline joined17:26
zenith__ left17:26
crose joined17:26
halfline left17:26
gnqc joined17:27
bronson joined17:27
dreiss joined17:27
KennyRay_ joined17:27
gnqc left17:28
duderonomy left17:28
lucianangelus left17:28
gsingh93 joined17:28
Lancien left17:29
KennyRayFL left17:29
halfline joined17:29
lucianangelus joined17:29
KennyRay_ left17:29
bronson left17:30
bronson joined17:30
Tomdarkness left17:30
ki0 left17:31
abrrs left17:31
b0ne_ joined17:31
pantsman- joined17:31
jonmorehouse joined17:32
Peasley left17:33
lucianangelus left17:34
drocsid joined17:34
ghostpl_ left17:34
Vile left17:34
szymek joined17:35
netj left17:36
RLa nice, got bare repo serving over http working17:36
netj joined17:36
KennyRayFL joined17:36
nour joined17:36
yqt joined17:36
RLa had to run git update-server-info in bare repo for correct stuff to be generated17:37
grawity there's an example hook for that17:37
LikiLiki left17:37
RLa yes, but i have 5-line http server that does not run hooks17:37
LikiLiki joined17:37
grawity they're not meant to be run by the http server17:38
mkjgore left17:38
mafrasi2 joined17:38
mafrasi2 left17:39
RLa with http serving, who should be run them?17:39
mafrasi2 joined17:39
RLa cron? :)17:39
nisseni joined17:40
groton joined17:40
ashu11 joined17:41
demifuror joined17:41
demifuror hi guys. has anyone experienced git not sending authorization headers with its server requests, for things like clone, ls-remote etc?17:42
lsiv568 left17:43
lsiv568 joined17:43
unreal left17:43
Ancchi joined17:44
otter768 joined17:44
iveqy demifuror: what protocoll? Git doesn't do authorization17:44
demifuror left17:44
wicope left17:44
thiago joined17:44
Dragooon left17:44
drocsid left17:45
drocsid joined17:45
drocsid how do I view a list of all files modified after a particular commit? I saw this list when using git pull, but lost it from my terminal buffer.17:45
bsanford left17:45
paulweb5151 left17:45
MarkyC left17:46
iveqy drocsid: man git diff, look at --numstat17:46
gitinfo drocsid: the git-diff manpage is available at http://jk.gs/git-diff.html17:46
wicope joined17:46
wicope left17:46
drocsid thanks, will have a look17:46
iveqy: thanks17:47
mtakkman left17:47
lsiv568_ joined17:47
Evii joined17:47
MarkyC joined17:47
lsiv568 left17:48
KennyRayFL left17:48
otter768 left17:48
iamjarvo left17:49
OnkelTem joined17:50
gitinfo set mode: +v17:50
OnkelTem Hi. How to interactively join two commits? I git rebase -i ... now what? How to take say TWO commits?17:51
grawity there are instructions at the bottom of the todo list.17:51
Sonicbit left17:52
jonmorehouse left17:52
dreiss left17:52
tyreld joined17:52
dreiss joined17:53
bluesm left17:53
sahil1 joined17:53
yqt left17:54
KennyRayFL joined17:54
cbreak I'd do it with git checkout -p17:54
marcogmonteiro left17:55
denete left17:56
denete joined17:56
ParsectiX joined17:56
ashu11 left17:57
GoddeR left17:57
phantombeta left17:57
aswen left17:57
ashu11 joined17:58
sahil1 left17:58
endiruna joined17:58
dreiss left17:59
LikiLiki left17:59
ranchodev joined18:00
ArchRogem left18:01
nisseni left18:01
jerius_ joined18:01
jerius left18:01
bluesm joined18:01
ashokrajar joined18:01
Nizumzen joined18:02
Gama11_ joined18:02
Liran joined18:02
Liran left18:03
ghostpl_ joined18:03
FreezingCold joined18:03
ejnahc left18:03
effi left18:04
skullcrasher left18:04
teran_ left18:04
zadock left18:04
Gama11 left18:04
teran joined18:04
Lmw joined18:05
ejnahc joined18:05
dougsland joined18:05
hahuang65 joined18:05
thebrush left18:06
groton left18:06
effi joined18:06
joetam left18:08
joetam joined18:08
teran left18:09
oakdog8_afk joined18:09
Lmw left18:10
bb010g left18:10
sudshekhar joined18:10
aswen joined18:10
Dudi left18:10
sburgess joined18:11
duderonomy joined18:11
jonmorehouse joined18:11
dougsland left18:11
MacWinner joined18:11
dougsland joined18:11
Advocation joined18:12
MarkyC left18:12
arez joined18:12
nilg left18:13
oakdog8 left18:13
baweaver joined18:13
Grimlock1 left18:13
pstodulk joined18:14
pstodulk left18:14
f3lp joined18:15
Evii left18:15
settermjd left18:15
chiemseesurfer joined18:16
Hounddog left18:16
eddyp joined18:17
zadock joined18:17
eletuchy joined18:17
dreiss joined18:18
Advocation left18:19
opdavies left18:20
iik joined18:20
zenith_ joined18:21
romanovic for those of you who self-host gitlab or another repo management system, what do you use for github gists or pastebin-like functionality?18:21
ehynds left18:21
mylord left18:22
eletuchy left18:22
jottr joined18:23
iik left18:23
osse I use github gists or pastebin18:24
tonyj joined18:24
romanovic key here is being able to self host18:24
Acidnerd left18:25
metastableb joined18:25
romanovic I would love to use github and pastebin at work, but the thought police would descend and take me away for posting code in public18:25
osse hmm there seems to be several self-hosted pastebins outhere18:25
acosonic joined18:25
osse romanovic: you can mark gists as private18:25
romanovic osse: yeah, they don't care.18:26
Seveas romanovic: an old pztme (now apparently called Knoxious-Open-Pastebin) instance18:26
acosonic Hi everyone, I'm trying to run some git post-commit or update hook, but nothing gets fired, I've put whoami > /tmp/gittest.txt but nothing... 0 response from hook18:26
endiruna left18:26
boombatower joined18:26
boombatower left18:26
boombatower joined18:26
iveqy romanovic: I can imagine that there's plenty of pastebins implementations out there. So the question is, what requirements do you've of a pastebin?18:26
ivan_on_trac joined18:26
ashokrajar left18:26
iveqy acosonic: what happens when you manually tries to run that hook?18:27
acosonic iveqy: it works18:27
I've even tried 777 on them, still 018:27
pluc_pilou left18:27
iveqy acosonic: what about permissions and file mode?18:27
romanovic iveqy: I've used Stikked before and it has worked quite well, but I'd rather have a non-PHP option if possible. the only requirements really are that it is FOSS and has excellent syntax highlighting support18:28
subhojit777 left18:28
Pyoo joined18:28
osse this is supposedly the full source of ix.io: https://bitbucket.org/resi/ix.io/raw/0fa9c75138d0599f04cf227a861555cbca1f75f4/ix.io18:28
groton joined18:29
LikiLiki joined18:29
encod3 left18:29
Gianormagantrous joined18:29
acosonic iveq: nothing, 777 git push still nothing18:30
Zamyatin left18:31
bsanford joined18:31
Ryanar joined18:31
lsiv568_ left18:31
iveqy acosonic: what's the name of your post-commit hook?18:31
nnyk_ joined18:32
Zamyatin joined18:33
gopar left18:33
incredible joined18:34
Seveas osse: of the cli client, yes.18:34
not the server side18:34
LikiLiki left18:35
osse Seveas: that's what I thought too. And then I read somewhere that it's the server.18:35
acosonic iveqy: http://paste.ubuntu.com/10708406/18:35
osse Seveas: but now I think it's the client again18:35
acosonic I tried all names :(18:35
jottr_ joined18:35
jottr left18:35
Seveas I don't know where you read that, but it's definitely not the server :)18:36
meLon left18:36
Seveas acosonic: post-commit only is called after commit, not after/during push.18:36
Vile joined18:36
Acidnerd joined18:37
Seveas update, post-update and post-receive are called *on the receiving end* in various stages of receiving a push18:37
micechal__ joined18:38
meLon joined18:38
Seveas so, let's do an !xy18:38
gitinfo Woah, slow down for a bit. Are you sure that you need to jump through that particular hoop to achieve your goal? We suspect you don't, so why don't you back up a bit and tell us about the overall objective...18:38
ashu_ joined18:39
ashu11 left18:40
micechal_ left18:40
acosonic ok, but update is not called also...18:40
clrg_ joined18:41
opdavies joined18:41
acosonic I just need something called when push is received on remote server...18:41
thebrush joined18:41
eletuchy joined18:42
apdapreturns joined18:42
Seveas so you're editing hooks on that remote server?18:42
apdapreturns How can I do a git repo update without overwriting my changes?18:42
Seveas apdapreturns: "update" is not a git thing, what are you trying to achieve?18:42
apdapreturns when I sync, it opens diff/merge, then moves on when I save the compatible file18:42
Seveas "sync" is also not a git thing, what are you actually doing?18:43
APK left18:43
AKPWD joined18:43
apdapreturns I want to update the repositories without overwriting my changes18:43
AnimalFarmPig joined18:43
gopar joined18:44
apdapreturns I'm using Google's Repo utility (which uses Git), Seveas18:44
Seveas oh. that. We don't support that :)18:44
apdapreturns I can use normal Git18:44
tho18:44
Seveas just commit uncommitted changes and do a normal fetch+merge (aka pull)18:45
apdapreturns ok18:45
ki0 joined18:46
clrg_ left18:46
hegge joined18:46
AnimalFarmPig I'm a terrible person, and I think I've thoroughly screwed up this repository. First time using git outside of small projects with friends, and first week at a new job. Can someone do a bit of hand holding? Slightly stressed out18:46
Seveas AnimalFarmPig: sure. First get a coffee and stop stressing out. Git makes it very hard to lose data you committed, so unless you wiped the entire repo or lost uncommitted changes, we can probably sort out whatever the problem is.18:47
AnimalFarmPig: can you describe the mess you created? Maybe pastebin some relevant !lol output18:48
gitinfo AnimalFarmPig: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all18:48
AnimalFarmPig Yeah, trying to figure out how to explain this...18:48
heroux left18:48
AnimalFarmPig I think I know where I went wrong18:48
mojibake left18:49
circ-user-jdqwJ_ joined18:49
AnimalFarmPig Okay, so, instead of just pushing to a repo at work, we use pull requests using a web interface called stash18:50
oakdog8_afk left18:50
AnimalFarmPig it also lets us do branching, etc.18:50
heroux joined18:50
capt-rogers joined18:50
thierryp joined18:50
BlaXpirit_UA joined18:51
krabat joined18:51
AnimalFarmPig What I think happenned is this-- I was asked to make some changes in a project. I branched off of the dev branch, made my changes, pushed back to my new branch, submitted a pull request18:51
iamjarvo joined18:51
krabat hi guys18:51
gitinfo krabat: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.18:51
phoenixz joined18:51
iamjarvo left18:51
AnimalFarmPig I was then asked to make some other larger changes18:52
iamjarvo joined18:52
BlaXpirit-UA left18:52
AnimalFarmPig I made a new branch (I thought from dev, but maybe not), made the changes (which basically clobbered the original changes)18:52
LikiLiki joined18:52
AnimalFarmPig I think I branched before the pull request was approved and my initial small changes were made18:53
circ-user-jdqwJ left18:53
scientes left18:54
AnimalFarmPig now, I push my changes back to my new changes branch, and I submit my pull request for dev18:54
but it says that my local branch is out of date18:54
then, I accidentally pushed to master18:54
ParsectiX left18:54
krabat while working on my master thesis I came across some weird behaviour of git. is it common practice to allow an email like '@example'?18:54
AnimalFarmPig so, I need to do two things18:55
ParsectiX joined18:55
ParsectiX left18:55
AnimalFarmPig get my branch to a state where I can submit a pull request to dev and not have it fail18:55
thierryp left18:55
AnimalFarmPig and undo my push to master18:55
sorenb krabat, no. and many projects require you to use real name and email address18:56
AnimalFarmPig oh, also, not lose a few days of work18:56
jerius_ left18:56
_ikke_ krabat: I'm not sure in what matter git does any e-mail validation though18:56
Seveas let's start with undoing the push.18:56
actually, let's start with a !backup :)18:56
gitinfo Worried about your data while trying stuff out in your repo? The repository in its entirety lives inside the .git directory in the root of your work tree so to backup everything `cp -a path/to/workdir path/to/backup` or equivalent will suffice as long as the repo is not modified during backup. See also http://sethrobertson.github.com/GitBestPractices/#backups18:56
AnimalFarmPig okay, that would be good18:56
mdhopkins left18:56
yqt joined18:57
Seveas your second batch of changes are not on the 'master' branch locally?18:57
AnimalFarmPig okay, I've already backed up, so that's good18:57
taruner joined18:57
krabat _ikke_: I'm close to writing a patch that does exactly that :/18:57
Remram Can I get a single commit?18:57
mdhopkins joined18:57
AnimalFarmPig I think the second batch of changes are on my local (dev workstation) master :|18:57
Remram `git fetch --depth=1 someurl somecommitsha1` doesn't seem to work18:57
nettoweb left18:57
_Atom_ left18:58
baweaver left18:58
anchorite joined18:58
Seveas AnimalFarmPig: do a !lol to confirm. If so: git checkout master; git branch second-batch18:59
gitinfo AnimalFarmPig: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all18:59
Trudko_ joined18:59
AnimalFarmPig actually, I have an instance where I do have the changes in the correct branch, I think18:59
Seveas then do a git pull to make sure your local and remote master agree on what master is.18:59
ashu_ left18:59
Zupoman joined19:00
jstimm left19:00
krabat _ikke_: thanks, I'll try to find some time while writing my thesis to fix this. I think this is not that much of an issue, but some people take advantage of this 'feature'.19:00
Sonicbit joined19:00
anoyes_ joined19:01
AnimalFarmPig Seveas: http://pastebin.com/3CMEsqua19:01
ottanta_ joined19:01
EminenceHC left19:01
RLa left19:01
jerius joined19:01
anoyes_ left19:01
liamkeily joined19:01
u1106 left19:01
Seveas AnimalFarmPig: 31c2feb is the accidental push?19:02
u1106 joined19:02
AnimalFarmPig Seveas: yes, accidental push to master19:02
krabat sorenb: yes. some do, but there are some GitHub repositories, where users use different computers and therefore different emails (nothing wrong with that), but also invalid emails like '@<insert chars here>'19:02
kadoban joined19:03
Seveas AnimalFarmPig: easiest is to just revert it. git checkout master; git revert 31c2feb; git push19:03
then you can work on sorting out your local branches19:03
GoddeR joined19:04
acosonic Seveas: yes, I am editing hooks on remote server19:04
karrtmomil joined19:04
karrtmomil left19:04
acosonic Seveas: I want to have git auto-deploy when I commit to production branch to auto-update www-root on another server... I did that with svn now I want to use git...19:05
danzilio left19:06
Gizburdt joined19:06
ParsectiX joined19:06
AnimalFarmPig oops, meeting, thanks for the help Seveas. I'll be back in a bit19:07
Seveas acosonic: obligatory !deploy trigger goes here. That said, here's a post-receive hook that does something like that: https://gist.github.com/seveas/35a86ee2b0ba7a9ad24c19:07
gitinfo acosonic: Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html19:07
kadoban left19:07
acosonic Well anyway I need any of he hooks do the whoami > /tmp/test.txt19:08
ntio left19:08
steele_ joined19:08
iliketurtles left19:09
danzilio joined19:09
steele left19:09
u1106 left19:09
blr joined19:10
blr left19:11
blr joined19:11
acosonic is there anything that I need to do on the server in order to have hook fired?19:11
AnimalFarmPig okay, wasn't a mandatory meeting19:11
alright, got the changes reverted, thanks, Seveas19:12
Corey84 left19:13
AnimalFarmPig Seveas: so, now if I check out "develop", I can then branch, copy in my changed files, and push the branch, yeah?19:14
acosonic It required git update-server-info ...19:14
bannakaffalatta joined19:14
encod3 joined19:15
u1106 joined19:15
sbimike joined19:16
iliketurtles joined19:16
Seveas AnimalFarmPig: even better. git checkout develop, git checkout -b your-branch-name-here, git cherry-pick sha1-of-commit-that-should-be-on-this-branch19:16
AnimalFarmPig: and repeat for the second change. Do a !lol to confirm they're all right now19:16
gitinfo AnimalFarmPig: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all19:16
acosonic Anyway thanks LD19:16
:D19:16
acosonic left19:16
shinnya joined19:18
iamjarvo left19:18
Lovich joined19:18
AnimalFarmPig Seveas: http://pastebin.com/PZFC9VQJ19:19
sbimike i want to make branch A match branch B exactly, but i cannot use rebase and i cannot rename the branch.19:19
because force-pushing is not allowed for this branch19:20
ePax joined19:20
AnimalFarmPig 31c2feb has the changes I want19:20
sbimike its easy to use merge to add the changes i want from B to A, but how can i revert the changes that were removed using `git reset --hard` on B19:20
Seveas AnimalFarmPig: master looks good on that one. To create a branch for 31c2feb based on develop: git checkout develop; git checkout -b give-your-branch-a-name-here; git cherry-pick 31c2feb19:21
ParsectiX left19:21
mizu_no_oto left19:23
AnimalFarmPig oh my, this is so frustrating. http://pastebin.com/3cbkyhvv19:24
I apologize. Thank you so much for patience19:24
jonmorehouse left19:24
ParsectiX joined19:25
cdown left19:26
danzilio left19:26
_Atom_ joined19:26
thebrush left19:26
unreal joined19:27
thebrush joined19:27
ePax left19:27
Trow joined19:29
codetroll joined19:29
thierryp joined19:29
gv_ left19:31
Balliad joined19:31
paulweb515 joined19:31
CustosL1m3n joined19:32
gv joined19:33
gvGuest8325919:33
akushner_ left19:34
phantombeta joined19:35
thebrush left19:35
naftilos76 joined19:36
FreezingCold left19:36
thebrush joined19:37
sbimike left19:37
liamkeily left19:38
daftano left19:38
bronson left19:39
scientes joined19:40
scientes left19:40
scientes joined19:40
ottanta_ left19:40
beneggett joined19:41
settermjd joined19:41
cmoneylulz left19:42
dvaske joined19:42
ParsectiX left19:43
jonmorehouse joined19:43
daftano joined19:44
Gizburdt left19:44
zumba_addict joined19:44
Thorax15 joined19:44
baweaver joined19:44
zumba_addict left19:45
otter768 joined19:45
zumba_a__ joined19:45
scientes left19:46
cpt_yossarian joined19:46
zumba_ad_ left19:47
groton_ joined19:47
bronson joined19:47
Balliad left19:47
bannakaffalatta left19:48
groton left19:48
groton_groton19:48
tmager joined19:48
Guest59035 left19:49
otter768 left19:49
zumba_a__ left19:49
tmager left19:50
tvw left19:50
zumba_addict joined19:50
zumba_addict left19:51
zumba_ad_ joined19:51
tmz left19:52
tmz joined19:53
iamjarvo joined19:54
Guest38709 joined19:56
MechtiIde left19:56
Gizburdt joined19:56
jagob left19:57
jottr joined19:57
liamkeily joined19:58
liri left19:58
zumba_ad_ left19:59
jottr_ left19:59
zumba_addict joined20:00
Guest38709rezzrov20:00
baweaver left20:00
lqi left20:00
benegget_ joined20:01
IrishPrime left20:01
durham_ joined20:01
Zamyatin left20:02
beneggett left20:02
chiemseesurfer left20:03
chiemseesurfer joined20:03
baweaver joined20:03
bannakaffalatta joined20:03
MarkyC joined20:03
lqi joined20:04
cagedwisdom joined20:04
zumba_addict left20:04
zumba_addict joined20:05
durham left20:05
zumba_addict left20:05
opdavies left20:05
iamjarvo left20:06
zumba_addict joined20:07
groton left20:09
pfilyk joined20:09
zumba_addict left20:09
mizu_no_oto joined20:09
martinbmadsen joined20:10
ignas left20:10
groton joined20:11
tristanp left20:11
dvaske left20:11
thevishy joined20:12
danguafer joined20:12
u1106 left20:12
zumba_addict joined20:13
pfilyk left20:13
zumba_addict left20:13
ahr3n joined20:13
shaunoo joined20:13
Briman|offBriman20:15
qsuscs !stats20:16
gitinfo [!irclog] Public logs of #git are kept at: http://colabti.org/irclogger/irclogger_log/git or look at stats for the last 30 days: http://itvends.com/irc/git.html or since Jan 1, 2012: http://itvends.com/irc/git-all.html20:16
Regency joined20:16
qsuscs Eugene: your cronjob is broken and btw i adjusted the config a bit.20:17
einmalfel left20:17
spb left20:17
spb joined20:17
kadoban joined20:19
_Atom_ left20:20
LikiLiki left20:20
einmalfel joined20:21
FreezingCold joined20:21
rezzrov left20:23
Zamyatin joined20:23
ascarter joined20:23
paddymahoney joined20:23
paddymahoney left20:23
faheem_ left20:24
ki0 left20:25
Zamyatin left20:25
bronson left20:25
AnimalFarmPig left20:26
benegget_ left20:26
nisseni joined20:26
ahr3n_ joined20:27
ahr3n left20:28
cdown joined20:28
bronson joined20:28
zumba_addict joined20:29
pm90_ left20:29
u1106 joined20:29
jumpman So this morning I was getting non-fast-forward errors20:29
ValicekB joined20:29
jumpman Knowing that I needed to push the exact status of the production server to the master branch I did a +master push to force it through20:30
but that commit didn't wind up in our commit history20:30
nettoweb joined20:30
jumpman so while I try to pull master into a feature branch (to get the changes I had force-pushed) I'm told everything is up to date20:30
however, from the master branch I can't push the changes again because they're up to date20:30
which makes me feel like I have two different versions of 'master' telling me that they're up to date20:31
tmz left20:31
zumba_addict left20:31
_ikke_ jumpman: git pull = git fetch + git merge20:31
_X_C_V_B_ joined20:32
_ikke_ git fetch fetches new history20:32
cdown left20:32
tmz joined20:32
_Atom_ joined20:32
morois joined20:32
_ikke_ if no new history is to be fetched, no merge happens either20:32
cdown_ joined20:32
_ikke_ jumpman: Seems you just want to merge in master20:32
jumpman right - the new history, in this case, being the commit I had to force-push to get around the fast-forward errors20:32
yeah, I think so20:33
> git pull origin master20:33
?20:33
Dorf left20:33
jumpman or do you think maybe > git rebase master < might make more sense?20:34
_ikke_ either rebase or merge20:34
dsc_ joined20:35
mikiones joined20:35
dsc_ Even though .git/config has the correct username it still uses the global git settings (another user)20:35
now I cannot push to my repo :( halp20:35
ascarter left20:36
jumpman _ikke_: it's just telling me that I'm 'Already up to date' :l20:36
_ikke_ dsc_: What error do you get?20:37
jumpman: !situation20:37
gitinfo jumpman: Please pastebin the relevant output of `git log -n 20 --all --graph --format="%h %p %d"` to give us an idea about what your situation is (increase the -n argument if your problem is more complex than 20 commits can explain)20:37
settermjd left20:37
rez joined20:38
dsc_ _ikke_: http://pastie.org/pastes/10063500/text?key=byy3jwizjx5wd0equas4q20:38
rezGuest3856720:38
Guest38567rezzrov20:38
fg3 left20:39
_ikke_ and smlo is the wrong username?20:39
jumpman http://hastebin.com/ofuteyopus.1c20:39
I'm fairly certain that our branches are a mess :p20:39
einmalfel left20:40
dsc_ _ikke_: correct20:40
it is the username i use for work20:40
jumpman i adopted this project only recently from a macedonian team20:40
jtPretzel80 joined20:40
nuk3 joined20:40
soman joined20:40
IIT left20:40
_ikke_ hmm, master is missing here20:40
tvw joined20:40
Takle joined20:40
robarelli joined20:40
jumpman i did this log from the feature branch i'm trying to merge master in to20:40
_ikke_ right20:40
soman When I clone bare repo from server will I have two master branches? master and origin/master20:41
jumpman should I produce another one from master perhaps?20:41
_ikke_ sure20:41
dsc_ _ikke_: .git/config should be picked up right20:41
_ikke_ soman: yes, origin/master is a so called remote tracking branch20:41
dsc_ _ikke_: instead of my global config...20:41
_ikke_ dsc_: What username did you change?20:41
gunnaro joined20:41
jumpman :( output is the same20:42
bronson left20:42
incredible left20:42
_ikke_ user.name is only used for committing20:42
dsc_ _ikke_: from 'smlo' (work account) to 'nattewasbeer'20:42
_ikke_: i see20:42
im trying git push origin master20:42
_ikke_ jumpman: instead of --all, just put master20:42
dsc_ but it does it with the wrong command20:42
uh20:42
wrong user account20:42
I want to push as user account 'nattewasbeer'20:42
not 'smlo'20:42
odin22 joined20:43
jumpman http://hastebin.com/maratepohe.1c.20:43
bronson joined20:43
grawity dsc_: wait, are you expecting the "user.name" parameter to configure this20:43
because it doesn't20:43
nuk3 left20:43
dsc_ grawity: how can I push my repo as the username I want?20:43
grawity change the URL to https://nattewasbeer@github.com/…20:44
_ikke_ jumpman: Those branches seem quite diverged20:44
soman _ikke_: whe I do push can I select both branches my and remote which will be merged? I want my team develop in 2 branches and as I understand I cannot create the branches at the remote repo.20:44
_ikke_ I don't see anything in common20:44
dsc_ grawity: change what URL? 'git push origin master'20:44
jumpman yeahhhh...20:44
dsc_ gravity: i dont see an URL in there20:44
_ikke_ dsc_: git remote show -v20:44
dsc_ error: unknown switch `v'20:44
grawity the one configured for the 'origin' remote, https://a.pomf.se/ycxuxl.png20:44
oriba joined20:44
mariuscc left20:45
XCVB joined20:45
iv4nnunes joined20:45
_ikke_ jumpman: What if you do git merge master in your feature branch?20:45
hmmwhatsthisdo joined20:45
crose left20:45
dsc_ grawity: my remote is fine. I just cant push with the user account 'smlo' to a repo owned by 'nattewasbeer'20:45
So I need to push as nattewasbeer20:45
hmmwhatsthisdo Does anyone have experience with using Git in VS2013?20:45
grawity dsc_: yes, I got that part20:46
dsc_: that's exactly why I'm telling you to change the URL – so that the username will be in it20:46
_X_C_V_B_ left20:46
dsc_ grawity: im confused as to what URL to change20:46
_ikke_ dsc_: The username can be part of the remote url20:46
dsc_ I see20:46
jumpman _ikke_: Already up-to-date20:46
hmmwhatsthisdo like, with the built-in Git tools20:46
crose joined20:46
bannakaffalatta left20:46
_ikke_ jumpman: aparently, master is a descendant from feature20:47
hmmwhatsthisdo ...trying to figure out how to resolve conflicts and merge changes in one commit20:47
dsc_ gravity: 'git remote set-url https://nattewasbeer@github.com/dushi.py-web.git/'20:47
?20:47
XCVB_X_C_V_B_20:47
_ikke_ jumpman: So feature already has everyting master has20:47
jumpman uh oh20:47
_ikke_ git remote set-url origin <url>20:47
cavallari left20:47
jumpman but the two locations, both saying they're up to date with master, have different versions of files20:47
grawity dsc_: https://nattewasbeer@github.com/nattewasbeer/dushi.py-web.git20:48
dsc_: don't remove random parts, just add the username20:48
_ikke_ jumpman: The branches can still have changes master doesn't have20:48
zenith_ left20:48
dsc_ grawity: thx, got it20:48
_ikke_: thanks20:48
ivan_on_trac left20:48
Neozonz|Disc2 left20:48
robarelli left20:49
Neozonz|Disc joined20:49
Neozonz|Disc left20:49
Neozonz|Disc joined20:49
jumpman I don't really understand what the implications of that are20:49
modocache joined20:49
EminenceHC joined20:49
robzilla joined20:50
zumba_addict joined20:50
editshare-ericf left20:50
jumpman :( i just want these 3 file changes that are correct on the production server (up-to-date with master) on my feature branch (up-to-date with master)20:50
zumba_addict left20:50
dsc_ left20:50
XCVB joined20:50
_ikke_ jumpman: to verify: what does git log feature..master return (feature replaced with the name of the feature branch)20:51
Lovich left20:52
Gizburdt left20:52
_X_C_V_B_ left20:53
cocodys_ joined20:53
XCVB_X_C_V_B_20:53
_ikke_ jumpman: It seems that the feature branch modified those files into a state you don't want. Merging master back in doesn't fix that (and there is nothing to merge in anyway)20:54
EminenceHC left20:54
sharkz left20:54
gebjgd left20:54
OnkelTem left20:54
jumpman locally, nothing. on the production server it is telling me that my arguments are ambiguous20:55
tpollard joined20:55
sharkz joined20:55
delinquentme joined20:55
jumpman hu20:55
h20:55
HelloATMega left20:55
jumpman i can't find the feature branch from master at all is why20:55
er, s/from master/on the production server/20:56
kpease_ joined20:56
_ikke_ has it even been pushed?20:56
jumpman certainly, several times, and likely merged into master several times20:56
kpease left20:56
_ikke_ Are you looking at the correct repository? (repositories you push to are usually bare repositories)20:57
mellernoia left20:57
GinoMan left20:57
hobodave left20:57
mr-kyd left20:58
jumpman uhmmm I don't know?20:58
HelloATMega joined20:58
jumpman i haven't really changed anything myself20:58
cdown_ left20:59
StuartMI left20:59
mekhami left20:59
baweaver left20:59
jumpman as far as i can tell, there's only one git repository?20:59
when I use git status on prod I get: HEAD detached from release-v1.3.720:59
thierryp left21:00
jumpman release-v1.3.7 being a tag21:00
codetroll left21:01
apdapreturns left21:01
cdown joined21:01
zumba_addict joined21:02
pm90_ joined21:02
pm90_ left21:02
Alienpruts joined21:02
cdown left21:02
jamesbdev left21:02
pm90_ joined21:02
apdapreturns joined21:03
Consuela joined21:03
gfixler joined21:03
apdapreturnsGuest4311821:03
hobodave joined21:03
zumba_addict left21:03
hobodave left21:03
hobodave joined21:03
beneggett joined21:03
cdown joined21:03
jamesbdev joined21:04
stickperson left21:04
zumba_addict joined21:05
tomnor joined21:05
rnsanchez left21:05
nettoweb left21:05
nettoweb joined21:06
jtPretzel80 left21:06
robzilla left21:06
jwhisnant left21:06
zadock left21:07
iv4nnunes In a context of "delivery/integration" continuous. Should I use a repository for applications and other repository for database schema?21:07
tomnor left21:08
obee joined21:08
groton left21:09
secrettriangle joined21:10
secrettriangle Hey, why is my git cloning with \r\n?21:10
pobivan_ left21:11
Pyoo left21:11
ThomasLocke left21:11
zumba_addict left21:13
Lovich joined21:13
bremner !line-endings21:14
gitinfo [!crlf] to fix problems with line endings on different platforms, check out http://line-endings.gitrecipes.de/21:14
lsiv568 joined21:16
zumba_addict joined21:18
zumba_addict left21:18
obee left21:18
a-l-e left21:18
circ-user-jdqwJ joined21:18
tier left21:18
Eugene qsuscs - s/broken/nonexistant21:20
And link21:20
gunnaro_ joined21:20
Tuna-Fish left21:20
ascarter joined21:21
qsuscs Eugene: to my config? give me a link to the repo :>21:21
metts left21:21
Eugene I haven't bothered commiting it21:21
Got distracted with work and stuff21:21
I'd commit it now, but technically I'm on the clock21:22
circ-user-jdqwJ_ left21:22
jaznow_ joined21:22
gunnaro left21:22
cocodys_ left21:22
Uoen joined21:22
akushner_ joined21:22
ranchodev left21:23
BytesAndCoffee left21:24
yazdmich joined21:25
cdown left21:25
mizu_no_oto left21:25
vixterra left21:26
Henryabcd left21:26
Henryabcd joined21:27
secrettriangle bremner: except I'm on OSX21:27
arez left21:27
Ancchi left21:27
anchorite left21:28
lrvick joined21:28
lqi left21:29
beneggett left21:29
baweaver joined21:30
bannakaffalatta joined21:30
yazdmichBytesAndCoffee21:30
skylite_ joined21:30
hobodave left21:30
zumba_addict joined21:30
zumba_addict left21:30
LBV_User left21:31
cdown joined21:31
sharkz left21:31
Tuna-Fish joined21:31
Mannequin joined21:31
skylite left21:32
tmz left21:32
denete left21:32
tmz joined21:32
sharkz joined21:32
skylite joined21:33
nisseni left21:33
aswen left21:34
zumba_addict joined21:35
skylite_ left21:36
freestyl3r left21:36
baweaver left21:36
martinbmadsen left21:36
jerius left21:38
Asiajey left21:38
jfive hello all21:40
i'm having a really weird issue atm21:40
i've made changes to a file, in this case header.php21:41
but "git status" says everything's up to date21:41
Henryabcd left21:42
Korvin jfive is that file tracked?21:42
jfive it was before... how could i check?21:42
Korvin you could make a change to it and see if git status reports it :)21:43
jfive i see it in github and it has the line i've deleted there in header.php21:43
Korvin what?21:43
jfive i've tried that haha21:43
skylite left21:43
Korvin if the changes are on github, then what would you expect git status to say?21:43
jfive i'm just trying to remove one line, a <script> tag in <head>21:43
no the line i am trying to remove shows in github21:43
so the file must be tracked, was all i was sayin21:44
phantombeta left21:44
jfive how could i determine if i'm working with a detached head?21:44
Korvin so you remove the line and run git status, can you paste the full output of that command?21:44
pm90__ joined21:44
hobodave joined21:44
Korvin jfive, if your HEAD is not a branch, you're detached21:44
pm90__ left21:44
qsuscs … which git status also reports21:44
jfive http://hastebin.com/vopesujife.vbs21:45
Korvin jfive, I'd make sure that you're actually making the changes to the correct root.21:45
pm90__ joined21:45
Korvin jfive, that shows you haven't made changes21:45
sgen_ left21:45
jfive exactly, but i have in fact made changes21:45
Korvin are you certain that it's the correct root?21:45
edit the file through the terminal21:46
otter768 joined21:46
Korvin see if it's really editied21:46
edited*21:46
jfive ahhhh cr$p21:46
you're right21:46
i'm editing the wrong project =/21:46
thanks man haha21:46
jfive kicks himself21:46
Korvin :D21:46
that's how it goes21:46
git status is very informative, I've never seen it say things are okay when they arent21:46
phantombeta joined21:47
jaznow_ left21:47
vreo joined21:47
jfive yeah i'd never seen that either thats why i was like wth21:47
ciampix left21:48
pm90_ left21:48
cdown left21:49
BrimanBriman|off21:50
deltab I use git log filename to check whether a file is tracked21:50
whitby joined21:51
otter768 left21:51
MasterPiece left21:51
Mannequin left21:51
vreo left21:52
jfive deltab: thanks i'll try that next time21:52
inad922 joined21:52
inad922 Hi21:52
baweaver joined21:53
King_Hual` left21:53
sharkz left21:53
_Atom_ left21:53
hobodave left21:53
Kicer86 left21:53
sharkz joined21:53
inad922 If I managed to figure out who removed a row from a file with "git diff <old_commit_hash> HEAD <some_file_path>" how can I find with blame who removed that line?21:53
sbogg joined21:54
zumba_addict left21:56
cdown joined21:56
kpease_ left21:56
kadoban inad922: I think I'd use the pickaxe functionality of 'git log' look up -S -G and all of the --pickaxe-* stuff21:56
ejd_ joined21:57
kbniAC\DC-GAMER21:57
kpease joined21:57
inad922 kadoban: Yep, I found the -S suggestion for log on stackoverflow as well21:57
AC\DC-GAMERkbni21:57
inad922 That seem to work fine21:57
lsiv568 left21:58
secrettriangle left21:58
lsiv568 joined21:58
kadoban inad922: Hmm, 'git blame --reverse' might work too. I didn't know that existed, heh.21:59
pantsman- left21:59
hxm left21:59
ejd left21:59
pingupingu joined22:00
crose left22:00
inad922 kadoban: Wow. That's so much better22:00
cdown left22:01
saint_ joined22:01
nezZario left22:01
hxm- joined22:02
inad922 This is really good22:02
hxm- left22:02
hxm- joined22:02
hxm-hxm22:02
martinbmadsen joined22:02
lsiv568 left22:03
kadoban Yeah, some cool stuff in here that I never use, heh.22:03
blackwind_123 left22:03
mdhopkins left22:03
cjwilburn left22:03
jonmorehouse left22:03
Gama11_ left22:03
Regency left22:04
zumba_addict joined22:04
lsiv568 joined22:04
blackwind_123 joined22:04
zumba_addict left22:04
drfoo joined22:04
lsiv568 left22:05
zumba_addict joined22:06
nour left22:06
lsiv568 joined22:06
berz3rk left22:06
Neozonz|Disc left22:07
naftilos76 left22:07
fstd left22:07
m_zr0 joined22:07
Nizumzen left22:07
Zupoman left22:07
zumba_addict left22:07
macabre left22:07
Dougie187 left22:08
saint_ left22:08
goldstar_ joined22:09
_Atom_ joined22:09
zumba_addict joined22:09
opdavies joined22:09
zumba_addict left22:09
ncd|leeN left22:10
Lancien joined22:10
zumba_addict joined22:10
zumba_addict left22:10
_Atom_ left22:10
Alienpruts left22:10
lsiv568 left22:11
nettoweb left22:11
Hestil left22:13
zadock joined22:16
jgardella joined22:17
Briman|offBriman22:17
iv4nnunes left22:18
nilg joined22:20
s8321414 joined22:20
modocache left22:20
baweaver left22:21
bronson left22:22
ottanta joined22:22
Trow left22:22
Lancien left22:23
baweaver joined22:24
nfk left22:25
_Atom_ joined22:26
ParsectiX joined22:26
johtso_ left22:26
moei left22:26
johtso_ joined22:26
cavallari joined22:28
Lancien_ joined22:28
Lancien joined22:28
Lancien_ left22:28
modocache joined22:29
modocache left22:29
neonKow joined22:29
maletor joined22:29
modocache joined22:29
baweaver left22:30
PeterBooker left22:31
Pr0Wolf29 left22:31
zumba_addict joined22:33
mattcen left22:33
Spacew00t left22:33
the_cybersphinx left22:33
mattcen joined22:34
Noldorin joined22:35
mafrasi2 left22:35
joetam left22:36
moei joined22:36
reaverb joined22:37
zacts left22:37
cbonobo left22:38
pm90__ left22:38
iamjarvo joined22:38
baweaver joined22:38
cbonobo joined22:38
iamjarvo left22:38
EminenceHC joined22:39
_2_ joined22:39
steele_ left22:39
mattcen left22:39
iamjarvo joined22:39
ottanta so, in man git-config under branch.<name>.merge it makes no reference to the syntax which eventually results in things like /refs/heads/master22:39
gitinfo the git-config manpage is available at http://jk.gs/git-config.html22:39
Tuna-Fish left22:41
Prke joined22:41
Takle left22:41
cbonobo left22:42
smccully left22:43
stickperson joined22:43
codejunky left22:43
Uoen left22:43
EminenceHC left22:43
stickperson left22:43
codejunky joined22:44
zumba_addict left22:44
_2_ left22:45
bannakaffalatta left22:45
nettoweb joined22:46
Cust0sL1men joined22:46
web joined22:46
thevishy left22:46
Gitzilla joined22:47
AustinTheGrey joined22:48
CustosL1m3n left22:50
szymek left22:50
soman left22:50
gitinfo set mode: +v22:51
web I have a branch that I am cloning but my submodule information isn't. Am I using it incorrectly? git clone https://github.com/BClark-Grad-Project/site-template.git --branch gradproject --single-branch gradproject && cd gradproject && git submodule update --init --recursive22:51
sburgess left22:52
Tuna-Fish joined22:52
BrimanBriman|off22:52
ottanta single-branch doesn't take an arg22:53
hellome joined22:53
web that isn't an arg thats a directory22:53
mattcen joined22:54
Goopyo left22:54
ottanta oh ok22:54
web ottanta: you are talking about the gradproject after it correct22:54
ottanta yeah that makes sense22:55
Thorax15 left22:55
web the branch folder is showing in github. Is this a service issue maybe22:55
ottanta your submodules aren't in your git config, are you sure you added them22:57
'branch folder'?22:57
Guest43118 left22:57
Briman|offBriman22:57
web hmm. MAybe not I thought I did22:57
zumba_addict joined22:57
bronson joined22:57
web first time doing submodules22:57
zumba_ad_ joined22:59
odin22 left22:59
joetam joined22:59
danguafer left23:01
fstd joined23:01
web ottanta: wouldn't this be adding it: git submodule add -b gradproject https://github.com/BClark-Grad-Project/site-template.git local && git commit -m "Added" && git push origin gradproject23:01
geomyidae_ joined23:01
web oops left out the git add .23:01
but it was there23:01
Granitosaurus left23:02
zumba_addict left23:02
web git submodule add -b gradproject https://github.com/BClark-Grad-Project/site-template.git local && git add . && git commit -m "Added" && git push origin gradproject23:02
maybe I am missing a step23:02
nettoweb left23:02
baweaver left23:03
baweaver joined23:04
jerematic left23:04
phoenixz left23:04
baweaver left23:05
baweaver joined23:05
blubberbop joined23:07
zumba_ad_ left23:07
chitopunk left23:07
zumba_addict joined23:08
MarkyC_ joined23:09
baweaver left23:10
daftano left23:11
baweaver joined23:11
MarkyC left23:11
tmager joined23:12
tmager left23:12
web Am i doing something wrong when I add my submodule from branch: git submodule add -b gradproject https://github.com/BClark-Grad-Project/site-template.git local && git add . && git commit -m "Added" && git push origin gradproject23:12
KennyRayFL left23:12
web Because when I clone with submodule it doesn't work: git clone https://github.com/BClark-Grad-Project/site-template.git --branch gradproject --single-branch gradproject && cd gradproject && git submodule update --init --recursive23:13
mikiones left23:13
web ask it a different way :)23:13
baweaver left23:15
daftano joined23:16
endiruna joined23:16
ska joined23:16
ska Im working on a feature branch.. I've messed up the remote branch, but I was able to rewind my local branch correctly. Can I remote my remote branch and push up my local again?23:17
nilg left23:17
ska can one just delete the branch on github and push up the local again?23:18
stickperson joined23:18
qsuscs ska: !force_push !rewrite23:18
gitinfo ska: If you need to overwrite the history of a remote git repository (very bad idea, see !rewrite), you can do so with `git push -f`. Note the remote server may reject this. See man git-config and search for receive.denyNonFastForwards. Best practice is for upstream servers to denyNonFastForwards.23:18
ska: Rewriting public history is not recommended. Everyone who has pulled the old history have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push -f <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum23:18
ottanta git push origin --delete <branch>23:18
qsuscs's suggestion is probably better23:19
hexagoxel left23:19
ascarter left23:19
f3lp left23:19
hexagoxel joined23:19
ska Its a small branch that I control, nobody else is branching from it.23:19
morois left23:20
web okay give on using submodule. This seemed straight forward but it aint working.23:20
ascarter joined23:21
shpoont joined23:22
bluesm left23:23
madewokherd joined23:24
bronson left23:24
Arsonide left23:25
web oh boy I need to pull away can't believe I was pulling the wrong repo23:27
I am starting to make stupied overlooks23:28
yeah submodules, yeah nap!23:28
joetam left23:29
web slaps the back of his head since he is his own boss23:29
the_cybersphinx joined23:30
ghostpl_ left23:30
modocache left23:30
opdavies left23:31
modocache joined23:31
knownasilya left23:31
f3lp joined23:32
MarkyC_ left23:34
_Cyclone_ left23:34
delinquentme how do: remove single commit from history ?23:36
deltab is it the most recent one?23:36
if so, git reset HEAD^23:37
bronson joined23:38
ascarter left23:39
iamjarvo left23:39
steele joined23:39
FreezingCold left23:39
MarkyC joined23:40
cdown joined23:40
lvegerano joined23:40
ottanta_ joined23:41
lvegerano left23:42
aartist left23:42
hmmmm joined23:43
ErKa left23:43
GoddeR left23:43
ehmatthes joined23:44
hmmmm hi i have this odd problem with tabs23:44
i just migrated to a new installation and i copied over my git repositories just fine23:45
now when I go to edit some files with a different text editor, tabs are showing up as spaces in git diff23:45
however!! this is where it gets interesting23:45
cdown left23:45
hmmmm i compared both versions of the file in a hex editor and there is literally no difference, they're both the same \x09 character23:45
has anybody experienced an issue like this and might know what it's caused by?23:46
steele left23:46
The_Phoenix joined23:46
otter768 joined23:46
hmmmm I guess what I should ask is if there's a way to show a git binary diff23:47
delinquentme deltab:nah I have one thats 4 commits back23:47
akiva left23:48
ottanta_ left23:48
AaronMT left23:48
delinquentme git rebase --onto <commit-id>^ <commit-id> HEAD23:48
?23:48
baweaver joined23:48
livingstn left23:49
axs221 left23:49
tier joined23:50
opdavies joined23:50
deltab hmmmm: how do you mean "showing up as spaces"?23:51
Trudko_ left23:51
otter768 left23:51
deltab delinquentme: do you want to remove the change that commit made?23:51
relipse left23:51
deltab or make the change part of another commit?23:52
Prke left23:52
CheckDavid joined23:52
ghostpl_ joined23:53
ottanta_ joined23:53
Gizburdt joined23:53
ica joined23:54
hmmmm deltab, maybe this helps illustrate it better: http://s15.postimg.org/r202ju4kb/snapshot1.png23:55
boombatower left23:55
mingwandroid left23:55
brandon joined23:56
brandonGuest5851923:56
ica left23:56
ParsectiX left23:56
iamjarvo joined23:56
lsiv568 joined23:57
iamjarvo left23:57
toothrot joined23:57
iamjarvo joined23:57
pvoho joined23:57
pvoho left23:57
Gizburdt left23:57
ghostpl_ left23:58
uog joined23:58
uog left23:59

Logs Search ←Prev date Next date→ Channels Documentation