IRCloggy #git 2013-11-07

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.

2013-11-07

CheckDavid left00:00
CheckDavid joined00:00
groglogic left00:00
yargy joined00:00
hyperair joined00:01
CheckDavid left00:02
CheckDavid joined00:02
Chiftin left00:04
SoftwareMechanic joined00:04
fuzzybunny69y left00:05
cenuij joined00:06
felixsamora left00:06
Sigma left00:07
mmcdaris left00:07
mmcdaris joined00:07
CKyle joined00:08
cyphase left00:08
axl_ left00:08
kriks left00:09
hashpuppy left00:10
rchavik joined00:11
batrick left00:12
decotii left00:12
Boohbah left00:13
CheckDavid left00:14
felixsamora joined00:14
felixsamora left00:14
CheckDavid joined00:14
joshbetz left00:15
koptein joined00:15
jerius joined00:15
ulkesh joined00:15
Destos joined00:16
kirin` left00:16
echo-area left00:16
frgtn left00:17
frgtn joined00:17
ezio joined00:17
CycoCid joined00:17
aspiers left00:20
_iron left00:21
pitzips joined00:21
eaj joined00:21
frgtn left00:22
bakers left00:23
kriks joined00:23
richgilbank left00:24
shinnya joined00:24
nwertman left00:25
asQuirreL left00:25
arand joined00:25
crazydiamond left00:26
nettoweb left00:26
CKyle left00:27
eaj left00:27
infynyxx left00:29
nwertman joined00:29
pandeiro joined00:29
Boohbah joined00:29
hyperair left00:29
ismlages left00:30
hobodave left00:30
kriks left00:30
Zeam left00:31
ojacobson joined00:32
ezekielnoob joined00:32
chuckharmston left00:32
dyng joined00:33
apipkin left00:33
yargy left00:34
harobed_ left00:34
whaley joined00:34
ozymandias_ joined00:35
dyng left00:35
dyng joined00:35
spaceonline left00:36
ozymandias_ is it possible to 'clone' a repository starting at the original and pushing to the new? I have a server that I have unrestricted egress, but restricted ingress I want to clone from00:36
mfulz left00:36
zarubin left00:36
ozymandias_ or could I just scp the whole directory and use that as the start?00:37
tang^ you could scp, but then you lose the remote link. mind you, with limited ingress, you'd lose the link to that remote anyway00:38
jday_ joined00:38
tang^ left00:39
Robarelli left00:39
ozymandias_ yeah, I want to move it so the master repo is on a more accessible server and pull everything from it00:39
Mars__ joined00:39
dyng left00:39
cesarkawakami joined00:40
dyng joined00:40
FernandoBasso left00:40
ojacobson ozymandias_: man git-clone, man git-push00:40
gitinfo ozymandias_: the git-clone manpage is available at http://jk.gs/git-clone.html00:40
ozymandias_: the git-push manpage is available at http://jk.gs/git-push.html00:40
ojacobson read the `--mirror` docs for each00:40
ozymandias_ ty00:41
Sigma joined00:42
threesome joined00:42
MacWinner joined00:43
yargy joined00:44
sfz_ left00:46
sfz joined00:46
dragon3_ joined00:46
dragon3_ left00:46
dragon3_ joined00:46
ticoucoutoulou joined00:47
sriracha joined00:49
ticoucoutoulou left00:49
Bosox20051 left00:50
chuckharmston joined00:50
thiago left00:50
sfz left00:50
joelrobichaud joined00:50
halu_ left00:50
Stygia left00:51
yargy left00:53
maestrojed I wish I had created my repo in the directory one level up (the parent directory). Is there a way to do this easily?00:54
yargy joined00:54
chuckharmston left00:55
harish left00:56
bitkiller joined00:57
whaley left00:58
decimad left00:59
AaronMT left01:01
yargy left01:02
ojacobson mv .git ../.git && git add --all ../01:03
nurey joined01:03
hyperair joined01:04
etcetera left01:04
akurilin2 left01:05
pitzips left01:05
SaCu joined01:05
Destos left01:06
raonyguimaraes left01:06
etcetera joined01:07
pfFredd left01:09
ehmatthes left01:09
SaCu left01:09
graphitemaster left01:09
huli_ left01:10
SaCu joined01:10
graphitemaster joined01:10
graphitemaster left01:10
graphitemaster joined01:10
rafaqueque left01:10
SaCu left01:11
92AAASC1P left01:12
mmlac-bv left01:12
SaCu joined01:12
weiyang joined01:13
hejia joined01:13
Destos joined01:13
tjj_ left01:14
rnsanchez left01:14
tjj_ joined01:15
Cassiel joined01:15
vipzrx joined01:16
vipzrx left01:16
wintrmute left01:16
DonRichie left01:18
DonRichie joined01:19
lresende joined01:19
diegoviola joined01:20
vipzrx joined01:20
vipzrx left01:20
chuckharmston joined01:21
yargy joined01:21
ehmatthes joined01:22
chuckharmston left01:22
chuckharmston joined01:22
Droolio joined01:23
kevwil left01:23
rhl left01:24
marhaban joined01:24
eaj joined01:25
nettoweb joined01:25
zhost left01:26
graphitemaster left01:26
harish joined01:27
graphitemaster joined01:27
graphitemaster left01:27
graphitemaster joined01:27
rchavik left01:27
chuckharmston left01:27
Sigma left01:28
Destos left01:28
pr0ggie left01:28
pdimitrov left01:28
pr0ggie joined01:29
xeqution left01:29
zedsix joined01:29
zedsix left01:29
zedsix joined01:29
pdimitrov joined01:29
whunt left01:29
SoftwareMechanic left01:30
pandeiro left01:30
maestrojed ojacobson thanks01:30
degasus joined01:30
hwrd|work left01:31
eaj left01:31
harish left01:32
rjhunter joined01:33
cenuij left01:34
woollyams joined01:34
joelm_ joined01:35
s_e left01:35
nhmood joined01:36
s_e joined01:36
joelm left01:36
knighthawk joined01:36
nhmood Is there any way to view the diff of a file that has already been staged (added) to a commit without removing it from staging?01:37
preaction nhmood: git diff --staged01:37
goshawk left01:39
dhruvasagar joined01:40
steak Does anyone know of any git multi master documentation?01:40
maestrojed left01:40
chuckharmston joined01:41
victorbjelkholm left01:41
nhmood preaction: thank you!01:41
bwreilly_ joined01:42
bwreilly_ left01:42
penguin42 left01:42
steak Specifically syncing between masters01:42
bwreilly left01:44
AWinterman left01:44
ojacobson steak: git doesn't have masters (other than the default name of the branch 'git init' sets up); what are you really asking here01:47
SHyx0rmZ left01:47
crankharder so I mentioned this earlier today -- been getting this error "fatal: Could not change back to '(unreachable)/scow': No such file or directory" from "git status" -- speculation that the filesystem was corrupt or the path was changing came up. but i dont think that's it01:47
I just remembered I checked the 'encrypt your home directory' when I set this new Ubuntu box up01:48
kwmiebach left01:48
acl_ joined01:48
crankharder so maybe ubuntu is experiring the decrption of the session somehow?01:48
harish joined01:48
crankharder I can still see things with "ls ~/" and other various paths... which is odd01:48
steak ojacobson: This is for the purpose of soft migration from our existing centralized git workflow to using Gerrit as our central server.01:49
mdiers left01:49
luc_ joined01:51
wafflejock joined01:51
shruggar left01:52
harish left01:53
Sigma joined01:54
marhaban left01:56
glebihan_ joined01:57
lresende left01:59
lresende joined01:59
glebihan left02:00
dsdeiz joined02:00
pigeon left02:01
Abb_s left02:01
pigeon joined02:02
tvw left02:03
jcromartie left02:03
_ikke_ left02:06
harish joined02:06
jrnieder steak: do you mean you want to have multiple git servers that accept pushes and forward the updated refs to each other?02:06
steak: that sounds complicated02:06
steak: what happens when both servers receive an update to the same ref?02:07
steak Yeah, that's the one02:07
nettoweb left02:07
steak There would need to be a merge commit made.02:07
jrnieder steak: what happens if the changes conflict?02:07
Davey left02:08
daito joined02:08
vipzrx joined02:08
jrnieder steak: i.e., I modify a line to say "A" on one server, and my coworker modifies the same line to say "B" through another server, at the same time02:08
batrick joined02:08
steak which would then be sent to both the servers. I'm guessing on merge conflict, there would need to be manual intervention. This would be temporary for the change over period only. Hence wondering if anyone has ever done it before.02:09
jrnieder steak: ok. I don't think anyone has done this :)02:09
steak: what's more common is (a) using some shared storage (NFS, database, or whatever) for the two git servers so conflicts can't happen02:09
Tommy[D] left02:09
marcidy left02:10
jfoy left02:10
steak Yeah, I'm starting to wonder if that might be an easier route. Also, not as easy as it sounds though..02:10
jrnieder steak: or (b) treating the two servers as completely decoupled in normal operation, and regularly synching up when there is a person around in case they might need to resolve conflicts02:10
Davey joined02:10
jrnieder steak: that person can run a script that checks out the branch from their own server, pulls from the other server, and then pushes the result02:11
Treggats left02:12
jrnieder steaks: that's sort-of how many open source projects work --- the project's maintainer pulls from people who have been making changes without bothering the maintainer up until then02:12
steak What I was thinking is having the scripts run, and break on conflict fail for human intervention. So in the normal case that there are merge conflicts, the sync happens fast.02:13
jrnieder steak: sure. but since conflicts can happen, conceptually these are decoupled servers02:13
kpreid left02:15
jrnieder steak: as long as that's acceptable, it's a fine way to go. (It means you can't e.g. make your load balancer randomly route requests to both as though they were indistinguishable servers.)02:15
steak Yes, that is correct. I guess multi master isn't the best term to give it. But it's not far off what I am thinking about.02:15
gdoteof left02:15
jhulten left02:15
gdoteof joined02:15
petey left02:15
CKyle joined02:15
jhulten joined02:15
Watabou joined02:15
marcidy joined02:15
jrnieder steak: at my work we have the shared storage thing working well02:16
Goopyo_ joined02:16
bitkid left02:16
steak Correct, the complexity of load balancers etc isn't a problem for us. It's mostly just minimizing sharp developer work flow transitions.02:16
jrnieder steak: since we're using some weird databasy thing instead of NFS, it's fussy, but it mostly works :)02:16
steak Yeah I think I need to investigate the shared storage idea further.02:17
ojacobson sharing storage between a `git`-based server and gerrit is a non-starter02:17
gerrit (well, jgit) doesn't guarantee the same locking mechanisms, AFAIK02:18
you're going to have to solve this with meat, or with a sharp transition, I think02:18
jrnieder I thought jgit did use the normal locking mechanism for ref updates02:18
steak ojacobson: OK thanks, that's good to know.02:18
ojacobson Could be02:18
jrnieder but I agree that a sharp transition is nicest :)02:18
hwrd|work joined02:18
Goopyo left02:19
Goopyo_Goopyo02:19
nettoweb joined02:19
steak Sadly, that's not an option for us.02:19
jhulten left02:20
ojacobson Of course it is02:20
you might not like it, and you might want to avoid it, but it remains an option02:20
if nothing else, you can turn writes on one off and the other on at a well-announced time02:20
netoholic left02:22
lu_zero joined02:22
DaveyEomar02:24
txwikinger joined02:24
txwikinger left02:24
txwikinger joined02:24
r0bby_ joined02:25
guampa left02:26
CKyle left02:27
steak haha this company has more politics than the white house.02:28
eaj joined02:28
CKyle joined02:28
SocalNick left02:30
steak jrnieder: Thanks for your input :)02:30
ojacobson: Same goes, thanks.02:30
jkremser left02:30
rchavik joined02:31
Jabberish left02:32
Jabberish joined02:32
delasteve joined02:33
_Harm_B_ left02:34
eaj left02:34
etcetera left02:34
Sigma left02:35
Targen left02:36
felixsamora joined02:37
felixsamora left02:37
felixsamora joined02:38
Vampire0 left02:39
Vampire0_ joined02:39
felixsamora left02:39
kpreid joined02:40
knighthawk left02:40
felixsamora joined02:40
macabre joined02:41
felixsamora left02:41
sylon joined02:42
mitz left02:44
PaulCapestany joined02:47
Goopyo left02:48
mmcdaris left02:48
conan joined02:48
abelsiqueira left02:50
txwikinger left02:50
CKyle left02:51
felixsamora joined02:51
felixsamora left02:51
tang^ joined02:51
felixsamora joined02:52
felixsamora left02:52
txwikinger joined02:52
felixsamora joined02:53
felixsamora left02:53
felixsamora joined02:54
txwikinger left02:54
felixsamora left02:54
felixsamora joined02:55
felixsamora left02:55
txwikinger joined02:55
txwikinger left02:55
txwikinger joined02:55
felixsamora joined02:55
felixsamora left02:56
hwrd|work left02:56
chrisss404 left02:58
macabre^ joined02:58
macabre left02:58
PaulCapestany left02:58
mitz joined02:58
intripoon joined02:59
chrisss404 joined02:59
dhruvasagar left03:00
PaulCapestany joined03:00
Sigma joined03:01
conan left03:01
intripoon_ left03:02
strobert left03:03
felixsamora joined03:03
felixsamora left03:03
strobert joined03:04
Dougie187 left03:04
ezio left03:04
nettoweb left03:04
shinnya left03:04
srcerer_ joined03:04
ezio joined03:04
rjhunter left03:05
rjhunter joined03:06
Cassiel left03:06
nettoweb joined03:07
srcerer left03:07
Destos joined03:08
Destos left03:08
felixsamora joined03:08
felixsamora left03:09
Mars__ left03:09
felixsamora joined03:09
felixsamora left03:09
felixsamora joined03:10
felixsamora left03:10
rjhunter left03:10
CKyle joined03:10
felixsamora joined03:11
Goplat joined03:11
felixsamora left03:12
mr_red left03:13
rm_workrm_work|away03:13
SocalNick joined03:14
CKyle left03:14
r0bby_ left03:15
echo-area joined03:16
rurufufuss joined03:17
galaris left03:17
krixxkraxx joined03:17
PaulCapestany left03:17
bitkiller left03:17
mr_red joined03:18
nafg joined03:18
knigitz joined03:18
thiago joined03:19
PaulCapestany joined03:19
eletuchy_ joined03:20
shuaib left03:21
ewnd9 joined03:21
macabre^ left03:21
macabre joined03:22
eletuchy left03:23
jhulten joined03:23
SocalNick left03:24
CheckDavid left03:25
eletuchy_ left03:25
Sigma left03:25
macabre left03:26
CKyle joined03:28
undecim left03:28
cannonball left03:29
dyng left03:31
eaj joined03:31
dyng joined03:32
undecim joined03:33
Mars__ joined03:34
SocalNick joined03:35
freestyl3r left03:35
curvedmark joined03:35
cyphase joined03:36
cyphase left03:36
dyng left03:37
thiago left03:37
Scarberian joined03:37
gdoteof left03:37
Scarberian help! i use vimdiff as my mergetool03:37
and I need to resolve a merge conflict03:38
eaj left03:38
Scarberian but it opens 4 files for mergine03:38
merging03:38
mribeirodantas left03:38
Scarberian BASE, LOCAL, REMOTE and what appears to be the straight up source file03:38
Cassiel joined03:39
guest212 joined03:41
nettoweb left03:42
harish left03:43
Sigma joined03:44
hwrd|work joined03:45
alvaro_o left03:45
PaulCapestany left03:46
cyphase joined03:46
rjhunter joined03:46
PaulCapestany joined03:50
Sigma left03:52
axl_ joined03:53
hwrd|work left03:55
hwrd|work joined03:56
tang^ left03:59
dsdeiz_ joined04:00
dsdeiz left04:00
tonyj joined04:01
tonyj_ left04:01
krixxkraxx left04:02
galaris joined04:02
ezekielnoob2 joined04:02
guest2121 joined04:04
ezekielnoob left04:05
woollyams left04:05
dsdeiz joined04:05
tang^ joined04:05
_ikke_ joined04:05
alfons83 left04:06
dsdeiz_ left04:06
guest212 left04:06
woollyams joined04:07
shoshin left04:08
alfons83 joined04:08
jerius left04:09
ewnd9 left04:09
mizu_no_oto joined04:10
cpg joined04:11
Treggats joined04:11
r0bby_ joined04:11
cpg hi, i keep on seeing some remotes/origin/blah branches when i do git branch -a04:11
like 9 of them04:11
tang^ that's what -a does04:11
cpg even though the origin is supposed to not have them04:11
SocalNick left04:11
tang^ shows youe -all04:12
cpg i think they should not be there04:12
lresende left04:12
cpg at least gitlab does not show them04:12
tang^ well, if origin isn't supposed to have them, somebody pushed them there04:12
lresende joined04:12
tang^ from gitlab's perspective, everything you see as origin/branch it sees as branch04:13
mmlac-bv joined04:13
cpg at some point they existed, but they were deleted, i thought04:13
how can i delete thes guys? git branch -d remote/origin/blah ?04:13
KillYourTV left04:14
cpg (somewhat noob to the deeper details of git)04:14
tang^ git push origin :<branch>04:14
Skrypter left04:15
eletuchy joined04:15
jhulten left04:15
tang^ cpg: man git-push will have some details on that04:15
gitinfo cpg: the git-push manpage is available at http://jk.gs/git-push.html04:15
SirFunk_ left04:15
Watabou left04:15
Watabou joined04:15
cpg tang^: thanks much. i have done that before with branches, but these ones are resilient04:16
SirFunk_ joined04:16
cpg $ git push origin :api-v03 … error: unable to delete 'api-v03': remote ref does not exist04:16
mitz left04:16
cpg but git branch -a does show remotes/origin/api-v0304:16
sqlnoob joined04:18
sqlnoob left04:18
daito left04:18
sqlnoob joined04:19
jhulten_ joined04:19
daito joined04:19
tang^ have you done a git fetch recently?04:19
cpg yes, i have04:19
Tommy[D] joined04:20
sqlnoob left04:20
cpg i tried to check out that branch and i see this: Branch api-v03 set up to track remote branch api-v03 from origin.04:20
tang^ hmm, odd04:20
cpg then i deliete it locally and try to push .. and it fails04:20
tang^ delete what and push?04:20
cpg so it does look like it exists at the origin repo04:20
mizu_no_oto left04:20
sqlnoob joined04:20
cpg git br -d api-v03: Deleted branch api-v03 (was 7df027e).04:21
$ git push origin :api-v03: error: unable to delete 'api-v03': remote ref does not exist04:21
sqlnoob left04:21
dreiss left04:21
txwikinger left04:22
sqlnoob joined04:22
tang^ and a git fetch --all says what?04:22
Sigma joined04:22
cpg $ git fetch --all: Fetching origin04:23
daito left04:23
cpg uh, i was able to delete another one of those origins: git push origin :api-v302: - [deleted] api-v30204:23
interesting04:23
sqlnoob left04:23
cpg let me try deleting the other ones04:24
lresende left04:24
sqlnoob joined04:24
joelm_ left04:25
joelm joined04:25
preflex_ joined04:25
cpg ok, only one was deleted - the rest all give an error http://ur1.ca/fzuo604:25
the error is: $ git push origin :local-server: error: unable to delete 'local-server': remote ref does not exist04:26
i tried with all (except master)04:26
only one was deleted04:26
the rest are resisting04:26
_davetoo joined04:26
preflex left04:27
earny left04:27
preflex_preflex04:27
tang^ hmm, let me try something locally04:28
twoface88 joined04:28
cpg gitlab showed only one branch (master)04:28
tang^ almost feels like there's a cache getting in the way04:29
cause fetch should make the two look the same04:29
earny joined04:29
dyng joined04:30
dsdeiz left04:30
dsdeiz joined04:30
cpg dunno. does gitlab do something odd?04:30
tang^ I'm not familiar with gitlab04:33
txwikinger joined04:33
jnavila joined04:33
echo-area left04:33
srcerer joined04:33
mitz joined04:34
eaj joined04:35
axl_ left04:35
srcerer_ left04:35
ewnd9 joined04:38
Scarberian left04:38
tanmayk joined04:39
twoface88 left04:39
twoface88 joined04:40
twoface88 left04:41
ezekielnoob joined04:41
eaj left04:41
yhager left04:42
yhager joined04:43
ezekielnoob2 left04:45
Eomar left04:45
nicedice left04:46
d8bhatta joined04:46
d8bhatta hello guys04:46
I have got few commits to cherry pick like a121344 , a343fs3, 23d2s33 , 3s23ass ...I cherry pick first one like git cherry pick 12134404:48
then second one...in second one i get conflict on a file...I resolved the conflict file, add to git and commit...and again run second git cherry pick...but agian i am getting same error...04:48
please suggest me how can I cherry pick series of committs04:49
woollyams left04:49
cebor left04:50
Targen joined04:51
cebor joined04:51
axl_ joined04:52
foucist d8bhatta: there is git cherry-pick youngest-sha..oldest-sha if they're consecutive apparently04:52
skorgon don't cherry-pick the commit twice04:52
foucist i never managed to make that work04:52
cads joined04:53
Sprinbit joined04:53
diegoviola left04:53
d8bhatta thanks guys, how could we push certain commits to release branch instead of cherry-pick04:53
?04:53
yacks left04:55
jwmann joined04:56
skorgon well, to integrate changes into a branch you usually use merge, cherry-pick or am. and then you can publish the branch if you like. so, depending on your workflow and what you want to achieve, cherry-pick is probably the right tool04:56
felixsamora joined04:57
daito joined04:57
jhulten_ left04:58
dreiss joined04:58
axl_ left04:58
tang^ left04:59
d8bhatta skorgon: thanks, i have to spend lots of time just resolve the conflicts that appears during cherry-pick of several commits...so probably i didn't care that which one is older and younger...so it looks like we need to cherry-pick from most recent commits to older commits...right?04:59
skorgon rather from old to young. the younger should be based on older work, right?05:00
dhruvasagar joined05:01
d8bhatta skorgon: yes, young is based on old..05:01
BBonifield joined05:02
Sigma left05:02
hwrd|work left05:02
mizu_no_oto joined05:02
eaj joined05:03
felixsamora left05:03
d8bhatta skorgon: mistakenly I have cherry-picked few youngest commits and pushed to the branch....and now i am not able to cherry-pick most oldest one ....so in this case, should i revert all those commits and start cherry-pick from older to younger?05:03
skorgon did you already publish your changes and do you have downstream users? read !rewrite05:04
gitinfo [!rewriting_public_history] Rewriting public history is usually bad. 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` to force (and the remote may reject that, anyway). See http://goo.gl/waqum05:04
CKyle left05:05
Davey joined05:05
kermit left05:05
mj12albert joined05:05
d8bhatta skorgon: the code is pushed to release branch but I have not yet pulled the release branch into my live site...and also there is no body else workig on release branch except me...05:06
Davey left05:06
banisterfiend left05:07
Davey joined05:08
dhruvasagar left05:08
leeN joined05:09
skorgon left05:09
dhruvasagar joined05:09
skorgon joined05:10
skorgon d8bhatta: sorre, network issues on my side. i don't know if it made it through, in case not: have a look at !fixup05:11
gitinfo d8bhatta: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!05:11
mizu_no_oto left05:12
irqq left05:13
Davey left05:13
saurabh joined05:13
darkf joined05:13
jaseemabid joined05:14
jaseemabid left05:14
darkf Hi - I'm trying to edit a hunk with `git commit -p`, but no matter how I edit it, it fails to apply (on line 411 apparently.) I've tried just replacing some of the + with space and also editing the line count. Here's the hunk: http://lpaste.net/138436162414759116805:15
jaseemabid joined05:16
joelm left05:16
Sprinbit left05:16
Davey joined05:18
luxgeek left05:18
tdm00 joined05:18
Sigma joined05:18
the_cybersphinx left05:19
madewokherd left05:21
Gamecubic left05:21
CreativeEmbassy joined05:21
delasteve left05:24
johnnyfuchs joined05:24
mmlac-bv left05:24
maroloccio2 left05:27
h0bbit_ joined05:27
wbill left05:29
nnyk_ joined05:29
clone1018_ joined05:29
Ziber left05:29
User458764 joined05:29
alindeman left05:29
SirFunk left05:30
hhuuggoo left05:30
hhuuggoo joined05:30
clone1018 left05:30
wbill joined05:30
alindeman joined05:31
mizu_no_oto joined05:32
LuxuryMode joined05:33
crazydiamond joined05:34
johnnyfuchs left05:34
SirFunk joined05:35
wbill left05:35
CKyle joined05:37
Ziber joined05:37
tpope left05:40
User458764 left05:40
iderik joined05:40
maleknet joined05:43
maleknet left05:43
dhruvasagar left05:43
Goopyo joined05:44
dhruvasagar joined05:44
canoon joined05:44
Ragnor left05:45
tpope joined05:45
r0bby_robbyoconnor05:45
sfz joined05:46
jazz264 joined05:47
jaseemabid left05:49
dhruvasagar left05:50
dhruvasagar joined05:50
degasus left05:50
neo1691 joined05:52
kukks left05:54
Tommy[D]_ joined05:55
fobius_ joined05:56
LuxuryMode left05:56
WernerZA joined05:57
WernerZA Hi guys05:57
gitinfo WernerZA: 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.05:57
neo1691 left05:57
WernerZA I'm trying to create a Git package using this command:05:58
crazydiamond left05:58
WernerZA git diff -z --name-only --diff-filter=MAR 5e2a4b4 98bb500 | xargs -s1000000 -0 git archive develop -o 'package.zip'05:58
I get the following error, there is a problem with a specific commit05:58
simesy left05:58
Tommy[D] left05:59
WernerZA xargs: git : Bad file number05:59
Any help would be appreciated :)05:59
mizu_no_oto left05:59
simesy joined05:59
Nibato left05:59
Garen left06:00
Garen joined06:01
akurilin left06:02
fobius_doliver06:03
groglogic joined06:03
matanya left06:04
simesy left06:04
Guest joined06:05
groglogic left06:06
nnyk_ left06:06
King_Hual joined06:06
asdfadfe joined06:07
chuckharmston left06:07
chuckharmston joined06:07
pigeon left06:08
CreativeEmbassy left06:08
pigeon joined06:09
canoon WernerZA, that -s1000000 looks like its the problem06:10
sriracha left06:11
CKyle left06:11
chuckharmston left06:12
ewnd9 left06:13
simesy joined06:13
Nibato joined06:14
jnavila left06:14
guest212 joined06:15
Search12 joined06:15
Lewoco joined06:15
xobb joined06:16
Search12 left06:16
Lewoco Why doesn't this work?: git --git-dir=~/tmp/MyGitRepoClone fetch06:16
canoon Lewoco, error?06:17
Lewoco fatal: Not a git repository: '~/tmp/MyGitRepoClone'06:17
canoon oh git --git-dir=~/tmp/MyGitRepoClone/.git fetch06:17
i assume its a nonbare?06:18
Lewoco canoon, That's right06:18
simesy left06:18
Lewoco canoon, But I tried that already. Same error.06:18
guest2121 left06:18
ezio left06:18
foxmk joined06:18
corygibbons joined06:19
ezio joined06:19
guest212 left06:20
Lewoco canoon, I already checked that ~/tmp/MyGitRepoClone and ~/tmp/MyGitRepoClone/.git exist, so I think maybe I'm just using --git-dir wrong?06:20
robbyoconnor left06:20
robbyoconnor joined06:20
canoon Lewoco, yeah, idk, I assume everything works as normal inside it?06:21
Lewoco canoon, Yup. This seems to work (i.e. no errors): (cd ~/tmp/MyGitRepoClone; git fetch)06:22
canoon Lewoco, oh unless it can't handle the ~06:22
Lewoco canoon, ~ should get expanded by bash06:22
I don't think git will ever see it.06:22
WernerZA canoon, I put that in because i got a problem previously where i tried to package too many files06:22
canoon not if its in the middle of a argument06:22
Lewoco canoon, Damn you're right!06:22
canoon WernerZA, yeah it looks like git can't handle that many files on the command line though06:23
Lewoco canoon, With $HOME it works. Thank you.06:23
canoon np06:23
attermr1 joined06:23
WernerZA canoon, is there a GUI that can create packages?06:23
|Freeman| left06:24
|Freeman| joined06:24
canoon WernerZA, not that i'm aware of if you have a working directory you could just use tar though06:24
then just use tar though06:25
lite_ joined06:25
JeremyWei joined06:26
WernerZA Ye we did that thanks canoon, we using Msbuild to automatically deploy two environments, and we use that command to get the difference between branches06:27
lite_ left06:27
WernerZA so it's a automated process06:27
canoon WernerZA, git diff -z --name-only --diff-filter=MAR 5e2a4b4 98bb500 | xargs -s1000000 -0 git archive develop > archive.tar06:27
foxmk_ joined06:27
lite_ joined06:27
canoon wait06:27
arvind_khadri joined06:27
canoon git diff -z --name-only --diff-filter=MAR 5e2a4b4 98bb500 | xargs -0 git archive develop > archive.tar06:27
then convert that to a zip?06:27
WernerZA O i see what you mean06:27
Will try that thanks06:27
rjhunter left06:27
pdimitrov left06:27
pdimitrov joined06:28
pr0ggie left06:28
foxmk left06:29
foxmk_foxmk06:29
pr0ggie joined06:29
beautifulmind joined06:29
ayaz joined06:30
ayaz left06:30
ayaz joined06:30
dhruvasagar left06:30
hwrd|work joined06:30
WernerZA Thanks canoon, that works :)06:31
dhruvasagar joined06:31
WernerZA Just lastly, is there a way to ignore .gitattributes and .gitignnore when creating a package06:31
canoon you mean not include them in the package?06:32
WernerZA yeah06:32
canoon hmm grep maybe?06:33
not sure if there's a -0 like flag though06:34
galaris left06:34
krixxkraxx joined06:35
foxmk left06:35
User458764 joined06:35
WernerZA Yes grep works, but we not sure how to use it on more than one file06:35
tpollard left06:35
tdm00 left06:36
simesy joined06:36
canoon grep -v '^.git' should work06:36
-v is inverse i believe06:36
BiggFREE joined06:37
corygibbons left06:37
calcifea left06:37
leeN left06:38
robbyoconnor left06:38
corygibbons joined06:38
hwrd|work left06:38
kbart joined06:39
Targen left06:40
doliver left06:40
matanya joined06:41
attermr1 left06:41
samholmes left06:42
svector joined06:42
mordox joined06:42
mordox i'm here for tasty burgers06:43
matanya left06:43
ThomasLocke joined06:44
akiress joined06:44
zapb joined06:44
osse WernerZA: are you using bash? try shopt -s extglob; git diff .... -- !(.gitattributes|.gitignore) |06:44
matanya joined06:44
WernerZA thanks canoon06:45
jargon joined06:46
JeremyWei left06:46
tm512 is there a way to make git post-receive deal with more than a single branch?06:46
joelroa joined06:46
akiress left06:47
_Harm_B_ joined06:47
moritz yes06:47
ewnd9 joined06:47
osse tm512: post-receive receives newline seperated data about each read06:47
akiress joined06:47
mordox left06:47
bitkid joined06:48
WernerZA tm512, cool looks like it works, thanks06:48
dhruvasagar left06:48
tm512 osse: ah, so I'd just have to put it in a while read old new ref ; do ... ; done06:49
dhruvasagar joined06:49
marthinal joined06:49
kerrick joined06:49
abrkn joined06:49
osse tm512: correct06:49
User458764 left06:49
papegaaij joined06:49
tm512 trying to make an IRC bot to do this with all the repos I have on gitolite06:50
tonyj left06:51
dhruvasagar left06:51
tm512 like [repo][branch] abcdef - New things06:51
except with the colors not messed up06:51
SamB tm512: we can't see the colors anyway06:52
this channel seems to have them stripped06:52
tonyj joined06:52
tm512 aw, that's no fun06:52
echo-area joined06:53
Sigma left06:53
dhruvasagar joined06:54
acl_ left06:57
takamichi joined07:00
cyphase left07:00
dhruvasagar left07:01
longbeach left07:01
Orbitrix joined07:01
Orbitrix left07:01
wafflejock left07:01
dhruvasagar joined07:01
trusktr left07:01
Orbitrix joined07:01
yhager left07:01
eijk joined07:04
ciampix joined07:04
m0ltar joined07:05
duke_ /window close07:05
duke_ left07:05
maleknet joined07:05
macrover joined07:06
daito left07:06
daito joined07:07
robbyoconnor joined07:07
dhruvasagar left07:08
dhruvasagar joined07:08
lb1a joined07:09
soee joined07:10
f0ster left07:10
Raging_Hog joined07:10
zequence joined07:11
pantsman joined07:11
SergeyPenkin joined07:11
daito left07:11
Goplat left07:11
dhruvasagar left07:13
Zarthus joined07:13
eijk_ joined07:14
eijk left07:14
TomyLobo joined07:15
|Freeman| left07:17
WernerZA tm512, what does shopt -s extglob; do?07:18
svector left07:18
bwreilly joined07:18
tm512 no idea why you're asking me, because I don't know for sure07:18
but my best guess is that it turns on extended regex for globs in the shell07:18
yhager joined07:19
WernerZA osse*07:19
dhruvasagar joined07:19
WernerZA osse, what does it do?07:19
SamB why not read the shell manual?07:19
kcj_ joined07:20
WernerZA because I don't have it07:20
And he probably already knows07:20
howitdo left07:20
kcj left07:21
kcj_ left07:22
kcj joined07:23
ezioa joined07:24
osse WernerZA: it matches everything except those two files07:24
so like * except...07:24
etcetera joined07:24
netiul joined07:25
daito joined07:26
dhruvasagar left07:26
osse and you have the shell manual (probably): man bash07:26
ezio left07:26
WernerZA Ok cool, does it alter anything permanently in the shell or is it per command?07:27
dhruvasagar joined07:27
el3ctron_ left07:27
nnyk_ joined07:27
SimonNa joined07:28
osse WernerZA: you need to have run 'shop -s extglob' for it to work, and that enables extra globbing syntax07:28
CycoCid left07:29
osse until either the script/your shell exits or you turn it off again07:29
eaj left07:29
osse but it's powerful, i would put it in .bashrc07:30
eaj joined07:30
Xethron joined07:30
Xethron left07:30
Xethron joined07:30
jday_ left07:32
pantsman left07:32
lun__ joined07:32
simesy left07:33
howitdo joined07:34
simesy joined07:34
simesy left07:34
WernerZA osse: thanks, the reason I'm asking is because it looks like it is leaving other stuff out as well. My packages don't have all the files the should have.07:34
simesy joined07:34
mj12albert left07:34
WernerZA How do I turn it ff just to test?07:34
off*07:34
lcoddocl left07:35
eaj left07:35
himynameisdog joined07:35
Squarism joined07:35
dhruvasagar left07:35
dhruvasagar joined07:36
GuestShoshin07:36
freimatz joined07:37
rchavik left07:38
himynameisdog left07:39
lc0dd0cl joined07:39
lc0dd0cl left07:40
lc0dd0cl joined07:40
frgtn joined07:41
Ozch joined07:41
robbyoconnor left07:41
bwreilly left07:41
cbreak-work joined07:42
cads left07:42
lc0dd0cl left07:43
user258467 joined07:43
lc0dd0cl joined07:44
osse shopt +s extglob07:45
h_kon joined07:46
zequence left07:46
WernerZA thanks man07:46
Norm_ left07:47
shruggar joined07:47
zequence joined07:47
jarr0dsz joined07:48
ewnd9 left07:48
ewnd9 joined07:48
liefer joined07:49
krixxkraxx left07:49
glebihan_ left07:49
fRAiLtY- joined07:49
glebihan_ joined07:49
liefer I cloned a remote repository using one username, "UserA". I would very much like to change this to using "UserB" for instead. How do i do this? "git remote set-url origin ssh://UserB@server" ?07:50
threesome left07:50
tnishant modify in vim .git/config ?07:51
instaed of command try to modify the configuration file directory07:51
_iron joined07:52
liefer tnishant: oh, i see. Thank you07:52
glebihan_ left07:53
ezioaezio07:53
glebihan_ joined07:53
ezio left07:53
ezio joined07:53
Shoshin left07:54
Guest21101 joined07:54
shoshin joined07:55
shoshin left07:55
shoshin joined07:55
kamal__kamal_07:56
weiyang left07:58
TomyLobo left07:59
rchavik joined07:59
eaj joined08:00
ItSANgo_ joined08:00
dhruvasagar left08:01
mmcdaris joined08:01
foxmk joined08:02
etcetera left08:02
dhruvasagar joined08:02
koda joined08:02
dreiss left08:04
eaj left08:06
zakishaheen joined08:07
iveqy tnishant: it's really better to modify the config files with git commands rather than with an editor. Since many git users unfortunately have really bad editors =(08:07
rendar joined08:07
tnishant thats true ivegy08:08
halu joined08:08
lb1a iveqy, vi ftw08:08
conan joined08:08
d8bhatta Hello guys , I have used git rm -r --cached foldername to untrack those files which have been tracked bit not necessary to track...it works fine in my local ,..I committed and push to a branch from my local....now when I git pull in development server, it deletes all those files and folder which I don't want08:08
rob_w joined08:08
beautifulmind left08:08
iveqy tnishant: personally I prefer to edit the configs, but yet again, I've a sane editor =)08:08
lb1a d8bhatta, that's correct behaviour of git08:08
iveqy lb1a: I'm actually not that hardcore. I prefer vim08:08
tnishant i am hoping its vim .. then its pretty fine08:08
d8bhatta now there is problem..i want to get back those files and folder in my dev server08:09
lb1a iveqy, me too most of the time ;)08:09
d8bhatta, you commit a change that said, stop caring about these files. and that what git does. it removed them from the version control.08:09
Chais can someone please help me. I just pulled the latest changes from remote but for some reasons they aren't applied locally08:09
canoon d8bhatta, copy them to your dev server, a somewhat standard way is to commit .sample files08:09
iveqy d8bhatta: you can use man git checkout to get an old version of those files, but since you deleted them, of course git won't show them08:09
gitinfo d8bhatta: the git-checkout manpage is available at http://jk.gs/git-checkout.html08:09
iveqy Chais: !repro08:10
gitinfo Chais: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will help immensely with troubleshooting.08:10
iveqy Chais: specially the output of git status is needed08:10
foxmk left08:10
lb1a iveqy, damn i almost finished my solution to d8bhatta and you were faster ;)08:10
DaisyTheCow joined08:10
zakishaheen left08:10
d8bhatta lb1a: ok..i didn't realise this...I want those files to appear in div...so is there any way to recover those files except copying ?08:11
xobb left08:11
canoon d8bhatta, git checkout HEAD^ <files> (assuming they were in the previous revision)08:11
lb1a d8bhatta, as iveqy said, you can check them out from a previous version. git checkout <sha of good version> -- <path>08:11
harobed_ joined08:11
harobed_ left08:11
d8bhatta canoon: i have hundereds of files08:11
lb1a d8bhatta, specify a path as you did with git rm --cached08:12
twoface88 joined08:12
harobed_ joined08:12
twoface88 left08:12
d8bhatta git checkout <sha of good version> -- <path> :what should be here "sha of good version" . Here is list of my commits08:14
37f1fe7 #4 code created for image change is reverted08:14
d039666 media images are removed from git repo08:14
8b98bfc un-necessary files removed from git tracking08:14
c31aacd number format changed to two point decimal for subtotal and shipping amt08:14
8b98bfc and 039666 are those two commits that removed all of my files08:14
iveqy d8bhatta: !pastebin08:16
gitinfo d8bhatta: [!paste] Please paste snippets longer than one line at a pastebin site, such as https://gist.github.com/ rather than in-channel.08:16
Chais iveqy: https://gist.github.com/anonymous/42b35076251fde6c21ed08:16
iveqy d8bhatta: and we can't possible know what commit you're satisfied with. Probably the commit previous to the commit where you did the git rm08:17
dhruvasagar left08:17
vipzrx left08:17
dhruvasagar joined08:18
d8bhatta sorry guys..i pasted it here08:18
thiago joined08:18
iveqy Chais: read line 10-18 in the link you posted08:18
CodeShark joined08:18
glebihan_ left08:19
Chais >_< thanks iveqy08:20
glebihan_ joined08:20
Chais reading usually helps08:20
d8bhatta iveqy : here is paste http://paste.org/68436 I want to keep 37f1fe7 and all commits from c31aacd08:20
joelrobichaud left08:20
iveqy Chais: yes, and git usually have pretty nice messages, however ask if you don't understand them08:21
d8bhatta i want to delete 8b98bfc and 039666 commits08:21
noname001 joined08:21
iveqy d8bhatta: wait a second, do you want to checkout the files on the server or do you want to delete commits? I'm confused08:21
Chais iveqy: I'm just awfully confused by git. I used svn before, which seems so much easier08:21
threesome joined08:22
gua_ould joined08:22
d8bhatta iveqy: I want to checkout files in server and delete teh commit so that other developers dont face this issue into their local when they git pull08:22
dvide joined08:23
d8bhatta let's first try checking out the deleted files08:23
DonRichie left08:24
blahdodo left08:24
thiago left08:25
blahdodo joined08:25
macrover left08:25
glebihan_ left08:25
glebihan_ joined08:25
d8bhatta iveqy: please suggest about checking out the files08:25
h_kon left08:26
canoon git checkout --help08:26
aChatir joined08:26
iveqy Chais: !unlearn !talks (I recommend the one of Jessica Kerr) !books. Git isn't svn, and git uses a different abstraction model. git is really simple when you understand that model08:28
gitinfo Chais: Users of centralized VCSes will need to unlearn a number of habits in order to learn git. Many commands, such as "checkout" and "revert" bear little in common to those holding the same name in other systems.08:28
Chais: Some good video talks about Git: [yt] http://goo.gl/z72s (Linus Torvalds: History&Concepts); [yt] http://goo.gl/R9H2q (Scott Chacon: Git basics, live examples); http://vimeo.com/35778382 (Randal Schwartz: Git basics, descriptional); http://vimeo.com/46010208 (Jesica Kerr: Git basics, descriptional)08:28
Chais: [!book] There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable08:28
d8bhatta git checkout <sha of good version> -- <path> , path referes to the deleted folder patg...which commit stands on ssh of good revision...08:28
iveqy^08:28
robbyoconnor joined08:28
yhager left08:28
canoon do you want the one before?08:29
its sha^08:29
iveqy d8bhatta: let's just stick with !revert that commit. A checkout obviously just confuses you. You probably want to do a man git revert since a man git reset would result in !public history rewrite08:30
gitinfo d8bhatta: That's a rather ambiguous question... options: a) make a commit that "undoes" the effects of an earlier commit [man git-revert]; b) discard uncommitted changes in the working tree [git reset --hard]; c) undo committing [git reset --soft HEAD^]; d) restore staged versions of files [git checkout -p]; e) move the current branch to a different point(possibly losing commits)[git reset --hard $COMMIT]?08:30
d8bhatta: [!rewriting_public_history] Rewriting public history is usually bad. 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` to force (and the remote may reject that, anyway). See http://goo.gl/waqum08:30
d8bhatta: the git-revert manpage is available at http://jk.gs/git-revert.html08:30
d8bhatta: the git-reset manpage is available at http://jk.gs/git-reset.html08:30
Guest21101 left08:30
aChatir left08:30
xobb joined08:31
_Harm_B_ left08:32
lb1a iveqy, i prefer scott over jessica, but i met him in person 2 times, maybe that's why i can relate to him much more08:32
danillonunes left08:32
iveqy I never met any of them =(08:32
lb1a iveqy, scott is awesome. although he cleary was working on something, he just put his macbook away and had a 30 minute talk with me in the hotel lobby we both checked into. (he was in town for a talk at a conference which i obviously joined :)08:33
tnishant does vim have git integration plugins ?08:33
Odd_Bloke tnishant: Check out fugitive.08:34
tnishant Right08:34
Odd_Bloke tnishant: https://github.com/tpope/vim-fugitive08:34
iveqy lb1a: sounds like a nice guy08:34
tnishant will try it08:35
h_kon joined08:35
dhruvasagar left08:35
dhruvasagar joined08:36
weiyang joined08:37
hoschi joined08:38
mmcdaris left08:39
lb1a iveqy, he really is :)08:40
galaris joined08:40
dhruvasagar left08:40
tanmayk left08:41
dhruvasagar joined08:41
conan left08:41
snql joined08:41
dfanjul joined08:41
FernandoBasso joined08:42
lb1a just got a little package of text markers. it has 2 "buttons". one says "push" the other one "pull" :D a gitified textmarker box :D08:43
Misan joined08:43
twoface88 joined08:44
psoo joined08:48
milki ?08:48
oo08:48
nnyk_ left08:49
dbuch joined08:49
alorence joined08:50
neo1691 joined08:50
intellix joined08:51
SamB sends lb1a a cake labeled "eat me"08:51
brandonw left08:54
holderbaum joined08:54
sfz left08:54
lb1a SamB, yeah you're allowed to grab a cookie from my cookie jar08:54
GT4066 joined08:55
sfz joined08:55
chineduu joined08:55
thierryp joined08:55
brandonw joined08:55
shruggar left08:57
dhruvasagar left08:57
Dev1L joined08:57
dhruvasagar joined08:57
mdiers joined08:57
sfz left09:00
cenuij joined09:00
banisterfiend joined09:00
iderik left09:01
joelmo joined09:01
guest212 joined09:02
Raging_Hog left09:02
Rob___ left09:02
rodrigo__ joined09:05
Watabou left09:05
Rob___ joined09:05
achadwick joined09:05
germanoak joined09:06
hyperair left09:07
hypera1r joined09:07
ehmatthes left09:07
chuckharmston joined09:08
ewnd9 left09:08
galaris left09:08
rodrigovaldes left09:09
andres Is there a way to control the tab width used in interactive commands?09:09
jazz264 left09:09
cenuij_ joined09:10
Ozch left09:10
kernelpanik joined09:10
kernelpanik hi guys09:10
gitinfo kernelpanik: 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.09:10
GT4066 left09:11
kernelpanik I have a problem... I have many repositories and I would like set a password to all.. how can I do it?09:11
vtunka joined09:12
Norm_ joined09:12
cenuij left09:12
chuckharmston left09:13
glebihan_ left09:14
iveqy kernelpanik: git doesn't do that. It all depends on which method you're using to share your git repos09:14
glebihan_ joined09:14
Gonzo89 joined09:14
iveqy andres: could you give an example?09:14
kernelpanik sure09:15
when I get the repo I do git clone git:/mygit.foo.org/mycookbook.git09:15
I would like that he asks me a password09:15
andres iveqy: I am working on a project that uses a tab width of 4. I can make the pager to the right thing by doing core.pager = less -x4, but that doesn't help for git add -p an friends.09:16
iveqy kernelpanik: git:// doesn't have "password protection" you need to use ssh or http for that09:16
Mars__ left09:16
kernelpanik ah ok nice! but Can I disable the usage of git:// and set only via ssh or http?09:16
Mars__ joined09:17
iveqy andres: good question...09:17
kernelpanik: well, don't start gitd09:18
kernelpanik right, I sto gitd and I usage only ssh09:18
right, I sto gitd and I use only ssh09:18
moritz kernelpanik: that's a sane setup, yes09:18
FabTG_ joined09:19
glebihan_ left09:19
joelroa left09:19
ayaz left09:19
glebihan_ joined09:19
emx joined09:19
dhruvasagar left09:20
stodan joined09:20
kernelpanik thanks!09:21
I let u know09:21
Mars__ left09:21
emx on the origin i got "master", "production" and "staging".09:21
FabTG left09:21
emx locally i got "master".09:21
how do i get "production" and "staging" locally?09:22
or do i always work and branch from my local master branch?09:22
Unicykle joined09:22
jceb joined09:23
jcebGuest441009:23
juril joined09:24
frgtn left09:24
iamtakingiteasy emx: try checking production/staging out09:24
git checkout staging09:24
for instance09:24
you can see them via git branch -r09:24
frgtn joined09:24
simesy left09:25
stodan left09:25
simesy joined09:25
frgtn left09:25
emx iamtakingiteasy, git says "branch staging set up to track remote branch staging from origin" and "switched to a new branch "staging". does it mean that locally git had to create a new branch but which points to origin/staging?09:25
frgtn joined09:26
dhruvasagar joined09:26
emx (does my english make sense? i'm tired ^^)09:26
ZujkisNx joined09:26
howlymowly joined09:27
chovy joined09:27
shruggar joined09:27
iamtakingiteasy can't answer that, my knowledge of git internals is very sparse. but as fine-trained code monkey i know that git checkout allows you to switch branches, tags and commits locally09:27
eaj joined09:27
chovy should i push my tags to the origin?09:27
Unicykle left09:28
twoface88 left09:28
iamtakingiteasy emx: you can push from any local ref to any remote ref, afaik, but it is not always meaningful (like, pushing one branch' ref to another usually just breaking things)09:28
if ever succeeds on remote side09:28
gonzzor_gonzzor09:28
emx iamtakingiteasy, i think i get it. thanks.09:29
simesy left09:30
iamtakingiteasy well, also keep in mind that git is offline tool, as in opposite to svn, which relies on remote side on almost every action09:30
dragon3_ left09:30
holderbaum left09:30
dragon3_ joined09:31
liefer left09:31
holderbaum joined09:31
Ozch joined09:31
mz` left09:32
YoungFrog joined09:32
cesarkawakami left09:32
mz` joined09:32
mz` left09:32
mz` joined09:32
Vinnie1991 joined09:32
akher0nakheron09:32
raonyguimaraes joined09:32
worblehat joined09:33
emx about the workflow: to add a file, e.g., i checkout master, create a new branch, add the file to that branch, and finally merge it to master and staging. right?09:33
iamtakingiteasy emx: only if you want something like git-flow model09:34
usually it just git checkout master; git add ...; git commit; git push09:34
neo1691 left09:34
lun__ left09:34
rath joined09:35
emx iamtakingiteasy, where is the testing-part in that workflow?09:35
iamtakingiteasy ah, instead of checkout master; in case you already cheked it out; use git fetch; git rebase origin/master09:35
testing?09:35
lun__ joined09:35
dragon3_ left09:35
emx iamtakingiteasy, i need to test my code on a remote test server.09:35
iamtakingiteasy do that after you push your changes to testing/development branch09:36
so remote server could check them out too09:36
dhruvasagar left09:36
iamtakingiteasy before push -- all your changes are local09:36
dhruvasagar joined09:36
iamtakingiteasy including commits, branches, tags, everything is not reflected on remote before it gets pushed09:37
eijk joined09:37
stodan joined09:38
iamtakingiteasy also, if you're not using something like gerrit, which is incompatible with git-flow, i recommend to adopt git-flow model, it might prove itself useful09:38
emx ok. in this company they have a master (=development), a staging (auto deployed to test server) and production (which is deployed manually to the live server).09:39
ehmatthes joined09:39
iamtakingiteasy so, push your commit s to staging first09:39
lun__ left09:40
glebihan_ left09:40
iamtakingiteasy then cherry-pick successful ones in master09:40
glebihan_ joined09:40
eijk_ left09:40
JimmyJohnson joined09:41
brandonw left09:41
corygibbons left09:41
stodan left09:42
brandonw joined09:43
chovy is there a way to get a tag name in a post-receive hook?09:43
dhruvasagar left09:43
dhruvasagar joined09:44
galaris joined09:44
guest212 left09:45
Bigcheese_Bigcheese09:45
armin joined09:45
armin hi, can anyone recommend a link to docs to read about simple/matching for push.default?09:46
khushildep joined09:46
hejia left09:46
weiyang left09:46
jartur joined09:46
armin nevermind, found one.09:47
FernandoBasso left09:49
worblehat left09:49
DoniRS joined09:50
abelsiqueira joined09:50
jazz264 joined09:52
glebihan_ left09:53
maleknet left09:54
glebihan_ joined09:54
jartur Hello. Cannot quite google a solution. How should I handle a situation where I am doing a huge merge on one branch and then somebody comes and says, like, go to that other branch and add me a feature immediately?09:54
mikecmpbll joined09:54
iveqy jartur: I don't think you can do that :(09:55
irqq joined09:55
maleknet joined09:55
iveqy jartur: it might be possible with imerge09:55
jartur: however this shouldn't be a problem, you should not have huge merges ;)09:55
jartur Ok, I think I should just merge in a separate branch and just commit whatever I have already merged and just abort all other changes. Is it possible?09:55
frgtn left09:56
jartur iveqy: Yeah, I shouldn't But it's hardly avoidable in early prototyping of, say, server game engine09:56
frgtn joined09:56
vurma joined09:57
jartur iveqy: Sometimes you have to backport a lot of features from one branch to the newer version which doesn't quite work yet.09:57
h0bbit_ left09:57
canoon jartur, that should work09:58
jartur canoon: Thanks, I'll try it. I don't know why I have only though of this option after writing a question here...09:59
canoon you can just use git checkout / git reset to get the new stuff09:59
dhruvasagar left09:59
ikss left09:59
holderbaum left10:00
dvide left10:00
canoon actually jartur make sure just keep the list of files you've already merged10:00
thats all taht should be needed10:00
holderbaum joined10:00
frgtn_ joined10:00
frgtn left10:00
Stygia joined10:00
simesy joined10:01
matteo joined10:02
dhruvasagar joined10:04
eijk_ joined10:04
matteo left10:04
eijk left10:05
King_Hual left10:05
neo1691 joined10:05
matteo joined10:07
h_kon left10:07
mnathani left10:07
pdimitrov left10:07
pr0ggie left10:07
pr0ggie joined10:07
echo-area left10:08
mlechner joined10:08
ZujkisNx left10:10
h_kon_ joined10:11
kewah joined10:13
chuckharmston joined10:14
staafl joined10:14
frgtn_ left10:14
stodan joined10:15
frgtn joined10:15
ikss joined10:16
Simon-- left10:17
spaceonline joined10:18
mnathani joined10:18
beautifulmind joined10:19
ehmatthes left10:19
frgtn left10:20
ehmatthes joined10:20
Misan left10:21
Misan joined10:21
pdimitrov joined10:22
pr0ggie left10:22
pr0ggie joined10:23
armin_w joined10:26
emx is there a way to have trailing whitespaces removed from textfiles? (preferably with .gitattributes)10:26
Vinnie1991 left10:26
beautifulmind left10:26
abelsiqueira left10:27
glebihan_ left10:27
glebihan_ joined10:28
intellix left10:28
h_kon_ left10:28
chuckharmston left10:29
tnishant this is actually editors job emx10:29
Squarism left10:29
tnishant my opinion btw , git cant decided what whitespace is good vs bad I feel . you should correct it using something like vim IMHO10:29
bremner emx: the same pre-commit hook checks for bad whitespace10:30
tnishant yes u can have hooks perhaps , but git might directly intervene , however ... no probs asking :)10:30
might not10:31
kerrick left10:31
cpgcpg|away10:32
vtunka left10:33
Vinnie1991 joined10:33
glebihan_ left10:35
glebihan_ joined10:35
emx i thought git is capable to strip trailing whitespaces since it can convert crlf to lf and vice versa. anyways. thanks.10:35
moritz I'm pretty sure it can10:35
did Google find nothing?10:35
ezekielnoob left10:37
emx moritz, no (concerning .gitattributes)10:37
blahdodo left10:39
kcj left10:40
Gavrisimo joined10:41
lite_ left10:42
h_kon joined10:42
lite_ joined10:42
Ozch left10:45
ska-fan left10:47
lite_ left10:47
Octalot joined10:47
Mars__ joined10:47
lite_ joined10:47
jerius joined10:49
banisterfiend left10:49
Mars__ left10:52
mulo joined10:52
Kulrak left10:52
mulo !list10:52
gitinfo [!mailing_list] The mailing list can be reached via [email@hidden.address] You don't need to subscribe to the list, you will always be put in cc on reply. Read archives at http://j.mp/gitlist10:52
Etheco joined10:52
luc_ left10:53
mulo left10:53
pfFredd joined10:53
bremner !smudge10:53
gitinfo [!filters] Filters can be very useful for automatically making changes to files at checkout(smudge) and checkin/add(clean). See 'man gitattributes' for more information10:53
canton7 There's also a section in ! config on that technique, iirc10:54
ehmatthes left10:55
armin_w left10:55
abelsiqueira joined10:55
DaisyTheCow left10:56
dragon3_ joined10:56
daito left10:56
marhaban joined10:56
SimonNa left10:56
VictorCL joined10:57
daito joined10:57
glebihan_ left10:58
glebihan_ joined10:58
Jabberish left11:00
the_cybersphinx joined11:00
buzzybron joined11:00
kwmiebach joined11:00
ehmatthes joined11:01
buzzybron i have 2 branches, master & notmaster, I have been cherry picking notmaster's commit to master, is there a way to sync them?11:01
daito left11:01
sajbar ...merge?11:01
buzzybron but the cherry picked commits are not having the same hash, there will be conflicts?11:02
Jabberish joined11:02
lb1a buzzybron, merge ?11:02
buzzybron, define "sync them"11:03
buzzybron will there be 2 times the same commits?11:03
meaning get notmaster up to date with master11:03
canoon buzzybron, yeah11:03
not that it matters though11:03
buzzybron canoon : so how do i resolve these cherry picked commits, i mean they are like a mess and confusing?11:04
frgtn joined11:04
canoon just merge11:04
it'll do a file merge11:04
doesn't matter that the commits are there twice11:04
or you can cherry pick the remaining ones11:04
git cherry i think will tell you the remaining ones11:05
Xethron left11:05
buzzybron git cherry will pick out those commits i am missing???11:05
Kulrak joined11:05
canoon i think it just tells you11:05
buzzybron so do i have to specify the branch?11:06
canoon yeah the other branch11:06
zarubin joined11:06
canoon but a merge is probably easier11:06
Xethron joined11:06
Norm_ left11:06
Vinnie1991 left11:06
glebihan_ left11:08
bluesm Does the --all-match in the "git log" command is default now ?11:08
I mean if you do:11:08
canoon buzzybron, wait its backwards to what i thought you want git cherry master notmaster11:09
glebihan_ joined11:09
dragon3_ left11:09
bluesm git log --author="Scott" --grep="remove" it will (as a default search for commits where author contains "scott" and commit message contains "remove" ? )11:09
echo-area joined11:10
bluesm I check that and it seem to be the case.11:10
buzzybron hmm canoon, i'm a bit confused myself right now as well lol11:10
canoon might want -v11:11
simesy left11:11
nofxboy1234 joined11:11
canoon but does `git cherry -v master notmaster `give you sensible output?11:11
simesy joined11:11
buzzybron cool11:12
i'll take note of that11:12
ggtg11:12
thanks!!11:12
that is one heck of a cmd!!!11:12
buzzybron left11:12
nofxboy1234 left11:13
canoon bluesm, maybe author just always applies11:13
penguin42 joined11:14
donmichelangelo left11:16
beautifulmind joined11:16
flujan joined11:16
donmichelangelo joined11:16
simesy left11:16
glebihan_ left11:17
wooy was looking for learning hg, but it's pain so far11:17
glebihan_ joined11:17
dyng left11:17
flujan hello guys. I wanna to trim my repository, leaving it with only commits from 1 year ago. Deleting older branches too. Is it possible? I have 5 developers that clone from this repo, I wanna to avoid messing with their repo.11:18
dyng joined11:18
jatt joined11:18
canoon flujan, do you mean you want to revert 1 year ago?11:18
or delete before that?11:18
flujan canoon: delete before that.11:19
nafg left11:19
canoon flujan, not without screwing with their repos11:19
you can't change the histroy without changing commit hashes11:19
flujan canoon: :(11:19
alan5 joined11:19
dbuch left11:19
flujan My repo is 180MB, I wanna to reduce it.11:19
iveqy flujan: do you want to delete the branches to save disc space?11:19
bluesm canoon: So what "--all-match" does mean ? And where is used ?11:20
flujan iveqy: branches an old history.11:20
joelmo left11:20
canoon bluesm, seems its only used for --grep11:20
if you have multiple ones11:20
glebihan_ left11:20
schef joined11:20
rhombus joined11:20
schef hi guys..i made a mistake..i had problems with merging and did..11:21
glebihan_ joined11:21
schef git fetch origin11:21
git reset --hard origin/master11:21
now all my files are gone..11:21
iveqy flujan: each branch is 41 bytes. You need a lot of branches to delete to save discspace by that...11:21
schef is there a way to revert this..?!11:21
mlechner left11:21
canoon iveqy, he's presumably got binary files in there11:21
iveqy schef: did you add or commit those files?11:21
schef yes11:21
dyng_ joined11:21
dyng left11:22
iveqy schef: just checkout that commit then11:22
jkremser joined11:22
jkremser left11:22
jkremser joined11:22
iveqy schef: or reset to that commit11:22
schef how do i do that..?!11:22
d8bhatta left11:22
schef i did commit but i couldnt push11:22
iveqy schef: !reflog11:22
gitinfo schef: The git reflog (`git log -g`) records the SHAs of your HEADs for 2+ weeks. `git checkout -b myrestore OLDSHA` and `git reset --hard OLDSHA` will relink to that state via a new and current branch respectively, see http://sethrobertson.github.com/GitFixUm/ for full details. WARNING: reset --hard will trash any uncommitted changes! Visualize with: gitk --all --date-order `git log -g --pretty=%H`11:22
flujan canoon: Yeap. They store binaries in the early days of git .11:22
neo1691 left11:23
iveqy flujan: you can do a git filter-branch to remove those binaries, but you'll completely rewrite the history messing up everybodies repo11:23
flujan: this is a security feature of git11:23
flujan: you'll always know if someone is messing with your code (for example inserting a backdoor or something)11:23
rudak joined11:23
canoon doesn't really mess up just make sure they overwrite their master when updating11:23
flujan iveqy: It will be easier to clone a new repo and save the old one for some time...11:23
canoon flujan, a clone will copy everything11:24
kcj joined11:24
JeremyWei joined11:25
svector joined11:25
canoon actually flujan do that filter-branch but just use it to remove all the binary files11:25
its probably what you want11:25
and gives you some history11:25
tomek joined11:25
canoon still fuck up the repos but still11:25
DaisyTheCow joined11:25
dyng_ left11:26
dyng joined11:26
ehmatthes left11:27
canoon left11:27
schef thanks iveqy11:28
Squarism joined11:28
pr0ggie left11:29
banisterfiend joined11:29
flujan thanks guys.11:29
ismlages joined11:30
kiennguyen joined11:31
User458764 joined11:31
dyng left11:31
ehmatthes joined11:31
pdimitrov left11:31
pr0ggie joined11:32
syst3mw0rm joined11:32
marhaban left11:32
syst3mw0rm hi11:33
gitinfo syst3mw0rm: 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.11:33
syst3mw0rm I'm curious to know how is it possible for git to have two different commits without any 'git diff' between the two?11:33
ska-fan joined11:34
moritz syst3mw0rm: well, the SHA1 goes over meta data (commit message, timestamp etc.) too11:34
syst3mw0rm moritz: how can I change what all changed, if anything between two commits?11:35
Stygia left11:35
syst3mw0rm not just file changes11:35
moritz syst3mw0rm: s/change/see/?11:35
syst3mw0rm *see11:35
yes!11:35
moritz syst3mw0rm: a good starting point is git show --pretty=fuller $sha1 for both commits11:36
lun__ joined11:36
emx left11:36
moritz I don't know if that shows *all* of the meta information in the commits11:37
flujan left11:37
syst3mw0rm moritz: it doesn't show all the changes.11:37
moritz syst3mw0rm: then you'll have to construct your own format, I think11:38
man git show tells you how to do that11:38
gitinfo the git-show manpage is available at http://jk.gs/git-show.html11:38
dragon3_ joined11:38
syst3mw0rm moritz: ok!11:38
moritz and has the list of all available pieces of meta data11:38
syst3mw0rm: have you actually done a diff of the two outputs?11:39
syst3mw0rm I guess it was happening because of merge commits which preserved the parent commit ids which were different11:39
moritz: I can actually see, there is a difference between the two in the command you mentioned above.11:39
moritz ah, so parent commit IDs are different11:39
neo1691 joined11:39
moritz there you have it11:39
kriks joined11:39
moritz that's part of the meta data too11:40
asQuirreL joined11:40
rhombus left11:40
PeterBooker joined11:40
dyng joined11:40
lun__ left11:41
SicoWork left11:41
zhost joined11:42
dragon3_ left11:42
dyng left11:43
dyng joined11:44
dyng_ joined11:45
dyng left11:45
pdimitrov joined11:46
glebihan_ left11:47
syst3mw0rm moritz: yeah!11:47
glebihan_ joined11:47
syst3mw0rm thanks! :)11:47
gua_ould left11:47
SicoWork joined11:48
Mars__ joined11:48
moritz you're welcome11:48
rudak left11:49
dyng_ left11:49
dyng joined11:49
Vinnie1991 joined11:50
bitkiller joined11:52
JeremyWei left11:52
bluesm canoon: You mean --> git log --grep="oneEntry" --grep="secondEntry"11:52
Mars__ left11:52
mdiers left11:52
User458764 left11:53
snql horror11:53
dyng left11:53
Norm_ joined11:54
Mimmo joined11:54
glebihan_ left11:54
Mimmo ciao11:54
!list11:54
gitinfo [!mailing_list] The mailing list can be reached via [email@hidden.address] You don't need to subscribe to the list, you will always be put in cc on reply. Read archives at http://j.mp/gitlist11:54
glebihan_ joined11:54
mikecmpbll left11:54
Mimmo left11:55
glebihan_glebihan11:55
Vinnie1991 left11:56
paulweb515 left11:57
JeremyWei joined11:57
kriks left11:58
snql left11:58
yargy hey guys I accidentally ammended the last commit using Fugitive in vim and am just wondering how I can undo my modifications11:59
iokill joined12:00
PaulCapestany left12:01
banisterfiend left12:01
wrouesnel1 left12:03
abrkn\ joined12:03
moritz git reset --hard $old_sha1 # attention, throws away uncommitted changes12:04
maybe do a git stash before12:04
and you can find the old sha1 with 'git reflog'12:04
alexwhitman joined12:05
abrkn left12:05
armin_w joined12:05
yargy oh thanks moritz12:06
i actually am trying this http://stackoverflow.com/questions/1459150/how-to-undo-git-commit-amend-done-instead-of-git-commit12:06
does that seem like it would do what I want12:06
so far I have just done the git reset --soft HEAD@{1}12:06
dhruvasagar left12:06
armin_w left12:06
yargy and it seems like my change is back in git status'12:06
banisterfiend joined12:07
JeremyWei left12:07
yargy hmmm that didn't do what I thought it would lol12:10
neo1691 left12:11
Snibble joined12:11
gua_ould joined12:11
Xiti` joined12:12
wdkevinone joined12:12
Curtisbeef_ joined12:12
Cassiel left12:12
khushildep_ joined12:12
ItSAN____ joined12:12
travisst1ton joined12:13
neo1691 joined12:13
CodeShar_ joined12:13
krixxkraxx joined12:13
CodeShar_ left12:13
CodeShar_ joined12:13
jatt` joined12:13
eaj_ joined12:13
revyd_ joined12:13
Cassiel joined12:14
Gavrisim_ joined12:14
neo1691 left12:14
BuuGhost joined12:14
BuuGhost left12:14
BuuGhost joined12:14
freestyl3r joined12:14
xeqution joined12:14
echo-are` joined12:14
Edgan__ joined12:14
Zarthus left12:14
BuuGhostZarthus12:14
ZujkisNx joined12:14
wagle_ joined12:14
Zeelot3k joined12:15
Dudalus_ joined12:15
howlymowly_ joined12:15
tdguy_ joined12:15
ktosiek_ joined12:15
r0bby_ joined12:15
takamichi left12:15
nwertman_ joined12:16
marhaban joined12:16
mitsuhiko_ joined12:16
NfNit|oop joined12:16
anonobom1er joined12:16
maloik joined12:16
neurodamage joined12:16
ahf_ joined12:16
JPohlman1 joined12:16
moritz_ joined12:17
ejnahc_ joined12:17
armenb joined12:17
d1b_ joined12:17
jonesbus1 joined12:17
zem__ joined12:17
chovy_ joined12:17
dropdriv1 joined12:17
murosai_ joined12:17
pdtpatri1k joined12:17
ZenGeist_ joined12:17
FabTG joined12:17
beautifulmind left12:17
Rh0nda joined12:17
mk_io joined12:17
benizi_ joined12:17
LuxuryMode joined12:17
cehteh_ joined12:18
TheBrayn_ joined12:18
h0bbit_ joined12:19
jdav_gone joined12:19
banisterfiend left12:20
Stygia joined12:20
yargy hmmm does anyone know how I would checkout a file from a different commit but save it under a new filename?12:20
h12o_ joined12:20
THE_BOULDER joined12:20
qsuscst joined12:20
RylaiC joined12:20
jcarouth` joined12:20
RylaiC left12:20
ht joined12:21
scorphus` joined12:21
LittleFo- joined12:21
ciampix left12:21
Tritania- joined12:21
d8bhatta joined12:21
moritz_ git show <sha1>:<filename> > newfilename12:21
VictorCL left12:21
RylaiC joined12:21
RylaiC left12:21
jatt left12:21
echo-area left12:21
Gavrisimo left12:21
khushildep left12:21
galaris left12:21
raonyguimaraes left12:21
eaj left12:21
howlymowly left12:21
FabTG_ left12:21
Rob___ left12:21
Dev1L left12:21
hoschi left12:21
robbyoconnor left12:21
CodeShark left12:21
ItSANgo_ left12:21
bitkid left12:21
saurabh left12:21
jwmann left12:21
marcidy left12:21
zedsix left12:21
nwertman left12:21
jason237 left12:21
ktosiek left12:21
kaictl left12:21
benizi left12:21
t0r left12:21
mk_io_ left12:21
maloik_ left12:21
armenb_ left12:21
richwestcoast left12:21
cehteh left12:21
amcsi_work left12:21
revyd left12:21
TheBrayn left12:21
jcarouth left12:21
Zeelot left12:21
Rylee left12:21
jonesbusy left12:21
pdtpatrick left12:21
Devels left12:21
mitsuhiko left12:21
moritz left12:21
scorphus left12:21
Xiti left12:21
travisstaton left12:21
Dudalus left12:21
totte left12:21
Edgan_ left12:21
wagle left12:21
Curtisbeef left12:21
ejnahc left12:21
chovy left12:21
Tritania left12:21
anonobomber left12:21
tdguy left12:21
Rhonda left12:21
h12o left12:21
adaptr left12:21
ahf left12:21
LittleFool left12:21
Freeaqingme left12:21
EdwardIII left12:21
httotte12:21
THE_BOULDERkaictl12:21
NfNit|oopNfNitLoop12:21
khushildep_khushildep12:21
RylaiC joined12:21
RylaiC left12:21
ahf_ahf12:21
foucist the need for : seems inconsistent12:22
EdwardIII joined12:22
richwestcoast joined12:22
rndbit joined12:22
totteGuest1813812:22
Rylee joined12:22
Rylee left12:22
beautifulmind joined12:22
ktosiek_ left12:22
Rylee joined12:22
Rylee left12:22
Devels joined12:22
Rylee joined12:23
Rylee left12:23
rblackwe joined12:23
Rob___ joined12:23
Rylee joined12:24
Rylee left12:24
GameGamer43 left12:24
beawesomeinstead left12:24
CheckDavid joined12:24
twisted` left12:24
xerxas left12:24
marhaban left12:24
ktosiek joined12:24
pikpik left12:24
Rylee joined12:24
Rylee left12:24
moritz_ foucist: how would you separate hashes from file names?12:25
jab416171 left12:25
tfnico left12:25
moritz_moritz12:25
Rylee joined12:25
Rylee left12:25
moritz git log uses -- but you can't use that consistently for multiple commit/filename combinations12:25
Rylee joined12:25
Rylee left12:25
ggherdov left12:26
Shaladdle joined12:26
xerxas joined12:26
tfnico joined12:26
GameGamer43 joined12:26
amcsi_work joined12:26
Rylee joined12:26
saurabh joined12:26
Rylee left12:26
Dev1L joined12:26
marcidy joined12:26
adaptr joined12:26
farn joined12:26
Rylee joined12:26
Rylee left12:26
jab416171 joined12:26
jason237 joined12:26
NanoArrow joined12:27
twisted` joined12:27
Rylee joined12:27
Rylee left12:27
beawesomeinstead joined12:27
pikpik joined12:27
Rylee joined12:27
Rylee left12:27
jstemmer joined12:28
Rylee joined12:28
Rylee left12:28
raonyguimaraes joined12:28
Rylee joined12:29
Rylee left12:29
Corey joined12:29
Rylee joined12:29
Rylee left12:29
Rylee joined12:30
Rylee left12:30
neo1691 joined12:30
rue joined12:30
PaulCapestany joined12:30
Rylee joined12:30
Rylee left12:30
Rylee joined12:31
Rylee left12:31
banisterfiend joined12:31
darkf left12:31
hoschi joined12:31
mikecmpbll joined12:31
Rylee joined12:31
Rylee left12:31
sgambino joined12:32
Rylee joined12:32
Rylee left12:32
Rylee joined12:32
Rylee left12:32
ggherdov joined12:33
Rylee joined12:33
Rylee left12:33
shinnya joined12:33
Rylee joined12:33
Rylee left12:33
PaulCapestany left12:34
Rylee joined12:34
Rylee left12:34
Rylee joined12:34
Rylee left12:34
Kronuz left12:35
rue left12:35
Corey left12:35
mdiers joined12:35
Rylee joined12:35
Rylee left12:35
Corey joined12:36
emx joined12:36
Rylee joined12:36
Rylee left12:36
Rylee joined12:36
Rylee left12:36
Kronuz joined12:37
BiggFREE left12:37
Rylee joined12:37
Rylee left12:37
khushildep_ joined12:37
bitkid joined12:37
Rylee joined12:37
Rylee left12:37
tmcmahon joined12:38
Rylee joined12:38
Rylee left12:38
Rylee joined12:38
Rylee left12:38
penguin42 left12:39
Rylee joined12:39
Rylee left12:39
foucist moritz: a space?12:39
raonyguimaraes left12:39
Rylee joined12:39
Rylee left12:39
CodeShar_ left12:40
h_kon left12:40
khushildep left12:40
khushildep__ joined12:40
Rylee joined12:40
Rylee left12:40
moritz foucist: but 'git show' also accepts multiple hashes, so that's ambiguous12:40
Rylee joined12:40
Rylee left12:40
Rylee joined12:41
Rylee left12:41
CodeShark joined12:41
ezio left12:41
Rylee joined12:41
Rylee left12:42
Rylee joined12:42
Rylee left12:42
fionnan_fionnan12:42
Rylee joined12:43
Rylee left12:43
ezio joined12:43
ezio left12:43
ezio joined12:43
khushildep_ left12:43
CodeShark left12:43
Rylee joined12:43
Rylee left12:43
LuxuryMode left12:43
Rylee joined12:44
Rylee left12:44
harish joined12:44
Rylee joined12:44
Rylee left12:44
kwmiebach left12:45
kwmiebach joined12:45
Rylee joined12:45
Rylee left12:45
Rylee joined12:45
Rylee left12:45
Rylee joined12:46
Rylee left12:46
Rylee joined12:46
Rylee left12:46
dragon3_ joined12:47
Jackneill joined12:47
Rylee joined12:47
Rylee left12:47
GT4066 joined12:47
Rylee joined12:47
Rylee left12:47
kiennguyen left12:48
Rylee joined12:48
Rylee left12:48
jerius left12:48
Mars__ joined12:48
Rylee joined12:49
Rylee left12:49
dfanjul left12:49
Rylee joined12:49
Rylee left12:49
dsdeiz left12:50
Rylee joined12:50
Rylee left12:50
aartist left12:50
Rylee joined12:50
Rylee left12:50
Rylee joined12:51
Rylee left12:51
yargy left12:51
helperW joined12:51
helperW Hi12:51
gitinfo helperW: 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.12:51
Rylee joined12:51
Rylee left12:51
yargy joined12:52
Rylee joined12:52
Rylee left12:52
helperW I have a drupal website running. It is is hosted on a FTP server ( ' duh' ). And I would like to make some edits on it. Currently the website is only running online on a development server on a FTP. It is a Drupal site, where I have to create a new module for.12:52
Rylee joined12:52
Rylee left12:52
Mars__ left12:53
svector left12:53
sajbar left12:53
helperW I have currently the whole website in Bitbucket. How can I create my new module and test it the most efficient way?12:53
BTW : I work alone.12:53
yargy hello12:53
Rylee joined12:53
Rylee left12:53
yargy can you guys see this?12:53
lov no, try harder12:53
use caps12:53
LuxuryMode joined12:53
felixsamora joined12:53
yargy oh I thought my nick wasn't registered12:53
Rylee joined12:53
Rylee left12:53
tmcmahon left12:54
neo1691 left12:54
Rylee joined12:54
Rylee left12:54
kriks joined12:55
Rylee joined12:55
Rylee left12:55
yargy helperW: you should setup a development server on your local machine12:55
and develop it there and then upload it to your FTP12:55
Rylee joined12:55
Rylee left12:55
helperW hmm12:56
takamichi joined12:56
helperW But I would like some version control in it.12:56
sajbar joined12:56
Rylee joined12:56
Rylee left12:56
yargy then setup a local development server on your local machine12:56
use git12:56
and then use git-ftp12:56
to upload the changes to your ftp server12:56
it is a bit flaky12:56
and kind of annoying to setup12:56
Rylee joined12:56
yargy but I got it to work12:56
Rylee left12:56
neo1691 joined12:57
Rylee joined12:57
Rylee left12:57
CreativeEmbassy joined12:57
yargy helperW: I used this one https://github.com/git-ftp/git-ftp12:57
there is some other python one as well12:57
Rylee joined12:57
Rylee left12:57
helperW btw I have to say GIT is totally new to me.12:57
yargy I have had issues with both of them though12:58
oh hmm yeah I am new to it as well12:58
Rylee joined12:58
Rylee left12:58
CreativeEmbassy left12:58
yargy and I have had some disaster scenarios because I have done things when I thought I knew what I was doing but it did something unexpected12:58
LBV_User joined12:58
Rylee joined12:58
Rylee left12:58
yargy well in that case you should definitely setup a local development server and then you can use it as a backup as well lol12:59
Rylee joined12:59
Rylee left12:59
lite_ left12:59
Rylee joined12:59
Rylee left12:59
neo1691 left13:00
svector joined13:00
lite_ joined13:00
khushildep joined13:00
takamichi left13:00
khushildep__ left13:00
Rylee joined13:00
Rylee left13:00
soee left13:00
LuxuryMode left13:00
Rylee joined13:00
Rylee left13:01
kriks left13:01
Rylee joined13:01
Rylee left13:01
Rylee joined13:02
Rylee left13:02
dyng joined13:02
Rylee joined13:02
Rylee left13:02
Rylee joined13:03
Rylee left13:03
takamichi joined13:03
Rylee joined13:03
Rylee left13:03
helperW hmm13:04
Rylee joined13:04
Rylee left13:04
helperW but there alway will be some differences13:04
lite_ left13:04
Rylee joined13:04
Rylee left13:05
yargy yeah13:05
it is annoying sometimes13:05
Rylee joined13:05
Rylee left13:05
Rylee joined13:05
Rylee left13:05
Rylee joined13:06
Rylee left13:06
dfanjul joined13:06
Rylee joined13:07
Rylee left13:07
Rylee joined13:07
Rylee left13:07
mitz left13:07
helperW @yargy I found a way to import my git repo in my computer via phpstorm13:08
I clouded the GIT url13:08
and now the project is opening13:08
Is that a good way of creating the project locally?13:08
Rylee joined13:08
Rylee left13:08
Rylee joined13:08
Rylee left13:09
zapb left13:09
Rylee joined13:09
Rylee left13:09
Rylee joined13:09
Rylee left13:09
Rylee joined13:10
Rylee left13:10
Rylee joined13:10
Rylee left13:11
swair joined13:11
cannonball joined13:11
Rylee joined13:11
Rylee left13:11
asQuirreL left13:11
Rylee joined13:11
Rylee left13:12
tvw joined13:12
Rylee joined13:12
Rylee left13:12
guest212 joined13:13
kcj left13:13
Rylee joined13:13
Rylee left13:13
Rylee joined13:13
Rylee left13:14
guest2121 joined13:14
Sonderblade joined13:14
Rylee joined13:14
Rylee left13:14
Sonderblade left13:14
Rylee joined13:14
Rylee left13:14
Sonderblade joined13:15
stodan left13:15
Rylee joined13:15
Rylee left13:15
stodan joined13:15
zarubin left13:15
btree joined13:15
Rylee joined13:15
Rylee left13:16
Rylee joined13:16
Rylee left13:16
eaj_ left13:16
kcj joined13:16
sriracha joined13:16
Goopyo left13:16
dragon3_ left13:16
Rylee joined13:16
Rylee left13:17
guest212 left13:17
Rylee joined13:17
Rylee left13:17
Rylee joined13:17
Rylee left13:18
Rylee joined13:18
Rylee left13:18
h_kon joined13:19
guest2121 left13:19
Rylee joined13:19
Rylee left13:19
sgambino left13:19
Rylee joined13:19
Rylee left13:20
Rylee joined13:20
Rylee left13:20
Rylee joined13:20
Rylee left13:21
Rylee joined13:21
Rylee left13:21
davividal left13:21
neo1691 joined13:21
Rylee joined13:22
Rylee left13:22
Rylee joined13:22
Rylee left13:22
simesy joined13:22
Rylee joined13:23
Rylee left13:23
Rylee joined13:23
Rylee left13:23
Gavrisim_ left13:23
Rylee joined13:24
Rylee left13:24
chuckharmston joined13:24
Rylee joined13:25
Rylee left13:25
Goopyo joined13:25
Rylee joined13:25
Rylee left13:25
Rylee joined13:26
Rylee left13:26
Rylee joined13:26
Rylee left13:26
Rylee joined13:27
Rylee left13:27
simesy left13:27
Rylee joined13:27
Rylee left13:27
Rylee joined13:28
Rylee left13:28
Rylee joined13:28
Rylee left13:28
Rylee joined13:29
Rylee left13:29
Misan left13:29
Pullphinger joined13:29
rue joined13:29
quup left13:29
quup joined13:29
maleknet left13:29
Rylee joined13:30
Rylee left13:30
Rylee joined13:30
Rylee left13:30
Rylee joined13:31
Rylee left13:31
danillonunes joined13:31
canton7 joined13:31
Misan joined13:31
halu left13:31
Rylee joined13:31
Rylee left13:31
rabbite joined13:31
Rylee joined13:32
Rylee left13:32
Jackneill left13:32
Rylee joined13:32
Rylee left13:32
Jackneill joined13:32
Rylee joined13:33
Rylee left13:33
paulweb515 joined13:33
simesy joined13:33
yacks joined13:33
Rylee joined13:33
Rylee left13:33
Kronuz left13:33
paulweb515 left13:33
Kronuz joined13:33
paulweb515 joined13:33
Rylee joined13:34
Rylee left13:34
Rylee joined13:35
Rylee left13:35
Rylee joined13:35
Rylee left13:35
j0ran1 left13:35
j0ran3 joined13:35
Rylee joined13:36
Rylee left13:36
Rylee joined13:36
Rylee left13:36
lun__ joined13:36
Rylee joined13:37
Rylee left13:37
huli_ joined13:37
Rylee joined13:37
Rylee left13:37
huli_ left13:37
Rylee joined13:38
Rylee left13:38
Kronuz_ joined13:38
Rylee joined13:38
Rylee left13:38
Rylee joined13:39
Rylee left13:39
bluesm bluesm What is the meaning of --> -- t/ <-- in --> git log <-- command ?13:39
git log --pretty="%h - %s" --author=gitster -- since="2008-10-01" --before="2008-11-01" --no-merges -- t/13:39
Rylee joined13:39
Rylee left13:39
sajbar man git log13:39
gitinfo the git-log manpage is available at http://jk.gs/git-log.html13:39
Rylee joined13:40
Rylee left13:40
Rylee joined13:40
Rylee left13:40
bluesm sajbar: And search for ?13:40
Snibble left13:40
Kronuz left13:41
Rylee joined13:41
Rylee left13:41
calcifea joined13:41
Kronuz_Kronuz13:41
jazz264 left13:41
lun__ left13:41
TheBrainWork joined13:41
deryni The SYNOPSIS and then the matching explanation for the bit you want to understand.13:41
ska-fan left13:42
Rylee joined13:42
Rylee left13:42
ska-fan joined13:42
sajbar bluesm: --13:42
__rgn joined13:42
Rylee joined13:42
Rylee left13:42
sonOfRa bluesm13:42
you could search for "-t"13:42
sajbar sonOfRa: which would give you nothing13:43
Rylee joined13:43
Rylee left13:43
sajbar search for --13:43
sonOfRa oh, I just saw it wasn't -t, but -- t13:43
sajbar basically it gives you an log of the path -- t/13:43
Rylee joined13:43
Rylee left13:43
deryni Don't just search. Read the SYNOPSIS then search for the matching term(s).13:43
Rylee joined13:44
Fandekasp left13:44
Rylee left13:44
angelsl joined13:44
Rylee joined13:44
Rylee left13:44
alfons83 left13:44
dhruvasagar joined13:44
Rylee joined13:45
Rylee left13:45
twoface88 joined13:45
joshbetz joined13:45
Rylee joined13:45
Rylee left13:45
zeppo joined13:45
DolphinDream can i run git diff and ignore certain files ? (not added to gitignore) ?13:45
Rylee joined13:46
Rylee left13:46
luxgeek joined13:46
deryni You can run git diff on specific files but I don't know of a way to ignore specific files.13:46
Rylee joined13:46
Rylee left13:46
ngw joined13:46
Rylee joined13:47
Rylee left13:47
zeppo left13:47
simesy left13:47
Rylee joined13:47
Rylee left13:47
zeppo joined13:47
simesy joined13:47
Rylee joined13:48
Rylee left13:48
Rylee joined13:48
Rylee left13:48
asQuirreL joined13:48
lite_ joined13:48
zeppo left13:49
Mars__ joined13:49
Rylee joined13:49
Rylee left13:49
zeppo joined13:49
saurabh left13:49
Rylee joined13:50
alan5 left13:50
Rylee left13:50
h_kon left13:50
Rylee joined13:50
Rylee left13:50
axl_ joined13:50
ewnd9 joined13:50
Rylee joined13:51
Rylee left13:51
Rylee joined13:51
Rylee left13:51
Rylee joined13:52
Sigma joined13:52
Rylee left13:52
dsdeiz joined13:52
simesy left13:52
Rylee joined13:52
Rylee left13:52
hoschi left13:52
troyt joined13:52
Rylee joined13:53
Rylee left13:53
GT4066 left13:53
Rylee joined13:53
Rylee left13:53
Mars__ left13:53
Rylee joined13:54
Rylee left13:54
beautifulmind left13:54
ayaz joined13:54
Rylee joined13:55
Rylee left13:55
Rylee joined13:55
Rylee left13:55
KillYourTV joined13:55
Rylee joined13:56
Rylee left13:56
joshbetz left13:56
Rylee joined13:56
Rylee left13:56
MattMaker left13:56
ezekielnoob joined13:56
delasteve joined13:57
Rylee joined13:57
Rylee left13:57
mmitchell joined13:57
Dev1L left13:57
Rylee joined13:58
Rylee left13:58
halu joined13:58
ngw left13:58
Rylee joined13:58
Rylee left13:58
h_kon joined13:58
shoshin left13:58
Rylee joined13:59
Rylee left13:59
ngw joined13:59
Rylee joined13:59
Rylee left13:59
cmpera joined13:59
kcj left13:59
Rylee joined14:00
Rylee left14:00
Rylee joined14:00
stodan left14:00
Rylee left14:00
Rylee joined14:01
Rylee left14:01
WernerZA left14:01
franksta-imac joined14:01
DaisyTheCow left14:01
Rylee joined14:02
Rylee left14:02
Rylee joined14:02
Rylee left14:02
Rylee joined14:03
Rylee left14:03
rchavik left14:03
freeed joined14:03
shoshin joined14:03
Rylee joined14:03
Rylee left14:03
shoshin left14:03
ojacobson_ joined14:03
ojacobson_ left14:03
pdimitrov left14:03
halu left14:04
Rylee joined14:04
macabre joined14:04
Rylee left14:04
shoshin joined14:04
shoshin left14:04
pdimitrov joined14:04
decotii joined14:04
AaronMT joined14:04
pr0ggie left14:04
shoshin joined14:04
shoshin left14:04
Rylee joined14:05
Rylee left14:05
Rylee joined14:05
Rylee left14:05
shoshin joined14:05
pr0ggie joined14:05
shoshin left14:05
shuaib joined14:05
FernandoBasso joined14:06
shoshin joined14:06
shoshin left14:06
shoshin joined14:06
shoshin left14:06
zeppo left14:06
ojacobson left14:07
zeppo joined14:07
shoshin joined14:07
shoshin left14:07
shoshin joined14:07
Cromulent joined14:09
sgambino joined14:09
Chais how do I properly push an amended commit?14:09
notjohn joined14:09
iveqy Chais: git push14:10
Chais iveqy: it's rejected14:10
iveqy Chais: and what's the message?14:10
Snibble joined14:11
Snibble1 joined14:11
mizu_no_oto joined14:11
rabbite left14:11
iveqy Chais: I bet it was "To prevent you from losing history, non-fast-forward updates were rejected14:12
Merge the remote changes before pushing again. See the 'non-fast forward'14:12
Raging_Hog joined14:12
foucist you can force it.. git push -f14:12
iveqy section of 'git push --help' for details."14:12
Chais: so I suggest you type git push --help14:12
neo1691 left14:12
iveqy Chais: after that you need to read !public14:12
gitinfo Chais: [!rewriting_public_history] Rewriting public history is usually bad. 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` to force (and the remote may reject that, anyway). See http://goo.gl/waqum14:12
acharlieh joined14:13
shoshin left14:13
Chais iveqy: you're right the git error message are rather helpful14:14
FrodoTheHobbit1 joined14:14
DolphinDream how can i get the master branch to point to a given commit ?14:14
FrodoTheHobbit1 left14:14
iveqy DolphinDream: man git reset14:15
gitinfo DolphinDream: the git-reset manpage is available at http://jk.gs/git-reset.html14:15
_ikke_ git checkout master; git reset --keep <commit>14:15
DolphinDream iveqy, does reset take you up in history or only down?14:15
freestyl3r left14:15
Snibble left14:15
DolphinDream i used reset hard to go back a few commits.. and nwo i want to go back up14:15
iveqy DolphinDream: neither, it resets your branch to point to an other commit. You could also use git branch for this14:15
dyng left14:16
DoniRS left14:16
VictorCL joined14:17
dyng joined14:17
FrodoTheHobbit left14:17
justpie joined14:17
banisterfiend left14:18
marhaban joined14:18
iveqy DolphinDream: if you've forgott what the sha1 is see !revlist14:18
!reflist14:18
DolphinDream :)14:18
funny14:18
iveqy :(14:18
yargy hey guys does anyone know where I would put this https://gist.github.com/hartym/258476714:18
justpie Hey all, could anyone explain a rebase to me? I read though the docs and im a bit unclear on it14:18
iamjarvo joined14:19
iveqy !reflog14:19
gitinfo The git reflog (`git log -g`) records the SHAs of your HEADs for 2+ weeks. `git checkout -b myrestore OLDSHA` and `git reset --hard OLDSHA` will relink to that state via a new and current branch respectively, see http://sethrobertson.github.com/GitFixUm/ for full details. WARNING: reset --hard will trash any uncommitted changes! Visualize with: gitk --all --date-order `git log -g --pretty=%H`14:19
DolphinDream i never used reset with SHA.. i only used it with HEAD ^~14:19
yargy it looks like a function but I don't know where I would put it so that I can actually use it14:19
DolphinDream so never thoguth of HEAD :) as a SHA :)14:19
chineduu left14:19
thegladiator_ left14:19
jerius joined14:19
chineduu joined14:19
simesy joined14:20
_ikke_ Basically, git tries to resolve it to a commit14:20
acharlieh left14:20
_ikke_ HEAD -> branch -> commmit14:20
echo-are` left14:20
Yonkie_ joined14:20
j0ran3 left14:21
j0ran1 joined14:21
dyng left14:21
[emmajane]emmajane14:23
delasteve left14:23
hellopat joined14:24
echo-area joined14:24
hashpuppy joined14:25
hashpuppy left14:26
delasteve joined14:26
banisterfiend joined14:26
jazz264 joined14:26
delasteve left14:26
Chais now I updated on the other machine, so I had to stash the changes away. restoring them resulted in files being deleted and created, instead of being moved. how can I convert that?14:26
sqlnoob left14:26
delasteve joined14:27
delasteve left14:27
freestyl3r joined14:27
Chais trying to move just gave me a "source file doesn't exist"-style message14:27
twoface88 left14:28
zapb joined14:28
chineduu left14:28
simesy left14:28
Guest18138 left14:28
Guest18138 joined14:28
Guest18138totte14:28
jumperswitch joined14:28
shuaib left14:30
jumperswitchtty-114:31
Dougie187 joined14:31
mikecmpbll left14:31
oojacoboo left14:31
lithiumn joined14:32
thegladiator_ joined14:32
yhager joined14:32
hholtmann joined14:33
tty-1_ joined14:33
CKyle joined14:33
bruno4254 joined14:33
bruno4254 anyone got any tips on nmap14:33
moritz bruno4254: yes, try a different channel14:34
snag joined14:34
snag left14:34
justpie bruno4254 : what are you trying to do?14:34
bruno4254 slaps moritz around a bit with a large trout14:34
moritz bruno4254: why do you slap me if you're the one off-topic?14:35
chuckharmston left14:35
neo1691 joined14:35
moritz bruno4254: at least I don't see what nmap has got to do with #git14:35
bruno4254 oh for lols, in all seriousness14:35
admin_ left14:35
moritz ok14:35
bruno4254 im just learning about it14:35
seeing what others know14:35
adlez joined14:35
bruno4254 can you lead me in the right direction14:35
Luke-Jr left14:35
CKyle left14:35
Luke-Jr joined14:35
moritz google, use the man page, ask in generic linux or networking channels14:36
justpie bruno4254 : Start by learning low level networking. Then use tools.14:36
khushildep_ joined14:36
tty-1 left14:36
bruno4254 oh i already have14:37
been ussing wireshark for a while14:37
tty-1_tty-114:37
tty-1 left14:37
btree left14:37
davividal joined14:38
axl_ left14:38
phile joined14:38
khushildep left14:38
khushildep_khushildep14:38
adlez left14:39
mastro joined14:39
zhost left14:39
mdiers left14:39
zhost joined14:39
LuxuryMode joined14:40
jonatasnona joined14:41
bruno4254 left14:42
calcifea left14:43
dougsland joined14:43
joelroa joined14:43
zeppo left14:44
DolphinDream why is merge FETCH_HEAD merging with a different branch and not with origin/master ?14:44
rabbite joined14:44
DolphinDream is it possible that i have run get fetch while i was in the brach?14:45
mdiers joined14:45
JeremyWei joined14:45
kcj joined14:46
shuaib joined14:48
YoungFrog origin/master is most probably a remote tracking branch, which means it is updated by git fetch automatically14:48
merging FETCH_HEAD makes sense if you merge into your own branches14:48
Mars__ joined14:50
intellix joined14:50
mizu_no_oto left14:51
macabre left14:51
zeppo joined14:51
richgilbank joined14:51
zeppo left14:51
intellix left14:52
tty-1 joined14:53
Pullphinger left14:53
rgr joined14:53
Mars__ left14:54
lite_ left14:55
lite_ joined14:56
nox__ joined14:56
herdingcat joined14:57
intellix joined14:57
iamjarvo left14:57
iokill left14:58
krixxkraxx left14:58
dcpc007 joined14:58
mdiers left14:59
DolphinDream if i remove a tag locally and push tags will the remote tag be also removed ?14:59
donmichelangelo left15:00
mribeirodantas joined15:00
lite_ left15:00
h_kon left15:00
iokill joined15:00
donmichelangelo joined15:00
kriks joined15:01
_iron left15:01
moritz DolphinDream: you can find out with git push --dry-run15:01
Gamecubic joined15:01
shinnya left15:01
moritz (I'm 99% confident the answer is "no", but better to check)15:01
rabbite left15:02
guest212 joined15:02
ZujkisNx left15:03
dhruvasagar left15:03
jarr0dsz left15:03
shuaib left15:03
natechan joined15:03
nox__ left15:04
natechan left15:04
asQuirreL left15:04
DolphinDream moritz, you have to git push --delete origin tagname15:05
neo1691 left15:05
iamjarvo joined15:06
shoshin joined15:08
ojacobson joined15:08
ShooterMG left15:08
jarr0dsz joined15:10
galaris joined15:11
Snibble1 left15:11
twoface88 joined15:12
bamj0rb joined15:12
devoldmx joined15:12
gitinfo set mode: +v15:12
rue left15:13
galaris left15:13
rabbite joined15:14
Targen joined15:14
tplaner joined15:14
jwmann joined15:15
notjohn left15:15
galaris joined15:15
mribeirodantas left15:16
ezio left15:16
yargy left15:16
shoshin left15:16
ssedano joined15:16
devoldmx left15:17
clone1018_clone101815:17
chuckharmston joined15:17
davividal left15:17
ZoanthusR joined15:18
CheckDavid left15:18
kermit joined15:18
iokill left15:18
DolphinDream with gitolite how do u restrict push to branch ?15:18
lite_ joined15:19
dr_lepper DolphinDream: http://gitolite.com/gitolite/g2/bac.html15:20
ojacobson dr_lepper: http://gitolite.com/gitolite/rules.html more likely, but he asked the same question in #gitolite15:20
more or less15:20
dr_lepper oh my15:21
iamjarvo left15:22
neo1691 joined15:22
arand left15:22
iamjarvo joined15:22
lite__ joined15:23
lite_ left15:24
Xethron left15:24
psoo left15:24
Pullphinger joined15:24
dhruvasagar joined15:24
zarubin joined15:24
simesy joined15:25
asQuirreL joined15:25
kernelpanik left15:26
arand joined15:26
sitaram ojacobson: and he waited 28 seconds before asking on the other channel15:26
ojacobson indeed15:27
marhaban left15:27
lacrymology joined15:28
macabre joined15:29
yhager left15:29
droogans joined15:29
simesy left15:29
mizu_no_oto joined15:30
dhruvasagar left15:31
davividal joined15:31
twoface88 left15:31
guest2121 joined15:31
lacrymology I need to re-run a number of commits and re-run the commit-msg hook15:32
can I do that?15:32
rebase doesn't run the hooks, apparently15:32
guest2122 joined15:32
pbujok joined15:33
jcarouth`jcarouth15:34
guest212 left15:34
_goTAN joined15:34
ojacobson Is there a shell-friendly way to get a list of conflicted files, so that I can eg. run $EDITOR $(list of conflicts) ?15:35
joelroa left15:35
arvind_khadri left15:35
droogans ojacobson git status -sb15:35
sitaram ojacobson: git ls-tree should have something. So should git status in its new avatar15:35
aah15:35
iamjarvo_ joined15:35
droogans UU is conflicted15:36
ojacobson | grep '^UU' presumably15:36
okay, I can live with that15:36
droogans Yessir15:36
You may want to research that15:36
guest2121 left15:36
ojacobson Yeah, i'm investigating sitaram's suggestion, too15:36
droogans I think if one is deleted, and the other is modified, it comes up DU or UD15:36
ojacobson and ofc DD for conflicting moves15:37
sitaram ojacobson: I meant ls-files not ls-tree, sorry15:37
'git ls-files -u', it seems, from the manpage15:37
lun__ joined15:37
alphpt joined15:38
ojacobson git ls-files -u emits an entry per stage, so needs some massaging, but it feels more correct than git status15:38
gitinfo set mode: +v15:38
tplaner left15:38
iamjarvo left15:39
sitaram ojacobson: on the flip side, git status's "-s" was meant for computer processing so it *is* likely to be as stable as other plumbing15:39
IIRC15:39
PeerAS joined15:39
ayaz left15:39
nfroidure left15:40
pmoust joined15:40
Pullphinger left15:40
pmoust Hey guys, i am cloning an svn repo to git using svn-git15:40
it gets fine the first 1100+ commits15:40
then15:41
r1183 = 46ad257f9c67f43569e994a7519d41367bd4b063 (refs/remotes/ma2)15:41
fatal: refs/remotes/trunk: not a valid SHA115:41
update-ref refs/heads/master refs/remotes/trunk: command returned error: 12815:41
any suggestions?15:41
delasteve joined15:42
shoshin joined15:42
oso96_2000 left15:42
notjohn joined15:42
offby1 pmoust: "reposurgeon" might help15:42
I've never used it so I cannot offer further advice15:42
lun__ left15:43
therealfakemoot joined15:43
therealfakemoot So, let's say I want to include a directory in my repository. Just to make sure it exists in future installs. Is that reasonable/possible? Or is that something my application should be handling?15:44
h0bbit_ left15:44
lb1a therealfakemoot, you cant track empty dirs...15:44
therealfakemoot Just checking.15:45
ewnd9 left15:45
ezio joined15:45
johnnyfuchs joined15:45
ewnd9 joined15:45
ojacobson You can either have your project create the directory as needed or track a dummy marker file (an empty `.gitignore` is somewhat conventional)15:45
lb1a therealfakemoot, what ojacobson says15:45
Norm_ left15:45
therealfakemoot Yeah, that's the idea15:45
s/idea/plan/15:46
offby1 what lb1a says15:46
therealfakemoot I was just curious if i twas possible15:46
Gavrisimo joined15:46
offby1 ojacobson: now you just need to say "what offby1 says" and we've got perpetual motion!15:46
lite__ left15:46
kbart left15:46
therealfakemoot thanks15:46
ojacobson what offby1 said.15:46
lite_ joined15:47
jasonp joined15:47
whaley joined15:47
offby1 whee and we're off15:47
pfFredd left15:47
ojacobson always happy to kick thermodynamics in the knee15:48
tdm00 joined15:48
dropdriv1dropdrive15:49
lb1a Unhandled exception at 0x003C3D79 in #git: 0xC00000FD: Stack overflow (parameters: 0x00000001, 0x003D2F70).15:49
therealfakemoot left15:49
lb1a great offby1 ojacobson :P now i got the messy thing here :P15:49
dsdeiz left15:50
Mars__ joined15:50
lb1a i gotta go now ...15:50
cheers15:50
lb1a left15:50
offby1 I don't think I've ever seen that exception from any program ever.15:51
Ever15:51
lite_ left15:51
natechan joined15:51
Hoksilato left15:51
whaley left15:52
dhruvasagar joined15:52
Xiti`Xiti15:52
TheHoneyBadger joined15:53
Gavrisimo left15:53
jargon left15:54
matanya left15:54
TheHoneyBadger I'm getting a message on a pull "Your branch is ahead of 'origin/master' by 49 commits." However, I don't do any commits on the working copy in question.15:54
Why is this happening and how do I fix it?15:54
d33tah left15:54
amoe Hi, is there any way to show the diff of a manual conflict resolution that I did for a previous merge?15:54
str joined15:54
Mars__ left15:55
ngw left15:55
d33tah joined15:55
hypera1r left15:55
dfanjul left15:55
whaley joined15:55
rabbite left15:55
lacrymology left15:55
snql joined15:56
offby1 amoe: sure -- "git diff SHA^ SHA"15:56
i.e., compare the commit's tree with the tree of its first parent15:56
davividal left15:56
chineduu joined15:58
amoe thanks offby! :)15:59
zhost left15:59
oso96_2000 joined15:59
snql left15:59
abrkn joined15:59
ZujkisNx joined16:01
abrkn\ left16:03
shuaib joined16:04
knighthawk joined16:04
GT4066 joined16:04
tty-1_ joined16:05
knighthawk I made a small change to my working tree then pushed it up to the central remote host (origin) then pushed it to my webserver found out it blew something up. so want to rollback (maybe two or more commits) so generally a 'git reset --heard HEAD-2' I think only I've already pushed it up. So what should I do instead?16:06
sorry that should be 'hard' not 'heard'16:06
ezio left16:07
joelrobichaud joined16:07
ezio joined16:07
ezio left16:07
ezio joined16:07
CareBear\ knighthawk : you should possibly use git revert instead in this case. avoid !rewrite if you are sharing code with others.16:07
gitinfo [!rewriting_public_history] Rewriting public history is usually bad. 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` to force (and the remote may reject that, anyway). See http://goo.gl/waqum16:07
banisterfiend left16:07
SergeyPenkin left16:07
netiul left16:08
tty-1 left16:08
gasbakid joined16:08
thiago joined16:08
undecim left16:08
gasbakid left16:09
gasbakid joined16:09
gasbakid left16:10
Pullphinger joined16:10
davividal joined16:10
zorzar left16:10
undecim joined16:11
TheHoneyBadger So I check out a fresh working copy. I make changes in a different copy, commit them, then push to origin. I pull from origin in the first copy, no problem. However, on a subsequent "git checkout master", I get "Your branch is ahead of 'origin/master' by 2 commits."16:11
banisterfiend joined16:11
TheHoneyBadger The heck? Are those commits from the pulls or what?16:12
cbreak-work left16:12
Gavrisimo joined16:12
joelm joined16:13
CreativeEmbassy joined16:13
whaley left16:13
yhager joined16:13
zorzar joined16:13
curvedmark left16:14
galaris left16:14
rath left16:15
galaris joined16:15
thiago left16:15
mustmodify joined16:15
CKyle joined16:15
tpope left16:16
mustmodify I use got commit --amend more than is perhaps healthy... is there a way to remove a new file I committed using --amend?16:16
glosoli joined16:16
ezio left16:16
DolphinDream how do i reset hard remote branch ?16:16
lite_ joined16:16
mustmodify I added script/fu.rb and I really wanted it in my next commit. But I don't want to reset the commit because it had a lot of new files and deletes and moves and it would be a big pita.16:17
threesome left16:17
hiroyuki joined16:17
DolphinDream nevermind16:17
nfroidure joined16:18
ssedano mustmodify: you could split that last commit into more than one16:18
Snibble joined16:18
jazz264 left16:18
ssedano or instead, do it interactively and stash that file instead of adding it16:18
mustmodify interactively... like git add -p?16:19
ssedano sure16:19
mustmodify Can you reverse-interactively-remove things from an existing commit?16:19
or stash16:19
JimmyJohnson left16:19
_davetoo left16:20
sdx23 left16:20
sdx23 joined16:20
ssedano take a look at the git rebase man page, the splitting commit section16:20
ngladitz joined16:21
ngladitz left16:21
ngladitz joined16:21
mustmodify ok, that sounds interesting. Thanks.16:21
ssedano I never did it myself, so I'm of little help,sorry16:21
GT4066 left16:21
s0undt3ch left16:22
s0undt3ch joined16:22
mribeirodantas joined16:23
ezio joined16:24
ezio left16:24
ezio joined16:24
pmoust left16:25
simesy joined16:25
lavaman left16:25
maestrojed joined16:26
tang^ joined16:26
Sonderblade left16:26
nfroidure left16:26
Squarism left16:26
mizu_no_oto left16:26
kjn joined16:27
alan5 joined16:27
tty-1_ left16:27
Snibble left16:27
CheckDavid joined16:27
galaris left16:28
nicedice joined16:28
miceiken joined16:28
jatt` left16:28
helperW left16:28
tvw left16:29
richgilbank left16:29
harish_ joined16:29
alphpt left16:29
rue joined16:29
thierryp left16:29
Misan left16:30
simesy left16:30
herdingcat left16:30
harish left16:30
papegaaij_ joined16:30
abrkn\ joined16:30
tvw joined16:30
papegaaij left16:31
joel_falcou left16:31
halu joined16:33
abrkn left16:33
mizu_no_oto joined16:33
ThomasLocke left16:33
gua_ould left16:34
Pyrogerg joined16:34
rabbite joined16:35
davividal left16:36
aspiers joined16:36
Guest4410 left16:37
lmat joined16:37
johnnyfuchs left16:37
Artpicre joined16:37
noname001 left16:37
richgilbank joined16:38
Pyrogerg_ joined16:39
doliver joined16:39
Gavrisimo left16:39
holderbaum left16:40
knownasilya joined16:41
Gavrisimo joined16:41
neo1691 left16:41
Pyrogerg left16:41
knownasilya I have a folder and it's not getting into the repo with it's contents, and it's not ignore in any .gitignores in the repo16:41
ignored*16:41
DolphinDream does git push pushes the current branch ?16:41
justpie Dolphin, yes.16:42
knownasilya why isn't it making it?16:42
justpie knownasila : git add folder/*16:42
kewah left16:42
ShooterMG joined16:43
DolphinDream thx16:43
richgilbank left16:43
knownasilya justpie: it says that the following files are ignored by one of my .gitignores..16:43
Gonzo89 left16:44
ska-fan left16:44
knownasilya is there another file other then .gitignore that can ignore files? I only have on at the root dir and others are at different directories, not above the one that doesn't wnat to add.16:44
bamj0rb knownasilya: .gitignore at any level, as well as .git/info/exclude.16:45
emmajaneemmajane|afk16:45
galaris joined16:45
abrkn\ left16:46
rob_w left16:46
richgilbank joined16:47
knownasilya bamj0rb: nothing in the exclude..16:47
maroloccio joined16:47
delasteve left16:47
emx is there an increasing "revision"number in git?16:47
ojacobson no16:48
emx bad16:48
ojacobson git-describe can number commits but not uniquely16:48
Lewoco_ joined16:48
ezekielnoob left16:48
ojacobson 'git rev-list --count <HASH>' will also number commits, but also not uniquely16:48
and more importantly not reversibly16:48
back up a step and explain how you'd use the number if you _could_ get it16:49
davividal joined16:49
babylon9 joined16:49
Gavrisimo left16:49
EugeneKay This is a common question we get, and usually one that ends in "because SVN has them. git is so stupid!!!1"16:49
johnnyfuchs joined16:50
Tabmow joined16:50
EugeneKay git-describe serves the purpose of identifying a commit for making a release via tarball, by using your named tags as a baseline. Use that.16:50
penguin42 joined16:50
emx ojacobson, i track database changes in files which i named revision[number]_changesSince.sql and revision[number]_rollbackTo.sql.16:50
irqq left16:51
Mars__ joined16:51
emx i don't know how to do that intuitively with hash values.16:51
Lewoco left16:52
ojacobson hashes are non-ordered, but ISO 8601 timestamps are ordered16:52
that's one option16:52
Guest18364 left16:52
ojacobson the other is to manage a database version number yourself16:52
knighthawk Okay I blew up a branch sent it to the central repo (gitHub) then relized I made a mistake in my local copy I did 'git checkout <branchname>~3' to roll back to fix. got it fixed created a new branch 'git checkout -b <cleanup-branch>' and commited my fixed version to the new branch. Now I'm trying to think what's the best way to push back to gitHub. Since I grabbed an older copy of the tree will it overwrite the bad changes on gitHub16:52
if I just do a push?16:52
apipkin joined16:52
ojacobson the other, other option is to keep a list (this is what liquibase does, for example) and apply them in the listed order16:52
King_Hual joined16:53
hyperair joined16:54
knownasilya haha, i had an ignore in sourcetree..silly application level ignore..16:54
emx ojacobson, how do i read out the timestamp of the last commit of a branch?16:54
knownasilya not sure why the terminal picked it up as well..16:54
lavaman joined16:55
Mars__ left16:55
emx ojacobson, with the other, other option you mean that there is a single file and all changes are put into that one?16:55
notjohn left16:55
SamB knighthawk: you probably need the "-f" flag16:56
hiroyuki left16:56
melee left16:56
SamB also see !history and consider if you think it's likely that anyone's pulled github in the meantime16:57
gitinfo [!clean_history] For a pointer on how to handle history in git see this e-mail from Linus: http://thread.gmane.org/gmane.comp.video.dri.devel/3474416:57
SamB er.16:57
maroloccio left16:57
SamB see !rewrite ?16:57
gitinfo [!rewriting_public_history] Rewriting public history is usually bad. 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` to force (and the remote may reject that, anyway). See http://goo.gl/waqum16:57
_Qman joined16:58
ehmatthes left16:58
whunt joined16:58
Guest25272 joined16:58
yhager left16:58
Guest25272diegoviola16:59
delasteve joined16:59
ojacobson emx: git log, git show, git cat-file commit <hash>, various other mechanisms17:00
m0viefreak left17:00
felixsamora left17:00
ojacobson emx: no, I mean there's a catalog file that lists the migrations to apply, and each migration is in its own file. It still leads to some merge conflicts (append/append, usually) but they're trivial to resolve.17:00
emx ojacobson, k, thanks17:01
kevwil joined17:01
Watabou joined17:02
raar joined17:02
raarGuest5099917:02
neo1691 joined17:03
davividal left17:03
ezakimak_work joined17:03
freimatz left17:04
delasteve left17:04
intellix left17:05
galaris left17:05
zhost joined17:05
user258467 left17:06
galaris joined17:06
SocalNick joined17:06
tpope joined17:07
alan5_ joined17:08
hwrd|work joined17:08
rm_work|awayrm_work17:08
apipkin left17:09
hwrd|work left17:09
ewnd9 left17:09
alan5 left17:09
kevinold joined17:09
hwrd|work joined17:10
ehmatthes joined17:10
rabbite left17:10
rurufufuss left17:10
aspiers left17:11
calcifea joined17:11
neo1691 left17:11
kevinold I'm using --author for git log to find commits by a certain author, but am seeing commits by that author that were cherry picked to another branch. I'd like to see only commits by that author on the single branch, but adding --branches=mybranch isn't working?17:11
meLon left17:11
kevinold what is the best way to see commits by a single author on the current branch only17:11
JeremyWei left17:12
etcetera joined17:12
ewnd9 joined17:12
knighthawk thanks SamB17:13
yhager joined17:13
thierryp joined17:13
juril left17:14
devbug joined17:14
grawity kevinold: Git doesn't keep track of which branch a commit was authored on17:15
SamB or committed on, either17:15
grawity kevinold: I'd say `--not --grep="cherry picked from"`, but somehow I doubt the --not affects --grep :(17:16
hahuang65 left17:16
dropdrive So I have read access to my coworker's collection of scripts, except that he refuses to version control. Is there a way for me to use git to track his changes *without* making a copy of his tree? For example, it's not enough to set GIT_DIR, which doesn't "pretend" that there is a work tree.17:16
galaris left17:16
thiago joined17:16
kevinold got it, thanks, I think I'll just have to manually look through them as it's only a handful of commits17:17
davividal joined17:17
richgilbank left17:17
johnnyfuchs left17:18
bartzy joined17:18
bartzy Hey17:18
What is the difference between git commit --amend --no-edit and git commit -C HEAD ?17:18
apipkin joined17:18
chineduu left17:18
chineduu joined17:19
h0bbit_ joined17:20
grawity bartzy: with --amend you're creating a new commit *instead of* the current HEAD (you could say --amend is editing the HEAD commit)17:20
bartzy: without --amend, you always create a new commit *on top* of HEAD, and the -C option merely copies the comment17:20
alorence left17:21
fRAiLtY- left17:21
User458764 joined17:23
Cromulent left17:23
CreativeEmbassy left17:23
infynyxx joined17:24
davividal left17:24
bartzy grawity: Thanks. Any shorter way (without an alias) to do --amend --no-edit ?17:24
felixsamora joined17:24
arand left17:24
miceiken left17:24
whoami left17:25
simesy joined17:25
Watabou left17:25
_goTAN left17:26
grawity bartzy: git config --global alias.mend "commit --amend --no-edit"17:27
dhruvasagar left17:27
Stygia left17:28
chineduu left17:28
whoami joined17:28
lite_ left17:28
bamj0rb likes to EDITOR=true git. >:)17:29
lite_ joined17:29
Skrypter joined17:29
Pyrogerg_ left17:29
Reacto joined17:29
Reacto left17:29
Reacto joined17:29
donmichelangelo left17:30
simesy left17:30
donmichelangelo joined17:30
iveqy dropdrive: yes you can do that17:31
Gavrisimo joined17:31
bamj0rb dropdrive: GIT_WORK_TREE. :)17:32
shruggar left17:32
lite_ left17:33
_iron joined17:33
_Vi joined17:33
arkygeek joined17:34
Ertac joined17:34
btree joined17:34
arkygeek hi folks17:34
gitinfo arkygeek: 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.17:34
jonatasnona left17:35
arkygeek I made some changes to a few files and I would like to go back to the way it was.17:35
adamm left17:35
arkygeek I want to only refresh the files that exist in the repository (gitorious)17:35
lite_ joined17:35
arkygeek how do I do that?17:36
swair left17:36
davividal joined17:36
boombatower joined17:37
jonatasnona joined17:37
alan5_ left17:37
lmat arkygeek: git reset --hard ?17:38
lun__ joined17:38
arkygeek lmat: ok, thx, I'll read up on that :-)17:38
lmat :)17:39
RogerWS joined17:39
hiroyuki joined17:40
delasteve joined17:41
lun__ left17:43
adamm joined17:43
ewnd9 left17:44
m8 joined17:44
cesarkawakami joined17:44
emx left17:45
ZujkisNx left17:45
harobed_ left17:46
raonyguimaraes joined17:46
mfulz joined17:47
ezio left17:47
kevinold left17:48
kevinold joined17:48
banisterfiend left17:51
Mars__ joined17:51
tplaner joined17:51
kevinold left17:53
Snibble joined17:53
felher left17:53
Ragnor joined17:54
jast left17:55
CodeShark joined17:55
jast joined17:55
Mars__ left17:55
davividal left17:56
cenuij_ left17:56
zhost left17:57
btree_ joined17:57
achadwick left17:57
twoface88 joined17:57
banisterfiend joined17:58
hahuang65 joined17:59
vurma left17:59
Robarelli joined17:59
ZujkisNx joined18:00
thiago left18:00
lite_ left18:00
btree left18:00
felixsamora left18:00
delasteve left18:01
macrover joined18:01
lite_ joined18:01
doliver left18:01
galaris joined18:02
lite_ left18:02
lite_ joined18:02
kenperkins left18:02
lite_ left18:03
User458764 left18:03
lite_ joined18:03
jmd joined18:04
Misan joined18:04
Snibble1 joined18:05
mitz joined18:05
Snibble left18:06
richgilbank joined18:06
admin_ joined18:06
asQuirreL left18:07
lite_ left18:08
lithiumn left18:08
PeerAS left18:09
Retep998 joined18:09
lmat left18:09
jmd Is there a command to do pull and push in one operation?18:09
rhl joined18:09
Retep998 Question, is there some sort of good article on why git forbids merging in a dirty working folder?18:10
petey joined18:10
grawity jmd: Not in core Git, unless you use something like `legit sync`18:10
lugzer joined18:10
jmd Retep998: Well because it is impossible.18:10
grawity Retep998: I'm pretty sure it only does that when merging would affect the specific files that are dirty?18:10
davividal joined18:10
Retep998 grawity: Yeah, but svn does it18:10
and a friend of mine is really confused as to why git won't18:11
jmd svn doesn't have an "index"18:11
grawity svn and git use very different approaches to merging, for example18:11
rhl Hi, I am trying to setup git.rhl.io and I am having trouble getting git clones to work. I have my own private apache within webfaction, and I am using git+gitweb+gitolite18:11
DocRoot is /home/git/webapps/git and inside of there is a symlink called 'repos' to /home/git/repositories18:11
http://fpaste.org/52412/38384748/18:11
what is weird is that the git repo structure doesn't ever put refs inside of info, but they are folders at the same level18:11
so the rewrite rules in the htaccess might be doing something wrong.. this was provided to me after installing the 'git' application from webfaction.18:11
grawity merge-then-commit vs commit-then-merge18:11
rhl: info/refs isn't meant to be a folder, it is meant to be an auto-generated file18:11
rhl: (since it is tricky to list contents of the real refs/ folder over HTTP)18:12
jmd svn's merge is a three way merge. If git allowed merging a dirty working directory, it would be a four way merge.18:12
rhl grawity: well, refs isn't under info18:12
is this supposed to be generated by git.cgi ?18:12
grawity rhl: if you use the smart-HTTP backend, then it will reply to these requests transparently18:12
rhl: (the actual file only needs to exist for dumb-HTTP cloning, and is usually generated through a post-update hook, using git update-server-info)18:13
asQuirreL joined18:13
Snibble1 left18:13
Snibble joined18:13
grawity rhl: although, does git.cgi actually point to git-http-backend (the smart-HTTP server)?18:13
rhl grawity: git.cgi says: /usr/libexec/git-core/git-http-backend "$@"18:13
grawity aha18:14
and it is executable, and has #!/bin/sh on top, right?18:14
rhl indeed18:14
/bin/bash, but yet.18:14
yes**18:14
grawity hmm18:14
rhl grawity, is it possible that the rewriterules aren't working, or that my clone url is incorrect?18:15
grawity not sure; maybe try the example configuration from `man git-http-backend`?18:15
gitinfo the git-http-backend manpage is available at http://jk.gs/git-http-backend.html18:15
mmitchell left18:15
dropdrive iveqy, bamj0rb: Thanks. Is it fair to assume that git-add and git-commit will never modify files in GIT_WORK_TREE?18:15
mmitchell joined18:15
grawity if Apache says that info/refs does not exist, then it probably *does* mean that none of the git.cgi rewrite rules matched18:15
hobodave joined18:16
kenperkins joined18:16
doliver joined18:16
rhl the ScriptAliasMatch looks very similar to one of the rewrite rules18:17
sfz joined18:17
etcetera left18:18
galaris left18:18
dreiss joined18:19
mmitchell left18:20
lun__ joined18:20
interru joined18:20
doliver left18:21
gdoteof joined18:21
gdoteof i have a build process that makes my index.html file; where before i was manually making it. so i want to keep index.html out of hte repo and instead have templates/index.html18:22
and that works18:22
but if i add index.html to my gitignore it ignores templates/index.html18:22
lmat joined18:22
gdoteof if i do ./index.html it doesn't seem to work at all18:22
how can i have ./index.html ignored but leave templates/index.html in the repo18:23
arvind_khadri joined18:23
gdoteof without doing -f and always seeing the built index.html in my git status18:23
khushildep left18:23
swair joined18:24
Kayra joined18:24
Squarism2 joined18:25
canton7 gdoteof, /index.html ?18:25
tty-1 joined18:26
simesy joined18:26
BiggFREE joined18:26
devbug left18:26
rhl grawity: do you know anyone who is really good with git and apache?18:26
galaris joined18:27
lc0dd0cl any users of git/cygwin notice vi behaves weird on git commit?18:27
galaris left18:27
rhl or can I provide you with more information to help get my issue resolved. the only person in webfaction support is china based and wont start working until 6pm tonight (current time 10am) i was hoping to fix this problem..18:27
ciampix joined18:27
arkygeek left18:28
ezio joined18:28
Retep998 left18:28
conan joined18:30
johnnyfuchs joined18:30
pbujok left18:30
simesy left18:30
thiago joined18:30
mustmodify left18:30
thiago left18:31
thiago joined18:31
jhulten joined18:32
Ertac left18:32
mizu_no_oto left18:33
Etheco left18:33
btree_ left18:34
BitRaptor64 joined18:34
tplaner left18:35
Ozch joined18:35
jfoy joined18:36
glebihan left18:36
lithiumn joined18:36
glebihan joined18:36
admin_ left18:36
ferdev joined18:37
Artpicre left18:37
ferdev left18:38
primitive joined18:38
ezio left18:38
ojacobson left18:38
ldiamond joined18:39
ldiamond Is there a way to debug git failure to connect to a https server?18:39
I.e. know if the connection failed due to git or the server18:40
if git refuses the certificate or something18:40
pdimitrov left18:40
thiago left18:40
ldiamond http.sslVerify=false works.18:40
takamichi left18:40
pdimitrov joined18:40
DrShoggoth joined18:40
ldiamond but I did set http.sslCAInfo18:40
conan left18:40
pr0ggie left18:41
FernandoBasso left18:41
Artpicre joined18:41
apipkin left18:41
knighthawk I want to merge a branch but not from it's head. How would I do that? something like 'git merge <targetbrancch>~2'18:41
shoshin left18:41
knighthawk no clue if that syntax would work or not.18:41
PerlJam knighthawk: try it :)18:42
Watabou joined18:42
etcetera joined18:42
shoshin joined18:43
grawity ldiamond: GIT_CURL_VERBOSE=118:43
ldiamond ah cool, will try that18:43
anderse joined18:43
neo1691 joined18:44
ldiamond works. gives all the info I need.18:44
D9_ left18:44
ldiamond client side issue18:45
jarr0dsz left18:45
snql joined18:46
aard joined18:46
Devastator left18:48
raonyguimaraes left18:48
thiago joined18:50
Devastator joined18:50
macrover left18:50
kevwil left18:51
twoface88 left18:51
CKyle left18:51
bwreilly joined18:52
Mars__ joined18:52
bwreilly left18:52
bamj0rb dropdrive: Define "modify"? :-/ git-add and git-commit do modify the working directory. git-add adds changes to the index. git commit turns the index into a proper commit object.18:52
wooy hi, is it ok to remove remote branch?18:52
grawity bamj0rb: the index is not part of the working directory, however18:53
bamj0rb: well, partially I guess?18:53
galaris joined18:53
grawity wooy: yes18:53
bamj0rb grawity: I never said it was. :)18:53
Oh, sorry, I meant DO NOT modify the working directory.18:53
wooy grawity: cheers18:53
grawity wooy: just noting that `git branch -r -d` doesn't actually delete remote branches, just their local copies – the next `git fetch` will bring them back18:54
wooy roger18:54
Luke-Jr left18:54
jceb_ joined18:54
pr0ggie joined18:55
notjohn joined18:55
Luke-Jr joined18:55
grawity it is only `git push --delete` (or pushing an empty ref) that actually nukes the branch on the server18:56
pbujok joined18:56
Mars__ left18:56
vurma joined18:56
CreativeEmbassy joined18:57
bwreilly joined18:57
lithiumn left18:57
mdiers joined18:57
CKyle joined18:58
thiago left18:59
lithiumn joined18:59
drizzd joined18:59
scorphus`scorphus18:59
scorphus left18:59
scorphus joined18:59
JakePee_JakePe19:00
JakePeJakePee19:00
renatow_ joined19:00
thiago joined19:01
renatow left19:01
sriracha left19:01
pbujok left19:02
sriracha joined19:02
Watabou left19:02
deanclkclk joined19:02
bitfed joined19:02
deanclkclk folks...how do I check if I have access to a remote repo?19:02
ever before I clone it?19:02
grawity a) try cloning it and see if it fails :P19:03
b) `git ls-remote $URL`19:03
Gavrisimo left19:03
unreal_ joined19:04
Asenar left19:04
bitfed Question: Is there any way to find out what the latest stable branch is if there is no branch named "stable"?19:05
frgtn left19:05
jmd bitfed: No.19:05
bitfed Cool, thanks19:05
grawity bitfed: by asking the developers19:05
frgtn joined19:05
bitfed I already did sort of19:05
Watabou joined19:06
grawity it is basically out of scope for Git – even if you sorted branches by activity date or something, Git still wouldn't know the *purpose* of any branch19:06
koda left19:06
emmajane|afkemmajane19:06
Bucciarati_Bucciarati19:06
jmd Some projects don't have a stable branch.19:06
unreal left19:06
unreal_unreal19:06
bitfed Am I right to think that having a clone of the latest stable under it's own branch called "stable" is the closest way to approximate this functionality?19:06
jmd ??19:07
angelsl left19:07
grawity some projects call 'master' the "stable" branch and 'devel' the unstable one19:07
jmd what functionality?19:07
frgtn left19:07
grawity some projects have 'stable' or 'vX.Y.Z' branches, and use 'master' for main development19:07
frgtn joined19:07
bitfed Thanks grawity, you nailed it19:07
grawity in other words, the branching scheme is entirely up to you19:08
germanoak left19:08
grawity several people have written blog posts about their "Git workflows", those might be useful as examples19:08
jmd What I object to in git is the fact that they are called "branches". They are not branches in any sense of the word.19:08
bitfed Cool thanks for the ans19:08
mdiers left19:08
bitfed I'd seen stable branches before, just not on one of my most used repos19:09
jmd They should be called "forks" or something.19:09
cbreak why?19:09
they are branches19:09
xobb_ joined19:09
ezakimak_work left19:09
cbreak the merge base is the fork19:09
grawity because everybody likes inventing new terminology19:09
scorphusscorphus`19:09
cbreak maybe we could call them leaves19:10
kirin` joined19:10
bitfed names his "smegma"19:10
grawity cbreak: nah, Fossil already does that19:10
bitfed And in the leaves we will have tweets.19:10
TomyLobo joined19:10
cbreak I like leaves.19:10
pepper_chico joined19:10
cbreak jmd: git internally they are called refs/heads19:11
grawity Hg would probably just use the term 'heads'19:11
xobb left19:11
jmd "heads" would be better.19:11
scorphus`scorphus19:12
_Vi left19:12
thierryp left19:12
jmd "Branch" implies that there is some sort of heirachy, which in git there is not.19:12
shruggar joined19:13
grawity usually there is, it's just not tracked by Git19:13
frgtn left19:13
jmd Well, if there is, it has to be manually maintained.19:13
cbreak jmd: why does it imply that?19:13
frgtn joined19:13
jmd Well "branch" is a metaphor from arborial terminology.19:14
jnavila joined19:14
lite_ joined19:14
ezio joined19:14
ezio left19:14
ezio joined19:14
cbreak yeah. And there, all branches are part of the same tree19:14
decotii left19:15
jmd But which is the trunk? And which branch is the parent of which other one?19:15
frgtn left19:15
cbreak trunk?19:15
ciampix left19:15
cbreak branches are all equal19:15
frgtn joined19:15
jmd cbreak: Exactly. That is my point.19:15
cbreak they split at parts19:15
like with tree branches19:15
freeed left19:16
jmd No. Have you ever seen a tree?19:16
cbreak but if you go further down, they all go to the root19:16
the root is obviously part of all branches19:16
YoungFrog left19:16
cbreak just like with git19:16
of course, git has merging, which real trees don't do.19:16
jmd "Branches" are not all equal. They have a parent child relationship. Unlike in git.19:16
Kayra left19:16
alvaro_o joined19:16
cbreak jmd: not really.19:16
lite_ left19:16
PerlJam cbreak: real trees can merge.19:17
cbreak if you follow the branch you come to the root19:17
rafaqueque joined19:17
decotii joined19:17
cbreak PerlJam: I doubt it is commonly conflict free19:17
jmd Yes Really. A proper config management tool indeed has real branches. I suppose git called them branches so as to make people think thats what it was.19:17
thierryp joined19:18
cbreak not really.19:18
git has called them branches because they are.19:18
kevwil joined19:18
jmd Yes. Really.19:18
alexander__b left19:18
PerlJam jmd: what are "real branches"?19:18
cbreak PerlJam: they grow on trees19:18
PaulCapestany joined19:18
cbreak see above.19:18
jmd A branch is the child of its parent.19:19
cyphase joined19:19
cbreak no. have you ever seen a tree?19:19
they don't make children.19:19
jmd There is no parent of a git branch.19:19
cbreak they make new trees, with seeds19:19
branches are unrelated to that19:19
a branch is just the behavior of splitting up of a tree structure19:20
jwmann left19:20
cbreak a young tree might only have one branch19:20
(the stem)19:20
jmd cbreak: Well thats what git means by "branch", but its not what other SCMs mean.19:20
cbreak but as it grows, it splits up into many more branches19:20
DaisyTheCow joined19:20
jmd It confused the hell out of me when I first started using git.19:21
cbreak but if you trace those branches, they all end in the root19:21
jmd: how so? It's quite natural19:21
jmd cbreak: No. It's totally unnatural.19:21
DaisyTheCow left19:21
jwmann joined19:21
DaisyTheCow joined19:22
PerlJam This has got to be the weirdest conversation I've stepped into on IRC today19:22
cbreak PerlJam: you should join ##c++19:22
jmd I spent two days wondering why I couldn't see a branch's changes in the child branches.19:22
PerlJam no thanks. Been there, done that.19:22
cbreak jmd: ?19:22
PerlJam jmd: "child branches"?19:22
d8bhatta left19:23
cbreak then you found rebase?19:23
(or merge :)19:23
Samual left19:24
jmd merge/rebase is totally orthogonal to the issue. My point is that branches have a parent/child relationship. In git, they don't. Ipso facto, "branch" is a misleading term.19:24
cbreak I've never seen parent and child branches.19:24
you sound confused.19:24
here joined19:25
PerlJam jmd: It sounds to me like you just had the wrong metaphor for branching.19:25
snag joined19:25
jmd Because you've never used a Software Configuration Management tool.19:25
PerlJam: Well, a different one to what the inventor of git had.19:25
User458764 joined19:26
cbreak jmd: what's that good for?19:26
jmd what?19:26
Ertac joined19:26
cbreak a software configuration management tool19:26
here howza all i'm wondering how to do `git pull --rebase` in two steps using fetch and merge19:26
jmd For managing the configuration of software?19:26
PerlJam jmd: at the very least. but I've used other revision control systems before git and I saw nothing incongruous with git's idea of branching with the branching I was familiar with.19:26
cbreak I make my programs so that they can store their settings themselves19:26
grawity here: you don't19:26
cbreak your software must be quite limited if it can't even do that19:27
grawity here: `git pull --rebase` doesn't merge – it rebases19:27
Droolio left19:27
pantsman joined19:27
cbreak jmd: something like an xml library?19:27
PerlJam here: step 1) git fetch step 2) git rebase :-)19:27
kevwil left19:27
jmd In a proper SCM, one can make a change in a branch, and that change will automatically show up in all children of that branch.19:28
PerlJam jmd: can you give an example of a system that meets this criterion?19:28
cbreak jmd: that sounds stupid19:28
here perljam: hmm is it possible to rebase onto a future commit (like pull --rebase)19:28
jmd PerlJam: Aegis, Clearcase ...19:29
cbreak jmd: why would anyone want something like that?19:29
Bass10 joined19:29
grawity here: 'future commit'? what does that even mean?19:29
cbreak jmd: and what does that have to do with config files?19:29
grawity here: if you can pull or fetch a commit, it's not a 'future' commit, it's an existing commit19:29
cbreak sounds like you're mixing up things19:29
jmd cbreak: Nothing.19:29
oojacoboo joined19:29
destiny left19:30
here grawity: origin: A-C local: A-B , from local git fetch origin and git rebase C ... C is what i was calling a 'future' commit -- i'm sure there is a better term .19:30
destiny joined19:30
Snibble left19:31
here grawity: sorry backwards . origin: A-B local A-C result A-B-C19:31
jmd I am not mixing things up. I'm just explaining how branches (not in git's sense of the word) work. You say it "sounds stupid" because you're experience it limited to git-like SCMs19:31
kerrick joined19:31
cbreak I've also used svn a bit.19:32
PerlJam jmd: or ... the tools I've used that touted themselves as "software configuartion management" tools had no concept of "branching". They had the concept of "nesting" or perhaps "inheritance", but not "branching"19:32
cbreak it had branches similar to git (just implemented in a braindead way....)19:32
chuckharmston left19:32
ZoanthusR left19:33
cbreak and it didn't automatically merge like you describe19:33
renatow_ left19:33
chuckharmston joined19:33
jmd Well whatever you call them thats the way it normally works. Unfortunately not in git.19:33
cpg|awaycpg19:34
crazydiamond joined19:34
PerlJam jmd: Can you give an example SCM tool/system that uses the "branching" terminology?19:34
cbreak beware of leerpN. He seems to be a spammer.19:34
jmd PerlJam: Didn'T I just do that 2 mins ago?19:35
cbreak jmd: a successfull one.19:35
howlymowly_ left19:35
PerlJam oh, sorry. Missed it.19:35
chuckharmston left19:36
grawity here: I think 'upstream' or 'remote' would be something closer19:36
here: so you do `git fetch origin` and `git rebase origin/branchname`, for example19:36
franksta-imac left19:36
ezio left19:36
arvind_khadri left19:37
bwreilly left19:37
ezio joined19:37
ezio left19:37
ezio joined19:37
jmd Anyway I wish git would call them "threads" or "heads" or anything but "branches". When I'm teaching git, I have to spend 45 mins explaining to the students that they are not really "branches".19:38
Snibble joined19:38
cbreak jmd: you're lying to students? why?19:38
jmd: of course git has branches19:38
grawity heh, it's always fun to have a teacher who thinks they know the technology so much better than everyone else19:39
cbreak maybe you should try to actually understand git instead of teaching your misconceptions from some weird fringe software products :)19:39
here grawity: thanks , thats what i was looking for . i ended up with `git fetch` followed by `git rebase FETCH_HEAD`19:39
grawity (often, they don't)19:39
jmd Not in the sense that intuition would lead anyone to think of as a "branch".19:39
Hello71 s/often, //19:39
cbreak the only branch related misconception I've heard so far from people I taught git to was that they thought that a branch stops at the merge base (while in fact it stops at the root commits)19:40
but that's an easily fixed misunderstanding19:40
bwreilly joined19:41
adamm if you view git as a multi-version file system, then by that definition, it must has branches (of history).19:42
PerlJam jmd: Can you give me a URL that describes changes in a branch flowing to "subbranches" in either Aegis or Clearcase?19:42
Davey left19:42
Samual joined19:43
Davey joined19:43
attermr joined19:43
jmd PerlJam: See the Aegis user manual.19:43
cbreak the only thing I heard about clearcase is that it's a pile of garbage19:43
apparently you need full time admins to keep it running :)19:43
threesome joined19:43
jmd cbreak: Well that is true...19:43
PerlJam cbreak: completely orthogonal to the branching issue ;)19:44
mitsuhiko_ left19:44
thiago left19:44
Chiftin joined19:44
rabbite joined19:45
cbreak PerlJam: maybe it's so bad because they misunderstood branches19:45
PerlJam: or something even more basic like commits19:46
admin_ joined19:46
nwertman_ left19:46
ezio left19:47
mitsuhiko joined19:47
ndngvr joined19:47
crater2150 joined19:48
xys_ joined19:49
felher joined19:49
lithiumn left19:49
bitfed left19:51
sgu joined19:51
leeN joined19:51
sgu Hi all, what's difference between `git merge --squash` and `git rebase`?19:51
PerlJam sgu: the latter is more powerful with all of the options you may use.19:52
kcj left19:52
_Vi joined19:52
r0bby_robbyoconnor19:52
Mars__ joined19:52
jmd sgu: git merge --squash does a merge, but squashes tthe local commits into one.19:52
Devastator left19:53
Devastator joined19:53
aard left19:53
Kayra joined19:53
jmd git rebase applies the local commits at the end of the remote trackign branch.19:53
aard joined19:53
Mars___ joined19:54
emmajaneemmajane|afk19:55
ezakimak_work joined19:55
sgu PerlJam, jmd: If the current branch is A, `git merge --squash B` (followed by a commit) and `git reabse B` generates the exactly same commit and commit history?19:56
rgoytacaz joined19:56
defaultro left19:56
Mars__ left19:57
jmd sgu: Under some circumstances it could do.19:57
eaj joined19:57
chovy_chovy19:57
linduxed left19:57
King_Hual left19:58
spaceonline left19:58
jmd But not if the remote branch has changed since it was last pulled.19:58
papegaaij_ left19:58
rgoytacaz Hello there, due to a fast-forward some images were deleted which I would like to get back, so I did a get checkout, because reverting doesn't see to restore those files from the fast-forward.19:58
Mars___ left19:59
rgoytacaz is there a way to make the current checked out commit, HEAD?19:59
and abandon everything else?19:59
grawity technically HEAD always is the current checked out commit19:59
DaisyTheCow left19:59
guns joined19:59
grawity but if you meant making it the branch head, use `git reset` or `git checkout`19:59
matteo left20:00
grawity if you're currently on a branch and want to move it to another commit, do `git reset --hard <commit>`20:00
sgu jmd: So the behavior of git rebase depends on the remote branch? Any documentation for more details?20:00
grawity if you're currently on a commit (detached) and want to put a branch there, do `git checkout -B <branch>`20:00
end result is the same, though20:00
cbreak sgu: the behavior of rebase depends on what you tell it to do20:00
sgu: if you just give it a commit, then it will take the current commit, the one you told it about, calculates the merge base, takes all commits since the merge base reachable from your current commit, and applies their changes in order onto the commit you told it about20:01
sgu: effectively changing the merge base of the current commit20:01
diegoviola left20:01
cbreak (naturally, the current commit will have changed afterwards)20:02
galaris left20:02
cbreak merge --squash just makes a normal merge, but ignores all other heads when making the merge commit, so it'll be a normal commit (just one parent, instead of many)20:02
they are completely unrelated20:02
notjohn left20:02
rgoytacaz grawity: Im currently on deatched head, but master is like 7 commits ahead, inclusing two silent ff which erased stuff20:03
grawity rgoytacaz: so which commit do you want to point 'master' to?20:03
cbreak rgoytacaz: ff NEVER erase stuff20:03
grawity cbreak: they do, if one of the commits did20:04
eaj left20:04
tvw left20:04
cbreak rgoytacaz: they are fast forward because you had no stuff that could be erased20:04
rgoytacaz: if you had any stuff, then it would be a merge that can't be fast forwarded20:04
eaj joined20:04
jceb_ left20:05
halfdan joined20:05
asQuirreL left20:05
germanoak joined20:05
thiago joined20:05
germanoak left20:05
takamichi joined20:05
gitinfo set mode: +v20:05
rgoytacaz grawity: my current checkout commit.20:06
germanoak joined20:06
grawity rgoytacaz: git checkout -B master20:06
marccollin joined20:06
halfdan I'm trying to checkout an old branch "foo" - it fails because on master several directories were replaced by submodules and the checkout would override the files in the submodule directories. How can I checkout my old branch?20:06
frgtn left20:06
marccollin i cloned kernel and i search a way to get : nouveau master branch (http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?id=968a8d1b6c32c9f466f236032770b9165ece045a) and put it locally to my cloned kernel20:06
pepper_chico left20:07
glosoli left20:07
frgtn joined20:07
gkze joined20:07
kevwil joined20:07
gkze Hey guys I have a question20:08
I currently have a directory where a bunch of repos reside20:08
and I want to make a super-repo two directory levels above that20:08
lmat gkze: delete them all.20:08
oh..20:08
jkremser left20:08
Norm_ joined20:08
gkze how can git init in ../../20:08
and add those repos as existing submodules?20:09
eaj left20:09
halfdan move them out of the directory20:09
git init and then add the submodules20:09
grawity cd ../.. && git init && ...20:09
DANtheBEASTman left20:09
grawity don't need to move them anywhere20:09
rgoytacaz grawity: oh i see.. after that there's still tons of commits ahead 7. I don't want to ff those, just discard. Should I do git reset or something?20:09
grawity ... && git submodule add <url> foo/bar20:09
babylon9 left20:09
grawity rgoytacaz: no20:09
nhmood left20:10
grawity rgoytacaz: you've already "reset" your local branch to that commit you want20:10
rgoytacaz: if you want to "reset" the one on the server as well, it's `git push --force`20:10
longbeach joined20:10
grawity rgoytacaz: but note that if anyone else already has pulled those 7 commits, then they will *also* need to `git reset` their own repositories20:10
well, something like `git fetch origin && git reset origin/master`20:11
JesseC left20:11
JesseC joined20:11
gkze I already have a system in place to manage those repos20:11
Vundle to be specific20:11
rgoytacaz grawity: I see, thats exactly how it got messed up.20:11
gkze is that going to mess with vundle?20:11
nwertman joined20:12
frgtn left20:12
grawity rgoytacaz: if they do not reset to the same commit, then their git will think those commits are actually new, and it'll try to merge or fast-forward them again20:12
yargy joined20:12
rgoytacaz grawity: exactly.. thanks.20:12
grawity so again – if you're on a branch and want to move it to a specific commit, use `git reset`20:12
hwrd|work left20:13
joshbetz joined20:13
petey left20:13
petey joined20:14
shoshin left20:14
ezio joined20:15
ezio left20:15
ezio joined20:15
ezio left20:16
SocalNick left20:16
ezio joined20:16
Shaladdle left20:16
Raging_Hog left20:18
petey left20:19
etcetera left20:19
LeMike joined20:19
nhmood joined20:20
nhmood left20:20
DrShoggoth left20:20
freestyl3r left20:20
nhmood joined20:20
nhmood left20:20
joki left20:20
nhmood joined20:20
nhmood left20:20
nhmood joined20:20
nhmood left20:20
bartzy left20:21
gdoteof left20:21
LeMike hi there. i need some help with a workflow. if i have a submodule, and want to add a folder to it, then this won't go into my real repo with "git add" because the folder is within the submodule. but I want that particular folder in the repo i create and at the position it shall be (within the submodule later on).20:21
DrShoggoth joined20:21
nhmood joined20:22
iamjarvo_ left20:22
etcetera joined20:22
rgoytacaz grawity: Cool, thanks again. since the project was already with some fellow workers, we had to delete it and clone it again, because git fetch and reset wasn't doing it =/20:22
freestyl3r joined20:22
iamjarvo joined20:22
cbreak LeMike: submodules are separate repositories.20:23
LeMike: so, think of something else, I guess?20:23
mmitchell joined20:23
cbreak from the outside, a submodule is a commit entry in the tree20:23
from the inside, it's a stand alone git repository20:23
JGarrido joined20:24
LeMike yee. and i accept the restriction. makes total sense. but is there any good solution you would suggest, to have an own folder within the submodule later on? i am hoping for a solution where i do not need to symlink manually20:25
hiroyuki_ joined20:25
joki joined20:25
zarubin left20:26
simesy joined20:26
snql left20:27
sq-one joined20:27
cbreak LeMike: you can commit it in the submodule.20:27
rgoytacaz left20:28
hiroyuki left20:28
gdoteof joined20:28
renatow joined20:29
galaris joined20:29
LeMike hm. okay. but then it would be in the repo of the submodule, right? (if i could push) .. but when i have the same "submodule" accross multiple projects, they would all get that code.20:30
ianmcorvidae left20:30
DolphinDream when i merge branch A into branch B into a SHA1 commit ..can i edit the SHA1 commit to change something on branch A ? can i squash a subsequent commit after merge with the merge commit ?20:30
ianmcorvidae joined20:30
Jackneill left20:31
tvw joined20:31
LeMike DolphinDream: you might search for --no-commit i guess20:31
simesy left20:31
DolphinDream merge with no commit ?20:31
after i make my edit and commit.. will that appear as a merge commit ?20:32
galaris left20:32
hwrd|work joined20:32
galaris joined20:32
LeMike hm. dunno that. give it a try in a new branch ;)20:32
paulweb515 left20:33
hwrd|work left20:33
ezio left20:33
sgu Hi all: I encounter a merge conflict: when I use `git merge -s recursive -X theirs master`, git cannot resolve a merge conflict for a binary file(both modified), and the file is shown in `git status` as unmerged path, if I want to keep the file from master, which command should I use?20:33
swair_ joined20:33
LeMike git checkout master /path i guess sgu20:34
snag left20:34
LeMike hope the conflict lets you do that20:34
SocalNick joined20:35
calcifea_ joined20:35
petey joined20:36
calcifea left20:36
rgr left20:36
swair left20:37
jonez left20:37
swair_swair20:38
kjn left20:39
gkze left20:40
_ikke_ sgu: git checkout --theirs path/to/file20:40
sgu Thanks.20:40
ciampix joined20:40
gdoteof left20:41
arand__ (And git add after that)20:41
h0bbit_ left20:42
Ertac left20:43
neo1691 left20:43
Snibble left20:43
bamj0rb Protip: git checkout <commit> <path> adds <path> to the index automatically.20:44
freestyl3r left20:45
_ikke_ git checkout --theirs / --ours is an exception20:45
DrNick left20:46
_ikke_ ie, it checks it out from the index to the working tree, the index is still in the conflict state, until you add the file back to the index20:46
zhost joined20:47
abelsiqueira left20:47
lugzer left20:48
kevinold joined20:48
frgtn joined20:48
lugzer joined20:48
shuaib left20:48
felixsamora joined20:49
freestyl3r joined20:49
jonez joined20:50
freestyl3r left20:50
petey left20:50
sgu Hi all: Is there a way to find out the history of a file which has been deleted in HEAD?20:50
jnavila_ joined20:50
jnavila left20:50
jnavila_jnavila20:50
Kayra left20:51
grawity yeah, just `git log` (`git log -- path/to/file` is probably needed, to tell git that it's specifically a path name)20:51
freestyl3r joined20:51
Squarism2 left20:51
Kayra joined20:51
freestyl3r left20:52
hwrd|work joined20:52
hwrd|work left20:52
zarubin joined20:52
lugzer left20:53
gdoteof joined20:53
GT4066 joined20:53
snql joined20:54
Mars__ joined20:54
chuckharmston joined20:54
alphpt joined20:54
gitinfo set mode: +v20:55
freestyl3r joined20:55
cff_ joined20:55
nwertman left20:55
iamjarvo left20:56
m0ltar left20:56
calcifea_ left20:56
iamjarvo joined20:56
calcifea joined20:56
Kayra left20:56
TheMoonMaster left20:56
LBV_User left20:57
TheBrainWork left20:57
alphpt hi. I'm using git version 1.8.4.msysgit.0 (windows). since this version I've been noticing weird behaviour in git rebase. seldom when rebasing a bunch of changes on top of another branch fails with merge conflicts, where merge conflicts were not expected. after `git rebase --abort` and `git rebase` once again, it succeeeds. is this issue known?20:57
gkze joined20:58
faBimon joined20:58
pbujok joined20:58
Snibble joined20:58
DrNick joined20:58
alphpt I also have a running app which runs `git status` in the background every now and then, and I have yet to see this heisenbug occur when this background app is not running20:59
malkomalko joined20:59
marccollin left20:59
iamtakingiteasy left20:59
nwertman joined20:59
cbreak alphpt: maybe windows is dumb.20:59
I heard it can only open a file in one single application20:59
if you try to open it in a second, it'll fail21:00
tang^ that's application dependent21:00
neo1691 joined21:00
DrShoggoth left21:00
rafeca joined21:00
rafeca left21:00
TheMoonMaster joined21:00
alphpt when looking at the changes git tells me are conflictual, I notice they are the inverse changes of the previously rebased commit, as if the previously rebased commit was added to history, but its changes were not reflected in disk21:00
bartzy joined21:01
cbreak I'd blame windows. Because it's the most likely suspect.21:01
DrShoggoth joined21:01
grawity ._.21:02
asQuirreL joined21:02
tpollard joined21:02
simesy joined21:02
sgu grawity: need to use `git log --follow -- path/to/file` to show the history files which has been deleted in HEAD.21:02
grawity you know, for someone who seems to know so much about git, you start looking really stupid when you bash Windows based on something you only "heard"21:03
cmpera left21:03
pbujok left21:03
GT4066 left21:03
matanya joined21:03
cbreak grawity: nah. It makes sense.21:04
crazydiamond left21:04
paulweb515 joined21:04
cbreak grawity: the symptoms match too21:04
macabre left21:04
cehteh_cehteh21:05
jmd left21:06
iamjarvo left21:06
matanya left21:07
devbug joined21:07
tang^ I have seen this behaviour as well... shows up most when two different apps are manipulating git at the same time21:07
Watabou left21:07
Mars__ left21:07
iamjarvo joined21:07
Mars__ joined21:07
Mars__ left21:08
cbreak my hypothesis is that since windows is weird, only one of the two programs can open the file21:08
faBimon left21:08
cbreak the other somehow fails, and treats that failure as empty file instead of actually failing21:08
Mars__ joined21:08
CreativeEmbassy left21:08
cbreak so you somehow get an inverse patch21:08
jerius_ joined21:08
iamtakingiteasy joined21:08
alphpt hm21:08
matanya joined21:09
Watabou joined21:09
alphpt thanks, this was already helpful, putting it into words21:09
I will turn myself to the mailing list21:10
abrkn joined21:10
jerius_ left21:10
jerius left21:10
macabre joined21:10
jnavila left21:11
here hi again :) i've moved a directory of files into a subdirectory and git status is showing the files as deleted/new rather than renamed -- any tricks to helping git see that it was a move ?21:12
Snibble git mv instead of mv?21:13
thierryp left21:13
wrouesnel1 joined21:13
thierryp joined21:13
Sonderblade joined21:13
Sonderblade left21:13
iamjarvo_ joined21:13
attermr left21:14
Sonderblade joined21:14
gkze left21:14
SporkWitch joined21:15
SporkWitch left21:15
SporkWitch joined21:15
wrouesnel2 joined21:15
SporkWitch left21:15
SporkWitch joined21:16
SporkWitch left21:16
SporkWitch joined21:16
m0ltar joined21:16
_ikke_ here: It doesn't really matter21:16
zapb left21:16
_ikke_ here: Because it isn't stored anyway.21:16
cbreak here: just commit21:16
here: then you can tell it to -M or -C in git log --stat :)21:17
_ikke_ here: What does matter though is that you probably made changes to the file at the same time21:17
iamjarvo left21:17
cbreak (both allow specifying the required similarity)21:17
_ikke_ here: Which make it harder for git to detect renames / copies21:17
alexander__b joined21:17
Kayra joined21:18
cmpera joined21:18
thierryp left21:18
alphpt left21:18
kevwil left21:19
JGarrido left21:19
aldodelgado joined21:20
davividal left21:20
|Freeman| joined21:20
zarubin left21:21
thiago left21:21
kevwil joined21:21
rabbite left21:22
YoungFrog joined21:22
halfdan left21:22
bakers joined21:22
cff_ left21:22
infynyxx left21:22
hiroyuki joined21:23
infynyxx joined21:23
m0ltar left21:23
bakers If I have a single commit on branch A, what's the best way to pull that in to branch B21:23
without merge the FULL branch21:23
bghost joined21:24
cbreak bakers: impossible. Consider cherry-pick instead21:24
bakers: that will make a clone of that commit, it'll create one with the same changes and message, but a different parent (Your HEAD)21:24
LuxuryMode left21:25
hiroyuki_ left21:26
bakers cbreak: So cherry pick basically duplicates the commit on my branch?21:26
cbreak yes21:26
malkomalko left21:26
bakers perfect21:27
infynyxx left21:27
LuxuryMode joined21:27
Guest96943 joined21:28
cbreak bakers: look at !lol21:28
gitinfo bakers: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all21:28
cbreak bakers: if there's no other commit between the one you want and your current branch, then you can also just merge it21:28
felixsamora left21:28
kukks joined21:29
kukks left21:29
kukks joined21:29
here cbreak: it'd be cool if the revision showed 'renamed' to avoid me having to remember21:31
cbreak here: ?21:31
here ikke: i didn't change the files just moved them.21:31
cbreak what's a revision?21:31
m8 left21:32
here git mv . subdirectory fails with fatal: cannot move directory over file, source=pics/, destination=pics/wordpress/21:32
marthinal left21:32
cbreak here: yeah, that is nonsense21:32
leeN left21:32
cbreak you can't move the current directory into a subdirectory21:32
here cbreak: trying to move files into a subdirectory and have git status show it as a rename not deleted/new21:32
cbreak because it'd move the subdirectory into itself21:32
infynyxx joined21:32
cbreak here: ignore it. just do what I told you and commit21:33
here cbreak: obviously, all the files into the subdirectory21:33
cbreak: i'd really like to understand this 'eh?21:33
cbreak: git status should show renamed not del/new right ?21:33
cbreak here: that'd be git mv allfilesbutsubdir subdir/21:33
here: it doesn't matter21:33
chovy is there a way to repush after a post-receive error?21:33
rhl left21:33
cbreak here: rename detection is not free, so it'll not do it always21:33
chovy: post-receive does not affect the outcome of a push21:34
chovy: there's no need to repush21:34
Snibble left21:34
cbreak here: if you do git log --stat -M it will detect. if you do -C it'll detect more.21:34
here cbreak: there must be a way to make it reflected properly in this commit.21:35
chovy cbreak: i want to rerun the post-receive hook21:35
cbreak here: there's no commit21:35
here: commit the changes, then there's a commit21:35
chovy: then you might have to push -f the old commit and then push again21:36
chineduu joined21:36
matanya left21:36
demiurgo joined21:36
xobb_ left21:37
bakers cbreak: Just to clarify... "git cherry-pick abc123" would pull commit abc123 on to my current branch?21:37
Watabou left21:37
cbreak no21:37
Luke-Jr left21:37
cbreak as said above, it'd create a similar commit in your current branch21:37
the commit will NOT be abc12321:38
bakers cbreak: That's what I meant, I just phrased it wrong21:38
irqq joined21:38
bakers it would take the diff of the commit, and make a new commit on my current branch21:38
cbreak it will have the same commit message, but a different tree, different parents, different hash.21:38
bakers Got it21:38
ok21:38
cbreak yes.21:38
Kayra left21:39
akiress left21:40
Kayra joined21:40
QiBala joined21:40
here cbreak: ok i committed just before the move and just after.21:40
QiBala left21:41
here cbreak: now that I have a commit. the commit shows a bunch of new files.21:41
cbreak: there are no new files... only renamed / moved files .21:41
cbreak: this cannot be the best result.21:41
Guest96943diegoviola21:41
cbreak here: pastebin21:41
cpgcpg|away21:41
cbreak git log -1 -C21:41
Droolio joined21:42
bakers If I "git reset HEAD~5" to go back 5 commits to look at something, how do I see what's ABOVE where I am to go back?21:43
jwmann Okay, I'm about to lose my shit over these damn submodules21:43
I've changed .gitmodules, .git/config and .git/modules/my/submodule/config what else is there?!21:43
cbreak bakers: there's no above21:43
bakers: git reset nukes away history21:43
thierryp joined21:44
cbreak it removes it from your current branch, completely21:44
here cbreak: that just shows the sha, time, and comment ...21:44
cbreak here: --stat21:44
tang^ ooh, debug time. a user is complaining that his usage of msysgit is using GMT instead of MDT both in mingw and cygwin21:44
n3xjn joined21:44
cbreak bakers: if you want to go back, git reset to the previous reflog entry, @{1} or so21:44
dropdrive bamj0rb: Regarding git-add and git-commit touching GIT_WORK_TREE, I have GIT_DIR set to a directory separate from GIT_WORK_TREE.21:44
Kayra left21:44
cbreak bakers: and in the future, use git checkout and not reset for that21:45
dropdrive bamj0rb: So in that scenario, it seems that those commands don't affect GIT_WORK_TREE?21:45
bakers cbreak: I can do git log --all and see the stuff "above" it, and then do a reset back up to that?21:45
cbreak tang^: he should read the man page21:45
bakers: no. It's probably gone from history21:45
jwmann Anybody here a git submodule wizard?21:46
n3xjn left21:46
cbreak tang^: man git-config, log.date or so21:46
gitinfo tang^: the git-config manpage is available at http://jk.gs/git-config.html21:46
grawity Anybody here has a crystal ball and knows what problem jwmann is having?21:46
abelsiqueira joined21:46
cbreak grawity: he doesn't understand the strong binding to a commit instead of a branch...21:47
that's the most common problem :)21:47
here cbreak: thanks for looking http://pastebin.com/HZgm3CfM21:47
grawity cbreak: didn't git 1.8 introduce weak bindings?21:47
cbreak here: doesn't look like you moved anything :)21:47
kevwil left21:47
cbreak grawity: fake ones afaik? I didn't look at them21:48
mfulz left21:48
cbreak here: a move would be a removal and a creation21:48
mfulz joined21:48
cbreak here: did you forget to commit the removal side?21:48
jwmann My problem is that I attempted to rename my submodule using this technique - http://bcachet.github.io/development/2012/05/25/rename-git-submodule/ - and after changing everything in the files I mentioned above, git submodule sync reports that 'fatal: not a git repository: ../../../.git/modules/my/submodule/oldpath' even though I changed it...21:49
grawity cbreak: commits v1.8.0.1-252-g06b1abb and v1.8.0.1-253-gb928922 apparently21:49
sriehl left21:49
here cbreak: yep and now it shows renamed21:50
cbreak: sigh ok , thanks mucho !21:50
User458764 left21:50
tang^ yes, we looked into log date. tested reflogs with --date=iso and --date=local. Both seem to show dates at GMT instead of MDT which his system as a whole is set to21:50
deanclkclk_ joined21:50
delasteve joined21:51
neo1691 left21:51
cbreak np :)21:51
tang^: windows?21:51
tang^ yes... is msysgit used on non-windows platforms?21:52
cbreak I don't think so.21:52
deanclkclk left21:52
rafaqueque left21:52
cbreak maybe it does something dumb.21:52
deanclkclk_deanclkclk21:52
JGarrido joined21:52
cbreak I heard rumors that msys isn't perfect21:52
kevwil joined21:52
tang^ doesn't surprise me21:53
I can't duplicate it on my system, but I know there are differences... he's running his commands through cygwin, I'm testing with mingw21:53
cbreak tang^: maybe it doesn't know your local time zone?21:53
cygwin is something else21:54
jwmann Now git status shows: fatal: Not a git repository: my/submodule/newpath/../../../.git/modules/my/subdmoule/oldpath What?21:54
cbreak tang^: tell him to use git bash21:54
tang^ cbreak: did and now he says the behaviour is identical. so now I'm trying to figure out how to specify timezone21:54
matanya joined21:54
sylon left21:54
CreativeEmbassy joined21:55
thomas_b left21:55
ZujkisNx left21:55
joshbetz left21:56
tang^ like I said, debug time21:56
ZujkisNx joined21:56
ZujkisNx left21:56
jwmann :(21:57
lithiumn joined21:57
thomas_b joined21:57
eaj joined21:59
aldodelgado left21:59
admin_ left22:00
corygibbons joined22:00
gkze joined22:00
cbreak jwmann: you'll have to look at the .git file inside your submodule22:00
bamj0rb dropdrive: `add' and `commit' shouldn't affect GIT_WORK_TREE directly. `add' reads from GIT_WORK_TREE and adds to the index. `commit' basically just takes the index and turns it into a commit object.22:00
jwmann cbreak: I've looked at pretty much every relevant area in there and it all looks fine22:01
bamj0rb dropdrive: So they won't /write/ to GIT_WORK_TREE.22:01
jwmann Unless there's some file that I've missed22:01
dropdrive bamj0rb: Thanks!22:01
iamjarvo_ left22:02
bamj0rb dropdrive: YMMV. I'm not an expert on Git's internals. :)22:02
sq-one left22:02
cbreak jwmann: inside the submodule there should be a .git file22:02
iamjarvo joined22:02
cbreak jwmann: open it in a text editor22:02
rafaqueque joined22:02
cbreak what's inside the file?22:02
jwmann Oh shit, didn't think about that22:03
lemme check22:03
TheHoneyBadger left22:03
simesy left22:04
brucelee joined22:05
mdiers joined22:05
brucelee how do i back up a git repository22:05
swair_ joined22:05
simesy joined22:05
jwmann Wow, it's the exact part I needed to fix xD22:05
Thank cbreak! :)22:05
cbreak np. :)22:05
eaj left22:05
cbreak brucelee: tar it, gzip it, done22:05
brucelee i want to backup the entire git repo, and then install gitolite or github22:05
a graphical user interface :p22:05
im afraid i might fuck it up22:05
and fuck up the repo :p22:05
cbreak brucelee: you can also git clone --mirror if you only care about history22:06
cannonball left22:06
brucelee cbreak: ah ok22:06
cbreak: how do i know what to tar up22:06
cbreak the repository.22:06
guns left22:06
cbreak git repos are self contained.22:06
guest2122 left22:06
brucelee cbreak: ok i see22:06
cbreak if you have a non-bare, you only need the .git dir inside the working dir22:06
brucelee cbreak: so usually they would be in the /root/ folder?22:06
cbreak no22:06
I put mine into ~/Documents/blahproject22:07
brucelee ah ok22:07
cbreak on my server they are in ~git/repositories/22:07
(that is the location gitolite puts them)22:07
brucelee do you use anything on top of git to manage user permissions22:07
cbreak gitolite22:08
brucelee no graphical ui? :p22:08
neo1691 joined22:08
brucelee from what ive read, i think gitolite is just a command line tool22:08
cbreak TextWrangler.22:08
it's a nice text editor which I use for editing the gitolite config files.22:08
brucelee cbreak: oh ok22:08
eaj joined22:08
swair left22:09
wrouesnel2 left22:09
phy1729 left22:09
simesy left22:09
demiurgo left22:10
brucelee cbreak: any thoughts on gitlab?22:11
Pullphinger left22:11
thiago joined22:11
bghost left22:11
lmat left22:11
cbreak I don't like it.22:12
it requires a web server22:12
mribeirodantas left22:12
snql left22:12
glosoli joined22:13
eaj left22:13
simesy joined22:14
swair_swair22:15
justpie left22:15
lun__ left22:15
bamj0rb ~/src vs /var/lib/git, IMO. >:)22:15
qsuscstqsusOFFcs22:16
thierryp left22:17
hholtmann left22:17
felixsamora joined22:18
simesy left22:18
simesy joined22:19
Fandekasp joined22:19
wrouesnel1 left22:20
kevwil left22:20
hellopat_ joined22:21
tdm00 left22:21
vurma left22:21
TheFuzzball joined22:22
gkze left22:22
simesy left22:23
hellopat left22:24
delasteve left22:24
Gavrisimo joined22:25
jwmann Okay what's the easiest way of removing a submodule without removing the data from the git repo22:25
hellopat_ left22:26
anderse left22:26
cbreak jwmann: submodules are separate repositories22:26
LuxuryMode left22:26
cbreak you can git rm --cached submodulepath22:26
and then remove the stale entries in .git/config and .gitmodules22:26
mribeirodantas joined22:26
Squarism2 joined22:27
jwmann wouldn't doing git rm --cached submodulepath remove it from the version control?22:27
asQuirreL left22:28
cbreak yes22:28
wasn't that what you want?22:28
jwmann No, I wanted to keep it in version control but remove the whole submodule aspect from it22:29
kevwil joined22:29
jwmann Or would it be easier to remove it first and re-commit it22:29
axl_ joined22:29
SaCu what would I do to remove a file from a commit during rebase -i?22:29
cbreak jwmann: you want to make it part of the outer repository?22:29
joelmo joined22:29
jwmann Yes22:29
donmichelangelo left22:30
cbreak then yes, remove it as described above, remove the .git file inside the submodule22:30
then git add the directory, and commit22:30
jwmann Kay, that makes sense22:30
cbreak afterwards you can delete the submodule repository which the .git file pointed at22:30
Targen left22:30
cbreak you WILL lose history of course22:30
lithiumn left22:30
cbreak (submodule history)22:30
DrShoggoth left22:30
donmichelangelo joined22:30
cbreak you can keep history if you do subtree merging22:30
jwmann Yea that's fine22:30
I don't need the history22:31
Kayra joined22:31
CreativeEmbassy left22:31
devbug left22:31
petey joined22:31
Lewoco_ left22:34
Kayra left22:34
jonatasnona left22:34
mribeirodantas left22:34
ngladitz left22:35
pantsman left22:35
thierryp joined22:35
TN_Jonesboro joined22:35
infynyxx left22:36
axl_ left22:37
axl_ joined22:37
richwestcoast left22:38
SJr joined22:38
gkze joined22:38
Kayra_ joined22:38
MrSoundless joined22:39
asakura left22:39
threesome left22:39
MrSoundless hi guys, how can I resolve a conflict using my version of the file?22:39
thierryp left22:39
lugzer joined22:39
MrSoundless I tried 'git checkout --ours filename_here' without succes22:40
felixsamora left22:41
eijk_ left22:41
cbreak MrSoundless: why without success?22:41
Ozch left22:42
MrSoundless well, git status still shows 'u' and git commit still says I got unmerged files22:42
Guest50999 left22:42
staafl left22:42
cbreak git add it22:43
MrSoundless git commit -a doesnt work22:43
canton7 do you have other conflicted files?22:44
git status will tell you22:44
MrSoundless I have 2 conflicted files and I used git checkout on both22:44
but git status still shows U22:45
I believe that stands for UNMERGED22:45
cbreak git add marks files as resolved22:45
DANtheBEASTman joined22:45
infynyxx joined22:45
MrSoundless ah22:45
I have to use git add, git commit -a doesnt do the trick22:45
thanks22:46
canton7 normal 'git status' output shows 'both modified' or some such. are you sure you aren't looking git status -s? anyway, you still need to mark them as resolved as cbreak says22:46
git commit -a == git add -u && git commit22:46
raar joined22:46
MrSoundless what is -u?22:46
raarGuest2936022:47
cbreak command line flag22:47
MrSoundless git add worked btw22:47
cbreak yeah I know its a flag, what does it do :p22:47
cbreak it'll stage the changed files, within some conditions22:47
fobius_ joined22:47
cmpera left22:49
MrSoundless thank you very much guys22:49
pfFredd joined22:49
faBimon joined22:49
ezio joined22:50
ezio left22:50
ezio joined22:50
jwmann Should I be rebase or merging to a staging branch?22:51
kermit left22:51
hobodave left22:52
glosoli left22:52
kermit joined22:53
faBimon left22:54
JPT joined22:54
mdiers left22:56
m0ltar joined22:57
Artpicre left22:58
pbujok joined22:58
glosoli joined22:58
PeterBooker left22:59
neo1691 left23:00
drizzd left23:00
pbujok left23:02
TheFuzzball left23:02
eaj joined23:02
Dougie187 left23:03
raonyguimaraes joined23:03
joelmo left23:03
rlubke joined23:04
hyperair left23:04
compact left23:04
germanoak left23:04
rlubke left23:04
iamjarvo left23:06
abelsiqueira left23:06
thiago left23:07
ska-fan joined23:08
eaj left23:08
Watabou joined23:09
macabre left23:10
rendar left23:10
jhulten left23:10
jhulten joined23:10
iamjarvo joined23:11
m0ltar left23:11
jasonp left23:13
colstrom left23:14
GameGamer43 left23:14
xerxas left23:14
akitada left23:14
colstrom joined23:15
xerxas joined23:15
GameGamer43 joined23:15
akitada joined23:15
jhulten left23:15
axl_ left23:15
Treggats left23:15
Treggats joined23:16
aard left23:16
jhulten joined23:16
yhager left23:17
neo1691 joined23:17
yhager joined23:17
TomyLobo left23:18
phile left23:19
thiago joined23:19
Davey left23:20
asQuirreL joined23:21
Davey joined23:21
gkze left23:21
mastro left23:22
kevwil left23:22
kevinold left23:23
kevinold joined23:23
VictorCL left23:24
johnnyfuchs left23:25
bamj0rb left23:25
kcj joined23:26
ezio left23:27
sgu left23:27
chuckharmston left23:28
kevinold left23:28
chuckharmston joined23:28
MrSoundless left23:29
kevwil joined23:29
petey left23:29
jfoy left23:30
bakers If I do git branch -av is there a way to list the date of the last checkin?23:30
Say I get a list of 50 branches, how do I know the last branch that was used?23:30
and which are old23:30
kcj left23:31
mvensky joined23:32
Sonderblade left23:32
Alumin joined23:32
Alumin should I be able to remove the "origin" remote? I ran "git remote rm origin" and got no errors, but I still see it in "git branch -a"23:33
chuckharmston left23:33
Alumin however, I don't see it in "git remote", which is interesting and possibly illuminative23:33
thierryp joined23:35
RogerWS left23:36
simesy joined23:37
jhulten left23:37
jhulten joined23:38
kevwil left23:38
therealkoopa left23:38
wafflejock joined23:40
kevinold joined23:40
jhulten left23:42
skorgon Alumin, you have to prune the remote branches i think. 'git fetch --prune'23:42
at least that removes remote branches that have been removed on a remote. if it also works if you remove the remote - i never tried23:43
emmajane|afkemmajane23:43
LeMike left23:43
canton7 'git remote rm' should remove all of the remote-tracking branches23:43
AaronMT left23:44
Alumin I concur ;)23:44
chineduu left23:45
Alumin I made a backup of my entire repository into a tarball and then went into .git with a sledgehammer and machete23:45
Gavrisimo left23:45
mmitchel_ joined23:45
canton7 that's not "it would be a good feature if", but "the intended operation of 'git remote rm' is" :p23:45
chineduu joined23:45
canton7 git branch -r -d is your friend23:45
and update-ref -d if things get really out of hand23:45
Alumin I tried that but got an error...possibly because I already manually removed something it expected to find23:46
I've managed to remove all traces of it; I'm gonna use it for a while and see if anything breaks23:46
Squarism2 left23:46
Alumin next time I'll just rename origin instead of trying to eradicate it, which is probably what I should have done from the get-go here23:47
but...live and learn, right? :P23:47
tang^ left23:47
sgambino left23:47
CKyle left23:47
Dougie187 joined23:48
simesy left23:49
flexo joined23:49
mmitchell left23:49
lugzer left23:49
mmitchel_ left23:50
dreiss left23:50
lugzer joined23:50
flexo hey. i just "git rev-list HEAD --count" to turn a commit id into a sequential number somewhat analogous to svn revision numbers (i need something like this for our build/update system to know whether or not a build is newer than another one) ...23:50
so my question: how can i turn that back into a commit id?23:50
canton7 you can't - that number's only valid for your personal repo, right now23:51
droogans left23:51
johnnyfuchs joined23:51
skorgon flexo, can't you work with the commit date?23:52
canton7 you should really be checking to see if one commit is the ancestor of the other23:52
flexo hm..23:52
guns joined23:52
kevinold left23:53
chineduu left23:53
flexo skorgon: can't really - all those scripts (which were developed when the project used svn) really depend on a number like this..23:53
CKyle joined23:53
canton7 compare git rev-parse <commit1> with git merge-base <commit1> <commit2> - if they're the same, branch1 is an ancestor of branch223:53
kevinold joined23:53
CKyle left23:53
flexo so.. what exactly does git rev-list HEAD --count tell me then?23:54
lugzer left23:54
canton7 if it's done in a central authoratitive repo, which is never force-pushed to, then I guess it'll give a half-decent measure23:55
flexo it is23:55
PaulCapestany left23:56
flexo (i know that this will break when someone does history rewrites...)23:56
kevinold_ joined23:56
jfoy joined23:57
flexo but the question remains - how to turn that number back into a commit id? :)23:57
cmpera joined23:57
thierryp left23:57
kevinold left23:58
guns left23:58
natechan left23:58
canton7 git rev-list HEAD, and take the nth entry from the bottom23:58
MattMaker joined23:58
chuckharmston joined23:59

Logs Search ←Prev date Next date→ Channels Documentation