IRCloggy #git 2015-05-27

Logs Search ←Prev date Next date→ Channels Documentation

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

2015-05-27

imachuchu left00:00
Tenobrus left00:00
Bootinbull left00:00
wlarip joined00:00
maestrojed joined00:00
scientes left00:01
pcypher joined00:02
gambl0re joined00:02
jonmorehouse left00:03
dsdeiz_ joined00:03
wlarip_ left00:03
_Atom_ joined00:05
rkazak left00:05
dsdeiz left00:05
nicknikolov left00:06
Sharker joined00:07
pcypher left00:07
Abyx joined00:07
zendrix left00:08
baweaver joined00:08
marek-varro left00:08
michael_mbp left00:09
akiva left00:10
toothrot joined00:10
edux joined00:10
glassx- joined00:11
glassx- left00:11
mellernoia joined00:11
Sharker left00:12
michael_mbp joined00:12
shabazy left00:12
grepper joined00:12
GT4066 left00:13
Abyx left00:14
highcup left00:14
ErKa joined00:14
variablefunction00:14
edux left00:15
eVRiAL left00:17
jolda left00:17
scientes joined00:18
scientes left00:18
scientes joined00:18
stantonk_ left00:19
harish left00:19
hiptobecubic joined00:21
s8321414 left00:22
panda81 left00:23
robustus left00:24
robustus|Off joined00:24
robustus|Offrobustus00:24
Lyqyd joined00:26
cbonobo joined00:29
ropav left00:30
thiago left00:31
skylite left00:31
jamesn0 joined00:33
gitinfo set mode: +v00:33
denete_ joined00:33
jamesn0 What is the converse of `git reset SHA1`? i.e. reset the working tree to the state as of the given commit, but leave HEAD as it is00:34
nettoweb left00:34
_Atom_ left00:35
pcypher joined00:36
denete left00:37
denete_ left00:37
ojacobson what do you want the staging area to do00:37
(if the answer is not "be the same as the work tree" then things are complicateeeed)00:37
ncd|leeN left00:38
otter768 joined00:39
jamesn0 ojacobson: "be the same as the work tree" is what I had in mind :)00:40
ojacobson then, git checkout tree-ish -- paths00:40
jmpp left00:40
jmpp joined00:40
jamesn0 ojacobson: huh, I guess I expected everything to be unstaged, but that will work just fine, thank you :)00:41
d10n-work left00:43
sfeinste left00:43
nettoweb joined00:44
otter768 left00:44
nettoweb left00:45
Xiti left00:47
Baribal__ joined00:48
Grum left00:48
dreiss left00:49
TyrfingMjolnir left00:50
silviof joined00:51
Grum joined00:51
Baribal_ left00:51
m0viefreak left00:52
tristanp joined00:52
maestrojed left00:53
akushner left00:53
baweaver left00:54
CheckDavid left00:54
bronson joined00:54
Mufkh left00:57
AustinTheGrey joined00:58
AustinTheGrey left00:58
lorezzed joined00:58
Deloi joined00:58
bronson left00:58
Deloi left00:59
Asiajey joined00:59
functionconst00:59
cbonobo left00:59
jgardella left01:00
cyphase left01:00
wlarip_ joined01:00
shinnya left01:01
Akagi201 joined01:02
cbreak left01:02
tristanp left01:03
codeFiend left01:04
wlarip left01:04
Sasazuka left01:04
smw_ joined01:04
dsantiago left01:04
cbreak joined01:04
eVRiAL joined01:04
tristanp joined01:05
eVRiAL left01:05
_Atom_ joined01:05
cbonobo joined01:05
c0mrad3 left01:06
leolrrj joined01:07
converge left01:08
refried_ left01:08
sublimate joined01:08
pcypher left01:08
UukGoblin left01:10
UukGoblin joined01:10
watabou joined01:10
Abyx joined01:11
sublimate left01:11
edux joined01:11
sublimate joined01:12
chrisgeorge_ joined01:12
sublimate left01:12
chrisgeorge_ left01:13
Nizumzen joined01:13
ns5 joined01:13
pm90_ joined01:14
ns5 when I run "git branch -a", I see "remotes/k9/master". How can I check the details of this, ur.., branch?01:14
chrisgeorge left01:14
ojacobson What details are you interested in?01:14
Xiti joined01:14
cyphase joined01:15
ns5 ojacobson: the url of this remote01:15
ojacobson git remote -vv01:15
ns5 ojacobson: how do I setup a branch to track "remotes/k9/master"?01:16
edux left01:16
CussBot_ joined01:16
CussBot left01:16
CussBot_CussBot01:16
_Atom_ left01:17
pabens left01:18
nettoweb joined01:18
ns5 the remote is https://github.com/k9mail/k-9.git01:18
when I run "git show remotes/k9/master", it shows the latest commit is in January, which is obviously wrong. But when I run git pull, nothing is pulled from github01:19
ehmatthes joined01:20
maestrojed joined01:20
ojacobson 'git pull' causes the current branch's upstream remote (if any) to be _fetched_ (the symmetric operation to push) and then for the current branch's upstream branch to be merged01:20
so (a) pull is the wrong way to deal with stale remote-tracking branches, because it has side effects on your current branch, and (b) the `k9` remote will only be fetched by pull if it's the upstream remote of the current branch01:21
which I suspect isn't the case01:21
PRIM4T joined01:21
ojacobson 'git fetch k9' is simpler to reason about. :)01:21
Abyx left01:21
Grum left01:21
ns5 ojacobson: I want to set up a local branch to track "remote/k9/master"01:21
ojacobson So do that. man git-checkout and man git-branch spell out the various ways to configure tracking; you have Choices.01:22
gitinfo the git-checkout manpage is available at http://jk.gs/git-checkout.html01:22
the git-branch manpage is available at http://jk.gs/git-branch.html01:22
ap0c joined01:22
Grum joined01:23
Abyx joined01:23
nettoweb left01:23
ribasushi joined01:24
codeFiend joined01:24
PRIM4T_ left01:24
ns5 ojacobson: I have another local branch which tracks "origin/k9master", is it possible to directly merge everything in remote/k9/master into "origin/k9master"?01:24
ojacobson No; merges happen locally.01:25
nettoweb joined01:25
leolrrj left01:26
ns5 ojacobson: thank you for your help01:26
k_sze[work] joined01:29
f3lp joined01:29
pcypher joined01:29
Sharker joined01:30
ap0c left01:30
cbonobo left01:31
_Vi left01:32
daito_ joined01:32
espindola joined01:33
c355E3B left01:33
delboy1978uk joined01:33
ehmatthes left01:34
Sharker left01:35
pm90_ left01:35
juvenal left01:36
pm90_ joined01:36
zotez joined01:36
espindol_ left01:36
foul_owl joined01:38
harish joined01:38
foul_owl Hi folks. How do I do a clone into a folder if I don't want the destination to be a git repo?01:38
delboy1978uk left01:39
modocache left01:39
nettoweb left01:39
Goplat joined01:39
c74d left01:40
nettoweb joined01:40
Adlai has been cursed, he now has THREE parallel stashes01:42
c74d joined01:42
MatthewWilkes left01:42
zotez left01:44
_Vi joined01:44
pcypher left01:45
Grum left01:45
Grum joined01:46
Vampire0_ joined01:47
Abyx left01:47
mellernoia left01:47
espindola left01:48
pqlr joined01:48
pqlr left01:48
pcypher joined01:49
Abyx joined01:49
const left01:50
Vampire0 left01:50
nettoweb left01:51
juvenal joined01:52
nettoweb joined01:52
gambler left01:55
kpease left01:55
Abyx left01:55
pcypher left01:55
fuym joined01:56
fuym left01:56
Sharker joined01:57
mizu_no_oto joined01:57
_Atom_ joined01:57
variable joined01:58
Abyx joined01:58
pks left01:58
xckpd7 left01:59
Akagi201 left02:00
wlarip joined02:00
xckpd7 joined02:00
codeFiend left02:00
Ryanar left02:00
pks joined02:01
hacker left02:01
rubyonrailed joined02:01
BSaboia left02:02
nettoweb left02:03
wlarip_ left02:03
codebam joined02:04
delinquentme left02:04
Internet13 joined02:04
Sharker left02:04
nettoweb joined02:04
dsantiago joined02:05
pevx joined02:05
pevx left02:05
thiago joined02:05
drewo joined02:05
xckpd7 left02:05
xckpd7 joined02:06
gambler joined02:06
duderonomy left02:08
DerisiveLogic left02:08
codeFiend joined02:09
ahr3n joined02:09
xckpd7 left02:11
tristanseifert joined02:11
rchavik joined02:11
daurnimator left02:11
bgoad joined02:11
Abyx left02:11
biqw joined02:12
xckpd7 joined02:12
yqt left02:12
biqw left02:13
daurnimator joined02:13
inve joined02:13
zumba_addict joined02:14
inve left02:14
tristanp left02:15
tristanp_ joined02:15
eskrg joined02:15
mizu_no_oto left02:15
eskrg left02:16
tristanseifert left02:16
uysel joined02:16
tristanseifert joined02:17
xckpd7 left02:17
tristanp_ left02:17
tristanp joined02:17
uysel left02:17
mizu_no_oto joined02:17
bendangelo left02:18
Onv joined02:18
Onv left02:19
Gqqw joined02:20
pcypher joined02:20
codeFiend left02:20
Gqqw left02:21
rubyonrailed left02:21
Ipi joined02:21
xckpd7 joined02:22
Guest63 joined02:23
Ipi left02:23
Lyqyd left02:23
Xapvq joined02:24
mizu_no_oto left02:24
nettoweb left02:24
gamename joined02:24
Xapvq left02:25
nettoweb joined02:25
gamename left02:25
bgoad left02:25
pcypher left02:26
yfcd joined02:26
Es0teric joined02:26
rubyonrailed joined02:26
yfcd left02:27
mizu_no_oto joined02:27
Zqyn joined02:27
Zqyn left02:28
fmed joined02:29
nettoweb left02:29
fmed left02:29
mizu_no_oto left02:29
nettoweb joined02:29
xckpd7 left02:29
bitkiller left02:30
bpaos joined02:30
xckpd7 joined02:30
bpaos left02:31
apjc joined02:31
Arsonide left02:32
apjc left02:32
kaiten02 joined02:32
Viue joined02:33
zotez joined02:33
pcypher joined02:33
Viue left02:34
ovjj joined02:35
xckpd7 left02:35
nettoweb left02:35
ovjj left02:36
tristanp left02:36
tristanp joined02:36
oori joined02:36
nettoweb joined02:37
xckpd7 joined02:37
oori left02:38
rerx joined02:38
pcypher left02:39
modocache joined02:39
rerx left02:40
otter768 joined02:40
Iivs joined02:40
Ceber left02:41
Iivs left02:41
rburkej joined02:41
xckpd7 left02:41
Noq joined02:42
variableinvariable02:42
Noq left02:42
Uhjg joined02:43
rburkej left02:43
Uhjg left02:43
modocache left02:44
cqj joined02:44
jolda joined02:44
otter768 left02:44
cqj left02:45
Sharker joined02:45
lindenle left02:45
daito_ left02:45
Iwa joined02:45
Iwa left02:46
tristanp left02:46
tristanp joined02:47
kmifc joined02:47
chunkyIPA joined02:47
nettoweb left02:47
kmifc left02:47
Emr joined02:48
nettoweb joined02:49
Emr left02:49
mtx_init joined02:49
Sharker left02:49
Ejfte joined02:50
Ejfte left02:50
fedexo joined02:51
Kli joined02:51
Kli left02:52
Nizumzen left02:52
mtx_init This may be an odd question but is there a way to use git just for file integrity checking and not for version control?02:52
Aosn joined02:53
benborges left02:53
Aosn left02:53
bremner mtx_init: yes, !annex does that02:54
gitinfo mtx_init: git LFS, git-annex and git-media are some solutions to the !binary problem. They work by keeping the blobs outside of the repo, storing a reference to the blob in the repo instead. See http://git.io/git-lfs, http://git-annex.branchable.com and https://github.com/alebedev/git-media02:54
Ohei joined02:54
milki foul_owl: you can use git archive02:54
Ohei left02:55
vkuk joined02:55
vkuk left02:56
ojacobson Adlai: When I find myself in times of trouble, Mother Mary comes to me - speaking of words of wisdom: use a branch.02:56
(scansion is for suckers)02:57
enaan joined02:57
pm90_ left02:57
enaan left02:57
darkbasic left02:58
mtx_init bremner: neat thanks02:58
Tpxiu joined02:58
oojacoboo joined02:58
darkbasic joined02:59
Tpxiu left02:59
sdothum left02:59
nettoweb left02:59
dreiss joined02:59
kaiten02 left02:59
Lzrc joined03:00
kaiten02 joined03:00
wlarip_ joined03:00
edux joined03:00
Lzrc left03:00
scientes left03:01
wqxa joined03:01
Err404NotFound left03:01
nettoweb joined03:01
Err404NotFound joined03:01
nnyk_ joined03:01
wqxa left03:02
jamesn0 left03:02
daito joined03:02
Lobo joined03:03
Sharker joined03:03
mtx_init left03:03
LoboGuest4005103:03
Guest40051 left03:04
wlarip left03:04
huz joined03:04
fedexo left03:05
edux left03:05
xckpd7 joined03:05
huz left03:05
nettoweb left03:05
zotez left03:05
Abyx joined03:05
Sufi joined03:06
Sufi left03:07
Aconl joined03:07
duderonomy joined03:07
Sharker left03:07
Aconl left03:08
tristanp left03:08
loremipson joined03:09
tristanp joined03:09
xckpd7 left03:09
pcypher joined03:10
kzb joined03:11
kzb left03:12
Pfqti joined03:12
chunkyIPA left03:12
cavallari left03:13
Pfqti left03:13
evuu joined03:14
k_sze[work] left03:14
grepper left03:14
evuu left03:14
kcan joined03:15
delinquentme joined03:16
[cust] joined03:16
kcan left03:16
preaction there will be an answer... use a branch03:16
grepper joined03:17
Vneic joined03:17
Vneic left03:17
BlueProtoman left03:17
Fliv joined03:18
Fliv left03:18
scientes joined03:19
ewqu joined03:20
xckpd7 joined03:20
zivester joined03:20
ewqu left03:21
rubyonra_ joined03:21
jsmq joined03:21
loremipson left03:22
jsmq left03:22
delboy1978uk joined03:22
tdqc joined03:23
zotez joined03:23
tdqc left03:23
lyr joined03:24
lyr left03:24
loremipson joined03:24
rubyonrailed left03:24
ome joined03:24
ajf- left03:24
GT4066 joined03:24
Uuka joined03:25
pcypher left03:25
Uuka left03:25
Sharker joined03:25
Dougie187 left03:27
Noldorin left03:27
Axcl joined03:27
Axcl left03:27
tristanp left03:28
drewo left03:29
Jxqu joined03:29
zematis joined03:29
zematisGuest1521003:30
Jxqu left03:30
Guest15210 left03:30
kzeu joined03:30
zotez left03:30
Nikhil_D left03:31
drewo joined03:31
kzeu left03:31
Nikhil_D joined03:31
delboy1978uk left03:31
xpung joined03:32
xpung left03:32
Tmooh joined03:33
Tmooh left03:34
Padawan_Padawan03:34
Aaai joined03:35
Aaai left03:35
PRIM4T_ joined03:36
Bczei joined03:36
Bczei left03:37
Nnmok joined03:38
tristanp joined03:39
tristanp left03:39
PRIM4T left03:39
Nnmok left03:40
tristanp joined03:40
drewo left03:40
pdgos joined03:40
daito left03:41
pdgos left03:41
dougsland left03:41
Es0teric left03:42
Aseo joined03:42
Aseo left03:43
Gqor joined03:44
Gqor left03:44
Padawan left03:45
tristanp left03:45
drewo joined03:45
lindenle joined03:46
Padawan joined03:46
michael_mbp left03:48
mwv joined03:48
mwv left03:49
Wnue joined03:49
Wnue left03:50
lindenle left03:50
lahrx joined03:50
lahrx left03:50
fahadash joined03:51
fahadash left03:51
fahadash joined03:51
fahadash left03:51
fahadash joined03:51
michael_mbp joined03:51
ahr3n left03:51
Luuaa joined03:53
Luuaa left03:53
northfurr joined03:54
drewo left03:54
upfr joined03:54
upfr left03:54
jauik joined03:56
jauik left03:56
jgardella joined03:58
scientes left03:58
Abyx left03:59
dreiss left04:00
wlarip joined04:00
Saturn812 joined04:03
tristanseifert left04:03
reim joined04:03
jason237 joined04:03
yitzm_ joined04:04
wlarip_ left04:04
Abyx joined04:04
yitzm_ left04:05
gfixler1 joined04:07
MattMaker left04:09
darkbasic left04:09
MattMaker joined04:09
darkbasic joined04:09
_Atom_ left04:09
daito joined04:12
reim left04:12
Arsonide joined04:14
scottschecter joined04:17
waveclaw joined04:17
Guest63 left04:17
elik joined04:18
scientes joined04:18
scientes left04:18
scientes joined04:18
scientes left04:18
scientes joined04:19
scientes left04:19
scientes joined04:20
madewokherd left04:20
ckruczek joined04:20
daito left04:20
scientes left04:21
gitinfo set mode: +v04:21
PRIM4T_ left04:21
scientes joined04:21
scientes left04:22
darkbasic_ joined04:22
darkbasic left04:22
scientes joined04:22
scientes left04:23
scientes joined04:23
snow_ru joined04:24
scientes left04:24
kaiten02 left04:24
kaiten02_ joined04:24
jolda left04:24
scientes joined04:25
reim joined04:25
scientes left04:25
MattMaker left04:25
MattMaker joined04:25
howitdo left04:25
scientes joined04:26
zotez joined04:26
scientes left04:26
scientes joined04:27
scientes left04:28
scientes joined04:28
scientes left04:29
modocache joined04:29
skcin7__ joined04:29
scientes joined04:29
Vadimus joined04:30
scientes left04:30
scientes joined04:30
oojacoboo left04:30
zotez left04:31
drewo joined04:32
modocache left04:33
ashokrajar joined04:34
jgardella left04:36
klj joined04:37
Ceber joined04:37
foul_owl milki: Thanks!04:38
knownasilya left04:40
codeFiend joined04:40
otter768 joined04:41
Vadimus left04:42
daito joined04:43
vixterra left04:45
otter768 left04:45
MattMaker left04:46
o84wb76g joined04:46
vixterra joined04:46
darkbasic_ left04:49
edux joined04:49
darkbasic joined04:49
kp666 joined04:49
zematis joined04:50
kp666 left04:50
kp666 joined04:50
o84wb76g left04:51
hiptobecubic left04:52
edux left04:53
TyrfingMjolnir joined04:53
flavius joined04:57
lab_ joined04:57
c74dGuest787804:58
c74d3 joined04:58
Guest7878 left04:59
c74d3c74d05:00
wlarip_ joined05:00
ewong left05:00
zotez joined05:03
wlarip left05:03
Trow joined05:03
nightspades joined05:04
ewong joined05:04
howitdo joined05:04
jonmorehouse joined05:05
effi joined05:05
dsdeiz joined05:08
dsdeiz_ left05:08
MechtiIde joined05:09
lewellyn left05:11
Raging_Hog joined05:12
effi left05:12
Raging_Hog left05:12
drewo left05:13
delboy1978uk joined05:14
hydraidm801 joined05:16
dreiss joined05:16
hydraidm801 I have a django project I want to upload to my github05:16
TinkerTyper left05:16
hydraidm801 when I type git remote add origin https://github.com/wbeyda/spawncamping-tribble.git it says I don't have permission05:17
TinkerTyper joined05:18
kadoban hydraidm801: What's the /exact/ error?05:18
pantsman- joined05:18
cssko left05:18
zivester left05:20
delboy1978uk left05:20
nightspades left05:20
FreezingCold left05:21
watabou left05:21
DrNick joined05:22
hydraidm801 no error Im just bad at git05:23
cvanball joined05:23
hydraidm801 i did git push and now it looks like we were all good05:24
nightspades joined05:24
lillian joined05:24
ashokrajar left05:24
Abyx left05:24
drewo joined05:25
lillian when i git pull i get "Automatic merge failed; fix conflicts and then commit the result." i know that one file changed on the server and it was a minor change and i haven't touched it05:26
<i haven't touched it locally"05:26
grug open it up and have a look for the conflicting parts05:27
because you're making assertions that git is saying otherwise05:27
hint: i bet git is right ;)05:27
lillian no05:27
i know it's changed05:28
zematis left05:28
lillian i want it to overwrite the file because as i mentioned i haven't touched it05:28
i don't want to go in and paste the contents from github lol05:28
Abyx joined05:29
a-l-e joined05:29
lillian i figured it out05:30
lillian left05:30
Sonarpulse joined05:30
Sonarpulse so I have a normal checkout on another computer05:30
how can i push -f to it so it automatially checks out what I push ?05:31
zematis joined05:31
jrajav left05:32
Dragooon joined05:32
grug Sonarpulse: could you please rephrase your question05:32
Sonarpulse sure05:33
i have two clones (not "checkouts", sorry)05:33
not --mirror or anything like that05:33
grug that's not a question :P05:34
Sonarpulse and i'd like to push from one to the other05:34
Gamecubic left05:34
Sonarpulse have have the other's working copy updated accordingly05:35
[sorry for splitting over multiple lines]05:35
moretti joined05:35
mgedmin it's possible; I cannot say if it's a good idea ;)05:35
google for "push to deploy"05:35
Sonarpulse mk05:35
mgedmin git 2.3 got explicit support for this and 2.4 improved it somewhat05:35
MechtiIde left05:36
Sonarpulse I am not deploying a webserve thank god :)05:36
symmetric joined05:36
codeFiend left05:37
flavius left05:37
hydraidm801 left05:37
JanC left05:38
pantsman- left05:39
tyreld left05:39
ehmatthes joined05:39
modocache joined05:41
dreiss left05:41
pheaver joined05:41
symmetric left05:42
dc5ala joined05:42
loremipson left05:42
Unbeerable joined05:42
symetric joined05:44
drewo left05:45
mariuscc joined05:45
modocache left05:45
drewo joined05:46
snow_ru left05:46
snow_ru joined05:47
boombatower left05:48
Trow left05:50
edux joined05:50
cvanball left05:51
JanC joined05:52
jonmorehouse left05:52
snow_ru left05:54
edux left05:54
hahuang65 left05:54
wagle what do i read to find out how tracking the log of a file that is "git mv"d?05:54
drewo left05:55
snow_ru joined05:55
wagle hmm.. might have answered my own question05:55
tpollard left05:56
dling joined05:56
aaw joined05:57
ManikM joined05:57
Grum left05:58
zarubin left05:58
eshy_ joined05:58
Abyx left05:58
wagle in 201105:58
hahaha05:58
Grum joined05:59
DrNick left05:59
ashokrajar joined05:59
SmashingX joined06:00
wlarip joined06:00
symetric left06:01
ashokraj_ joined06:01
eshy_ left06:01
Jetchisel joined06:02
maestrojed left06:02
eshy joined06:03
wlarip_ left06:04
eshy left06:04
ashokrajar left06:04
eshy joined06:04
DrNick joined06:05
Abyx joined06:05
ashokraj_ left06:06
MasterPiece left06:06
pheaver left06:07
MLM Is there a way to copy all tracked files? I want to backup a project and normally I would just copy paste the directory but I want it to respect the `.gitignore`06:09
codeFiend joined06:10
a-l-e left06:10
wagle git archive?06:11
MLM ^^^06:11
MLM wagle: Thank you, an archive will work although I was thinking just moving raw files. Looking into `git archive` atm06:12
raymond joined06:12
effi joined06:12
cbreak-work joined06:13
invariable left06:13
flowinho joined06:14
PCatinean joined06:15
MLM How do I include uncommited changes/files in the archive?06:15
SmashingX left06:16
wagle dunno offhand, might be a way06:16
Bass10 left06:16
wagle the stash might be a way, making a commit to a new branch..06:17
ErKa left06:18
Floatingman left06:19
ranchodev left06:19
Raging_Hog joined06:20
darkbasic left06:21
darkbasic joined06:21
effi left06:21
sinkensabe joined06:23
wagle i'd make it a commit to a new branch, just so i have a record06:23
acolson joined06:23
thiago MLM: track them by making a commit, then use git push for the backup06:23
roelmonnens joined06:24
wagle sunds good to me06:24
sounds06:24
snow_ru left06:25
MLM :/ - A workable solution but when working on my own repo, I don't like to create arbitrary branches for storage or commit unfinished work to master06:25
thiago then don't commit to master06:25
snow_ru joined06:25
thiago create a throw-away branch06:25
Jetchisel left06:26
MLM I think making a commit and and then using that for `git archive` would work. Then just rebase when I want to push06:26
Baribal__ left06:26
jceb joined06:26
thiago use git push for backup, not archive06:27
MLM So just have a random branch listed with unfinished work?06:27
thiago yes06:27
or a non-branch ref06:28
cmartin0 joined06:28
MLM non-branch ref? Can't find anything on that06:29
northfurr left06:29
cmartin0 left06:29
cmartin0 joined06:29
cmartin0 when I run git pull in terminial I am prompted to write a comment. why is this happening? it didn't a day ago.06:29
thiago MLM: you need plumbing to do that. Using git update-ref.06:30
cmartin0: have you upgraded Git in the last 24 hours?06:30
CEnnis91 left06:30
freimatz joined06:31
cmartin0 thiago: don't think so06:31
thiago cmartin0: are you collaborating with more people on that remote?06:31
cmartin0 thiago: yes06:32
thiago cmartin0: then the difference is that someone has pushed stuff you hadn't yet pulled while you also made progress06:32
leprechau joined06:32
thiago cmartin0: if you'd run git status, it would have told you that your branch and your upstream had diverged06:32
D30 joined06:33
Floatingman joined06:33
cmartin0 thiago: hmmm. i ran status then pull... status said Your branch is up-to-date with 'origin/master'.06:33
D30 hello all, i just want to clarrify.. is git when installed on ubuntu machines by default uses gnutls instead of openssl?06:33
thiago cmartin0: that's because you ran it after pull06:33
cmartin0: to see it, you need to run it after fetch, before pull or merge06:34
Gizburdt joined06:34
thiago D30: are you on Ubuntu?06:34
cmartin0 thiago: what is the need for fetch. cant you just pull all the time?06:34
thiago cmartin0: you can06:34
D30 im using mac, but some of my peers uses ubuntu06:34
thiago cmartin0: but you asked why06:34
D30: well, I'm not on Ubuntu either, so I can't tell you06:34
blahdodo joined06:34
wicope joined06:34
thiago D30: try asking in #ubuntu or checking their package sources06:34
D30 ok thiago06:35
cmartin0 thiago: so fetch then pull if I don't want to write a message for master merge06:35
thiago cmartin0: no06:35
cmartin0: if you don't want to write a commit message, don't make new commits06:35
cmartin0: or don't let other people make commits06:35
cmartin0: or make sure only one of you is working at any time; everyone else is waiting06:35
cmartin0 ...06:36
rzeka joined06:36
thiago cmartin0: if two people make new commits at the same time, the first one gets to push to the repository without pulling06:37
Gama11 joined06:37
thiago cmartin0: the other will need to pull and write the merge message06:37
rchavik left06:37
thiago or I can teach you about rebase06:37
katherine joined06:37
rchavik joined06:37
zematis left06:38
effi joined06:38
Asiajey left06:38
cmartin0 thiago: this is the repo, https://github.com/cs362sp15/projects. everyone just has a directory that they work in.06:38
thiago where they work in is irrelevant, if they work in the same repo06:39
cmartin0 thiago: (note the rever)06:39
Alienpruts joined06:39
lab_ left06:39
Abyx left06:40
ThomasLocke joined06:40
Wulf joined06:40
daurnimator left06:40
jagob joined06:40
cvbcvb left06:40
Wulf hi06:40
thiago wouldn't be able to spot a rever even with one right on his face06:41
thiago or, for that matter, my neck06:41
otter768 joined06:42
Wulf I'm looking for a tool for reviewing / quality checking code changes so that the developer of the change can improve things before commiting to master branch. Any recommendations?06:42
cmartin0 thiago: thanks for the help.06:42
tumulte joined06:42
rsmarshall joined06:43
preaction Wulf: that would be "a senior developer"06:43
scientes left06:43
daurnimator joined06:43
grug preaction: there are plenty of things you can use before sending it to a senior for a review06:43
darkbasic left06:43
Wulf preaction: yep. The senior developer may sit on the other side of the world. How do they communicate effectively to talk about the change? ;-)06:43
preaction Wulf: e-mail06:44
gopar left06:44
preaction grug: i've yet to meet a linter i've actually liked06:44
darkbasic joined06:45
rubyonra_ left06:45
cmartin0 thiago: I was using egit inside of eclipse and it was 'out of sync' so to speak. I can use egit now with no issues. thanks.06:46
Saturn812 left06:46
otter768 left06:46
nightspades left06:46
Abyx joined06:47
thiago Wulf: lots of projects use Gerrit06:49
Error404NotFound joined06:49
Wulf thiago: just found this one; it's written in Java :-(06:49
preaction we've got a Gitbucket install06:49
Err404NotFound left06:50
thiago Wulf: yes06:50
t-mart_ left06:50
ashokrajar joined06:51
hahuang65 joined06:51
ashokraj_ joined06:54
Darcidride joined06:54
Mo joined06:54
ErKa joined06:56
bucketh3ad left06:56
hahuang65 left06:56
f3lp left06:56
jnavila joined06:56
gua_ould joined06:57
ashokrajar left06:57
effi left06:57
ashokrajar joined06:58
lab_ joined06:58
aaw left06:58
rchavik left06:58
ashokrajar left06:58
guampa left06:59
ashokraj_ left07:00
wlarip_ joined07:00
gdrc joined07:01
clarkpan left07:01
ril joined07:01
guampa joined07:01
Pathfinder joined07:02
settermjd joined07:02
fahadash left07:02
ehmatthes left07:03
delboy1978uk joined07:03
wlarip left07:04
Jackneill joined07:05
BinGOs .version07:05
gitinfo changed the topic to: Welcome to #git, the place for git help and aging rock stars | Current stable version: 2.4.2 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | Gits N' Roses: Now with more git cherry-pop, git freebase, and starring git Slash!07:05
beckyconning_ joined07:06
avvs joined07:06
codeFiend left07:07
avvs left07:07
avvs_ joined07:07
delboy1978uk left07:08
avvs_ left07:09
Vaur joined07:10
avvs joined07:12
loremipson joined07:13
daito left07:13
Vaur left07:13
zack_s_ joined07:13
avvs_ joined07:13
Vaur- joined07:14
avvs_ left07:14
gitinfo set mode: +v07:14
Vaur- Hi07:14
gitinfo Vaur-: 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.07:14
Vaur- I'm having issue with a remote repository on a distant file system07:14
Sceorem joined07:14
Vaur- when I pull it with the path it works07:14
but when I pull it using remote it doesnt07:15
http://paste.debian.net/184442/07:15
erf07:15
derp07:15
ril left07:15
Vaur- I found the issue07:15
Sceorem left07:15
Vaur- please ignore that07:15
Sceorem joined07:16
arup_r joined07:16
nilg joined07:16
christech2 joined07:16
Xiti left07:17
Kartagis Vaur-: was it because you were not using the remote-name?07:18
aka origin07:18
avvs left07:19
underhillj joined07:19
underhillj left07:19
loremipson left07:19
bonswouar joined07:19
User458764 left07:22
Hounddog joined07:23
Abyx left07:23
User458764 joined07:24
DerisiveLogic joined07:24
Vaur- Kartagis: nah, I just made a mistake in the url07:25
you can call remotes any way you like07:25
origin is just the default name07:25
Vaur-Vaur07:26
michael_mbp left07:26
johtso_ left07:27
daito joined07:27
gox39 joined07:27
TomyWork joined07:28
ashokrajar joined07:28
avvs joined07:28
Abyx joined07:29
michael_mbp joined07:29
Kartagis I know07:29
modocache joined07:30
johtso_ joined07:30
The_Theramist joined07:31
darkbasic left07:32
darkbasic joined07:32
reim left07:32
ashokrajar left07:33
forsil joined07:34
thepreacher joined07:34
modocache left07:34
ashokrajar joined07:35
forsil left07:35
jceb left07:35
skcin7__ left07:36
dreiss joined07:37
forsil joined07:37
gauke joined07:38
edux joined07:38
reim joined07:38
ashokraj_ joined07:39
v45h_ joined07:39
arup_r left07:39
reim left07:40
morois joined07:41
rchavik joined07:41
ashokrajar left07:41
ashokrajar joined07:41
reim joined07:42
rendar joined07:42
ronskisika joined07:42
Raging_Hog left07:42
edux left07:43
GPrime joined07:43
avvs left07:44
reim left07:44
ashokraj_ left07:44
Spriz joined07:44
Abyx left07:44
reim joined07:45
ntwari joined07:45
darkbasic left07:45
morois left07:46
ashokraj_ joined07:46
snow_ru left07:48
gauke left07:48
ki0 joined07:48
darkbasic joined07:49
snow_ru joined07:49
ashokrajar left07:49
Goplat left07:49
ashokrajar joined07:50
delinquentme left07:50
jceb joined07:51
intellix joined07:52
ashokra__ joined07:53
ashokraj_ left07:53
shmoon joined07:53
freestyl3r joined07:53
dreiss left07:54
shmoon hi07:54
i want to understand update-ref, the git-scm manual seems complicated to me, is there a nice article explaining it ?07:54
mikecmpbll joined07:54
effi joined07:54
ManikM left07:54
genbattle joined07:54
ManikM joined07:55
frank99f1 joined07:55
_ikke_ It's a low-level tool, I don't think there are any end-user articles for07:55
Seveas shmoon: why do you want to understand it? It's a piece of plumbing that you almost never use.07:55
_ikke_ man git update-ref07:55
gitinfo the git-update-ref manpage is available at http://jk.gs/git-update-ref.html07:55
frank99f1 left07:56
Balliad joined07:56
ns5 left07:56
shmoon i was asked in an interview how to remove the first commit07:56
ashokrajar left07:56
shmoon i said delete .git folder, but the correct answer was git update-ref HEAD or something07:56
so thought would try to understand it07:56
ethanol a very important skill to posses if you want to be able to do your job07:56
kadoban Remove the first commit from what?07:57
Seveas rubbish interview question.07:57
shmoon first commit as in, git init -> git add . -> git commit -am 'inittial commit' -> remove that commit07:57
jast rubbish or not, it's actually quite simple, depending on which way you think about refs07:57
m0nkmaster joined07:57
shmoon you can rollback a commit using git reset --hard commit_sha - i knew that one, but it doesn't work for the first commit07:57
katherine left07:57
howlymowly joined07:57
jast refs (e.g. branches, tags, ...) point to specific commits07:58
shmoon ya I don't know much about refs (references?) I think, so will study on that now.07:58
jast update-ref allows you to change a ref so that it points to a different specific commit07:58
nixter1029 left07:58
Seveas update-ref doesn't help you with this either.07:58
jast what will probably help most is this: !gcs07:58
gitinfo [!concepts] "Git Concepts Simplified" explains the basic structures used by git, which is very helpful for understanding its concepts. http://gitolite.com/gcs.html07:58
BlaXpirit joined07:58
jast because all this stuff is strongly related to git's structures07:58
shmoon thanks I'll go through that07:58
jast it's got lots of pictures ;)07:58
ethanol shmoon: git revert HEAD07:59
shmoon oh awesome07:59
ethanol :<07:59
_ikke_ That does something different though07:59
michael_mbp left07:59
ethanol shrugs07:59
_ikke_ the first commit is still there07:59
shmoon that creates another commit ethanol07:59
(just tested)08:00
ethanol it preserves history08:00
michael_mbp joined08:00
maasha joined08:00
shmoon ya preservesby creating another08:00
ethanol so?08:00
jast the question was about *not* preserving history08:00
wlarip joined08:00
ethanol the question was retarded08:00
_ikke_ In that case, you can just ammend the commit08:00
ethanol so I interpret that as open to other suggestions08:00
maasha How do I resolve merge conflict? https://gist.github.com/maasha/aab52f7e7755d3e21ac608:00
jast doesn't mean it can't be answered08:00
it's an "interview question"08:00
Seveas it's a rubbish question08:00
ethanol well in that case rm -rf .git also works08:01
so08:01
jast interview questions on this level of stupid usually don't respond well to getting reinterpreted with sanity :)08:01
delboy1978uk joined08:01
daito_ joined08:01
jast might as well try and learn something from them :)08:01
Seveas maasha: !eek08:01
gitinfo maasha: [!eekaconflict] Merge conflicts are a natural part of collaboration. When facing one, *don't panic*. Read "How to resolve conflicts" in man git-merge and http://git-scm.com/book/ch3-2.html#Basic-Merge-Conflicts then carefully go through the conflicts. Picking one side verbatim is not always the right choice! A nice video explaining merge conflicts: https://www.youtube.com/watch?v=zz7NuSCH6II08:01
ethanol don't see how rm -rf .git was not a valid answer08:01
jast of course it is08:01
ethanol not for them he said08:01
Seveas Slapping the interviewer would be a right answer here :)08:01
jast but people who ask these kinds of questions are usually looking for one specific answer and everything else is "wrong"08:01
ethanol only one road leads to rome, am I right?08:02
shmoon yeah08:02
maasha Seveas: yeah, I know I should be safe when all I have done is basically lots and lots of commits08:02
King_Hual joined08:02
shmoon then he said without deleting that folder08:02
i.e., by using a git command08:02
I forgot the command but it was something like git update-refs -m HEAD08:02
jast and that's still not the only way to do it08:02
maasha Seveas: I'll have a read and watch the video (and then I may return here :o).08:02
shmoon hm anyway I'll read up08:02
ashokrajar joined08:03
shmoon if there's some end user simplified article on update-refs that'd be great :)08:03
Seveas I'd find a different job :)08:03
kadoban shmoon: I honestly wouldn't even bother. It's not an important command to know, it's plumbing.08:03
wlarip_ left08:04
_ikke_ It's not even a complicated command08:04
forsil left08:04
effi left08:04
lab_ left08:04
Wiched joined08:04
nixter1029 joined08:04
Errorical left08:04
thiago left08:05
WichedGuest1518608:05
daito left08:05
Haris joined08:05
Haris hello all08:05
Errorical joined08:06
Haris is there a way to automate git pull ... after push has been done. both the git server where push are going, and the server where the auto-pull is needed are on separate boxes08:06
ashokra__ left08:06
Seveas hi!08:06
basiclaser joined08:06
Haris on the day for deployment, when many commits/push / pulls are going on, its a hassle to do git pull manually each time08:06
Seveas Looks like you're looking for !deploy08:06
gitinfo Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html08:06
tobiasvl Haris: automating git pull is a bad idea, because it merges08:06
genbattle left08:07
arup_r joined08:07
hahuang65 joined08:07
Haris I'll ignore that for this specific case08:08
the bad idea, merges part08:08
Seveas Ignore at your own peril.08:08
Doesn't make it any less true.08:08
Haris obviously08:08
granthatcher joined08:09
encod3 joined08:09
greggynapalm joined08:10
effi joined08:11
hahuang65 left08:11
ashokrajar left08:11
petersr joined08:12
nnyk_ left08:12
ashokrajar joined08:13
petersr left08:13
zack_s_ I use git svn; I have done some refactoring file name changes and moving of file (always used git mv; always did moving of files in for one commit, bevore changing the content)08:14
I did this on a branch08:14
then I merged everything back to the master trunk: "git merge --no-ff local/my_branch"08:15
and when I do now a checkout with svn, my file history seems to be gone08:15
what can be the reason for that? what can I do about it to fix it?08:15
loremipson joined08:15
MechtiIde joined08:16
AndreSomers joined08:16
hagabaka joined08:16
kadoban left08:16
MechtiIde left08:16
kurkale6ka joined08:17
marcogmonteiro joined08:19
Seveas zack_s_: I don't know much about git-svn, but svn hates branches. Try rebasing your branch and merging with --ff-only08:20
loremipson left08:20
maasha Seveas: thanks, turned out to be a truly minor problem. Resolved now and merge complete.08:20
Takle joined08:21
rath joined08:21
zack_s_ Seveas: thats what I did08:21
jceb left08:21
christech2 left08:22
ethanolalcohol08:22
crestbook joined08:25
hans_s joined08:25
happy-dude left08:26
christech2 joined08:27
arup_r left08:28
Haris this is a demo/QA box, for which I need to automate git pull after every git push. I don't care if everything blows. The idea is, for the code to be avaialble for QA, as fast as possible .. after each push. I don't need/want to do the pull manually each time a minor bug is fixed or 1-3 lines of code is changed08:28
zack_s_ it seems to be that after a "git mv" the history is gone08:28
Haris that needs a request coming to me, which is .. tedius or .. cumbersome .. if you know what I mean08:29
alcohol Haris: don't you have jenkins/teamcity/insertanyotherCItool ?08:29
ashokrajar left08:30
edmund joined08:30
MattMaker joined08:31
effi left08:33
edmund hello! hopefully a quick question: what is the .git/logs directory for? (it looks a bit like .git/refs)08:33
maasha left08:34
jceb joined08:34
ambodi joined08:34
MattMaker left08:36
Darcidride left08:39
dc5ala left08:39
aboccia joined08:40
SicoWork edmund: I believe that is information for use by the git reflog command08:41
alcohol !gcs might know ?08:41
gitinfo [!concepts] "Git Concepts Simplified" explains the basic structures used by git, which is very helpful for understanding its concepts. http://gitolite.com/gcs.html08:41
jast yes, .git/logs is for reflogs08:42
man git-reflog for details and stuff08:42
gitinfo the git-reflog manpage is available at http://jk.gs/git-reflog.html08:42
otter768 joined08:43
genbattle joined08:43
Seveas zack_s_: you said --no-ff, which is the opposite of --ff-only :)08:43
christech2 left08:44
edmund SicoWork: that seems reasonable08:45
zack_s_ Seveas: I did it like here: http://stackoverflow.com/questions/190431/is-git-svn-dcommit-after-merging-in-git-dangerous#answer-423852808:45
edmund the reason i ask is i'm converting a svn repository using "git svn" and all the tags and branches are there in .git/logs/refs/remotes, but not in .git/refs08:46
absk007 left08:47
CustosL1men left08:47
otter768 left08:47
zack_s_ using fast forward leads to a broken state in git repository here, why should I use --ff-only?08:47
nicknikolov joined08:47
edmund is tempted just to copy them into .git/refs and hope nothing breaks08:48
steven do it.08:49
I dont know what this convo is about but manually copying stuff is always good :)08:49
edmund manually deleting stuff is even more fun08:49
Haris is teamcity windows based ?08:49
can it run on linux, if its a web app ?08:50
joo-_ left08:50
pooh22 joined08:51
GT4066 left08:51
nfk joined08:51
m0nkmaster left08:51
Darcidride joined08:51
hardenedapple joined08:52
Haris is there a linux version of teamcity ?08:52
canton7 Haris, it's java: it runs on anything08:52
both the build server and the build agents08:52
Haris its giving me an .exe for download on the download page08:53
canton7 did you try clicking on the 'linux' tab? ;)08:53
Haris well, I'm on windows, but I need it for linux08:53
my! bad08:53
nnyk_ joined08:54
jost joined08:54
daito_ left08:55
Spriz left08:56
pabens joined08:57
ArchRogem joined08:57
Obfuscate left08:59
daito joined08:59
Haris can teamcity do stuff on distributed boxes08:59
Spriz joined09:00
wlarip_ joined09:00
Haris run from one box, pull from git on another box, build java code on another box, deploy java build to another box, etc etc09:00
GPrime left09:01
UukGoblin left09:02
UukGoblin joined09:02
sparetire_ left09:02
canton7 Haris, it can have multiple build agents, which are the machines which actually run the builds. When a build is scheduled, a free agent is chosen to run it, provided that that agent is compatible09:02
Haris aha! the master/server / agent scenario09:03
canton7 if "pull from git" means cloning the repository in order to perform the build: that's done either on the build server, or on the build agent performing the build09:03
Haris I'v seen this with CDP09:03
I knew of capistrano09:04
wlarip left09:04
canton7 a build can depend on artefacts from another build. So you can have a windows build agent build, say, a shared library, which a mac build agent then uses as part of its build process09:04
anahumar joined09:04
jceb left09:05
Haris got it09:05
canton7 but TeamCity isn't a deployment tool. It produces build artefacts, but it's not its job to deploy them. It will let you download them, but it doesn't know how to ssh into your production server and deploy your .war for instance09:05
alcohol I don't know. that's what we used to do with jenkins.09:06
GPrime joined09:06
alcohol a test job triggered a deployment job.09:06
a succesful test job that is.09:06
canton7 ok, you can have a deployment script run as one of your build steps: that's fine09:06
rrva in what scenarios will 'git submodule foreach --recursive 'git clean -ffdx && git checkout . ; git clean -ffdx' not be enough to wipe my workspace?09:06
do I sometimes need to add git reset --hard ?09:06
canton7 but that's your writing a script and getting TC to invoke it: that isn't TC knowing how to do deployments09:06
ManikM left09:07
Haris yep. I gathered that09:07
alcohol pretty sure TC doesn't know how to do anything until you tell it how to do it :|09:07
Haris that's np09:07
I can write triggers for events09:08
oiu left09:08
anahumar guys this maybe an offtopic but I need some opinion about it...09:09
teran left09:09
ErKa left09:09
canton7 alcohol, there are plenty of different built-in build runners and test runners for various project types09:09
anahumar how to search for bunch of projects with as many developers as possible in a specific period of time?09:09
D-Boy left09:09
anahumar e.g. 5 OS projects with common 50 developers among them09:09
alcohol canton7: but you still need to go through the minimal steps of at least creating a job and enabling some triggers and stuff.09:09
canton7 alcohol, sure09:09
icedwater joined09:10
BtbN left09:11
BtbN joined09:11
m0nkmaster joined09:12
granthatcher left09:12
m0nkmaster left09:13
jceb joined09:13
granthatcher joined09:14
Jackneill_ joined09:14
crestbook left09:15
D-Boy joined09:15
Jackneill left09:16
CustosL1men joined09:16
loremipson joined09:16
edmund left09:17
arup_r joined09:17
modocache joined09:19
loremipson left09:21
The_Theramist left09:21
The_Theramist joined09:22
daito left09:22
modocache left09:23
joo-_ joined09:26
TinkerTyper left09:27
Takle left09:27
edux joined09:27
harish left09:27
Pathfinder left09:28
neanderslob left09:28
The_Theramist left09:29
TinkerTyper joined09:30
mezod joined09:30
mquin left09:31
mquin joined09:31
jwest left09:31
jwest joined09:31
edux left09:32
thepreacher left09:32
cdown_ joined09:32
crestbook joined09:33
nicknikolov left09:34
nicknikolov joined09:35
crestbook left09:35
mquin left09:35
Saturn812 joined09:35
mquin joined09:36
Darcidride_ joined09:37
nicknikolov left09:37
shaunoo joined09:37
nicknikolov joined09:37
lorezzed left09:39
sinkensabe left09:40
Darcidride left09:40
Takle joined09:40
mquin left09:40
Pathfinder joined09:41
mquin joined09:41
cdown_ left09:41
Darcidride_ left09:44
leeN joined09:45
Pathfinder left09:46
mquin left09:46
mquin joined09:47
sinkensabe joined09:48
mostlybadfly left09:48
Pathfinder joined09:50
mquin left09:51
lindenle joined09:51
mquin joined09:51
bonswouar left09:51
bonswouar joined09:52
in3xes left09:53
zotez left09:54
Nick-S joined09:55
lindenle left09:55
hahuang65 joined09:56
Darcidride_ joined09:56
effi joined09:56
darkbasic_ joined09:57
darkbasic left09:58
sdothum joined09:58
lromanowski joined09:59
wlarip joined10:00
hahuang65 left10:00
lromanowski left10:01
effi left10:01
lro joined10:02
shwaiil joined10:03
shwaiil hi10:03
Pathfinder left10:03
anahumar left10:04
shwaiil Q: I was working on the wrong branch and did some commits (branchA). I've created a new branch from this now (branchB). I'd like to delete all the commits from branchA ?10:04
D30 left10:04
wlarip_ left10:04
tobiasvl shwaiil: !revert10:05
gitinfo shwaiil: 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]?10:05
tobiasvl shwaiil: you probably want the last one there, should be safe in your case.10:06
in3xes joined10:06
ambodi_ joined10:06
damirm joined10:07
ambodi left10:07
damirm left10:07
ParanoidNemo joined10:07
shwaiil tobiasvl: thanks! I guess in this case the answer is git reset --hard XXX and then pushing this will delete any commits from XXX forward ?10:08
teran joined10:08
tobiasvl correct. XXX will not be deleted, and will be the new HEAD10:08
Gitzilla left10:08
tobiasvl or rather, the new branch10:08
lab_ joined10:09
shwaiil tobiasvl: ok, makes sense. why do you say branch ? I'm checking out branchA, reset --hard XXXX, so shouldn't it be called head ?10:09
tobiasvl yes, branchA will be reset to point to XXX, as will HEAD10:10
since branchA is checked out (HEAD points to branchA)10:10
Haris is there a way to non-interactively give password to git pull10:10
from a bash script10:10
alcohol put it in the url10:10
shwaiil sounds good to me, thank you!10:10
Haris where in the URL10:10
stamina joined10:10
alcohol ssh://user:password@server/path/to/repo10:11
teran_ joined10:11
Haris aha!10:11
alcohol but that isn't very secure10:11
Haris that's ok10:11
alcohol I figured you'd say that :p10:11
Haris I'll take care of that part10:11
=)10:11
tobiasvl SSH keys are probably a better solution10:11
canton7 ^ many times over10:11
Haris with git pull ?10:12
alcohol yes10:12
git pull uses keys10:12
Haris how ?10:12
tobiasvl with anything over SSH :P10:12
alcohol Haris: https://help.github.com/articles/generating-ssh-keys/10:12
teran left10:13
t-mart joined10:13
Jackneill_ left10:13
ambodi_ left10:13
Haris that's where this tutorial is lacking. it focuses on generating keys, rather than telling how to use them10:13
cdown left10:13
sdothum left10:14
Haris I already know how to generate keys, or how to set them up. but how to use them with git ?10:14
tobiasvl that should work automagically10:14
if you've added the keys to the server and to your ssh-agent10:15
sdothum joined10:15
Obfuscate joined10:16
xrogaan joined10:16
RaceCondition left10:16
Pathfinder joined10:17
Guest15186 left10:18
stef_ joined10:19
echo-area left10:19
marcosscriven joined10:20
MattMaker joined10:20
gitinfo set mode: +v10:21
stef_ hi everyone. I was trying to remove a file from my git history because at some point I commited a huge version. However the git filter-branch command returns me an error10:21
git filter-branch --force --index-filter 'git rm --cached -f --ignore-unmatch tests/protein_folding_results.mat' --prune-empty --tag-name-filter cat -- --all Rewrite 3106e6ce8e29ab9209b058d5f953c67619af8c37 (107/904)fatal: empty ident <> not allowed could not write rewritten commit rm: cannot remove `/shared/sdoerr/Work/htmd/.git-rewrite': Directory not empty10:21
Sceorem left10:21
stef_ woops, forgot to remove all my info :D oh well10:21
so is there a way to bypass or fix this error so I can finally clean my git history?10:22
kukks joined10:22
kukks left10:22
kukks joined10:22
mgedmin you need to fix the bogus empty ident10:22
stef_ okay but how do I do that?10:22
mgedmin something like git filter-branch --env-filter 'if [ -z "$GIT_AUTHOR_EMAIL" ]; then GIT_AUTHOR_EMAIL=your-email@example.com; fi'10:24
mostlybadfly joined10:24
quazimodo joined10:24
quazimodo guys10:24
i just did10:24
git push origin develop10:24
+ 5468244...f403827 develop -> origin/develop (forced update)10:24
... i never said do a forced update!10:25
MattMaker left10:25
ambodi joined10:25
Haris is there a way to not use ssh-agent. just use some argument to git command to to make it work10:26
Sceorem joined10:26
mgedmin SSH_AUTH_SOCK= git ... # note the space after the =10:26
quazimodo I think i've wired up my repo to push develop to something else10:26
Wiched joined10:26
stef_ @mgedmin git filter-branch --env-filter 'if [ -z "$GIT_AUTHOR_EMAIL" ]; then GIT_AUTHOR_EMAIL=mymail@haha.com; fi' Rewrite 3106e6ce8e29ab9209b058d5f953c67619af8c37 (107/854)fatal: empty ident [email@hidden.address] not allowed could not write rewritten commit10:26
quazimodo i noticed that develop's not chinging when i push to it, unless i do git push origin develop:develop10:27
WichedGuest1753710:27
osse quazimodo: what does git branch -vv say for the develop branch10:27
mgedmin stef_, I didn't expect that! perhaps you also need to set GIT_AUTHOR_NAME for those commits?10:27
Haris mgedmin: ? I don't quite understand10:27
mgedmin Haris, the SSH_AUTH_SOCK tells ssh how to talk to the ssh-agent; if you clear that environment variable, ssh won't use the agent10:28
quazimodo osse: a second before you said that I actually changed the upstream for develop10:28
Haris I don't have that env var on this box10:29
for root10:29
osse quazimodo: ahh, praise lord gaben10:29
mgedmin then you're not using ssh-agent10:29
DerisiveLogic left10:29
Haris that's preferable10:29
snow_ru left10:29
mgedmin you want root to be able to access a repo over ssh?10:29
quazimodo develop 2bb080a [origin/develop: ahead 1, behind 5] Broken10:29
git push origin develop10:29
+ f403827...2bb080a develop -> origin/develop (forced update)10:29
snow_ru joined10:29
quazimodo wadafuq10:30
Haris no. I want root or nrpe to run a shell script, which will change into another unix user account, to run git pull10:30
mgedmin one way is to generate ssh keys for root (/root/.ssh/id_rsa etc.) and put them in in the authorized_keys on the git server10:30
osse quazimodo: that is reasonable10:30
quazimodo i look at gitk, origin/develop hasn't moved10:30
mgedmin the unix account that is doing the git pull needs to have its own ssh key10:30
(or you could rely on ssh agent forwarding and setting up SSH_AUTH_SOCK correctly)10:30
(but let's not get into that)10:30
Haris having keys is not the issue. running what git command to specify which key to be used, is the Q10:30
quazimodo git push origin develop:develop10:31
! [rejected] develop -> develop (non-fast-forward10:31
jantje hi10:31
osse quazimodo: if the push had gone through then the 5 commits it claims you are behind would be lost. that is why the push is rejected10:31
quazimodo ok, so git push origin develop is clearly not pushing to origin/develop branch10:31
weird as!10:31
mgedmin Haris, why is the key not ~/.ssh/id_*?10:31
jantje Is there a way to rebranch a remote branch without having to fetch it first?10:31
tobiasvl quazimodo: no, that pushes develop branch to origin. man git push10:31
gitinfo quazimodo: the git-push manpage is available at http://jk.gs/git-push.html10:31
quazimodo osse: yeah but when i do git push origin develop, it says that it did a forced update (which it hasn't)10:31
mgedmin Haris, AFAIU you can write a wrapper script that runs ssh -i /path/to/key "$@", and then set GIT_SSH=/path/to/your/wrapper10:32
osse quazimodo: no it doesn't. it says 'rejected' right there10:32
quazimodo osse look10:32
i'll do it again10:32
anahumar joined10:32
quazimodo $ git push origin develop10:33
+ a008bc8...96e73d8 develop -> origin/develop (forced update)10:33
Why does that say forced update?? I never dida forced update?!10:33
osse that is weird10:33
mgedmin Haris, another (better maybe?) option is to create ~/.ssh/config that specifies the right IdentityFile (where ~ is the home directory of the user account that runs git pull)10:34
quazimodo here's where it gets weird10:34
$ git push origin develop:develop10:34
! [rejected] develop -> develop (non-fast-forward)10:34
expected behaviour, but ONLY if i say develop:develop10:34
osse quazimodo: I think I get it10:34
quazimodo: what does 'git config remote.origin.push' say ?10:34
quazimodo I think my git's pushing my local develop to some other remote branch10:34
+refs/heads/*:refs/remotes/origin/*10:34
osse quazimodo: that + at the beginning is not default10:35
quazimodo: the + means force is allowed10:35
quazimodo 0_o10:35
osse it's as if you run push -f every time10:35
granthatcher left10:35
quazimodo hrm10:36
Haris check your shell aliases/functions10:36
quazimodo fetch = +refs ....10:36
what does that mean10:36
mgedmin Haris, oh, git 2.3 also got support for GIT_SSH_COMMAND: http://stackoverflow.com/a/27607760/11015110:36
osse quazimodo: that is default. it means forced updates are allowed when you fetch10:36
_ikke_ if you do develop:develop, you override the default refspec, that's why it doesn't force then10:36
Haris I'm on 1.6 or 7 I believe.10:36
hold please10:36
quazimodo ok10:36
osse: so here's the thing10:36
i removed that line, now it's not doing the forced updates10:36
but the weirdest partof it was10:36
johnson318 joined10:37
mgedmin Haris, well, I gave you four options, three of which should work with git 1.610:37
quazimodo it was forcing up, then nothingwas catually visibly changing10:37
Err404NotFound joined10:37
Error404NotFound left10:37
Haris =)10:37
I'm just trying to gulp them10:37
quazimodo so, i presume that +refs/heads/*:refs/remotes/origin/* isn't actually legal10:37
mgedmin or was it five options?10:37
quazimodo probably it had to be like +refs/heads/develop:refs/remotes/origin/develop ?10:37
_ikke_ quazimodo: That's the default fetch refspec there10:37
ambodi_ joined10:38
quazimodo _ikke_: yeah, so it's not valid for push is it?10:38
osse quazimodo: oh I get it. you don't push to the branch named 'develop' on the other side. you push to the branch named 'origin/develop' on the other side. the whole thing is fucekd10:38
encod3 left10:38
quazimodo hrm10:38
i don't know when/how i put that there10:38
but imust have10:38
_ikke_ quazimodo: Well, I think it is valid10:38
quazimodo OR one of my coworker fuckasses did10:38
encod3 joined10:38
granthatcher joined10:38
_ikke_ quazimodo: If it wasn't valid, git wouldn't allow you to push at all10:38
osse maybe some third party tool did10:38
quazimodo maybe10:39
osse maybe not10:39
quazimodo _ikke_: it doesn't do the expected10:39
well, depends who expects10:39
_ikke_ quazimodo: Unexpected != invalid10:40
It does exactly what is specified10:40
ambodi left10:40
granthatcher_ joined10:41
intellix left10:42
Haris I have one confusion10:43
one only10:43
granthatcher left10:43
stef_ hey mgedmin. After fixing the mail and username I try to push but it tells me that it failed to push due to non-fast-forward updates10:43
otter768 joined10:44
quazimodo Haris: lucky boy10:44
osse Haris: why is the speed of light so low?10:44
stef_ it tells me to pull to merge remote changes. but if I pull it just reverts back to an empty mail10:44
osse stef_: push -f10:44
Haris I'v setup the pub keys as authorized. how do I specify which key the git pull command will be using with the url10:44
stef_ ok10:44
Haris will it be in the command or in the ~/.ssh/config ?10:44
mgedmin stef_, filter-branch is for seriously rewriting history; that's why you need push -f10:44
harish joined10:45
mgedmin (and everyone who has that branch checked out will feel PAIN)10:45
osse Haris: the latter10:45
Haris aha!10:45
mgedmin Haris, up to you!10:45
Haris I'm just not able to understand how to put it in the command. I'm checking out how to set it up in ~/.ssh/config10:46
mgedmin http://stackoverflow.com/questions/14220929/git-clone-with-custom-ssh-using-git-ssh-error has examples10:46
Haris aha!10:46
genbattle left10:46
cdown joined10:47
otter768 left10:48
delinquentme joined10:49
nnyk_ left10:49
DerisiveLogic joined10:50
zotez joined10:50
skylite joined10:51
shabazy joined10:51
jayeshsolanki joined10:51
anahumar left10:53
delinquentme left10:54
TinkerTyper left10:54
basiclaser left10:54
dsdeiz_ joined10:55
zotez left10:55
dsdeiz left10:57
Dragooon left10:57
jost left11:00
TinkerTyper joined11:00
clarkpan joined11:00
wlarip_ joined11:00
cyphase left11:00
kukks left11:01
shwaiil left11:01
dsdeiz_ left11:02
mahtennek joined11:03
wlarip left11:03
mizu_no_oto joined11:04
clarkpan left11:04
yitzm I need a few tips on how to set up proper version-controlled environment for a team of PHP web developers on a Linux-based server. Would this be an appropriate channel for this type of questions?11:04
ArchRogem left11:04
Mo Hi. Talking with BtbN on #gentoo.de.... Is is the a kind of opposite to bare-repo? Like having a --depth 1 clone without .git/ ? clone --depth 1 has an empty git log, so most information in .git/ is a duplicate of the checkout. Or from another point of view: Using git as a better rsync replacement? Or does the delta mechanism on sync need the .git/ ?11:05
jast yes... deltas require existing objects11:06
skullcrasher joined11:06
Vaur yitzm: it's as good as any, do you have specific question or just a general one ?11:07
jast if you don't need deltaing, you can use 'git archive' with the --remote option to fetch files without all the metadata, but that has to be enabled/supported on the server side11:07
modocache joined11:07
c355E3B joined11:08
osse making sures the deltas are small (say, epsilon) is alpha and omega for the next beta11:08
hacker joined11:08
Mo jast: But that is a tarball at the end, I can't do compact delta pull on such a git archive?11:08
mizu_no_oto left11:08
elsevero joined11:08
jast you can't do a 'compact pull' without metadata, period11:08
kukks joined11:09
keller left11:09
Mo I see. So compared to rsync, using git with .git metadata locally this is the price to pay for having compact fast delta synchronization.11:09
yitzm yeah, how do you set up source control environment for a team of developers when portion of the source code is stored in database (a cms system)?11:10
iveqy yitzm: !gitlab !gitolite11:10
gitinfo yitzm: Gitlab is Git hosting similar to Github, but for your own server or on gitlab.com, giving you unlimited free private repositories: http://gitlab.com/11:10
yitzm: Gitolite is a tool to host git repos on a server. It features fine-grained access control, custom hooks, and can be installed without root. Download: https://github.com/sitaramc/gitolite Docs: http://gitolite.com/gitolite/11:10
daurnimator left11:10
iveqy yitzm: you've code in the database?11:10
jast Mo: yes, and since metadata is a definite requirement for resolving conflicts, it seems like a no-brainer for the things git is designed for :}11:11
robustus left11:11
Mo jast: I know it is not the thing git is designed for, but having git --depth 1 doesn't have conflicts and already throwing away most of git's features.11:12
ssarah joined11:12
yitzm thanks, i'll check it out (i.e, gitlab and gitolite).11:12
jast I meant conflicts in a more general sense, e.g. being able to tell whether a file was locally modified11:12
modocache left11:12
osse Seveas: ping11:12
jast yitzm: versioning content in databases is a fairly complex topic11:13
Mo jast: There is no local mod, as we use git for syncing the Gentoo package tree, instead of rsync, because git is faster. I just thought how to avoid duplicate data.11:13
osse Seveas: it's cool. I found out11:13
joo-_ left11:13
jast yeah, I'm talking about the more general case11:13
yeah... git is faster *because* it can use metadata :)11:13
joo-_ joined11:13
daurnimator joined11:14
jast have you looked at unison?11:14
I'm not actually sure how well that performs11:14
but it shares properties with both rsync and git11:14
nettoweb joined11:14
Seveas osse: sorry, dealing with IX'es being flaky11:14
Mo jast: Currently Gentoo Portage needs the plain data of the "checkout", otherwise I think about having a --bare-repo . But eventually migrating Portage to use a bare repo to fetch the plain data would slow down the thing. Currently I use squashfs for the plain directory tree already so speed it up.11:14
cyphase joined11:15
robustus joined11:15
Mo I know unison quite well, but development has stopped. I use it for parts of my $HOME where I need to sync only the latest revision.11:15
edux joined11:16
jast I'm not actually aware of a way to get the performance of git without the metadata11:16
delboy1978uk left11:16
jast I don't actually know how good git's support for fetching into shallow repositories is, but I'd imagine if it supports that in the first place, it'd be much less efficient than with a non-shallow repository11:16
yitzm one more thing: the production version of the system should only have a subset of the source files stored in the development environment. like, certain tools for testing etc. should not be present in the production version. which mechanism should we implement to install only a subset of source files into the production version?11:17
nasso joined11:17
jast well I guess if the protocol has a depth attribute of some kind, it could work at least, though with some trade-offs11:18
nicknikolov left11:18
jast yitzm: for that question the overall procedure for deployment is relevant. if deployment works by grabbing a copy of the repository and then copying files over, a solution would be to alter that11:19
... "copy files over" into "copy *some* files over"11:19
Mo jast: just thinking... if .git/ would use no compression and has not even deltas for a --depth 1 then a checkout could actually be hardlinked to it, no?11:19
Vaur yitzm: I've never done something like this, but I guess I would do three branches: one for production, one for developpement and one for testing11:19
jast Mo: no... git objects have a header containing, at the very least, information about the object's type11:19
Vaur testing would contains the tools you want to test11:20
edux left11:20
Vaur so you merge the modification you made in developpement with testing and do your test11:20
wanders joined11:21
Vaur once the tests are all ok, you would need to merge the branch developpement into production11:21
all modification of the code should be done into the branch developpement11:21
yitzm jast, vaur: you mean like, for example, keeping some kind of a meta file with the list of all files which should go into the production version and have some script copy stuff over based on this list. is that the idea?11:22
Mo jast: Which urls have the best performance in pull? git:// better than http(s):// ? There is not gits:// only ssh:// which means kind of gitssh:// ?11:22
Vaur yitzm: no, I'm talking about the branch feature of git11:23
jast yitzm: for instance. you might go a completely different way instead: have the testing-specific stuff in a separate repository, and kind of blend them together in the development environment11:23
ambodi_ left11:23
jast what Vaur suggested is an option, too, but with that you'll have to do a lot more merging than normal11:23
Vaur https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging11:23
Pathfinder left11:23
rnsanchez joined11:23
ambodi joined11:23
Saturn812 left11:24
Vaur branch are amazing, I love them :D11:24
jast Mo: there isn't that much of a difference. for the small difference there is, arguably git:// has the lowest overhead because it doesn't have to worry about ssh and http stuff.11:24
nettoweb left11:25
yitzm Vaur, jast: oh, I see. But a separate repository must be in a separate directory, no? What if I have testing-specific stuff in the same directory as the main code?11:25
Vaur yitzm: branch works all in the same repository11:25
it's git that take care of switching your files when you switch branches11:25
Arsonide left11:27
Arsonide joined11:27
ambodi left11:28
reim_ joined11:28
michelangelo joined11:28
tomog999_ joined11:29
Jeff__ left11:29
yitzm you mean if i have files f1 and f2 in the same directory i can have branch b1 containing both files while branch b2 will contain only f1 and not f2? is that right?11:29
bhldev_ joined11:29
tomog999 left11:30
parcs joined11:30
KennyRay_ joined11:30
PaulePan1er joined11:31
geekthattweaks_ joined11:31
Keel joined11:31
xrsanet_ joined11:31
pigeon_ joined11:31
Kneiva_ joined11:32
comps_ joined11:32
wolog_ joined11:32
dropdriv1 joined11:32
bremner sure, if you want.11:32
donmichelangelo left11:32
bremner but when you checkout b2, only f1 will be in your working tree11:33
cust_ joined11:33
Hello71 how do I move a change (i.e. "portion of diff") from one commit to another?11:33
dameloo joined11:34
salamanderrake_ joined11:35
KennyRayFL left11:36
tzero left11:36
PaulePanter left11:36
Ravana left11:36
pigeon left11:36
xrsanet left11:36
hardenedapple left11:36
reim left11:36
[cust] left11:36
skapunker left11:36
Kneiva left11:36
dropdrive left11:36
wolog left11:36
Vaur left11:36
harish left11:36
flowinho left11:36
kriskropd left11:36
geekthattweaks left11:36
salamanderrake left11:36
comps left11:36
Kobaz joined11:36
Peuc joined11:36
Freeaqingme joined11:36
Ravana joined11:37
FreeaqingmeGuest4264211:37
niax joined11:37
harish joined11:37
Vaur joined11:37
Brando753 joined11:37
icedp joined11:38
hardenedapple joined11:38
skapunker joined11:38
tzero joined11:38
lyang0 joined11:39
stef_ I am still failing at deleteing the history of a file11:39
Hello71 meh, I guess i'll use edit rebase and do it manually since it's a small change11:39
stef_ [username@machine htmd]$ git filter-branch -f --env-filter 'if [ -z "$GIT_AUTHOR_EMAIL" ]; then GIT_AUTHOR_EMAIL=username@machine.url.com; GIT_AUTHOR_NAME=username; fi' Rewrite 0665817ca2e1a78aa43a884378547685ddd78afc (856/856) WARNING: Ref 'refs/heads/release-1.0' is unchanged11:39
[username@machine htmd]$ git filter-branch --force --index-filter 'git rm --cached -f --ignore-unmatch tests/fileToDelete.mat' --prune-empty --tag-name-filter cat -- --all Rewrite 3106e6ce8e211:39
kriskropd joined11:39
stef_ Rewrite 3106e6ce8e29ab9209b058d5f953c67619af8c37 (107/1694)fatal: empty ident <> not allowed could not write rewritten commit11:40
How is there still an empty ident if I just fixed it one command before?11:41
gitinfo set mode: +v11:41
yitzm but then, i i make modifications in f1 how do i make sure they get to both branches?11:41
pcypher joined11:41
Vaur yitzm: you need to merge branches11:41
mgedmin stef_, add '-- -all' to the end of the 1st git filter-branch11:42
er, --all11:42
stef_ aha, I'll try that11:42
Vaur by merging all the modification made in one branches will be applied into the other11:42
yitzm i didn't get the last sentence: what do you mean, modifications will be applied into another branch. does it happen automatically, or do i have to merge branches manually all the time?11:43
marcosscriven left11:43
Vaur yitzm: you have to merge them11:43
wicope left11:44
Vaur git merge otherbranch11:44
and git will take care of the rest11:44
pcypher left11:44
Vaur and if it cant it will ask you to help him11:44
hahuang65 joined11:44
LBV_User joined11:44
moreirapontocom joined11:45
effi joined11:45
stef_ mgedmin, woohoo! I made it past the error. Thanks!11:45
oh waitha haha11:46
nope, crashed a bit later :D11:46
dEPy joined11:46
Haris ok, so if I have ~/.ssh/id_rsa, and I run git clone, it will auto use my key to authenticate, if my key is setup on the git box ?11:48
or git pull11:48
snow_ru left11:48
stef_ mgedmin, could you take a look at this pastebin? I don't want to spam the whole output here. http://pastebin.com/u5MgdEy211:48
thanks :)11:48
_ikke_ Haris: It is used for all ssh operations11:49
hahuang65 left11:49
curiousmansi__ joined11:49
snow_ru joined11:49
refried_ joined11:49
Haris regardless ?11:49
I mean the shell knows to look at ~/.ssh/id_rsa file11:49
out-of-the-box ?11:49
_ikke_ The shell has nothing to do with it11:50
Haris if it exists11:50
I mean ssh11:50
effi left11:50
leolrrj joined11:50
tobiasvl if ssh-agent is running, then yes, it will be used for all ssh operations11:50
yitzm so, practially speaking. in the beginning i create a git repository with the f1 file in it. let's call it 'production'. then, i break off a branch off of it, -- let's call it devl -- and add the f2 file to it. Then, what? Let's say I work in the development branch, modify f1 and what to merge it to production. If I do 'git merge production', the f2 file will get there too, won't it?11:50
Haris nope. no ssh-agent11:50
_ikke_ tobiasvl: Noo, the agent is not necessary11:50
tobiasvl oh ok. hehe.11:50
_ikke_ that's only for remembering passphrases11:51
ElChicoNube joined11:51
Haris I forgot the passphrase part :P. It will still prompt for pass phrase11:51
_ikke_ yes, if you have set a passphrase, it needs to ask you for it11:52
linuxmint joined11:53
soc42 joined11:53
mezod left11:53
Vaur yitzm: that's why I talk about 3 branches11:53
mgedmin looks11:54
Vaur yitzm: you have your production branches and dev branches which contains the files that are currently or will be in production11:54
then you have the test branches which contains files to test11:54
nicknikolov joined11:55
mgedmin stef_, uhh, I'm ... uhhh. okay, okay, I think I had this problem once, with a git-svn created repo or something like that11:55
crestbook joined11:55
Vaur when you are doing developping and you want to test you switch to the test branches11:55
you merge with the developpement branches11:55
ronskisika left11:55
mgedmin stef_, BTW you probably also want to add --tag-name-filter cat to the 1st filter-branch11:55
Vaur importing all modification from the developpement branches into the test one11:55
you do your test11:55
stef_ yes I wanted to try that now11:55
mgedmin stef_, and you shouldn't run scary filter-branch commands people on IRC tell you to run without fully understanding them11:56
Vaur from the test you see wether or not it's ok11:56
mgedmin and you should have a backup11:56
stef_ hahaha11:56
I made a backup of the repository just in case11:56
mgedmin stef_, so, I'm guessing there might be a root commit somewhere with that empty ID? git filter-branch skips root commits by default11:56
Vaur if it's ok, then you can make it go into production11:56
mgedmin IIRC the option to rewrite those is to add --root after the --? I don't remember :11:56
stef_ oh ok that could be the case11:56
yitzm Vaur: got you, thank you very much for your help!11:56
mgedmin and the manual page doesn't mention 'root'11:56
Vaur by going into the production branch and merging it with the developpement one11:56
leolrrj left11:57
toralf joined11:57
Vaur if the test is not ok, than go back into the developpement branches and do the modification that will fix it11:57
mgedmin wait, or maybe I didn't use filter-branch?11:57
Vaur and so forth11:57
mgedmin maybe I did git rebase -i --root and dropped the empty fake root commit created by git-svn-all-export?11:57
Vaur yitzm: no problemes11:57
mgedmin I don't remember :/11:57
stef_ mgedmin I am starting to consider just making a new repo without any history11:58
Takle left11:58
stef_ and be done with it11:58
Haris dameloo <- PM spammer - gratis one11:58
stef_ @mgedmin but thanks anyways for all the help11:58
fstd left11:59
fstd joined11:59
Err404NotFound left11:59
refried_ left11:59
mgedmin stef_, can you use tig --all or something to find the <> commit? see if it has anything interesting in it? does it have any parents e.g.?12:00
wlarip joined12:00
jmpp left12:00
dsdeiz joined12:00
ElChicoNube left12:01
ehmatthes joined12:02
ambodi joined12:03
hit_ joined12:04
wlarip_ left12:04
Cyclohexane joined12:04
alcohol oh dang, I think I just ran into a nice phrase to use in discussions at work12:04
"If I agreed with you, we would both be wrong."12:04
Haris $ PKEY=~/.ssh/keyfile.pem git clone [email@hidden.address] <- how does git know of PKEY ?12:04
bremner alcohol: so you work in an elementary school?12:05
ntwari left12:05
hit_ Hello guys, Im trying to change the editor to vim by running "git config --global core.editor vim", however Im receiving an error message: "fatal: Out of memory? mmap failed: No existe el dispositivo"12:05
alcohol bremner: close enough.12:05
arussel` joined12:05
hit_ Im on Debian Wheezy 64bit12:05
Cyclohexane I just did "git reset --soft HEAD^" hoping it would remove the commit and let me commit it again (I wanted to change the files) but instead it just seems to have removed it from the log... How do I revert that and do what I originally intended?12:05
alcohol bremner: some would qualify more for kindergarden I think12:05
mgedmin Haris, read the entire answer, that user puts GIT_SSH into the environment that points to their custom ssh wrapper script12:05
that checks $PKEY12:05
Haris I mean I haven't ? but its working for me ?12:06
cvanball joined12:06
darkbasic_ left12:07
mgedmin that is a very good question indeed12:07
darkbasic joined12:07
Haris I have no GIT env var, but setting PKEY and running git pull worked12:07
intellix joined12:07
Haris this key didn't have passphrase, so it didn't ask one, and it worked12:07
so it didn't ask one = and it didn't ask for12:08
sgambino joined12:08
Haris one12:08
arussel left12:08
MattMaker joined12:09
ntwari joined12:10
mgedmin but does it fail if you don't set PKEY?12:10
Dorf joined12:10
Haris no12:10
it works12:10
:P12:10
tristanseifert joined12:10
dsdeiz_ joined12:10
Asiajey joined12:10
Adib joined12:11
Haris I just created a key in ~/.ssh/id_rsa and copied ~/.ssh/id_rsa.pub to GIT-box ~/.ssh/authorized_keys12:11
mgedmin that's the standard location for the ssh key and ssh will always find it there12:11
Haris and it works, without asking for auth12:11
ah ok12:11
mgedmin if the key has no passphrase set, that's what's supposed to happen12:11
dsdeiz left12:12
mkoskar joined12:12
moreirapontocom left12:13
MattMaker left12:14
moreirapontocom joined12:14
dsdeiz_ left12:15
mezod joined12:15
dsdeiz joined12:16
edux joined12:17
echo-area joined12:19
AustinTheGrey joined12:20
AustinTheGrey left12:20
dameloo left12:21
edux left12:21
hohum joined12:21
achadwick joined12:22
modocache joined12:23
ParanoidNemo left12:25
kaiten02_ left12:25
darkbasic_ joined12:28
modocache left12:28
dougsland joined12:28
ReekenX joined12:28
darkbasic left12:28
ewong left12:29
leolrrj joined12:30
benborges joined12:30
toralf left12:31
stamina left12:32
Jetchisel joined12:32
jrajav joined12:33
cvanball left12:34
arussel`` joined12:35
wlarip_ joined12:35
kaiten02 joined12:35
fancy42 joined12:35
fancy42 i'm running a python script on my pre-receive hook. how can i get all commits that are part of that push?12:36
dstarh joined12:36
jantje git rev-list $first $last12:36
wlarip- joined12:37
zsoc joined12:37
johnson318 left12:37
wlarip left12:38
arussel` left12:38
fancy42 what does the dollar sign do?12:38
mellernoia joined12:39
wlarip_ left12:39
zsoc I don't have a question. I'd just like to say that some guys just implemented a git deployment system for a .net project... not testing very thoroughly. When they made the next commit to the dev branch the next morning, they didn't realize (or bother checking) that their wonderful deployment system checked out this HEAD to production. So I have a broken application, in production, with the two dev's signed off for the day and the project lead not in for another h12:39
our.12:39
wlarip joined12:40
qsuscs zsoc: !beer12:40
gitinfo zsoc: Beer! It's what's for dinner!12:40
zsoc What a good idea.12:41
kaiten02 left12:41
wlarip- left12:41
arup_r left12:43
alcohol zsoc: git checkout EARLIERREVISION12:44
gambler left12:44
zsoc It's not my project. I'm a customer. I have key access to git but not to the server it's deployed on. At least I have no idea if I do, it's a windows box.12:44
otter768 joined12:44
zsoc I can try re-commiting a previously working commit and see if their magical deployment hooks fix it lol12:44
alcohol windows.. ewwwie. /me gets out a 10 foot pole12:45
alcohol pokes the box12:45
alcohol is it alive?12:45
zsoc It's a .net project. Honestly it's the reason why it's not my project. I stand from back here and poke it with that thing, just like that actually.12:45
Texan joined12:45
alcohol zsoc: git revert REVISIONTHATBROKEIT12:45
why do I keep calling it a revision12:46
zsoc sure, but like i said i have no idea what their deployment system is doing.. i don't see logs of any sort. Reverting a commit may very well do nothing but alter the git history12:46
likely in fact, i doubt any deployment system they concocted does more than bare minimum... they would have to account for reverting heh12:46
kp666 left12:46
alcohol revert is just another new commit12:47
which undoes the previous commit12:47
zsoc Sure lets give it a go.12:47
alcohol a deployment system wouldn't be able to tell that12:47
tristanseifert left12:47
alcohol errr, s/previous/mentioned/12:47
YoungFrog if you're supposed to commit to that repo, and a previous commit broke the system, I think it's a good move to revert the broken commit, even if it doesn't fix the deployed app.12:47
alcohol YoungFrog: well it broke cause it's a development branch it seems, but it got released to production.12:48
zsoc well it's a dev repo. The problem is that whatever their shiny new deployment system is doing decided to push it to production for some reason12:48
ckruczek left12:48
zsoc I don't care, I'll revert it. It'll be in history heh.12:48
alcohol they can revert the revert if they want to keep working on it12:48
YoungFrog otoh, 1h isn't that much to wait if you have beer at hand12:48
alcohol after fixing their deployment tool that is12:48
hit_ Any ideas on why I cannot change any git global config variable? I keep receiving the message: "fatal: Out of memory? mmap failed: No existe el dispositivo" when I try12:48
DerisiveLogic left12:49
alcohol "when I try" what?12:49
what are you trying?12:49
otter768 left12:49
hit_ git config --global user.name "hit"12:49
alcohol uh..12:49
Siente joined12:49
cyphase left12:49
newbie1 joined12:49
alcohol do you have an alias for git by any chance?12:49
hit_ nop12:49
mmitchell left12:50
Siente hello guys, how can I checkout a file from a previous commit?12:50
hit_ it happens on every command12:50
alcohol what if you try 'git' config --global etc12:50
those quotes are intentional12:50
Siente I want to checkout only 2 files from the previous commit12:50
hit_ git config --global core.editor vim12:50
does the same12:50
Vadimus joined12:50
alcohol try the above12:50
bremner or a script wrapping git12:50
alcohol with the quotes12:50
what does "which git" return ?12:50
newbie1 left12:50
PRIM4T joined12:51
hit_ with the quotes show the same error12:51
/usr/bin/git12:51
alcohol eh12:51
hit_ thats which git output12:51
alcohol and what does /usr/bin/git config --global ...12:51
errors too?12:51
stef_ left12:52
hit_ yep, the same12:52
alcohol did you try turning it off and on again? :|12:52
FreezingCold joined12:52
curiousmansi__ left12:52
hit_ turning it off?12:52
alcohol the computer12:52
hit_ oh12:52
I'll try12:52
bitkiller joined12:52
hit_ left12:52
alcohol unless you're on windows, I doubt that will fix anything12:53
Vaur his mmap was failing which means he run out of space, memory or disk, dont know which one12:53
qsuscs well, if some other process ate all their memory …12:53
lindenle joined12:53
YoungFrog well, the error message says that a device is missing. it might mean git tries to access a device that went away. Perhaps network filesystem ?12:53
qsuscs but "No existe el dispositivo", wtf is dispositivo?12:54
Vaur alcohol: if it's just his that doesnt have enough space it should fix it12:54
alcohol my mexican isn't so good12:54
YoungFrog I think it's "device"12:54
DerisiveLogic joined12:54
Vaur qsuscs: device12:54
might be a disk issue12:54
qsuscs ahh12:54
YoungFrog if he doesn't have enough space, maybe it'll just mean he won't be able to reboot ;)12:54
qsuscs yeah, the spanish i learnt was not really computer-centric12:55
Nick-S left12:55
alcohol cerveza12:55
most important word12:55
hit_ joined12:55
Vaur YoungFrog: well linux is really good at working even if there isn't enough space12:55
tristanp joined12:55
reim_ left12:55
Vaur trust me :p12:55
hit_ alcohol: didnt work12:55
alcohol hit_: df -h ?12:55
bremner hit_: try running under strace12:55
alcohol hit_: free -m ?12:55
mizu_no_oto joined12:56
qsuscs or as i once described it, “i could probably write ten pages about the sitation of a moroccan immigrant in spain, but i couldn’t order a sandwich in a tapas bar without insulting the mother of the guy at the counter”12:56
hit_ http://pastebin.com/qnccNc1312:56
http://pastebin.com/prCbkB7g12:56
zumba_addict left12:56
hit_ bremner: whats strace?12:56
leolrrj left12:57
alcohol looks healthy enough12:57
lindenle left12:58
alcohol hit_: it's like.. debugging12:58
but you have to install it first, probably12:58
I don't think that's a default package on most systems12:58
modocache joined12:58
YoungFrog short story: prepend "strace " to the command line and redirect output to a file.12:58
zsoc Oh god. This is priceless. So the autodeployment is only on the DEV branch. It's merged with master, but only hooks on dev commits. So master commits don't deploy, but dev commits do. To production.12:58
hit_ is there any global config file I can write directly? I have try with ~/gitconfig but it is ignoring it12:58
Takle joined12:58
alcohol zsoc: that sounds sane. buy them cake.12:58
hit_: ~/.gitconfig12:59
YoungFrog hit_: should be ~/.gitconfig12:59
hit_ yes12:59
i mean that12:59
sorry, typo12:59
alcohol alternatively, try git config --global -e12:59
parcs left12:59
alcohol or git config --local -e12:59
sfeinste joined12:59
jerius joined12:59
alcohol see if local contains variables that could overrule global12:59
wlarip_ joined13:00
YoungFrog there's a FILES section in man git config13:00
gitinfo the git-config manpage is available at http://jk.gs/git-config.html13:00
Bass10 joined13:00
jerius left13:01
RaceCondition joined13:02
hit_ oh its solved now, I had a bad folder13:02
yitzm in order to version-contol code stored in MySQL database, i was thinking of doing a mysqldump of relevant tables and version-controlling the resulting text files. does this look feasible, or is it a crazy idea?13:02
hit_ I had a folder called .gitconfig too, thats why it cannot write13:02
haahaa13:02
bsanford left13:02
hit_ thanks guys13:03
Vaur 14:56:47 hit_ | bremner: whats strace?13:03
yitzm + any other suggestions?13:03
Saturn812 joined13:03
Vaur strace is a program that allow you to see every system call made by a program13:03
jost joined13:03
Vaur it also show the given parameter iirc13:03
alcohol having a folder named .gitconfig caused that mmap error?13:03
dafuq13:03
YoungFrog yeah +1 for the nice error message13:04
Vaur alcohol: well it makes sense13:04
hit_ Thanks Vaur, didnt now that13:04
alcohol yes and no13:04
Vaur alcohol: git tried to open it has a file13:04
wlarip left13:04
jast mmapping directories has to fail in some way13:04
cyphase joined13:04
alcohol if there is no sanity checks in git, I guess it would just epicly fail when trying to open it as a file13:04
then it makes sense13:04
but then I ask, why are there no sanity checks? :<13:04
jast and we need to conserve error codes to save the planet :}13:04
Vaur guess there is a check that is missing13:05
jast alcohol: probably because It Works(tm)13:05
happy-dude joined13:05
alcohol jast: works on my computer(tm) is better13:05
jast WFM13:05
alcohol anyway, I guess there will be a fix soon(tm), amirite?13:05
knownasilya joined13:06
Spriz left13:06
wlarip_wlarip13:06
jast almost as soon as someone submits a patch!13:07
Vaur it works here13:07
no issues13:07
guess he is on a older version13:08
Spriz joined13:08
Vaur hit_: can you do this commande:13:08
git --version13:08
hit_ git version 1.9.113:08
alcohol ah13:08
Vaur hummm13:08
jast I get a cryptic error, too, when trying to set config13:08
alcohol git version 2.4.113:08
i win13:08
Pathfinder joined13:08
Vaur git version 1.7.10.413:08
jast (2.3.0 rc0)13:09
jast updates...13:09
bannakaffalatta left13:09
Vaur hit_: I would suggest to see if there is already a bug report for that issue and if not make one13:09
jast what is this "bug report" you speak of13:09
alcohol so I guess it was introduced some time _after_ 1.7.x ?13:09
Vaur: assuming you do not get an error13:10
jast: it's like mailing lists. or news groups. they're kind of obscure.13:10
hit_ Vaur: I'm really noob on git, how can I do that?13:10
jast look at the mailing list archives and a send a mail if nothing comes up. !list13:11
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/gitlist13:11
hit_ ok13:11
hacker left13:11
alcohol weird, 2.4.1 does not error when I mkdir ~/.gitconfig13:11
or should the .gitconfig directory be inside a repo?13:12
jast no13:12
hit_ I had only a folder called .gitconfig, no file13:12
jast the error only happens when you try to write config13:12
alcohol i have no file13:12
hit_ and I edited before with vim13:12
jast git config --global user.name foo13:12
Vadimus left13:12
alcohol ah ok, that errors13:13
I thought you said all git commands threw an error though13:13
Vaur vaur@vaur:~$ git config --global user.name "vaur"13:13
fatal: Out of memory? mmap failed: Aucun p?riph?rique de ce type13:13
fatal: Out of memory? mmap failed: Aucun p?riph?rique de ce type13:13
daviorocha joined13:13
jast I dunno what others said. I said nothing. ;)13:13
Vaur I was mistaken13:13
alcohol no sorry, that was hit_13:13
Vaur it's also in my version13:13
alcohol fatal: Out of memory? mmap failed: No such device13:13
Vaur alcohol: yeah I made the same assumption13:14
Jetchisel left13:14
alcohol yeah ok13:14
hit_: just report it to that list above, reproduce steps, etc13:14
hit_ yep, im on it13:15
alcohol !perror 12813:15
aww13:15
Siente left13:17
Jeff__ joined13:17
tvw joined13:17
bsanford joined13:17
Nizumzen joined13:18
dEPy left13:18
ajf- joined13:18
zematis joined13:18
ashokrajar joined13:18
curiousmansi joined13:19
martin- joined13:20
zivester joined13:20
jast .strerror 12813:21
gitinfo left13:21
jast whoops ;)13:21
jrajav left13:21
intellix left13:21
skylite left13:21
rchavik left13:21
klj left13:21
skylite joined13:22
gitinfo joined13:23
ChanServ set mode: +o13:23
crestbook left13:23
jwhisnant joined13:23
gitinfo left13:25
Spriz left13:25
gitinfo joined13:26
ChanServ set mode: +o13:26
gitinfo left13:26
gambl0re left13:26
YoungFrog jast: what did you to do that poor bot ?13:26
jast whistles innocently13:27
gitinfo joined13:27
ChanServ set mode: +o13:27
weiyang joined13:28
weiyang left13:28
jast .strerror 12813:28
gitinfo strerror(128): Key has been revoked13:28
jast I present to you: the least useful feature ever added to gitinfo!13:28
sarri left13:28
osse .strerror(69)13:28
gitinfo strerror(69): Srmount error13:28
osse mount error hee hee hee13:29
alcohol wat13:29
weiyang joined13:29
weiyang left13:29
osse .strerror(0)13:29
gitinfo strerror(0):13:29
m0ltar joined13:29
jast .strerror 113:29
gitinfo strerror(1): Operation not permitted13:29
weiyang joined13:29
sublimate joined13:29
sarri joined13:30
denete joined13:30
weiyang left13:30
jast btw 0 is not a valid errno13:30
weiyang joined13:30
weiyang left13:30
Bass10 left13:31
weiyang joined13:31
hahuang65 joined13:33
zumba_addict joined13:34
delboy1978uk joined13:34
martin- left13:34
jceb left13:34
crestbook joined13:34
darkbasic joined13:34
cbonobo joined13:35
zumba_addict left13:35
Gamecubic joined13:35
zumba_ad_ joined13:35
darkbasic_ left13:36
codeFiend joined13:36
charginghawk joined13:37
charginghawk how can I get info about a remote repo?13:37
I want to know more about it before I clone it13:37
Es0teric joined13:37
netj left13:37
osse what info ?13:37
ncd|leeN joined13:37
charginghawk size, number of files13:37
Spacew00t joined13:38
netj joined13:38
intellix joined13:38
charginghawk maybe a clone dry run13:38
hahuang65 left13:38
Darcidride_ left13:38
osse i don't think git can tell you that off the bat13:38
Darcidride_ joined13:38
scaceres joined13:39
leolrrj joined13:40
RaceCondition left13:40
charginghawk git fetch has a dry run option, can I use that instead of clone?13:40
nixter1029 left13:40
zumba_ad_ left13:40
zumba_addict joined13:40
scaceres is there a way I can push to a remote repository using HTTP and skip the username/password interactive prompt ?13:41
osse if you init first13:41
leeN left13:41
scaceres like passing the user:pass pair inside the git push command, for example.13:41
osse scaceres: man git-credential13:41
gitinfo scaceres: the git-credential manpage is available at http://jk.gs/git-credential.html13:41
BlaXpirit-UA joined13:41
zumba_addict left13:41
AaronMT joined13:41
ashokrajar left13:42
IrishPrime joined13:42
anahumar joined13:42
pm90_ joined13:43
curiousmansi left13:43
linuxmint left13:43
sdothum left13:43
f3lp joined13:43
ewong joined13:43
scaceres that's exactly what I needed, thanks!13:43
scaceres left13:43
interrobangd joined13:44
BlaXpirit left13:44
anahumar how to search for project with this critiria .... 5 or more projects with more than 10 common developers and in a period of 6 to 12 months?13:44
charginghawk so yeah, the answer to my question is to run git init, and then git fetch --dry-run git://example.com/repo.git13:44
anahumar are there other channels to ask such thing than github?13:45
charginghawk thanks +osse!13:45
ReekenX left13:45
delboy1978uk left13:45
ReekenX joined13:45
chitopunk joined13:46
paulweb515 left13:46
dreiss joined13:47
pm90__ joined13:47
leolrrj left13:47
pm90_ left13:48
sublimate left13:48
CEnnis91 joined13:48
jceb joined13:49
cbruegge joined13:49
leolrrj joined13:49
Muhannad joined13:50
skylite left13:51
Haris left13:52
gox39 left13:53
Haris joined13:53
Pathfinder left13:55
_Vi left13:55
endiruna joined13:55
cbruegge left13:56
cbruegge joined13:56
Spriz joined13:57
AMERICAN_PSYCHO joined13:57
MattMaker joined13:58
edux joined13:59
denete left14:00
rzeka left14:00
pm90__ left14:00
denete joined14:00
wlarip_ joined14:00
marcusdei joined14:00
pm90_ joined14:00
t4nk485 joined14:02
MattMaker left14:02
thiago joined14:02
jceb left14:02
Tuna-Fish left14:02
bannakaffalatta joined14:03
wlarip left14:04
vixterra left14:04
bsanford left14:05
sublimate joined14:06
DerisiveLogic left14:06
marcusdei left14:06
t4nk485 left14:06
rfreeman_w joined14:06
northfurr joined14:07
rfreeman_w hi, when there is a gpg signed commit by me, and later I rebase someone's else work, then it seems my signature from my commit can be removed14:07
gitinfo set mode: +v14:07
rfreeman_w hi, when there is a gpg signed commit by me, and later I rebase someone's else work, then it seems my signature from my commit can be removed14:07
I guess it's because I did signed my commit in context of if it's old parent, not of the new parent that appeared/changed with rebase14:08
should I then re-sign all my commits/14:08
or what? is there a proper way to automate this? what is your workflow14:08
preyalone In Git Flow, do you bump develop's minor version (e.g., in pom.xml files) as soon as you create the release candidate? Or do you keep develop's version number the same until rc is finished and tagged?14:09
DerisiveLogic joined14:09
dEPy joined14:09
postsneakernet joined14:09
converge joined14:09
delboy1978uk joined14:10
rsmarshall left14:10
zivester left14:11
zadock joined14:11
nasso left14:12
zvz joined14:13
Tuna-Fish joined14:13
zvz Newbie question. I want to use git to maintain my dotfiles across three different systems (OpenBSD, Linux, and OSX). Most of the files' contents should be about the same, but many will have small variations. I want to keep the "same" parts of them in sync while maintaining the OS-specific differences. What's the best place in the Git documentation to start looking?14:15
pks left14:15
Eugene zvz - !configfiles14:15
gitinfo zvz: It is recommended to store local configuration data in a file which is not tracked by git, but certain deployment scenarios(such as Heroku) may require otherwise. See https://gist.github.com/1423106 for some ideas14:15
wlarip_wlarip14:16
Kicer86 joined14:16
drosophil joined14:16
oiu joined14:17
Tuna-Fish left14:17
gitinfo set mode: +v14:17
Tuna-Fish joined14:17
bsanford joined14:17
Abyx joined14:17
jceb joined14:18
Nizumzen left14:18
zematis left14:18
drfoo joined14:18
drosophil Hello. When i choose "raw" in gitweb, i get Content-Type: text/html; charset=ISO-8859-1 . How to fix charset?14:19
zvz thanks, I'll look into it14:19
drfoo left14:19
jayeshsolanki left14:19
darkbasic_ joined14:20
DerisiveLogic left14:21
Pseudocrat joined14:21
darkbasic left14:21
drfoo joined14:21
DerisiveLogic joined14:22
dEPy left14:22
elementalest joined14:22
bgerber left14:24
jolda joined14:24
Wiched joined14:25
rubyonrailed joined14:25
mahtennek left14:25
WichedGuest1645214:25
Eugene drosophil - github has been providing "raw" as that Content-Type for a while as a XSS preventative; AFAIK there's no way to change those settings as a client14:25
Best I can suggest is to obtain the repo proper, rather than getting a specific file. man git-archive or git-clone14:26
gitinfo the git-archive manpage is available at http://jk.gs/git-archive.html14:26
interrobangd left14:26
moretti left14:26
Raging_Hog joined14:26
Eugene (pretty sure github supports remote archive usage)14:26
nardev joined14:27
Jeff__ left14:27
bgerber joined14:27
refried_ joined14:27
klj joined14:28
Eugene Nope, I'm a liar. THey don't. :-(14:28
darkbasic joined14:29
darkbasic left14:29
drosophil i want to watch html file in browser so obtaining the whole repo is not an option14:29
darkbasic_ left14:29
crestbook left14:30
Seveas Eugene: there's a thirdparty thing that serves these raw files with "correct" content-type14:30
Eugene Sounds exciting14:30
highcup joined14:30
Seveas yes, if only I could remember it's name/url14:30
darkbasic joined14:30
jrajav joined14:30
Seveas ah, rawgit.com14:30
osse Seveas: about what I wanted help with earlier: the answer is "FEBO". not sure you want to hear the question :p14:30
Seveas osse: given how disgusting the answer is, no, I do not want to know the question.14:31
mkoskar left14:32
osse :D14:32
refried_ left14:32
txomon|home joined14:32
jmpp joined14:32
Adib left14:32
zackiv31 left14:32
Jeff__ joined14:33
rath left14:33
gambl0re joined14:33
yitzm version control for code stored in database: dump the relevant tables and git the resulting text file -- is this feasible?14:34
howlymowly left14:35
bannakaffalatta left14:35
RichiH yitzm: if you have re-omport sorted, why not14:35
iveqy yitzm: I'm really curious, why do you have source code in your database?14:35
RichiH not pretty, but...14:35
Seveas iveqy: stored procedures?14:36
iveqy yitzm: and it's almost feasible, the question is if you can import into your database again, and if you can solve a conflict14:36
Seveas: true, didn't thought of that one.14:36
I'm a bit surprised that noone has been able to do a good version control for databases. It's a quite hard problem14:37
Eugene They have. It's called "a database"14:37
iveqy Eugene: that does not solve the problem of having code using a specific version of the database schema14:38
howlymowly joined14:39
drfoo left14:39
PerlJam iveqy: http://sqitch.org/ (I dunno if you'd call that "good")14:39
codeFiend left14:40
synthmeat left14:41
causasui left14:41
_Vi joined14:41
weiyang left14:42
sinkensabe left14:42
wicope joined14:42
synthmeat joined14:43
livingstn joined14:43
hiptobecubic joined14:43
lpapp joined14:43
lpapp hi, what was the command again to ignore files with git? (not .gitignore)14:44
zvz left14:44
converge left14:44
lpapp because the file is supposed to be changed from time to time, but NOT by me and so I would like to completely ignore it.14:44
I know that I used to use a long command for this.14:44
but I cannot recall it.14:44
Eugene lpapp - !configfiles14:44
gitinfo lpapp: It is recommended to store local configuration data in a file which is not tracked by git, but certain deployment scenarios(such as Heroku) may require otherwise. See https://gist.github.com/1423106 for some ideas14:44
Eugene the update-index one14:45
lpapp that does not give me the command14:45
Eugene Yes it does; bother to read14:45
lpapp basically the reason why I have to ignore it because it is updated by the buildsystem14:45
otter768 joined14:45
lpapp and it is always in the way of git push and pull14:45
iveqy PerlJam: thanks14:45
Eugene That's because you shouldn't commit build products14:46
zackiv31 joined14:46
krisdavey joined14:46
iveqy PerlJam: I will look it up, I've implemented my own systems too many times now14:46
Haris left14:46
yitzm iveqy: we have code in the database, because that's how the CMS which we use is implemented. sorry.14:46
lpapp Eugene: I read that already, and I am telling you that I cannot see the command in there which I used for this.14:46
codeFiend joined14:46
Noldorin joined14:46
drfoo joined14:46
lpapp Eugene: well, my boss disagrees, but that is not even the point.14:47
Eugene lpapp - 4. Not recommended: If all of the previous suggestions won't work for some reason, look at the "assume unchanged" section in man git-update-index. Anyone who's tried this normally ends up hating it.14:47
gitinfo lpapp: the git-update-index manpage is available at http://jk.gs/git-update-index.html14:47
lpapp also, this is not a build product14:47
dEPy joined14:47
lpapp it contains the proper versioning14:47
Seveas lpapp: you want git rm build.product14:47
if the build system updates it, it's a build product :)14:47
lpapp but with a development build, it just appends some dirty version to distinguish.14:47
Eugene Reading, it's hard14:47
Padawan left14:47
lpapp so it is in the repository, but it is getting in the way, hence the ignoring.14:47
and there used to be a command for this.14:47
converge joined14:48
lpapp I loved it rather than hate, actually.14:48
Padawan joined14:48
nikio_ left14:48
lpapp since this way so awesomely removing that file from my workflow.14:48
was*14:48
ShooterMG joined14:48
elsevero left14:48
lpapp while not hurting the author's feeling about this solution.14:48
his*14:48
Cata|Work joined14:48
crestbook joined14:49
Seveas heh, that word. I don't think it means what you think it does.14:49
otter768 left14:50
lpapp there was some stack overflow page from where I just copied and pasted the command ...14:50
(and it just worked - tm)14:50
Eugene Well, if you figure out the command that isn't the command that we're telling you it is, good for you14:50
crestbook left14:50
Eugene But I don't think we care much more ;-)14:50
lpapp you may not and that is fine.14:50
perhaps others will.14:50
m0ltar left14:51
Raging_Hog left14:51
lpapp might be this one: http://stackoverflow.com/a/1077349714:51
nikio_ joined14:51
ThiefMaster if building your application updates a file that under version control i'd say something is wrong ;)14:51
iveqy lpapp: ?? that was the command Eugene told you about, yes?14:51
PCatinean left14:51
Eugene Yup, because reading is hard.14:52
But that's none of my business14:52
lpapp ThiefMaster: not a discussion for today14:52
iveqy: I have not seen the exact command that I was looking for.14:52
Seveas git outta my dreams, git into my car14:52
lpapp (yes, parameter is important as it makes it copy/pastable)14:52
Eugene <Eugene> lpapp - 4. Not recommended: If all of the previous suggestions won't work for some reason, look at the "assume unchanged" section in man git-update-index. Anyone who's tried this normally ends up hating it.14:52
gitinfo the git-update-index manpage is available at http://jk.gs/git-update-index.html14:52
Eugene Reaaaaaaaaaad14:53
lpapp why?14:53
Jeff__ how do i clone from a git server (not github)?14:53
ChanServ set mode: +o14:53
lpapp copy/paste is simpler and it just works14:53
lpapp left14:53
Seveas Jeff__: git clone url-of-repo-here14:53
Eugene set mode: +q14:53
iveqy :( Why does it even make me upset? Just copy paste without knowing what something does is just bad14:53
Jeff__ git clone ssh://username@repo.ip.add.ress/thing.git?14:54
Seveas iveqy: because you still have faith in humanity14:54
Eugene Sigh, some people14:54
Seveas Jeff__: /path/to/thing.git, but essentially yeah14:54
rzeka joined14:54
Bootinbull joined14:54
Eugene changed the topic to: Welcome to #git, the place for git help and amateur arborists | Current stable version: 2.4.2 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | Nurture your git-twigs and they will grow into a full branch14:54
iveqy Seveas: true... Maybe I should loose faith, or fix humanity. Let's see which comes first14:54
Eugene kicked Eugene (I WANT TO KILL SOMETHING)14:54
Eugene joined14:54
rzeka left14:54
Spriz left14:55
northfurr left14:56
Seveas branch by branch, row by row, gonna make this repo grow. All it takes is to clone a remote and a few hopeful commits.14:57
(bonus point for those who recognize the mangled song)14:57
vivekananda left14:58
Jeff__ is it `git clone ssh://username@10.101.10.10/project`, or `git clone ssh://username@10.101.10.10/project.git`14:58
because neither work14:58
says "Please make sure you have the correct access rights and the repo exists"14:58
d10n-work joined14:59
Seveas Jeff__: where on the filesystem is the repo?14:59
Jeff__ on a server14:59
Seveas where on the filesystem of that server14:59
jast that URL assumes the repo lives at the root level on the server15:00
wlarip_ joined15:00
jast ... unless there is special magic on the server to magically fix the URL15:00
roelmonnens left15:00
Jeff__ ahh15:01
needed vpn15:01
i think should work now15:01
ambodi left15:01
sublimate left15:02
djszapi joined15:02
sublimate joined15:02
Spacew00t left15:02
ambodi joined15:02
darkbasic left15:02
darkbasic joined15:03
jast lpapp may have been talking about sparse checkouts...15:03
acolson left15:03
jast needs multiple commands to set up that way, though15:03
gua_ould left15:03
wlarip left15:04
djszapi left15:05
stantonk joined15:05
ambodi left15:07
jagob left15:07
PaulePan1erPaulePanter15:08
Seveas lpapp is now pm'ing me as 'djszapi', asking which word I meant :)15:09
jagob joined15:09
converge left15:12
fe771n joined15:12
ki0_ joined15:13
converge joined15:13
fe771n left15:14
cbreak-work left15:14
redmoss joined15:14
redmoss Heyo, I want to cherry-pick a commit from another branch onto mine. The commit has changes in different files that won't conflict, accept for one file where it will. Can I allow the cherry-pick to accept my version where there's conflicts?15:14
thiago Seveas: he uses those two nicknames15:14
Spacew00t joined15:14
ParanoidNemo joined15:15
subhojit777 joined15:15
pabens left15:15
Seveas thiago: for some reason he thought I'd be more approving of his crazy ideas in PM. Well, he's wiser now.15:15
jceb left15:15
howitdo left15:15
Sceorem left15:16
tyreld joined15:16
bronson joined15:16
thiago Seveas: I once had laszlo on /ignore for a year15:16
ki0 left15:16
ki0_ left15:17
Seveas I don't /ignore, why miss out on the fun? :)15:17
bremner this word fun. I do not think it means what you think it means.15:18
Seveas :D15:18
My name is Inigo Montoya, you reverted my commits, prepare to die.15:18
thiago :-)15:19
loremipson joined15:20
Seveas It's been too long since I saw that movie15:20
This requires an urgent fix.15:20
Ionic hasta la rebase, baby?15:20
nardev left15:20
BlaXpirit-UA left15:20
Seveas Mrs. Robinson, you're trying to merge, aren't you?15:21
bronson left15:21
howitdo joined15:21
joo-_ left15:23
nnyk_ joined15:23
ntwari left15:24
pheaver joined15:25
ashokrajar joined15:25
moreirapontocom left15:25
moreirapontocom joined15:26
TheMoonMaster joined15:26
dreiss left15:27
kpease joined15:27
jceb joined15:28
Darcidride_ left15:28
dsdeiz left15:29
pks joined15:30
anahumar how to search for project with this critiria .... 5 or more projects with more than 10 common developers and in a period of 6 to 12 months?15:30
pheaver left15:30
shinnya joined15:30
_ikke_ I guess this is a #github question?15:30
PerlJam anahumar: I'm thinking you want #github15:31
paulweb515 joined15:31
dreiss joined15:32
kpease left15:32
kpease joined15:33
kpease left15:33
Padawan left15:33
Padawan_ joined15:33
kpease joined15:33
redmoss left15:34
kpease left15:35
zematis joined15:35
chrisgeorge joined15:35
paulweb515 left15:35
Gizburdt left15:36
qpdb left15:37
qpdb_ joined15:37
dj3000 joined15:39
variable joined15:40
Dougie187 joined15:40
ashokrajar left15:41
dfaught joined15:41
ashokrajar joined15:41
Balliad left15:43
Takle left15:43
heroux left15:44
fancy42 left15:45
Jeff__ left15:45
achadwick left15:45
effi joined15:45
ParanoidNemo left15:46
achadwick joined15:46
MattMaker joined15:46
Dragooon joined15:47
ehmatthes left15:47
kpease joined15:47
lindenle joined15:48
joki left15:48
FreezingCold left15:49
dfaught left15:49
dfaught joined15:50
gamename joined15:50
paulweb515 joined15:51
Takle joined15:51
zotez joined15:51
DerisiveLogic left15:51
MattMaker left15:51
zumba_addict joined15:54
DerisiveLogic joined15:54
joki joined15:54
effi left15:54
Sonarpulse left15:54
_Atom_ joined15:55
zack_s_ left15:55
jayeshsolanki joined15:55
zotez left15:56
cbruegge left15:56
ril joined15:56
FreezingCold joined15:57
b_rare left15:57
gfixler1 left15:58
jnavila left15:58
o84wb76g joined15:58
wlarip joined16:00
ErKa joined16:00
Spacew00t left16:01
c0mrad3 joined16:02
o84wb76g left16:02
dfaught left16:03
MinetestForFun joined16:03
m0ltar joined16:03
dfaught joined16:03
effi joined16:03
wlarip_ left16:04
zendrix joined16:04
sublimate left16:05
eVRiAL joined16:05
GPrime left16:05
KennyRay_ left16:05
dEPy left16:05
soc42 left16:06
BSaboia joined16:07
Spacew00t joined16:07
variable left16:07
PRIM4T left16:09
maestrojed joined16:09
Squarism joined16:10
KennyRayFL joined16:10
a-l-e joined16:10
Squarism Hey.. how do i revert one commit that ive pushed? Its ok if its a "reversal commmit"16:11
zadock left16:11
Squarism noone else have committed during this time16:11
akushner joined16:11
Asiajey left16:11
_ikke_ git revert $commit16:12
That creates the 'reversal' commit16:12
Asiajey joined16:12
thiago left16:12
imachuchu joined16:12
dreiss left16:13
charginghawk left16:13
ki0 joined16:13
darkbasic_ joined16:14
Squarism _ikke_, where "$commit" is the id?16:14
effi left16:14
darkbasic left16:15
Alienpruts left16:15
KennyRayFL left16:15
_ikke_ yes16:15
yitzm left16:15
effi joined16:16
dstarh left16:18
ki0 left16:18
Bruno_ joined16:18
ajf- left16:18
zematis left16:20
garbageyard joined16:20
darkbasic_ left16:20
converge left16:20
darkbasic joined16:20
hans_s left16:21
BSaboia left16:21
sbogg joined16:22
effi left16:22
garbageyard left16:22
gopar joined16:22
Vadimus joined16:23
Sasazuka joined16:23
Mixologic left16:24
meLon left16:25
akushner left16:26
crose joined16:27
bonswouar left16:27
bonswouar joined16:27
bonswouar left16:28
freimatz left16:28
tumulte left16:29
effi joined16:31
ehynds joined16:32
Trow joined16:32
forsil joined16:32
zematis joined16:32
converge joined16:33
converge left16:33
converge joined16:33
converge left16:33
kadoban joined16:33
converge joined16:33
mikecmpbll left16:35
codeFiend left16:35
charginghawk joined16:35
petersr joined16:36
dstarh joined16:36
pcypher joined16:37
petersr left16:37
EminenceHC left16:38
dfaught left16:38
katherin_ joined16:38
dfaught joined16:39
gitinfo set mode: +v16:39
lab_ hi, I am running "git log --graph --simplify-by-decoration -prety"..." branche_1 branch_2; would also like to give commit (which is not the head of a branch) and get the graph plus that commit. Is there a way to do it? simplify-by-decoration seems to make it impossible althoug the doc says otherwise.16:40
jceb left16:41
cvanball joined16:41
KennyRayFL joined16:41
achadwick left16:41
vivekananda joined16:42
dfaught left16:42
delboy1978uk left16:42
dfaught joined16:43
_ikke_ lab_: You mean this part: " Note that extra commits can be shown to give a meaningful history."16:43
?16:43
victortyau joined16:43
Hounddog left16:43
PRIM4T joined16:44
angular_mike_ joined16:44
stantonk left16:44
James_Epp joined16:44
lab_ _ikke_: yes, I understand that it means "automatically selected" to show a meaningful graph but is there also a way to adda commit16:44
victortyau left16:45
TomyWork left16:45
scientes joined16:45
scientes left16:45
scientes joined16:45
James_Epp Super new to git. Super confused, too! I have a folder I did my initial commit with. I modified some files and decided I don't want the changes. I do 'git checkout -- *; git status;' and it shows two modified directories. Why?16:45
_ikke_ lab_: Don't think so16:45
sublimate joined16:46
_ikke_ James_Epp: In what directory were you when you did that?16:46
scientes left16:46
lab_ _ikke_: any way to do it with plumbing?16:46
otter768 joined16:46
forsil left16:46
scientes joined16:46
MattMaker joined16:46
scientes left16:47
jayeshsolanki left16:47
granthatcher_ left16:47
haliax joined16:47
scientes joined16:47
_ikke_ I can't think of something that also shows the graph16:48
stantonk joined16:48
lab_ OK, thanks, I'll write some perl to do that16:48
effi left16:49
qsuscs Seveas: you fight like a dairy farmer16:49
reim joined16:49
otter768 left16:51
C3LL joined16:52
C3LL left16:52
James_Epp _ikke_: same folder as .git16:52
_ikke_: Does that matter? Why?16:52
skylite joined16:52
legumbre_legumbre16:52
ntwari joined16:53
akiva joined16:53
ril left16:53
Squarism left16:53
zendrix left16:54
_ikke_ It does matter, because your shell expands the *, if you were in a subdir, it would only checkout the files / dirs in the subdir16:55
encod3 left16:55
ItSANgo joined16:55
_ikke_ James_Epp: What does git status return?16:55
marc_v92 joined16:56
ItSANgo_ left16:56
ntwari left16:56
Roy78 left16:56
pheaver joined16:56
sublimate left16:56
effi joined16:57
mezod left16:58
mjuszczak joined16:58
lab_ left16:58
James_Epp _ikke_: I'm on a crappy windows system so my term doesn't have copy paste. "modified: undionly.dsk (modified content)" and "modified: undionly,kpxe (modified content)" THanks for the help!16:59
_ikke_: Where undionly.dsk and undionly.kpxe and directories16:59
_ikke_ James_Epp: Those are submodules17:00
James_Epp I apologize?17:00
_ikke_ James_Epp: git repositories within your repository17:00
wlarip_ joined17:00
James_Epp _ikke_: you're probably right about that. this is a super old directory I'm trying to clean up and practice git with.17:00
zendrix joined17:01
CustosL1men left17:01
Takle left17:01
James_Epp _ikke_: Yup, they each have .git folders. So how do I deal with (recursive??) git reps?17:01
m0viefreak joined17:01
haliax left17:02
thiago joined17:02
skullcrasher left17:03
James_Epp You know what, forget it. I'm just going to delete everything and move on with my life.17:03
wlarip left17:04
BennyPlayboy joined17:04
BennyPlayboy left17:05
howlymowly left17:05
TyrfingMjolnir left17:05
drbean left17:05
drbean_ joined17:05
crose left17:06
BennyPlayboy joined17:06
TyrfingMjolnir joined17:06
Padawan_ left17:07
nnyk_ left17:07
Tuna-Fish left17:07
shinnya left17:07
BennyPlayboy left17:08
eletuchy joined17:08
BennyPlayboy joined17:08
BennyPlayboy left17:08
scientes left17:09
sublimate joined17:09
intellix left17:09
Dorf left17:10
jceb joined17:10
settermjd left17:11
durham joined17:11
FreezingCold left17:11
Vaur 19:01:12 James_Epp | _ikke_: Yup, they each have .git folders. So how do I deal with (recursive??) git reps?17:12
that's actually a good question17:12
qsuscs Vaur: !subrepos17:12
gitinfo Vaur: [!subprojects] So, you want to add git repositories inside of other git repositories? Well, you have four main options. First is to just do it, add the repo to the outer project's .gitignore, and treat them entirely separately. Best if they are entirely separate. Otherwise your best options are "!submodule", "!gitslave", and "!subtree". Try those commands in this channel, or in a PM to avoid flooding.17:12
James_Epp Vaur: Googling "subrepos" and "git" would have gotten me all I needed.17:12
Vaur I've messed around with them but never properly setup one17:12
kurkale6ka left17:13
Vampire0_Vampire017:13
Vaur yeah I know how to search on google dont worry :p17:13
cavallari joined17:14
James_Epp I wasn't referring to you, just that I didn't want to go through that much work for that old a project :D17:14
ki0 joined17:14
Vaur James_Epp: that's precisly because it's old that you should care for it, no ?17:14
that would be some nice skills to have17:15
sublimate left17:15
Vaur "how to properly manage multi git project over the years"17:15
_Atom_ left17:15
James_Epp Vaur: No. It's literally an outdated git-hosted project and one file I made long ago which is saved elsewhere and easily googled.17:15
BennyPlayboy joined17:15
Vaur James_Epp: pull your update repository into the old one ! :p17:16
fr33domlover joined17:16
BennyPlayboy left17:16
Padawan_ joined17:16
BennyPlayboy joined17:16
axl_ joined17:17
BennyPlayboy left17:17
_ikke_ James_Epp: Those submodules have changed content17:17
BennyPlayboy joined17:17
_ikke_ you have to go in each submodule and decide what to do there17:17
greggynapalm left17:17
ki0 left17:20
ashirus joined17:20
Tuna-Fish joined17:20
scottschecter left17:20
pcypher left17:20
michael_mbp left17:22
codeFiend joined17:22
HSaka joined17:23
tobyx left17:23
HSaka Hello, I made a release version of my git prosject and I´m going to submit it to my teacher. I noticed there is a hige difference between the size of the files. The one I got from release is 27KB, while the only who I still use for coding is 27MB. Did I do something wrong ?17:24
mkoskar joined17:24
michael_mbp joined17:25
effi left17:25
shabazy left17:25
elik I want to autocommit a file on a regular basis (autosave -> autocommit), but I don't want to pollute my master branch with all those commit. I wanted to commit on a separate branch, but there is no way of doing so without checking out the branch, which opens a world of troubles17:25
marcogmonteiro left17:26
sfeinste left17:26
qsuscs elik: exactly. don’t do this.17:26
shabazy joined17:27
zematis left17:27
tobyx joined17:28
ItSANgo_ joined17:28
ItSANgo left17:28
modocache left17:29
elik qsuscs: it sounded like a better solution than having a script targz the whole thing every so often17:29
dougsland left17:29
modocache joined17:29
Lisk joined17:29
qsuscs elik: if you want not to lose that file, you could add it to git’s storage with man git hash-object17:29
gitinfo elik: the git-hash-object manpage is available at http://jk.gs/git-hash-object.html17:29
Lisk Is there an easy way to setup git to ignore any file larger than, say, 1 MB (?)17:29
modocache left17:30
_ikke_ Lisk: Only with things like pre-commit hooks, there is ignore interface that looks at file size17:30
Lisk: There is a topic on the mailing list about that17:31
mjuszczak left17:31
Lisk cool, thanks _ikke_. I haven't used hooks before, but I'll look into it.17:31
meLon joined17:32
crose joined17:33
rishi joined17:33
nightspades joined17:34
modocache joined17:34
crose left17:34
tvw left17:35
snow_ru left17:35
snow_ru joined17:35
effi joined17:36
cvanball left17:36
crose joined17:37
zotez joined17:37
anahumar left17:37
bannakaffalatta joined17:37
HSaka Hello, I made a release version of my git prosject and I´m going to submit it to my teacher. I noticed there is a hige difference between the size of the files. The one I got from release is 27KB, while the only who I still use for coding is 27MB. Did I do something wrong ? Anyone : ) ?17:38
madewokherd joined17:38
Gizburdt joined17:38
moreirapontocom left17:39
mtakkman joined17:39
pcypher joined17:39
elik qsuscs: the thing is, it's not just a file I want to save. I want to track a files' history, through incremental edits. This file changes rapidly, and a small mistake can mess up the file and go unnoticed for a while. I was hoping to be able to catch the misstep and be able to solve it with git tools (revert, rebase, etc)17:39
moreirapontocom joined17:40
snow_ru left17:40
jonmorehouse joined17:40
elik qsuscs: as far as I can see, git-hash-object only hashes the file, without recording any metadata17:40
snow_ru joined17:40
AMERICAN_PSYCHO left17:40
zematis joined17:41
teran_ left17:42
zotez left17:42
m8 joined17:42
drfoo left17:43
nour_ joined17:45
cavallari Did anyone already created a git server on koding?17:45
koding.com?17:45
Sammy8806 left17:46
bremner HSaka: what do you mean by a "release version"? a zip/tar file?17:47
HSaka bremner, yes i mean zip/tar file17:47
bremner HSaka: so look at the contents, and see what large files are there?17:48
rubyonrailed left17:48
HSaka okey.17:49
nightspades left17:50
sdothum joined17:50
snow_ru left17:50
snow_ru joined17:51
snow_ru left17:51
jonmorehouse left17:52
snow_ru joined17:52
relipse joined17:52
encod3 joined17:52
mikecmpbll joined17:52
encod3 left17:53
asti joined17:54
asti hello. I renamed my branch. When I do git status, it tell me:17:54
Local: new-name17:54
Remote: old-name17:55
now, if I push my commits, what will happen? will the new or the old branch be used?17:55
ojacobson depends on how you spell 'git push', really17:55
bronson joined17:56
Dorf joined17:56
asti ojacobson, "git push origin new-name"17:56
ojacobson that will copy your local 'new-name' branch to origin's 'new-name' branch17:56
asti so everything will look fine?17:57
effi left17:58
ThomasLocke left17:59
fnam joined17:59
effi joined17:59
baweaver joined17:59
joo-_ joined17:59
jrajav left18:00
wlarip joined18:00
fnam left18:01
baweaver left18:01
POQDavid joined18:02
jrajav joined18:02
Aja joined18:03
wlarip_ left18:04
cagedwisdom joined18:04
mtakkman left18:05
POQDavid Hi18:05
gitinfo POQDavid: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.18:05
POQDavid i was wondering how clone or fork a remote git to github?18:06
NoImNotNineVolt joined18:07
mostlybadfly left18:08
NoImNotNineVolt "Already up-to-date" when trying to merge a feature branch into the development branch, despite git diff agreeing that there are extensive changes between the two branches.18:08
mostlybadfly joined18:09
jason237 left18:09
NoImNotNineVolt both branches have all changes committed and pushed.18:09
Aja left18:09
dougsland joined18:09
ojacobson 'feature' is an ancestor of 'development' already18:10
the "extensive differences" in that scenario would be all of the changes on development subsequent to feature's emrge18:10
merge18:10
cebor left18:11
cebor joined18:11
ubpo joined18:11
NoImNotNineVolt but many commits have been made to feature. i'm looking at development and those changes are not there.18:11
ubpo left18:12
POQDavid like i have git url that it's not on github and i want to make fork or clone of it in github how it's done?18:12
subhojit777 left18:12
Zupoman joined18:13
Zupoman left18:13
Zupoman joined18:13
Odxe joined18:13
salamanderrake_ left18:13
NoImNotNineVolt indeed, this feature was previously merged into development 3 weeks ago, before any significant changes were made. the bulk of the changes have been made in the past week.18:14
is there a way to merge it again? :P18:14
salamanderrake joined18:15
zendrix left18:15
mjuszczak joined18:15
drfoo joined18:15
drfoo left18:16
NoImNotNineVolt actually no, that's not true. that was a different branch. disregard.18:16
codeFiend left18:21
shinnya joined18:21
chrisgeo joined18:21
GarethAdams joined18:21
flipp joined18:22
effi left18:23
nnyk_ joined18:23
NoImNotNineVolt this is basic gitflow. i've never run across this problem before.18:23
snow_ru left18:24
rubyonrailed joined18:24
NoImNotNineVolt i'm really, really hoping i won't have to manually "merge" into development, by hand, by cloning both branches and then copying changes from one to the other.18:24
chrisgeorge left18:25
cdown left18:25
NoImNotNineVolt because even cvs never made me do that :|18:26
relipse left18:26
bronson left18:26
sentriz joined18:26
Hestil joined18:26
bronson joined18:27
leolrrj left18:28
modocache left18:29
lpapp joined18:29
lpapp left18:29
guest8574 joined18:30
effi joined18:31
codeFiend joined18:31
cfgmgr joined18:31
NoImNotNineVolt yaaay, just cloned a new dev branch and played with that til it worked. thanks.18:31
NoImNotNineVolt left18:31
nnyk_ left18:32
gitinfo set mode: +v18:32
guest8574 I have this 4 terabyte Seagate NAS. Is there a way for me to set up a git server on it, or does that require an OS?18:32
jds joined18:32
grepper left18:32
Padawan joined18:34
baweaver joined18:34
Padawan_ left18:35
endiruna left18:35
Odxe left18:36
basiclaser joined18:36
gjlpu joined18:38
chitopunk left18:39
baweaver left18:40
gjlpu left18:40
cavallari Did anyone already created a bare git in koding.com?18:41
Muhannad left18:41
mjuszczak left18:43
jojovem joined18:43
drewo joined18:44
EminenceHC joined18:45
mizu_no_oto left18:46
DrNick left18:46
otter768 joined18:47
Guest42642Freeaqingme18:47
Abyx left18:47
Abyx joined18:48
fqhh joined18:48
zendrix joined18:48
Hestil left18:48
howitdo left18:49
pcypher left18:51
otter768 left18:52
osse guest8574: does it have an SSH or a HTTP server?18:53
DrNick joined18:53
woodruffw left18:53
Mo left18:53
woodruffw joined18:53
akushner joined18:54
effi left18:55
bob14 joined18:55
jost__ joined18:55
modocache joined18:56
pm90_ left18:57
bendangelo joined18:58
jost left18:59
jrajav left19:00
wlarip_ joined19:00
cvanball joined19:00
_Vi left19:00
guest8574 left19:01
effi joined19:01
hans_s joined19:02
cavallar1 joined19:02
joel_falcou joined19:03
endiruna joined19:04
woodruffw left19:04
wlarip left19:04
fqhh left19:04
Balliad joined19:05
woodruffw joined19:05
converge left19:05
howitdo joined19:05
Cata|Work left19:07
elsevero joined19:07
jceb left19:09
DerisiveLogic left19:09
effi left19:09
ievi joined19:09
stantonk left19:10
bb010g left19:10
effi joined19:10
stantonk joined19:10
chrisgeorge joined19:10
endiruna left19:11
Jeff__ joined19:11
endiruna joined19:11
rockfruit joined19:11
Cata|Work joined19:12
chrisgeorge left19:12
converge joined19:12
ashokraj_ joined19:13
chrisgeo left19:13
ashokrajar left19:15
paulweb515 left19:16
zematis left19:17
jason237 joined19:17
nphard_ joined19:18
nphard_ left19:18
jolda left19:18
xXx_GAY_POO_xXx joined19:18
jolda joined19:19
cvanball left19:19
greggynapalm joined19:20
rockfruit left19:20
sq-one joined19:22
ashokrajar joined19:22
ievi left19:23
hit_ left19:23
PragCypher joined19:23
comps_comps19:23
ome left19:23
nphard_ joined19:23
stantonk left19:24
bendangelo left19:24
cfgmgr left19:24
c0mrad3 left19:24
ashokraj_ left19:25
c0mrad3 joined19:25
effi left19:26
mezod joined19:26
nphard_ left19:26
ashokraj_ joined19:26
xXx_GAY_POO_xXx left19:27
nphard_ joined19:27
Gizburdt left19:28
Trow left19:29
ashokrajar left19:29
ashokrajar joined19:30
pm90_ joined19:30
Trow joined19:30
pm90_ left19:30
zematis joined19:30
pm90_ joined19:30
stantonk joined19:31
Trow left19:31
Trow joined19:31
cavallar1 left19:31
Trow left19:32
ashokraj_ left19:32
variable joined19:32
Trow joined19:32
cvanball joined19:33
snow_ru joined19:33
moreirapontocom left19:33
Trow left19:33
moreirapontocom joined19:34
Trow joined19:34
c0mrad3 do we have the logs of this channel some where ??19:34
POQDavid left19:34
Trow left19:35
Trow joined19:35
joel_falcou left19:35
pcypher joined19:35
mizu_no_oto joined19:36
Spacew00t left19:36
Trow left19:36
Ademan left19:36
Trow joined19:37
darkbasic_ joined19:37
Trow left19:37
effi joined19:38
MinetestForFun left19:38
MinetestForFun joined19:38
darkbasic left19:39
Trow joined19:39
relipse joined19:39
Gues_____ joined19:41
zendrix left19:41
Gues_____ left19:42
xbj joined19:42
symetric joined19:43
gregsmit_ joined19:43
eletuchy left19:43
gregsmit_ left19:43
eletuchy joined19:43
elsevero left19:44
gregsmit_ joined19:44
baweaver joined19:44
bb010g joined19:47
gitinfo set mode: +v19:47
cssko joined19:47
wlarip_wlarip19:47
nnyk_ joined19:47
nphard_ left19:47
jwhisnant left19:47
hacker joined19:47
pcypher left19:48
grepper joined19:49
relipse2 joined19:49
Gizburdt joined19:50
pm90_ left19:50
zarubin joined19:50
effi left19:53
relipse left19:53
chitopunk joined19:53
ixjlyons joined19:53
boombatower joined19:54
marc_v92 left19:55
ssarah left19:55
daito_ joined19:56
chitopunk left19:56
pcypher joined19:56
chitopunk joined19:56
Textmode joined19:57
stantonk left19:57
stantonk joined19:59
mfmfmfmfmfmf joined19:59
wlarip_ joined20:00
nour_ left20:00
daito_ left20:00
jeffmjack joined20:00
ixjlyons left20:00
systmkor joined20:01
zendrix joined20:01
elsevero joined20:04
wlarip left20:04
effi joined20:05
loremipson left20:05
hahuang65 joined20:06
ixjlyons joined20:07
nphard joined20:08
dreiss joined20:08
refried_ joined20:09
gregsmit_ left20:10
Spacew00t joined20:11
paulweb515 joined20:11
woodruffw left20:12
moretti joined20:13
stantonk left20:13
_Atom_ joined20:14
nnyk joined20:14
nnyk_ left20:15
moretti left20:15
Sieigeie joined20:15
_Atom_ left20:15
moretti joined20:15
stantonk joined20:15
skylite left20:16
bob14 left20:16
[Brain]Brain20:16
Dougie187 left20:16
BrainBrain_20:17
Brain_DesktopBrain20:17
xbj left20:17
in3xes left20:17
chandlerbing joined20:17
nphard left20:18
krisdavey left20:20
jceb joined20:20
qsuscs c0mrad3: !logs20:21
gitinfo c0mrad3: [!irclog] Public logs of #git are kept at: http://colabti.org/irclogger/irclogger_log/git or look at stats for the last 30 days: http://itvends.com/irc/git.html or since Jan 1, 2012: http://itvends.com/irc/git-all.html20:21
Jeff__ left20:21
zarubin left20:21
gambl0re left20:21
c0mrad3 thanks for the info qsuscs20:22
lab_ joined20:23
converge left20:24
Sieigeie left20:24
akiva left20:24
Efnp joined20:26
MinetestForFun left20:26
Kicer86 left20:26
Asiajey left20:26
zendrix left20:27
darkbasic_ left20:27
converge joined20:28
zendrix joined20:28
eletuchy_ joined20:28
ahr3n joined20:28
effi left20:28
darkbasic joined20:29
eletuchy_ left20:29
nphard joined20:29
eletuchy left20:29
eletuchy_ joined20:29
ashokrajar left20:29
ashokrajar joined20:30
bannakaffalatta left20:30
liamkeily joined20:31
stantonk left20:31
bob14 joined20:31
foul_owl left20:31
jceb left20:32
Pyrogerg joined20:32
nphard left20:32
pheaver left20:32
effi joined20:33
jgornick joined20:33
nphard joined20:33
ixjlyons left20:33
Pyrogerg left20:33
ozymandias joined20:33
heroux joined20:34
Pyrogerg joined20:34
bendangelo joined20:34
m8 left20:34
dustinm joined20:34
nightspades joined20:34
nphard left20:35
_Vi joined20:35
chitopunk left20:36
chitopunk joined20:36
eka joined20:37
zotez joined20:37
nphard joined20:38
edux left20:38
cvanball left20:38
zack6849 joined20:38
zack6849 left20:38
zack6849 joined20:38
baweaver left20:38
edux joined20:38
ki0 joined20:38
Efnp left20:38
woodruffw joined20:39
denete left20:39
Cata|Work left20:39
elsevero left20:39
denete joined20:39
eka left20:39
sq-one left20:40
linuxboytoo joined20:40
nphard left20:40
eka joined20:41
moreirapontocom left20:41
VaurVaur-20:41
neanderslob joined20:42
baweaver joined20:42
edux left20:43
heroux left20:43
zotez left20:43
PRIM4T left20:43
greggynapalm left20:44
scientes joined20:44
greggynapalm joined20:44
scientes left20:44
nphard joined20:45
delight joined20:45
scientes joined20:45
scientes left20:45
scientes joined20:45
pheaver joined20:45
endiruna left20:46
eka left20:48
effi left20:48
Bruno_ left20:48
eka joined20:49
pcypher left20:50
SylvieLorxu joined20:50
mixedCase joined20:50
loremipson joined20:50
SylvieLorxu I've made a first commit, but my author information was set wrong. Is there a way to undo it? I'd normally "git reset HEAD^", make a good commit, and force push, but I can't "git reset HEAD^" after the first commit, it seems20:50
heroux joined20:50
Seveas git commit --amend --reset-author20:51
ixjlyons joined20:51
edux joined20:51
loremipson left20:51
SylvieLorxu Seveas, Thank you!20:52
Dougie187 joined20:52
gamename left20:53
converge left20:53
gamename joined20:53
baweaver left20:54
pheaver left20:55
ki0 left20:55
ehynds left20:56
Vadimus left20:57
Scriptonaut left20:58
effi joined20:58
James_Epp left20:59
gamename left20:59
greggynapalm left20:59
rubyonrailed left20:59
greggynapalm joined21:00
wlarip joined21:00
cavallari left21:00
liamkeily left21:01
Texan left21:01
gambl0re joined21:01
ashokraj_ joined21:03
wlarip_ left21:03
pcypher joined21:04
sgambino left21:04
juvenal left21:05
tom[] left21:05
pheaver joined21:05
eletuchy_ left21:06
ashokrajar left21:06
CheckDavid joined21:07
jmpp left21:07
Eepe joined21:07
Gizburdt left21:07
endiruna joined21:08
hans_s left21:08
nphard left21:09
mixedCase left21:10
scientes left21:10
LaptopBrain joined21:11
hardenedapple left21:12
dsdeiz joined21:12
tristanp left21:12
Cyclohexane left21:13
converge joined21:13
hit_ joined21:15
dsantiago left21:16
peraloh joined21:16
satanist joined21:17
hahuang65 left21:17
juvenal joined21:18
dsantiago joined21:18
pm90_ joined21:18
dsantiago left21:18
zematis left21:18
jojovem left21:18
rubyonrailed joined21:19
pm90_ left21:20
zematis joined21:20
pm90_ joined21:20
wicope left21:21
ShooterMG left21:22
peraloh left21:22
pcypher left21:23
liamkeily joined21:23
baweaver joined21:26
Spacew00t left21:26
TyrfingMjolnir left21:26
edux left21:27
TyrfingMjolnir joined21:27
cbonobo left21:27
dstarh left21:28
juvenal_ joined21:28
gitinfo set mode: +v21:29
effi left21:30
satanist is there a way to disable the accept-language support?21:30
rnsanchez left21:31
peraloh joined21:31
juvenal left21:31
modocache left21:32
dfaught left21:32
baweaver left21:33
danielgadd joined21:33
tpollard joined21:34
chuchunaku joined21:34
snow_ru left21:34
converge I have this system, today the version 2 will be ready, should I reade a new branch for it ? how do you use to use branchs?21:36
pcypher joined21:36
bob14 left21:36
Guest26 joined21:36
thiago left21:36
converge *create21:36
denete left21:37
greggynapalm left21:37
mostlybadfly left21:38
mfmfmfmfmfmf left21:38
th3fallen left21:40
klj left21:41
a-l-e left21:41
stantonk joined21:41
jason237 left21:42
staafl left21:42
charginghawk left21:43
effi joined21:43
peraloh left21:44
peraloh joined21:44
cdown joined21:44
Guest26 left21:44
beckyconning_ left21:44
Guest26 joined21:44
staafl joined21:44
zumba_addict left21:44
freestyl3r left21:45
pcypher_ joined21:45
juvenal_ left21:46
osse converge: you should mark it with a tag21:46
you create/delete tags and branches with git tag and git branch21:47
juvenal joined21:47
qsuscs if you plan to release maintenance versions (like a 2.0.1 while continuing with 2.1.x series), you could create e.g. a maint-2.0 branch21:47
Ncau joined21:48
pcypher left21:48
tylerfisher joined21:48
Guest26 left21:48
bgerber left21:48
mezod left21:48
tylerfisher left21:49
stantonk left21:49
gopar left21:50
converge osse, qsuscs: the tag thing is pretty cool21:50
Ncau left21:50
rivarun left21:51
lilbaby joined21:51
Takle joined21:51
Eepe left21:51
rivarun joined21:51
bgerber joined21:52
qupt joined21:53
gsingh93 joined21:53
IrishPrime left21:53
zotez joined21:53
symetric left21:53
aretecode joined21:53
qupt left21:54
snow_ru joined21:54
hit_ left21:55
livingstn left21:55
whphhg joined21:56
zematis left21:56
nilg left21:56
TyrfingMjolnir_ joined21:56
daito_ joined21:57
effi left21:57
dfaught joined21:57
TyrfingMjolnir left21:57
TyrfingMjolnir_TyrfingMjolnir21:57
Uxo joined21:57
s8321414 joined21:58
zotez left21:58
asti left21:58
Balliad left21:59
chuchunaku left21:59
nickniko_ joined22:00
wlarip_ joined22:00
beckyconning_ joined22:00
daito_ left22:01
nicknikolov left22:02
cavallari joined22:04
wlarip left22:04
Uxo left22:06
eletuchy joined22:06
axl_ left22:06
sparetire_ joined22:07
whphhg left22:08
Ijjx joined22:09
raymond left22:09
zematis joined22:09
satanist left22:10
jolda left22:10
effi joined22:10
zumba_addict joined22:11
raymond joined22:11
eletuchy left22:11
Ijjx left22:12
bannakaffalatta joined22:13
lilbaby left22:13
satanist joined22:15
sentriz left22:15
zumba_addict left22:16
ncd|leeN left22:16
raymond left22:16
zumba_addict joined22:16
chuchunaku joined22:17
Uualj joined22:17
effi left22:17
cavallari How can I deploy my website using git??22:18
qsuscs !deploy22:18
gitinfo Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html22:18
tinanoo joined22:18
cavallari I´ve created a bare on my server22:18
baweaver joined22:19
cavallari then created a hook22:19
but seems that hook is not working22:19
qsuscs ´ is _not_ the right character at that place. do I’ve or I've, but NEVER do I´ve.22:19
zsoc left22:20
mostlybadfly joined22:20
HSaka left22:20
cavallari qsuscs: are you a bot?22:20
qsuscs cavallari: only on mondays22:20
cavallari lol hahaha22:20
can you help me with git deploy?22:21
satanist have you set the x-flag to the hook?22:21
zumba_ad_ joined22:21
zumba_addict left22:22
cavallari yes22:22
dsdeiz left22:22
northfurr joined22:22
zematis left22:22
hahuang65 joined22:23
cavallari chmod +X hook/post-receive ??22:23
txomon|home left22:23
LBV_User left22:23
chuchunaku left22:24
peraloh left22:24
satanist chmod +x hook/post-receive22:25
duderonomy left22:26
cavallari yes, whhat I i did22:26
zackiv31 left22:26
cavallari chmod +x hook/post-receive22:27
satanist have you used X or x?22:27
edux joined22:27
satanist +X only adds execute-bit if anyone have executebit set22:28
echo-area left22:28
effi joined22:28
crose left22:28
cavallari Used x, lowercase22:29
but now I got it working22:29
Zupoman left22:29
rendar left22:29
zumba_ad_ left22:30
dfaught left22:30
katherin_ left22:31
zumba_addict joined22:32
edux left22:32
modocache joined22:33
kpease left22:33
thiago joined22:33
Gama11 left22:34
gopar joined22:35
nickniko_ left22:36
cavallari dont know what it happened but it worked now22:36
SylvieLorxu left22:37
xckpd7 left22:37
madewokherd left22:37
modocache left22:37
joo-_ left22:37
Dorf left22:38
Abyx left22:38
tomzx joined22:38
Scriptonaut joined22:38
anahumar joined22:38
xckpd7 joined22:38
anahumar I forgot the command which generates a unique list of repo authors22:39
git log -p22:39
git shortlog -p22:39
both aren't working22:39
rubyonrailed left22:39
Noldorin left22:40
Pyrogerg left22:40
Gitzilla joined22:40
Pyrogerg joined22:40
grawity git shortlog -s [-e]22:40
anahumar git shortlog -s22:42
not really22:42
WaReZ joined22:42
Scriptonaut Hey guys, I somehow made a mess of my git tree. I want master and production to be where origin/production and origin/master are22:42
https://gist.github.com/robins35/6989c87b942bbf6478bc22:42
anahumar I recall it has something -p22:42
zackiv31 joined22:42
Scriptonaut It somehow is applying "Update support phone #" twice22:42
grawity well22:43
Scriptonaut or, Revert "Update support phone #"**22:43
lethosor anahumar: what does "not really" mean?22:43
grawity I'm quite sure `git shortlog -s` does in fact show an unique list of commit authors22:43
anahumar yes yes ... that is correct grawity ... shortlog -s22:43
pm90_ left22:43
benborges left22:43
xckpd7 left22:43
anahumar thanks22:43
ArmOrAttAk left22:47
speedy joined22:47
ArmOrAttAk joined22:48
otter768 joined22:49
joki left22:50
pcypher_ left22:51
Lisk left22:52
danielgadd left22:52
Noldorin joined22:52
danielgadd joined22:53
nixnerd joined22:53
stantonk joined22:54
otter768 left22:54
ribasushi left22:54
xckpd7 joined22:54
chad joined22:57
bronson left22:58
ribasushi joined22:58
daito joined22:58
duderonomy joined22:59
nixnerd If I want to NOT track all hidden files can I add '.*' to the repos .git/info/exclude file?22:59
qsuscs yes and no22:59
nixnerd And how does this differ from .gitignore?22:59
gitinfo set mode: +v23:00
qsuscs ignore patterns do not apply to already tracked files23:00
rkazak joined23:00
knownasilya left23:00
nixnerd So I'd need to do that at the START of a project?23:00
joki joined23:00
eka left23:00
wlarip joined23:00
qsuscs well, you can remove files at any time23:00
nixnerd Gotcha.23:00
So is this preferable to .gitignore? Or is it a different application?23:01
qsuscs .git/info/exclude is more for local customizations, it is not tracked within the project23:01
xckpd7 left23:01
Saturn812 left23:01
qsuscs e.g. if only YOU use an editor that makes backup files ending in ~, which you want to ignore of course, but you may not put it into .gitignore23:01
they work exactly the same, though i don’t know which one takes precedence if they’re contradictous23:02
nixnerd Gotcha. But if more than one person on a team uses Vim and I want ALL of them to not have to deal with .swp files... I should use git ignore?23:02
xckpd7 joined23:02
qsuscs “should”23:03
*shrug*23:03
maybe. maybe not. ask 5 people and you’ll get 13 opinions23:03
nixnerd Ok. And .gitignore can just go in the project / right?23:03
daito left23:03
chad Greetings. I'm attempting to convert my workflow from svn to git with as little changing as possible, and I've cobbled together what I think will be a way to accomplish something I used to do with svn that seems very much outside of the way git is designed to work. Before I commit (no pun intended) to this new system, I'd appreciate it if someone could tell me whether my idea is sane or not.23:03
qsuscs it can go anywhere in the project, but only applies in its own directory and directories beneath its one23:04
wlarip_ left23:04
chitopunk left23:04
nixnerd Sick. You've been very helpful. Thanks a lot!23:04
nixnerd left23:04
qsuscs !next23:04
gitinfo Another satisfied customer. NEXT!23:04
qsuscs chad: do be prepared to !unlearn23:04
gitinfo chad: 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.23:04
rkazak left23:04
effi left23:04
hiptobecubic left23:04
espindola joined23:05
chad What I used to do with svn was deploy my website by simply updating a working copy of a subdirectory of my repsitory in my web server's data directory, with rules on the web server to not serve .svn directories. This seems to not match git well for two reasons: I don't want to copy the whole repository there, and I only want a subdirectory of a working copy. I found solutions to each of those problems independently, but have attempted to23:05
Jeff__ joined23:06
qsuscs chad: your message was cut off: “but have attempted to […]”23:06
chad So my thought was that I could put this in a post-receive hook in my main repository: git --git-dir=/var/git/personal-documents.git archive --format=tar HEAD web | (cd /var/www/www.chadhogg.name/ && tar xf -)23:06
sorry, the rest was just "put them together myself."23:06
qsuscs you may want to read !deploy23:07
gitinfo Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html23:07
Dragooon left23:07
qsuscs also, man githooks and !hook_pitfalls23:07
gitinfo Guidelines for writing hooks: 1. Consume all input (cat >/dev/null if you don't want it). 2. If you use any 'cd', also 'unset GIT_DIR'. 3. Don't git-pull in a hook (or any other script).23:07
the githooks manpage is available at http://jk.gs/githooks.html23:07
eletuchy joined23:07
chad thanks, I'll look into it23:07
dsdeiz joined23:08
editshare-ericf joined23:08
effi joined23:08
zendrix left23:10
echo-area joined23:11
endiruna left23:11
AaronMT left23:12
eletuchy left23:12
xckpd7 left23:12
Xiti joined23:12
rivarun left23:12
xckpd7 joined23:13
basiclaser left23:14
Ceber left23:15
wowaname left23:16
zendrix joined23:17
Uualj left23:17
stantonk left23:18
xckpd7 left23:18
madewokherd joined23:19
oimi joined23:19
oimi left23:20
snow_ru left23:22
ahr3n left23:23
Trow left23:23
Takle left23:23
dsantiago joined23:24
xckpd7 joined23:24
Gsham joined23:24
delinquentme joined23:24
gsingh93 left23:24
zumba_addict left23:25
jagob left23:26
speedy left23:26
cdown left23:27
cdown joined23:29
Inea joined23:29
xckpd7 left23:29
oiu left23:29
chandlerbing left23:29
xckpd7 joined23:29
liamkeily left23:30
thiago left23:30
oiu joined23:30
LaptopBrain left23:30
anahumar guys ... how to find projects with common developer at the same period of time?23:31
:-/23:31
cavallari left23:32
Inea left23:33
baweaver left23:33
mizu_no_oto left23:34
chandlerbing joined23:34
wowaname joined23:34
jrajav joined23:35
silviof left23:36
s8321414 left23:36
Ostsa joined23:36
HenriettaSalt joined23:37
s8321414 joined23:37
snow_ru joined23:37
Ostsa left23:37
tristanseifert joined23:37
maestrojed left23:38
thiago joined23:38
hexagoxel_ joined23:42
shabazy left23:42
jost__ left23:42
chad left23:43
AustinTheGrey joined23:44
edux joined23:44
lilbaby joined23:44
hexagoxel left23:46
hexagoxel_hexagoxel23:46
nightspades left23:46
juvenal left23:47
jrajav left23:47
cdown left23:47
Nizumzen joined23:47
eletuchy joined23:47
espindol_ joined23:48
cdown joined23:48
Toboi joined23:48
edux left23:49
chad joined23:49
gitinfo set mode: +v23:49
effi left23:49
m0ltar left23:50
edmund5 joined23:50
Toboi left23:50
Gsham left23:50
m1dnight_ left23:50
espindola left23:50
chad The pseudo-documentation at http://gitolite.com/deploy.html makes a powerful case for using git-checkout rather than git-archive for deployment (and somewhat less of an argument against doing deployment with git at all)23:51
edmund5 left23:51
edmund5 joined23:51
edmund5 hello again! so: i've used "git svn" to convert a repository, which seems to have worked ok, except all the tags and branches are in the reflog instead of being actually there23:51
oikab joined23:51
chad but my requirements include (a) only getting a subtree of the data and (b) not getting the repository, just a "working" copy in which no work will be done23:52
m0ltar joined23:52
cbonobo joined23:52
oikab left23:52
chad everything I've read indicates that sparse checkouts can only be done into a location that already contains a repository, not an empty directory23:52
can anyone confirm or deny this?23:52
ojacobson chad: that's accurate. Git fundamentally operates on snapshots of your whole project.23:52
iemi joined23:53
ojacobson (That's the content model of a commit, for example)23:53
iemi left23:53
nightspades joined23:54
chad ok, thanks23:54
xpii joined23:54
jason237 joined23:54
xpii left23:54
chad I'll try to figure out whether it makes more sense to go back to svn or to divide my repository into several smaller ones23:54
Eexs joined23:55
c0mrad3 left23:56
DerisiveLogic joined23:56
Eexs left23:56
faow joined23:57
drewo left23:57
editshare-ericf left23:57
bronson joined23:58
fstd left23:59
qsuscs svn never makes sense23:59
if it’s not related, split the repos23:59
fstd joined23:59
qsuscs if it’s related but seperate … depends.23:59
m0ltar left23:59

Logs Search ←Prev date Next date→ Channels Documentation