IRCloggy #git 2014-11-11

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.

2014-11-11

zzz_AR45AR4500:01
pcypher left00:06
pcypher joined00:06
Vivekananda_y510 left00:06
Reskp joined00:07
cmosguy left00:09
cmosguy joined00:09
_cmosguy_ joined00:10
m0ltar joined00:10
shinnya joined00:11
d10n-work left00:11
centrx left00:12
cmosguy left00:14
_cmosguy_ left00:14
JosephFerano left00:15
in_deep_thought joined00:16
pcypher left00:16
tozhu joined00:17
endiruna left00:17
pcypher joined00:20
moritzs joined00:20
centrx joined00:21
rewire left00:22
steele_ left00:22
ezioadf left00:22
fairuz left00:22
ezioadf joined00:22
iamjarvo left00:24
t0th_-_ left00:24
Sasazuka left00:24
toothrot joined00:25
mribeirodantas joined00:25
chrisgeo left00:25
Nijikokun left00:25
ropav left00:25
Nijikokun joined00:25
ropav joined00:26
AR45 left00:26
wanders_ left00:27
pcypher left00:27
pcypher joined00:28
b1nar1 left00:28
ropav left00:28
freeman42 left00:28
zzz_AR45 joined00:28
wanders joined00:28
amikiri left00:30
ropav joined00:30
ropav left00:30
astrofog left00:30
EminenceHC joined00:30
s8321414 left00:30
ropav joined00:30
Sasazuka joined00:31
piccata left00:31
mitzip_ joined00:31
piccata joined00:33
sjmikem left00:33
hexagoxel left00:34
EminenceHC left00:35
hexagoxel joined00:35
joelm left00:35
thiago joined00:36
joelm joined00:36
ropav left00:37
ropav joined00:37
palcu joined00:38
michael3 joined00:38
joelm left00:41
michael3 left00:41
joelm joined00:41
amikiri joined00:41
AR45 joined00:42
palcu left00:43
Pyrogerg joined00:43
MarkyC left00:45
livingstn joined00:46
AR45 left00:46
AR45 joined00:47
AR45 left00:49
Pyrogerg left00:49
a_le left00:50
Lyqyd joined00:50
a_le joined00:51
AR45 joined00:51
daedeloth left00:52
Reskp left00:52
ropav left00:52
sjmikem joined00:57
Reskp joined00:58
desposo left00:58
hyperair joined00:59
fstd left01:00
sohail` joined01:00
imkmf joined01:00
pcypher left01:00
fstd joined01:00
t0th_-_ joined01:01
alvaro_o left01:01
Nevik left01:02
CKyle joined01:02
dimm left01:02
imkmf_ left01:03
weiyang joined01:06
hahuang61 left01:06
motaka3 joined01:06
sctskw joined01:06
motaka3 hello I did git check out 6546546 and now when I do git log, I see that two of my commits are not there. how can I find them ?01:07
danemacmillan joined01:08
milki uh01:08
where are they supposed to be?01:08
in_deep_thought left01:08
milki why do you expect them to be somewhere?01:08
maybe they are on the floor01:08
imkmf left01:10
booboy left01:10
knownasilya joined01:10
CKyle left01:10
shinnya left01:10
imkmf joined01:10
vpl left01:11
sctskw left01:11
JosephFerano joined01:11
CKyle joined01:12
vpl joined01:12
hgl joined01:12
disabled_ joined01:15
hexagoxel left01:16
vpl left01:17
Reskp left01:17
Consuela left01:17
a_le left01:18
moritzs left01:18
sdfvsfgvsdf left01:19
motaka3 left01:20
itmustbejj left01:21
joelm left01:22
tokik joined01:22
robustus|Off left01:23
listochkin left01:23
robustus|Off joined01:25
robustus|Offrobustus01:25
ManikM left01:25
ManikM joined01:25
thomas test01:26
imkmf left01:29
Norrin left01:30
dreiss left01:30
connix left01:30
APerson_ joined01:31
EminenceHC joined01:32
Steve_Jobs I did git push -u my-branch:steve-branch01:32
I would think that git push would by default change steve-branch, but it's not01:33
baweaver left01:34
Norrin joined01:34
Steve_Jobs what do I need to do for the remote-to-local mapping work both ways? I don't want to write git push my-branch:steve-branch all the time.01:34
t0th_-_ left01:34
User458764 left01:35
EminenceHC left01:36
Nikoli left01:37
baweaver joined01:37
danemacmillan left01:39
Nikoli joined01:39
ehmatthes joined01:40
moritzs joined01:40
dzho Steve_Jobs: I'm not sure if this is what you want: http://git-scm.com/book/en/v2/Git-Branching-Remote-Branches#Tracking-Branches01:43
akushner_ joined01:43
fairuz joined01:44
fairuz left01:45
fairuz joined01:45
jb55 left01:45
otter768 joined01:45
maestrojed left01:46
tranzfuse joined01:46
thiago left01:47
akushner left01:47
mikecmpbll left01:48
akushner_ left01:48
Reskp joined01:48
davispuh left01:48
qbjc joined01:49
fairuz left01:49
dsdeiz_ joined01:49
fairuz joined01:50
dsdeiz left01:51
mehdi left01:52
pilif left01:52
Reskp left01:52
Neozonz left01:52
sohail` left01:53
Manny_ joined01:53
ahmetalpbalkan_ joined01:53
Ziber_ joined01:53
Steve_Jobs dzho: I found it: git config --global push.default upstream01:53
thank you anyway01:53
sjmikemsjmikem_01:54
sohail` joined01:54
flipp left01:54
breiti left01:54
i_ron left01:54
mehdi joined01:54
flipp joined01:54
i_ron joined01:54
Fifty5Plus_ joined01:54
wxg4irc joined01:54
HicksD_ joined01:55
sigv_ joined01:55
thiago joined01:55
Fujk joined01:55
magic_ joined01:55
iokill_ joined01:55
baweaver left01:55
mino_ joined01:56
heftig left01:56
pilif joined01:56
ManikM left01:56
Internet13 left01:56
faylite left01:56
ahmetalpbalkan left01:56
Ziber left01:56
magic left01:56
eXeC64 left01:56
kapowaz_ left01:56
GarethAdams left01:56
sea-gull left01:56
cebor left01:56
Floatingman left01:56
mp4 left01:56
HicksD left01:56
ujjain left01:56
Fifty5Plus left01:56
mino left01:56
mino_mino01:56
baweaver joined01:56
magic_magic01:56
sigv left01:56
johan__ left01:56
iokill left01:56
breiti joined01:56
eXeC64 joined01:56
GarethAdams joined01:56
pilif left01:57
ome left01:57
gitinfo left01:57
ionelmc left01:57
ikanobori_ left01:57
Caius left01:57
nemesit|znc left01:57
sigv_sigv01:57
ikanobori__ joined01:57
rom1504_ joined01:57
dw left01:57
cnj left01:57
BtbN left01:57
retard left01:57
JStoker left01:57
rom1504 left01:57
hellome left01:57
retard_ joined01:57
donmichelangelo joined01:57
shennyg____ left01:58
ohcibi left01:58
jonet left01:58
cnj joined01:58
jrdavid joined01:58
jds left01:58
jdav_gone left01:58
Phtes left01:58
cebor joined01:58
jdav_gone joined01:58
Floatingman joined01:58
kapowaz_ joined01:59
miffor` joined01:59
jds joined01:59
Phtes joined01:59
Internet13 joined01:59
shennyg____ joined01:59
jrdavid_ left02:00
ionelmc joined02:00
michelangelo left02:00
ome joined02:00
Sleepy63 left02:00
devhost left02:00
snuttilatti left02:00
devhost joined02:00
Sleepy63 joined02:01
GarethAdams left02:01
GarethAdams joined02:01
baweaver left02:01
Sasazuka left02:01
ujjain joined02:01
Caius joined02:01
pilif joined02:01
miffor left02:02
jason237 left02:02
thiago left02:02
CaiusGuest8750502:02
heftig joined02:02
BtbN joined02:02
ohcibi joined02:02
nemesit|znc joined02:02
JStoker joined02:02
snuttilatti joined02:02
rom1504_ left02:02
rom1504 joined02:02
gitinfo joined02:03
ChanServ set mode: +o02:03
a_le joined02:03
JStoker left02:04
hgl left02:05
hgl joined02:05
jonet joined02:06
MissionCritical left02:06
dw joined02:06
b1nar1 joined02:06
zapb_ left02:06
APerson_ left02:07
rchavik joined02:07
kballou left02:08
JStoker_ joined02:08
JStoker_JStoker02:08
sarri left02:09
PaulCapestany left02:09
miffor`` joined02:09
thiago joined02:09
sea-gull joined02:09
vals_ joined02:10
tango_ left02:10
cxreg left02:10
niax left02:10
JStoker left02:10
niax joined02:10
JStoker joined02:10
cxreg joined02:11
crumpler joined02:11
ropav joined02:11
kukks left02:11
danemacmillan joined02:11
PaulCapestany joined02:12
sgen joined02:12
tmcmahon joined02:12
robbyoconnor left02:12
miffor` left02:13
eric__ left02:13
robbyoconnor joined02:13
jason237 joined02:13
kpease left02:13
zapb_ joined02:14
miffor`` left02:14
colorbot joined02:16
sohail` left02:16
smccarthy joined02:16
sarri joined02:18
sarri left02:18
sarri joined02:18
imachuchu left02:18
sohail` joined02:18
aidalgol left02:18
MissionCritical joined02:19
aidalgol joined02:20
tmcmahon left02:21
m0ltar left02:21
weiyang left02:22
Lyqyd left02:22
crelix joined02:22
MalteJ left02:22
bdavenport joined02:27
ropav left02:27
ropav joined02:27
palcu joined02:28
jwmann left02:28
watabou joined02:28
AR45 left02:29
Milkweed left02:29
EminenceHC joined02:33
Goplat joined02:33
palcu left02:33
Vampire0_ joined02:33
wbdecker joined02:34
CKyle left02:35
livingstn left02:35
weiyang joined02:35
crumpler left02:36
Vampire0 left02:37
EminenceHC left02:38
pheaver left02:39
fairuz left02:39
sohail` left02:40
JosephFerano left02:41
wrouesnel joined02:41
JosephFerano joined02:44
a_le left02:45
moritzs left02:45
CKyle joined02:45
a_le joined02:45
CheckDavid left02:47
polyzenpoly02:47
lpax left02:47
Reskp joined02:49
tranzfuse left02:51
johtso left02:51
Reskp left02:53
livingstn joined02:54
hahuang61 joined02:55
DarkCthulhu joined02:56
Gitzilla joined02:57
ColdKeyboard left02:57
darkbasic left02:57
darkbasic joined02:58
Malsasa joined02:58
devoldmx joined02:59
duplex left02:59
crelix left03:00
duplex joined03:00
a_le left03:01
wxg4irc left03:02
hahuang61 left03:02
nkouevda joined03:02
paulweb515 left03:03
checkItOut left03:03
Noldorin left03:03
hahuang65 joined03:03
Vivekananda left03:04
dbarrett left03:05
zacts joined03:05
colorbot left03:06
smccarthy left03:06
smccarthy joined03:07
danemacmillan left03:07
thiago left03:08
msonntag left03:08
ropav left03:09
mribeirodantas left03:10
msonntag joined03:11
St1gma joined03:12
hadees left03:13
adys joined03:14
jleclanche left03:15
EminenceHC joined03:16
jrnieder left03:18
sctskw joined03:19
thedodd joined03:19
hadees joined03:19
hadees left03:20
magic_ joined03:20
sohail` joined03:20
str joined03:21
EminenceHC left03:21
jason237 left03:21
AndroUser2 joined03:22
AndroUser2 left03:22
luriv left03:22
jason237 joined03:23
t0th_-_ joined03:23
Manny_ left03:25
ManikM joined03:25
chrisgeo joined03:25
sgen left03:26
alvaro_o joined03:26
ehmatthes left03:26
awkwardusername joined03:26
slixpk joined03:27
Fifty5Plus_ left03:27
Fifty5Plus joined03:27
AndroUser2 joined03:27
t0th_-_ left03:28
AR45 joined03:28
shampine joined03:29
disabled_ left03:30
Asiajey left03:30
chrisgeo left03:30
Baako left03:31
awkwardusername left03:32
Nizumzen joined03:32
Malsasa left03:32
_Atom_ joined03:32
AndroUser2 left03:32
pmallya left03:33
AndroUser2 joined03:34
AndroUser2 left03:35
AndroUser2 joined03:35
thibaultcha left03:37
Nijikokun left03:38
AndroUser2 left03:38
m0viefreak left03:38
CKyle left03:40
EminenceHC joined03:41
amikiri left03:41
dsdeiz_ left03:41
BSaboia joined03:41
dsdeiz joined03:42
_Atom_ left03:42
dreiss joined03:43
DaveD_PDX left03:44
wrouesnel left03:44
Bruno_ left03:44
Motoko joined03:45
EminenceHC left03:45
devoldmx left03:46
rishabh__ joined03:46
mikewintermute joined03:48
mikewintermute left03:49
ezioadf left03:49
Reskp joined03:49
weiyang left03:51
buffal0 left03:52
centrx left03:52
aidalgol left03:52
gnfz left03:53
aidalgol joined03:53
AndroUser2 joined03:53
Reskp left03:54
colorbot joined03:56
Mitchbones left03:56
AndroUser2 left03:59
AndroUser2 joined04:00
AndroUser2 left04:01
subhojit777 joined04:01
eletuchy left04:02
CKyle joined04:04
weiyang joined04:05
centrx joined04:05
Error404NotFound joined04:06
centrx left04:07
MacGyver left04:07
aidalgol left04:08
roflin left04:08
Nickeeh left04:09
aidalgol joined04:09
colorbot left04:12
iliketurtles joined04:13
poly left04:13
livingstn left04:15
Glub0t joined04:17
Glub0t hi, I want to make sure that when I rename a file in git repo, the commit history for that file is still persist. Am I correct?04:19
slixpk Glub0t: Probably. The repo will always have past versions of that file.04:21
Glub0t: But what do you mean "for that file"04:22
Glub0t slixpk: the file that being renamed04:23
aidalgol left04:23
Glub0t slipxpk: I mean when using git blame, I still can still who edit what. Not like new file with one commit.04:26
*still can see04:27
kerrick joined04:27
CKyle left04:30
Xiti` joined04:31
Bruno_ joined04:31
Xiti` left04:32
Xiti left04:33
iamjarvo joined04:33
iamjarvo left04:34
slixpk Glub0t: http://git-scm.com/docs/git-blame04:34
iamjarvo joined04:34
slixpk Glub0t: "The origin of lines is automatically followed across whole-file renames (currently there is no option to turn the rename-following off). To follow lines moved from one file to another, or to follow lines that were copied and pasted from another file, etc., see the -C and -M options."04:34
BSaboia left04:35
slixpk Glub0t: Sounds like it will work perfectly according to the docs! :D04:35
kyb3r_ joined04:36
Glub0t slipxpk, I just test it, with just mv, not git mv, and it's not work as expected04:39
shampine left04:40
thibaultcha joined04:40
javster left04:41
shampine joined04:41
Glub0t slipxpk, thx for your reply. Now, I'm sure that I have to use git mv, instead mv. (I have to change my habit -__-)04:43
robbyoconnor left04:44
EminenceHC joined04:44
daito joined04:45
watabou left04:46
slixpk Glub0t: Heh, yeah. You can also git add the new file and git rm the old one. Git will recognize the rename in the staging area if you do git status after.04:48
qbjc left04:48
fairuz joined04:48
mennea joined04:49
EminenceHC left04:49
MattMaker left04:49
MattMaker joined04:50
Reskp joined04:50
robbyoconnor joined04:51
ErKa joined04:51
watabou joined04:52
JanC left04:52
boombatower joined04:54
Reskp left04:55
sinequanon joined04:55
puff joined04:55
dreiss left04:58
devoldmx joined04:59
devoldmx left04:59
devoldmx joined05:00
harish left05:01
Baako joined05:03
hgl left05:03
ehmatthes joined05:04
dreiss joined05:05
meanderer left05:06
JanC joined05:06
toothrot left05:07
wbdecker left05:08
pheaver joined05:11
Nevik joined05:12
t0th_-_ joined05:12
snuffeluffegus joined05:12
zacts left05:13
King_Hual joined05:13
thedodd left05:14
colorbot joined05:14
zacts joined05:14
palcu joined05:15
dreiss left05:15
durre left05:15
Nevik left05:16
t0th_-_ left05:17
enitiz left05:17
ojacobson joined05:17
JohnBat26 joined05:18
mennea left05:19
mennea joined05:19
palcu left05:19
King_Hual left05:20
sinequanon left05:22
hgl joined05:23
ojacobson left05:24
a_le joined05:24
ManikM left05:25
ManikM joined05:25
ircBaako joined05:26
beautifulmind joined05:28
Baako left05:29
dreiss joined05:30
thiago joined05:35
beautifulmind left05:36
awkwardusername joined05:37
knownasilya left05:39
dreiss left05:41
beautifulmind joined05:41
diegoaguilar joined05:42
Bruno__ joined05:42
wjiang joined05:44
wjiang left05:45
wjiang joined05:45
Bruno_ left05:45
colorbot left05:46
smccarthy left05:49
arup_r joined05:49
mennea left05:49
adysjleclanche05:49
mennea joined05:49
johnkevinmbasco joined05:49
dreiss joined05:51
EminenceHC joined05:51
Reskp joined05:51
lindenle left05:53
ircBaako left05:54
otter768 left05:54
EminenceHC left05:56
Reskp left05:56
s8321414 joined06:01
diegoaguilar left06:01
veebers left06:02
rishabh__ left06:03
UmbraMalison left06:04
a_le left06:04
Nevik joined06:05
UmbraMalison joined06:05
BlaXpirit joined06:05
DaveD_PDX joined06:07
a_le joined06:07
ircBaako joined06:07
ircBaako hi guys i want to clone from gits but i wanna want to clone specify files. how can i do this please06:08
glebihan left06:09
slixpk ircBaako: I don't believe you can. You have to clone the entire git repository.06:09
ircBaako slixpk okay thanks06:10
dreiss left06:11
ircBaako i have some files in my local host thats are not up to date than my repo but at the same time i have some files in my repo that are more up to date than my local working copy06:11
glebihan joined06:12
thiago left06:13
Xiti joined06:13
dreiss joined06:15
saurabh joined06:18
saurabhGuest4432506:18
corni joined06:19
palcu joined06:21
a_le left06:22
snuffeluffegus left06:24
a_le joined06:25
colorbot joined06:25
arup_r left06:25
palcu left06:26
corni left06:26
pcfreak30 joined06:26
thiago joined06:27
pantsman- joined06:27
sinequanon joined06:28
pcfreak30 How can I search the reflogs for a file. I have a lost commit.06:28
heftig pcfreak30: try git reflog -- path/of/file06:29
Seveas pcfreak30: git reflog filename06:29
though it doesn't seem to actually do what it would seem to do, try with --stat to see why06:30
zivester left06:31
Junior joined06:31
arup_r joined06:33
pcypher joined06:33
solker__ left06:34
a_le left06:34
pcfreak30 ?06:34
I just have a commit thats lost and need to recover code06:34
solker_ joined06:34
Sijdesign joined06:35
jmverges joined06:35
thiago left06:35
kadoban pcfreak30: Do you know what branch it was on or anything?06:36
beautifulmind left06:36
johnkevinmbasco left06:37
pcfreak30 master06:37
pheaver left06:37
pcfreak30 we are not using branches atm06:37
kriks joined06:37
thiago joined06:37
a_le joined06:37
kadoban pcfreak30: Any idea of the time period, or would you recognize the commit message or anything? Easiest way is just to manually look in the reflog and find it06:38
pcfreak30 im trying to find file changes06:38
in the commits for my file06:38
solker_ left06:39
pcfreak30 Would prob be under 2 weeks that I wrote this06:39
zumba_addict left06:40
gauke joined06:41
zumba_addict joined06:41
ChanServ set mode: +o06:43
Eugene changed the topic to: Welcome to #git, the place for git help and and and and and | Current stable version: 2.1.3 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | Beware the HEADless horseman of gitty hollow06:43
Eugene set mode: -o06:43
pcypher left06:44
ThomasLocke joined06:44
watabou left06:45
ThomasLocke left06:45
ThomasLocke joined06:45
zumba_addict left06:46
pantsman- left06:46
phy1729 s/and/buffalo/g06:46
nrsk joined06:47
Eugene Har06:47
gauke left06:47
ChanServ set mode: +o06:47
phy1729 http://en.wikipedia.org/wiki/Buffalo_buffalo_Buffalo_buffalo_buffalo_buffalo_Buffalo_buffalo06:47
Eugene changed the topic to: Welcome to #git, the place for git help and Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo. | Current stable version: 2.1.3 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | Beware the HEADless horseman of gitty hollow06:47
a_le left06:47
Eugene Yeah, I had to look up which was capitalized06:47
gauke joined06:47
Eugene set mode: -o06:47
phy1729 \o/ made the topic06:48
gauke left06:48
colorbot left06:48
mennea left06:49
colorbot joined06:49
mennea joined06:49
Eugene It really doesn't take much at all to do that06:50
I'll just get drunk and /op random people06:50
phy1729 really?06:50
Eugene Totes06:50
phy1729 makes a not to be more active during Friday evenings06:50
phy1729 note even06:50
ChanServ set mode: +o06:50
iliketurtles left06:51
ChanServ set mode: -o06:51
Reskp joined06:52
EminenceHC joined06:53
colorbot left06:53
milki lol06:53
lindenle joined06:53
ciampix joined06:54
phy1729 I should make a script to do my standard thing when I get random ops06:54
milki ruh roh06:54
Reskp left06:56
Err404NotFound joined06:57
Error404NotFound left06:57
EminenceHC left06:57
lindenle left06:58
wrouesnel joined06:58
Aa4on left06:59
tarkus joined06:59
a_le joined06:59
t0th_-_ joined07:01
Aa4on joined07:01
AR45 left07:02
marthinal joined07:02
Err404NotFound left07:03
Error404NotFound joined07:03
EminenceHC joined07:03
AR45 joined07:03
dregad joined07:05
t0th_-_ left07:06
mennea left07:06
Sijdesign left07:06
EminenceHC left07:07
zumba_addict joined07:08
ciampix left07:08
Marcus_ joined07:08
lb1a joined07:11
ilhami joined07:12
aidalgol joined07:12
glebihan left07:13
a_le left07:13
freimatz joined07:14
a_le joined07:14
a_le left07:14
devoldmx left07:14
devoldmx joined07:15
BtbN left07:15
jonet left07:15
eXeC64 left07:15
breiti left07:15
devoldmx left07:15
rakm_ joined07:15
spaceman joined07:15
antispaceman left07:16
mattstratton joined07:16
osse i've never made it to the topic07:16
I have been kicked a bunch of times though07:16
CalimeroTeknik joined07:17
rakm left07:17
dregad left07:17
rakm_rakm07:17
Motoko left07:18
titou_ joined07:18
titou left07:18
colorbot joined07:19
zumba_addict left07:19
dom96 left07:19
Mekkis left07:20
nemesit|znc left07:20
ErKa left07:20
Gizburdt joined07:21
nilg joined07:21
palcu joined07:22
ciampix joined07:22
dom96 joined07:22
MLM left07:23
ohcibi left07:23
himikof left07:23
bauruine left07:24
ManikM left07:25
ManikM joined07:25
palcu left07:27
nnyk_ joined07:27
damccull_ joined07:29
BinGOs_ joined07:29
abec0_ joined07:29
sLite_ joined07:29
tonyj_ joined07:29
heftig left07:29
damccull left07:29
jdmf joined07:29
colorbot left07:30
tonyj left07:30
BinGOs left07:30
abec0 left07:30
sLite left07:30
strictlybsb07:31
dc5ala joined07:31
devoldmx joined07:35
solker_ joined07:35
sctskw left07:36
RagnarDanneskjol left07:36
sinequanon left07:36
Marcus___ joined07:37
punchaga` joined07:37
glebihan joined07:39
kopparam joined07:39
colorbot joined07:39
devoldmx left07:39
Marcus_ left07:39
solker_ left07:39
milli` joined07:39
punchagan left07:40
jagob joined07:41
jrvlima joined07:44
tarkus_ joined07:45
a_le joined07:45
tarkus left07:45
Nevik_ joined07:45
red_horned_rihno joined07:45
red_horned_rihno left07:46
jrvlima left07:48
Nevik left07:49
JStoker left07:49
sea-gull left07:49
dw left07:49
pilif left07:49
Guest87505 left07:49
ujjain left07:49
GarethAdams left07:49
coasterz left07:49
AlexanderS left07:49
SupaHam left07:49
creppe left07:49
fishey2 left07:49
idoru left07:49
manitu left07:49
pikaren left07:49
ramlev left07:49
zamba left07:49
spaceone left07:49
milli left07:49
jmverges left07:50
b1nar1_ joined07:50
jmverges joined07:51
b1nar1 left07:52
ag4ve_ left07:52
eXeC64 joined07:53
jonet joined07:53
glebihan left07:53
ramlev joined07:53
kopparam left07:54
ujjain joined07:54
ojacobson joined07:54
nekyian_ joined07:54
cbr joined07:54
Reskp joined07:54
JStoker joined07:54
AlexanderS joined07:55
lindenle joined07:55
pilif joined07:55
BtbN joined07:55
tvw joined07:55
nemesit|znc joined07:55
freeman42 joined07:56
SupaHam joined07:56
breiti joined07:56
heftig joined07:56
s8321414 left07:56
a_le left07:58
himikof joined07:58
LeMike joined07:58
skylite joined07:58
bauruine joined07:58
manitu joined07:59
lindenle left07:59
Reskp left07:59
palcu joined08:00
palcu left08:00
francisfish left08:01
hebz0rl joined08:01
BinGOs_ left08:01
DrSkyLizard joined08:02
BinGOs joined08:02
jceb joined08:03
jceb left08:03
PCatinean joined08:04
glebihan joined08:04
iamjarvo left08:04
mennea joined08:05
Brain joined08:05
sohail` left08:06
jceb joined08:06
dkog left08:06
goTAN joined08:06
BlaXpirit left08:08
EminenceHC joined08:09
sea-gull joined08:09
mennea left08:09
mennea joined08:09
TomyWork joined08:10
vals_tango_08:10
ohcibi joined08:12
GarethAdams joined08:12
ehmatthes left08:12
EminenceHC left08:13
ghostlines joined08:13
freeman42 left08:13
jargon joined08:14
shampine left08:14
zamba joined08:14
sb left08:15
sb joined08:15
sb left08:15
Suchit joined08:15
strictlyb joined08:16
snuffeluffegus joined08:18
sohail` joined08:18
Caius joined08:19
dw joined08:19
coasterz joined08:19
fishey2 joined08:19
idoru joined08:19
pikaren joined08:19
spaceone joined08:19
glebihan left08:19
boombatower left08:19
boombatower joined08:20
boombatower left08:20
boombatower joined08:20
pikaren left08:20
pikaren joined08:20
Caius left08:20
Caius joined08:20
Tuna-Fish left08:20
harish joined08:21
mlechner joined08:21
Tuna-Fish joined08:21
aidalgol left08:21
aidalgol joined08:21
nikita left08:23
colorbot left08:23
freimatz left08:25
colorbot joined08:25
nikita joined08:26
colorbot left08:27
ojacobson left08:27
seschwar joined08:28
DrSkyLizard left08:28
Amandil joined08:29
nkouevda left08:29
sohail` left08:29
CustosLimen left08:30
psoo joined08:30
dtrott joined08:30
dtrott When I get a rebase conflict sometime I want to unstage (git reset HEAD … git checkout -f ….) a set of files is there a way to do this with just one command ?08:32
joki left08:32
jast git checkout HEAD -- <file>08:33
elichai2 joined08:34
dtrott jast:Thanks thats going to save me a lot of time….08:34
hs366 joined08:34
solker_ joined08:36
gv left08:36
govg left08:36
joki joined08:37
ilhami left08:37
ilhami joined08:37
goTAN left08:38
colorbot joined08:38
FabTG left08:38
bmcorser joined08:38
thibaultcha left08:39
solker_ left08:40
Gamecubic left08:40
gv joined08:40
FabTG joined08:41
moritzs joined08:41
glebihan joined08:41
AshyIsMe joined08:41
arup_r left08:41
AshyIsMe what's it called when you want to check in only some of the changes in a file?08:41
grawity `git add -p`08:42
zapb_ left08:42
zapb_ joined08:42
AshyIsMe grawity: cheers08:42
madduck left08:43
madduck joined08:44
madduck left08:44
AshyIsMe left08:44
raven-au left08:44
danjordan left08:45
srcerer left08:45
danjordan joined08:46
zzz_AR45 left08:46
madduck joined08:46
madduck left08:46
madduck joined08:46
elichai2 left08:47
elichai2 joined08:47
nekyian_ left08:48
AR45 left08:49
raven-au joined08:49
dreiss left08:49
t0th_-_ joined08:50
AR45 joined08:50
elichai2_ joined08:51
colorbot left08:51
elichai2 left08:51
mattstratton left08:51
dtrott When doing a rebase, git is very “smart” about finding directories that have been relocated and applying the patch there, is there any way to make it “dumb” so that it doesn’t try to relocate packages into a different directory ?08:51
elichai2_ left08:51
kopparam joined08:52
francisfish joined08:52
seschwar left08:53
mattstratton joined08:54
Emugel joined08:54
Error404NotFound left08:54
t0th_-_ left08:54
raven-au left08:54
Reskp joined08:55
Amandil left08:56
mattstratton left08:57
CustosLimen joined08:57
Emugel I have a computer and a laptop and would like to develop on both of them. What is the recommended workflow for this use case? git clone?08:57
oskarkv left08:57
grawity of course – what else is there?08:57
osse git clone is "never" part of a workflow, because it's somethign you do just once.08:58
darkbasic left08:58
darkbasic joined08:58
grawity the question is /what/ you'll clone – a repo on your own server that you can push to, or the other computer's repo08:58
mattstratton joined08:59
thiago left08:59
Xethron joined08:59
ag4ve joined08:59
Reskp left09:00
palcu joined09:00
Emugel okay I'll proceed then with cloning my laptop's repo then09:01
thx09:01
Juzzika joined09:01
raven-au joined09:02
blubberbop left09:03
mattstratton left09:03
mattstratton joined09:05
masak there's nothing to prevent me from pushing a stash, is there?09:05
for, um, backup.09:06
palcu left09:06
mnngfltg joined09:06
jast well you'd have to make a ref for it09:06
masak oh, that's true.09:06
osse tries09:07
masak let's assume I want to fetch it later and get it back on the stack of stashes.09:07
jast that's tricky09:07
masak what's the easiest way to do that?09:07
bremner just commit already. way less trouble09:07
masak sure.09:07
jast because stashes are in a reflog, and there's no interface for adding reflog entries09:07
masak this is a thought experiment.09:07
jast you could fetch it and 'git stash apply <ref>', though09:07
(I think)09:07
osse the latest stash has a ref already: refs/stash09:07
but when I do git push origin refs/stash[:refs/stash] (I tried both) I get:09:08
! [remote rejected] refs/stash -> refs/stash (funny refname)09:08
heh09:08
mattstratton left09:08
mnngfltg Hello! Pretty simple question: I want to review branch `feature/abc`, which was created from `master` one week ago. To see the changes made in the branch, I can do `git checkout feature/abc; git diff ^master'. But that'll give me changes that have been made in `master` in the past week. What do people use to review branches then?09:08
jast hence my saying you need to make a ref :)09:08
masak wow, you can git-stash apply things that are not on the stack of stashes.09:08
jast sure09:08
grawity yeah, I *think* it refuses 2-component names nowadays?09:08
raven-au left09:08
masak probably should make a custom ref, in my own little ref/something namespace.09:09
raven-au joined09:09
jast mnngfltg: no idea what exactly you want to see, but e.g. if you want a diff of the feature branch started from the point it diverged from master: git diff master...feature/abc09:09
mattstratton joined09:10
LeMike left09:10
grawity push refs/stash:refs/tmp/stash09:10
mikecmpbll joined09:10
EminenceHC joined09:10
grawity note that it won't push reflog, only individual stashes09:10
so push refs/stash@{1}:... or whatever09:10
osse git push origin refs/stash:refs/rofl/stash worked09:10
ahh, grawity beat me to me09:10
to it09:10
mattstratton left09:13
EminenceHC left09:14
kopparam left09:15
mattstratton joined09:16
nour joined09:16
elichai2 joined09:17
elichai2 hey09:17
Baako joined09:17
elichai2 how can i create new branch not base on master?09:17
seschwar joined09:18
elichai2 i mean i want to create branch name `test` that has the code of branch `old` not `master`09:18
osse elichai2: git branch test old09:18
bremner elichai2: see the examples in man git branch09:18
gitinfo elichai2: the git-branch manpage is available at http://jk.gs/git-branch.html09:18
kopparam joined09:18
Gatis joined09:19
bremner even if the man page is impenetrable, it's always worth looking at the examples09:19
ircBaako left09:19
mattstratton left09:19
Goplat left09:19
arup_r joined09:19
seschwar left09:20
ircBaako joined09:20
seschwar joined09:21
kevin-brown left09:21
kevin-brown joined09:21
mattstratton joined09:21
Emugel left09:23
kopparam left09:23
marcogmonteiro joined09:24
mattstratton left09:24
martinklepsch joined09:24
Baako left09:24
teran joined09:25
ManikM left09:25
ManikM joined09:25
bvi joined09:26
mattstratton joined09:26
petersr joined09:26
endiruna joined09:27
AR45zsh09:27
srcerer joined09:27
Solid1_afkSolid109:28
palcu joined09:28
weiyang left09:28
CheckDavid joined09:28
CustosLimen left09:29
mattstratton left09:29
nfk joined09:30
zshAR4509:30
zacts left09:31
mattstratton joined09:31
leopardb joined09:33
raven-au left09:33
colorbot joined09:33
madduck left09:34
DrSkyLizard joined09:34
jceb left09:35
Gatis left09:35
kopparam joined09:36
mattstratton left09:36
solker_ joined09:36
str left09:37
AR45ar4509:37
mattstratton joined09:37
Baako joined09:38
petersr left09:38
roflin joined09:39
jargon left09:39
Gizburdt left09:40
govg joined09:40
arup_r left09:40
mattstratton left09:40
solker_ left09:41
ircBaako left09:41
s8321414 joined09:42
mattstratton joined09:42
mnngfltg jast, that's exactly what I want to see09:43
jast, thanks!!09:44
elichai2 left09:44
Suchit left09:44
MacGyver joined09:44
MacGyver left09:45
MacGyver joined09:45
guysoft42 joined09:45
mattstratton left09:45
LucasKA left09:46
madduck_ joined09:46
guysoft42 hey all, I am trying to get the sha1 of an checkout svn repo in github. this means I need to generate my own Sha1 of a directory. has anyone done that? the only thing on the internet I can do is this: http://stackoverflow.com/questions/6011172/git-hash-object-on-a-directory and the scripts there dont work without .git09:46
jargon joined09:46
FreezingCold left09:46
liamkeily joined09:47
settermjd joined09:48
bremner guysoft42: but with a .git directory, how is this a git problem?09:48
jceb joined09:48
mattstratton joined09:48
bremner s/with/without/ ?09:48
MacGyver left09:49
MacGyver joined09:49
CustosLimen joined09:49
raiciu joined09:49
arnatal joined09:50
jonmorehouse joined09:50
Zupoman joined09:50
mattstratton left09:51
achadwick joined09:51
mattstratton joined09:52
guysoft42 bremner, I want to understand how git calculates the SHA1 for a directory tree. surely you could do that without git?09:53
osse guysoft42: calulate the sha1 of all the files in the directory,then calculate the sha1 of the listing09:54
of those09:54
recurse as necessary09:55
ilhami left09:55
mattstratton left09:55
Reskp joined09:56
Kicer86 joined09:56
osse guysoft42: but the listing is in a particular format, and the sha1 of the files is actually the sha1 of 'blob <size>\0<file contents'.09:57
mattstratton joined09:58
guysoft42 osse, ok, in think i got it all buy how does the listing look?09:58
osse I don't know the exact format09:58
teran_ joined09:58
jceb left09:59
sMa_ joined09:59
teran left10:00
leopardb_ joined10:00
mattstratton left10:00
Reskp left10:01
madduck_ left10:01
mattstratton joined10:02
arup_r joined10:02
kyb3r_ left10:02
jargon left10:03
guysoft42 osse, will it be written anywhere10:03
latenite joined10:03
osse I assume so10:03
hgl left10:03
arup_r left10:03
latenite Hi folks, I am quite new to git. Now I have problem pushing my local stuff to my remote origin. This is what I do: https://gist.github.com/anonymous/e11c0922203c342950c710:04
But nothing gets transfered. Why?10:04
leopardb left10:04
guysoft42 guess ill google10:04
osse latenite: you must git commit first10:04
ircBaako joined10:04
osse guysoft42: sorry, I don't know where that documentation is10:04
bremner in the fine source?10:04
osse guysoft42: maybe it's mentioned in !bottomup10:05
gitinfo guysoft42: 'Git from the bottom up' starts with explaining the building blocks of git and proceeds to tell you how they fit together. http://ftp.newartisans.com/pub/git.from.bottom.up.pdf (http://ikke.info/git.from.bottom.up.pdf)10:05
jargon joined10:05
osse bremner: I looked in tree.h, and then gave up10:05
mattstratton left10:05
latenite osse, omg, sure. Sorry. THAT was embarrassing :(10:05
osse, thank you tough :D10:05
thibaultcha joined10:06
osse guysoft42: http://stackoverflow.com/questions/14790681/format-of-git-tree-object10:06
sohail` joined10:06
beautifulmind joined10:06
goTAN joined10:06
latenite osse, now on another client, I get: https://gist.github.com/anonymous/7ed526de1ae9188b431c10:07
beautifulmind left10:07
mattstratton joined10:07
magic left10:07
latenite osse, what is ment by "stash" ?10:07
osse man git-stash10:07
gitinfo the git-stash manpage is available at http://jk.gs/git-stash.html10:07
guysoft42 osse, thanks! ill see if i can implement this10:07
kopparam left10:07
Baako left10:08
ecky--ptang-zoob joined10:08
osse guysoft42: if this is a one-off thing you need it'll be easier to create a temporary scratch repo, run update-index and then write-tree. But I'm not trying to stop you .p10:08
mattstratton left10:09
beautifulmind joined10:09
latenite osse, ok I am sure I don't want to stash. I would rather combine both versions manually and have a new-big one. How would I do that?10:09
osse latenite: commit them first10:10
sdfvsfgvsdf joined10:10
mattstratton joined10:10
thibaultcha left10:10
mikecmpb_ joined10:11
Nizumzen left10:12
jceb joined10:12
osse latenite: if you stash, pull, then "pop" the stash again then you get the same opportunity10:12
nettoweb joined10:13
mattstratton left10:14
mikecmpbll left10:14
latenite osse, it sais "fix conflicts and run "git commit"" : https://gist.github.com/anonymous/c8d8bd9e3b379d8bd2cb10:14
intellix joined10:14
latenite osse, but how/ what should I fix? sorry 1st time doing this kind of stuff10:15
EminenceHC joined10:15
mattstratton joined10:15
lb1a osse, here is your "one-time-topic-change" coupon. use it wisely ;)10:18
osse latenite: the two files at the bottom10:18
lb1a []10:18
osse !conflict > latenite10:18
gitinfo [!eekaconflict] Merge conflicts are a natural part of collaboration. When facing one, *don't panic*. Read "How to resolve conflicts" in man git-merge and http://git-scm.com/book/ch3-2.html#Basic-Merge-Conflicts then carefully go through the conflicts. Picking one side verbatim is not always the right choice! A nice video explaining merge conflicts: https://www.youtube.com/watch?v=zz7NuSCH6II10:18
mattstratton left10:18
jargon left10:18
netcarver joined10:18
Glub0t left10:19
Reskp joined10:19
EminenceHC left10:20
icio joined10:20
jargon joined10:20
mattstratton joined10:21
sdfvsfgvsdf left10:21
arup_r joined10:22
mattstratton left10:23
rath joined10:24
hgl joined10:25
mikecmpb_mikecmpbll10:25
mattstratton joined10:25
madduck_ joined10:27
madduck_ left10:27
madduck_ joined10:27
hyperair left10:28
GDG612 joined10:28
mattstratton left10:28
aidalgol left10:29
latenite osse, ok. What tools (one for terminal one for X) would you recommend for git mergetool? It asks for emacs here, but I never worked with emacs before.10:29
martinklepsch left10:29
martinklepsch joined10:29
mattstratton joined10:30
punchaga` left10:30
Gizburdt joined10:30
elcheckito left10:31
fairuz left10:31
sohail` left10:32
punchagan joined10:32
mattstratton left10:32
raven-au joined10:33
boombatower left10:34
ecky--ptang-zoob left10:34
ecky--ptang-zoob joined10:34
shebbi joined10:35
shebbi hi, what is a bare repos?10:35
mattstratton joined10:35
shebbi "make it bare", what does this mean?10:35
Seveas a bare repo does not have a working tree10:36
punchagan shebbi: clone with a --bare flag. http://git-scm.com/book/en/v2/Git-on-the-Server-Getting-Git-on-a-Server10:36
shebbi do i need a bare repos?10:37
mattstratton left10:37
rhombus joined10:37
kopparam joined10:38
nikita left10:38
solker_ joined10:38
ecky--ptang-zoob left10:38
jonmorehouse left10:38
ecky--ptang-zoob joined10:38
t0th_-_ joined10:39
masak shebbi: the "server" doing pushes and pulls is often bare.10:39
shebbi ok10:39
masak shebbi: because a working tree is only sensible if there's a developer sitting on the box.10:39
nikita joined10:40
daito left10:40
Nickeeh joined10:40
mattstratton joined10:41
solker_ left10:42
sarri left10:43
colorbot left10:43
kopparam left10:43
t0th_-_ left10:43
shebbi what's a good name for a repo?10:43
any convention?10:43
latenite Hi folks, I just merged on one of my clients and pushed to master. Now the other client can not pull. I get:10:43
There is no tracking information for the current branch.10:43
Please specify which branch you want to merge with.10:43
What happend?10:44
sarri joined10:44
Seveas shebbi: the name of the project :)10:44
shebbi Seveas: ok10:44
Seveas latenite: git branch --set-upstream-to branch/you/want/to/merge/with10:45
mattstratton left10:45
mattstratton joined10:46
latenite Seveas, I am totaly lost now :(10:48
https://gist.github.com/anonymous/67c445f5338d425158b310:48
raven-au left10:49
Solid1Solid1_afk10:49
latenite Seveas, I have a bare repo I am pushing to and all my clients pull from.10:49
mattstratton left10:49
mattstratton joined10:50
kopparam joined10:51
tokik left10:52
mattstratton left10:53
t0th_-_ joined10:54
solker left10:54
raiciu left10:55
arup_r_ joined10:55
MalteJ joined10:55
kopparam left10:56
mattstratton joined10:56
elcheckito joined10:56
pwnz7777 joined10:57
Orbitrix left10:58
arup_r left10:58
Orbitrix joined10:58
mattstratton left10:58
teran_ left10:58
raven-au joined10:59
mkoskar joined11:00
nodekid_ joined11:00
mattstratton joined11:00
ilhami joined11:01
stamina joined11:01
nodekid left11:02
ilhami left11:02
ilhami joined11:02
daedeloth joined11:02
mattstratton left11:03
mattstratton joined11:05
Malsasa_ joined11:06
raven-au left11:06
mattstratton left11:07
thibaultcha joined11:08
raven-au joined11:08
vtunka joined11:10
nettoweb left11:10
mattstratton joined11:10
nettoweb joined11:11
Malsasa_Malsasa11:11
thibaultcha left11:12
hgl left11:12
hgl joined11:13
lindenle joined11:14
checkItOut joined11:14
mattstratton left11:14
hexagoxel joined11:16
CustosLimen left11:16
mattstratton joined11:16
wjiang left11:16
paulweb515 joined11:17
mattstratton left11:17
lindenle left11:18
EminenceHC joined11:19
ajithps joined11:19
raven-au left11:20
vpl joined11:20
Raging_Hog joined11:21
ignas joined11:21
mattstratton joined11:21
paulweb515 left11:22
raven-au joined11:22
ircBaako left11:22
lb1a latenite, you tried to setup an upstream beanch11:23
EminenceHC left11:23
lb1a latenite, but you specified the remote REPO name instead of the branchname11:23
palcu left11:24
jottr joined11:24
lb1a The help was : "git branch --set-upstream-to=origin/<branch> master " you did "git branch --set-upstream-to origin" where you should have done e.g. for the master branch: "git branch --set-upstream-to origin/master master"11:24
shebbi do i put the codebase in the .git folder?11:25
lb1a shebbi, no you dont put anything in the .git dir11:25
shebbi so far i created a repos in D:\repos11:25
ManikM left11:25
lb1a shebbi, read as "DONT TOUCH IT" ;)11:25
mattstratton left11:25
ManikM joined11:25
shebbi I put codebase in D:\repos11:25
lb1a shebbi, what have you done, what did you want to achieve?11:25
King_Hual joined11:25
shebbi then do my first commit right?11:25
I want to use GIT for version control11:26
wrouesnel left11:26
shebbi my project is in C:\wamp\www11:26
mattstratton joined11:26
shebbi I want to version control www folder11:26
lb1a shebbi, maybe you want to do a quick introduction as in !trygit or read a little bit about how to use git in a !book ?11:26
gitinfo shebbi: A quick, interactive, in-browser introduction to git is available at http://try.github.io11:26
shebbi: There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable11:26
shebbi I'm specifically using tortoise git11:27
I'm not going to use git bash in command line11:27
too hard11:27
lb1a hmkay.... the problem is that we dont support !gui stuff11:27
gitinfo Graphical user interfaces are not supported here. If you want to get support, it needs to be through the git CLI. Reasons: 1) Because very few people here use the graphical interface. 2) Because giving instructions for GUI's is difficult. 3) The command line gives you a history of what commands you have executed.11:27
madduck_ left11:27
madduck joined11:28
bmcorser left11:28
mattstratton left11:29
lb1a shebbi, i recommend clicking through the !trygit tutorial. you'll notice that you basically need only a few commands to start with git11:29
gitinfo shebbi: A quick, interactive, in-browser introduction to git is available at http://try.github.io11:29
shebbi Sure11:29
lb1a shebbi, and you will improve while using it IRL11:29
shebbi I used git bash 3 years ago and forget practically everything11:29
I want to use a GUI this time11:30
anyway, I initialised a repos by right clicking on www11:30
esc are rebase --onto and cherry-picking a range always equivalent?11:31
kopparam joined11:31
mattstratton joined11:31
lb1a esc, well, not always depending on your range..... but they are very similar11:31
esc i guess rebase onto could preserve merges too?11:32
alexh_ joined11:32
esc lb1a: are there corner cases you could imagein?11:32
lb1a esc, if you specify it to do so yes, its not the default11:32
esc yes, I am aware of that11:33
lb1a merges would be such a case11:33
but there are more pro users of git here that maybe know more about it. i for myself prefer to use rebase -i instead of manually picking ranges11:34
mattstratton left11:34
clauswit_ joined11:34
hgl left11:34
CareBear\ esc : ask specific questions instead - difficult to answer so open ended questions11:35
mattstratton joined11:36
Gizburdt left11:36
paulweb515 joined11:36
solker joined11:38
User458764 joined11:39
jargon left11:39
Vampire0_Vampire011:40
mattstratton left11:40
D4v33__ left11:40
Vampire0 esc, rebase --onto and cherry-picking are two totally different things11:40
esc, rebase moves commits, cherry-picking copies commits11:40
GDG612 left11:41
Vampire0 esc, merges I think both will not handle very good. At least with rebase afair it will flatten the merge, bringing in the changes, but not having a merge commit as a result11:41
esc but they can have the very same effect on the DAG, right?11:41
mattstratton joined11:41
Caius left11:42
dw left11:42
coasterz left11:42
fishey2 left11:42
idoru left11:42
spaceone left11:42
solker left11:43
madduck left11:43
Vampire0 esc, no, one copies commits, one moves commits11:44
madduck joined11:44
mattstratton left11:44
Vampire0 With rebase you have the same amount of commits before and after, with cherry-pick you have the amount you cherry-picked added11:44
checkItOut left11:44
intellix left11:44
esc but if the branch I am rebasing on already contains a commit that I have cherry-picked from the branch I am rebasing that commit will be discarded11:46
EminenceHC joined11:46
mattstratton joined11:46
esc I can see what you mean by move vs. copy11:47
michael_mbp left11:48
mattstratton left11:48
michael_mbp joined11:49
EminenceHC left11:50
Naeblis joined11:51
Naeblis How could I move the latest commit I did from one branch to another?11:51
DrSkyLizard left11:51
mattstratton joined11:51
esc Naeblis: cherry-pick is an option11:52
checkout the branch you want to move it to11:52
git cherry-pick <original-branch>11:52
and then reset the branch, if you want to get rid of the commit11:52
pwnz7777 left11:53
madduck left11:54
madduck joined11:55
Naeblis thanks11:55
mattstratton left11:55
bvi left11:55
Gizburdt joined11:55
UmbraMalison Hi, i have a repo which forks from another. there is a patch in the other repo that i'd like to cherry pick. i set my local repo to add the other repo as a remote, but when i cherry pick despite the SHA it tries to commit the latest commit, not the one i want. confused11:55
str joined11:56
madduck UmbraMalison: you might need to provide more info e.g. a typescript using a paste bot11:56
UmbraMalison madduck, no problem. what do you mean by a typescript?11:57
mattstratton joined11:57
madduck UmbraMalison: a "screenshot" of your command line using e.g. http://paste.debian.net/ to show us11:57
UmbraMalison np. 2 mins11:58
Naeblis left11:58
mattstratton left11:59
stamina left11:59
UmbraMalison madduck, sorry whilst going through the steps slowly, i realised my mistake. I *assumed* from somewhere i need to tell cherry-pick which branch to use... this is not the case. sorry for the noise, problem solved.12:00
madduck cool12:00
mattstratton joined12:01
Reskp_ joined12:02
williangliao joined12:02
williangliao left12:02
Vampire0 esc iirc it will be empty as the changes are already there and by default left out, yes.12:02
arup_r_ left12:02
Vampire0 esc, and I find it interesting that you advise to use cherry-pick for moving a commit, while I just explained that it copies and not moves. A simple rebase would have moved the commit :-)12:03
williangliao joined12:03
intellix joined12:03
chrisgeorge left12:03
mattstratton left12:03
williangliao left12:04
Reskp left12:04
moritzs left12:04
martinklepsch left12:04
williangliao joined12:04
Vampire0 UmbraMalison, just remember the mantra "a commit is NOT part of any particular branch"12:04
:-)12:04
esc Vampire0: how would you have done the request with rebase?12:04
williangliao left12:05
mattstratton joined12:06
Vampire0 Well, many roads lead to rome. :-)12:06
UmbraMalison Vampire0: i do find the concepts alien at present. I need my employer to fork out for a course so that someone can shout at me till i get it.12:06
sonOfRa left12:06
BtbN left12:06
Vampire0 esc Well, actually maybe your solution was even better if I think about it, as the rebase would have moved the branch along.12:06
esc, forget what I said. :-D12:06
UmbraMalison, well, it is dead simple. A commit has one or more parents and the commits build a tree without loops (DAG = directed acyclic graph)12:08
UmbraMalison, a tag or a branch are just Post-ITs you stick to a commit12:08
esc Vampire0: you could create a branch, to-rebase, then do rebase --onto target to-rebase^ to-rebase and then fast-forward the target to to-rebase, finally delete to-rebase12:08
mattstratton left12:08
nettoweb left12:08
Vampire0 UmbraMalison, you can move around these post-its as you like12:08
esc one could also go via format-patch12:08
amikiri joined12:08
esc or reset --soft HEAD ^ and then use stash12:09
Vampire0 UmbraMalison, the difference between tag and branch is just that if you are "on" a branch, its post-it will move along if you create a new commit12:09
groolot joined12:09
esc yeah, reset --sort HEAD^ && stash && checkout target && stash pop && commit12:09
although in that case you lose the commit-message12:09
Vampire0 esc, well, as I said, many roads lead to rome with git :-)12:09
BtbN joined12:10
esc always! :)12:10
Vampire0 actually you would not even need the stash I think12:10
esc depends on the diff of the commit12:10
Vampire0 except if there are conflicts12:10
esc yeah, exactly12:10
mattstratton joined12:10
danjordan left12:11
Vampire0 UmbraMalison, maybe !bottomup or !book can help you gather some understanding12:11
gitinfo UmbraMalison: 'Git from the bottom up' starts with explaining the building blocks of git and proceeds to tell you how they fit together. http://ftp.newartisans.com/pub/git.from.bottom.up.pdf (http://ikke.info/git.from.bottom.up.pdf)12:11
UmbraMalison: There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable12:11
esc !gitbuch12:11
gitinfo [!gitbu.ch] Das deutsche Git-Buch: http://gitbu.ch -- anders als von Pro Git (http://git-scm.com/book) gibt es davon keine kostenlose Online-Ausgabe.12:11
Derega left12:11
esc so that one still exists, huh12:11
sav__ joined12:11
danjordan joined12:11
sonOfRa joined12:12
palcu joined12:12
mattstratton left12:12
Derega joined12:12
mattstratton joined12:13
palcu_ joined12:13
intellix left12:15
sophiejjj left12:15
darkbasic_ joined12:17
palcu left12:17
mattstratton left12:17
melter left12:17
darkbasic left12:17
marthinal left12:18
mellernoia joined12:18
mattstratton joined12:19
ciampix left12:20
arup_r joined12:20
bvi joined12:22
mattstratton left12:22
m0ltar joined12:22
EminenceHC joined12:22
ap0c left12:23
sebbu joined12:24
sebbu2 left12:24
sebbu left12:24
sebbu joined12:24
mattstratton joined12:24
mizu_no_oto joined12:24
vtunka left12:26
bvi_ joined12:26
mattstratton left12:26
bvi left12:27
EminenceHC left12:27
leopardb_ left12:28
mattstratton joined12:29
Caius joined12:30
dw joined12:30
coasterz joined12:30
fishey2 joined12:30
idoru joined12:30
spaceone joined12:30
Caius left12:30
Caius joined12:30
melter joined12:30
vpl left12:31
vpl joined12:31
ghostlines left12:32
mattstratton left12:32
mattstratton joined12:34
govg left12:35
govg joined12:36
mattstratton left12:37
amikiri left12:38
mattstratton joined12:39
mellernoia left12:39
solker joined12:39
marthinal joined12:39
endiruna left12:40
mattstratton left12:41
dangerousdave joined12:42
LucasKA joined12:42
s8321414 left12:44
solker left12:44
Trudko joined12:44
mattstratton joined12:44
s8321414 joined12:44
Rixius left12:45
netcarver left12:45
mattstratton left12:47
LucasKA left12:47
tirengarfio left12:47
Rixius joined12:47
amikiri joined12:48
mattstratton joined12:49
Nizumzen joined12:51
User458764 left12:51
lsiv568 joined12:52
mattstratton left12:52
Gitzilla left12:52
Gizburdt left12:54
mattstratton joined12:55
amikiri left12:56
martinklepsch joined12:56
howitdo left12:56
mattstratton left12:57
cannonball joined12:57
fairuz joined12:57
Rixius left12:58
Malsasa_ joined12:58
zumba_addict joined12:58
Malsasa left12:59
UmbraMalison Vampire0: thanks, sending to the printer...13:00
fstd left13:00
mattstratton joined13:00
fstd joined13:00
Rixius joined13:01
martinklepsch left13:01
bollullera joined13:01
martinklepsch joined13:02
mattstratton left13:03
ajithps left13:04
rchavik left13:04
CKyle joined13:05
mattstratton joined13:05
zumba_addict left13:05
cbr__ joined13:05
hcc23 joined13:06
intellix joined13:06
colorbot joined13:06
endiruna joined13:06
colorbot left13:06
shinnya joined13:07
b1nar1_ left13:07
cbr left13:08
cbr__cbr13:08
mellernoia joined13:08
mattstratton left13:08
thibaultcha joined13:09
pandeiro joined13:09
smw left13:10
mattstratton joined13:10
howitdo joined13:11
robban joined13:11
shigosei joined13:14
encod3 joined13:14
liamkeily left13:14
thibaultcha left13:14
mattstra_ joined13:14
mattstratton left13:15
vtunka joined13:15
tmcmahon joined13:15
lindenle joined13:16
petersr joined13:17
petersr left13:17
mattstra_ left13:18
nikita left13:18
mellernoia left13:19
mattstratton joined13:19
jceb left13:19
lindenle left13:20
bvi_ left13:20
mellernoia joined13:21
nikita joined13:21
Rixius left13:21
mattstratton left13:21
sebhoss joined13:22
mattstratton joined13:23
cagedwisdom left13:23
mellernoia left13:23
RaceCondition joined13:23
Rixius joined13:24
ManikM left13:25
mellernoia joined13:25
Manny joined13:25
mattstratton left13:26
livingstn joined13:27
mattstratton joined13:28
astrofog joined13:28
livingstn left13:30
livingstn joined13:30
livingstn left13:30
tokik joined13:30
EminenceHC joined13:30
Tuna-Fish left13:31
fstd_ joined13:31
livingstn joined13:31
liamkeily joined13:31
Reskp_ left13:31
cbr left13:31
cbr joined13:32
mattstratton left13:32
bvi_ joined13:32
listochkin joined13:32
Reskp joined13:32
MalteJ left13:32
fstd left13:32
fstd_fstd13:32
mattstratton joined13:33
kdlv left13:34
jceb joined13:34
lpax joined13:34
Internet13 left13:34
mattstratton left13:35
EminenceHC left13:35
mellernoia left13:35
kdlv joined13:36
khisanth_ joined13:37
daggs1 joined13:37
mellernoia joined13:37
Internet13 joined13:38
latenite left13:38
daggs1 greetings, is there a standard way to sync changes from a specific remote branch into another remote repo?13:38
mattstratton joined13:38
Vampire0 daggs1, define "sync"13:38
tobiasvl daggs1: !sync ?13:38
gitinfo daggs1: [!fork_sync] You can read a nice guide on how to update your fork with the upstream repository here: https://help.github.com/articles/syncing-a-fork13:38
mellernoia left13:39
daggs1 cool! thanks :)13:39
Khisanth left13:40
solker joined13:40
mellernoia joined13:40
Tuna-Fish joined13:42
alexh_ left13:42
mattstratton left13:42
harish left13:43
mattstratton joined13:44
solker left13:45
daniell left13:45
dfas joined13:46
harish joined13:46
mizu_no_oto left13:46
knownasilya joined13:46
b1nar1 joined13:47
nnyk_ left13:47
mattstratton left13:47
arup_r left13:47
beautifulmind left13:48
bvi_ left13:48
robustusrobustus|Off13:49
govg left13:49
KevinMGranger joined13:49
dsdeiz left13:50
mattstratton joined13:50
robustus|Offrobustus13:50
govg joined13:50
kopparam left13:51
Malsasa_ left13:51
darkbasic_ left13:52
shebbi left13:52
mattstratton left13:53
darkbasic joined13:54
palcu_ left13:54
Gizburdt joined13:54
Patch joined13:55
tier joined13:56
CKyle left13:56
zumba_addict joined13:56
vtunka left13:56
mattstratton joined13:56
hyperair joined13:57
daggs1 left13:57
ORiON-- left13:57
daggs-work joined13:57
dmiles_afk joined13:58
ORiON-- joined13:58
mattstratton left13:58
Guest44325 left13:58
dmiles_afk git submodules keep something like a "fork" in the main .git pointing ad the submodule?13:58
tobiasvl fork? no…13:58
hcc23 left13:59
zumba_addict left13:59
dmiles_afk well why i ask is this...13:59
zumba_ad_ joined13:59
govg left13:59
Gizburdt left13:59
Segfault_ left13:59
nnyk_ joined14:00
govg joined14:00
dcpc007 left14:00
dmiles_afk i am going to be changing things from someone elses repostiory that i dont have write access to.. so i can fork it on github then i can submodule it into a tree that i am using14:00
i was wondering if that fork on github isnt that usefull14:00
ThomasLocke left14:00
dcpc007 joined14:01
nemesit|znc left14:01
blueyed left14:01
Ratler left14:01
JelmerD left14:01
endiruna left14:01
crane left14:01
rjc left14:01
chernjie left14:01
PaulePanter left14:01
heroux left14:01
rudi_s left14:01
encod3 left14:01
mattstratton joined14:01
MattMaker left14:02
dmiles_afk since from what i can tell is unpushed changes to the fork would be staged in the repo declaring the submodule14:02
_Vi left14:02
scorphus left14:02
falstaff left14:02
tokkee left14:02
mellernoia left14:02
JohnBat26 left14:02
JanC left14:02
gniourf left14:02
MattMaker joined14:02
mitzip_ left14:02
falstaff joined14:02
akheron left14:02
d10n-work joined14:02
offby1 if anyone cares -- the GNU Emacs project is said to be transitioning to git as we speak ... said to be one of the hairiest conversions-to-git ever (from bzr)14:03
endiruna joined14:03
akheron joined14:03
JohnBat26 joined14:03
PaulePanter joined14:03
chernjie joined14:03
ThomasLocke joined14:03
rudi_s joined14:03
heroux joined14:03
tokkee joined14:03
encod3 joined14:03
rjc joined14:03
darkbasic left14:04
JelmerD joined14:04
nemesit|znc joined14:04
Mitchbones joined14:04
mellernoia joined14:04
enitiz joined14:04
blueyed joined14:04
darkbasic joined14:04
dmiles_afk ok i see .. i do need this stopgap fork14:04
Rixius left14:04
Ratler joined14:04
gniourf joined14:04
Ratler left14:05
Ratler joined14:05
_Vi joined14:05
crane joined14:05
mattstratton left14:05
moritz offby1: how does one measure hairiness of migrations? WTFs per minute?14:05
offby1 moritz: sounds about right14:05
JanC joined14:05
Rixius joined14:06
crose joined14:07
mattstratton joined14:07
dmiles_afk sorry one more newbiesh question.. if i fork someone else repository and they delete it later.. am i going to continue to operate?14:08
luto yes14:08
tchan left14:08
zivester joined14:08
blarghlarghl left14:09
zumba_ad_ left14:09
jceb left14:09
dsdeiz joined14:10
mattstratton left14:10
dmiles_afk at.. https://github.com/TeamSPoon/logicmoo/tree/master/src_modules i am pointing to a submodule called swish.. if is a forked repostiory14:11
thibaultcha joined14:11
mylord joined14:11
mattstratton joined14:11
dtrott left14:12
mylord I can’t seem to pull latest on a branch from my server14:12
dmiles_afk it is a forked repostiory.. they just updated .. can i from 'logicmoo' call teh commands in 'swish' to catch up to what it's forked?14:12
mylord From client, I pushed branch and I see it in bitbucket14:12
tobiasvl dmiles_afk: !sync ?14:12
gitinfo dmiles_afk: [!fork_sync] You can read a nice guide on how to update your fork with the upstream repository here: https://help.github.com/articles/syncing-a-fork14:12
zumba_addict joined14:12
mylord but on my server, what should I do to pull it? git check merge-android; git pull origin merge-android ?14:12
_Vi left14:13
Junior left14:13
Rixius left14:13
ehmatthes joined14:13
palcu_ joined14:14
dmiles_afk tobiasvl: thanks .. i am guessing the sanest think is to on my disk have two checkouts of my submodule.. one playing :"submodule" and the other a clone of the fork14:14
MarkyC joined14:14
zumba_addict left14:14
listochkin left14:14
mattstratton left14:14
zumba_addict joined14:14
dmiles_afk clone of the fork , i sync14:15
zumba_addict left14:15
dmiles_afk submodule pointing to fork , i consume14:15
zumba_ad_ joined14:15
shinnya left14:15
tmcmahon left14:15
MarkyC Can someone explain how to remove a file from a pull request?14:15
(it's already in the branch, but I don't want a pull request's changes to that file to be commited14:15
thibaultcha left14:15
dmiles_afk slightly i guess i whished submodules had their very own first class .fgit dir14:16
mitzip left14:16
nnyk_ left14:16
dmiles_afk slightly i guess i wish submodules had their very own first class .git dir rather than a text file with a link ;P then i'd be less confused14:17
mattstratton joined14:17
tobiasvl MarkyC: this sounds like something for #github, but afaik you can't. a github pull request is tied to a branch14:17
nnyk_ joined14:17
MarkyC tobiasvl: I'm on BitBucket, so I'll ask there14:18
zumba_ad_ left14:18
zumba_addict joined14:18
mitzip joined14:19
MarkyC tobiasvl: what would happen if they git rm thefile in their branch?14:19
buffal0 joined14:19
Rixius joined14:19
mattstratton left14:20
tier left14:20
moritzs joined14:20
checkItOut joined14:22
javster joined14:22
subhojit777 left14:23
mattstratton joined14:23
jceb joined14:23
tchan joined14:23
dc5ala left14:24
Rixius left14:24
tier joined14:25
zumba_addict left14:25
Takle joined14:25
dangerousdave left14:25
blarghlarghl joined14:25
snuffeluffeguspizza14:26
pizzasnuffeluffegus14:26
zumba_addict joined14:26
lsiv568 left14:26
Alpha-17 joined14:26
Noldorin joined14:26
mellernoia left14:27
mattstratton left14:27
Alpha-17 left14:27
iamjarvo joined14:27
checkItOut left14:27
mattstratton joined14:28
mellernoia joined14:29
s8321414 left14:29
tmcmahon joined14:29
mribeirodantas joined14:29
lsiv568 joined14:29
Rixius joined14:29
LeMike joined14:30
cagedwisdom joined14:30
nnyk_ left14:30
solker joined14:31
mattstratton left14:32
tmcmahon left14:32
chrisgeorge joined14:32
tesaf joined14:33
Reskp left14:33
mattstratton joined14:34
settermjd left14:35
sohail` joined14:35
listochkin joined14:35
Gizburdt joined14:35
EminenceHC joined14:35
DigitallyBorn joined14:35
dsdeiz left14:35
mattstratton left14:37
dsdeiz joined14:37
DigitallyBorn left14:38
frdmn left14:39
frdmn joined14:39
Junior joined14:39
shawndumas joined14:40
asakura1 left14:40
EminenceHC left14:40
mattstratton joined14:41
diegoviola joined14:41
moritzs left14:42
listochkin left14:42
smccarthy joined14:43
zumba_addict left14:43
jerius joined14:44
iamjarvo left14:45
AaronMT joined14:45
mattstratton left14:45
dangerousdave joined14:45
dangerousdave left14:46
nnyk_ joined14:46
zso joined14:46
moritzs joined14:47
zso left14:47
mattstratton joined14:47
User458764 joined14:48
listochkin joined14:49
Gamecubic joined14:50
listochkin left14:51
m0ltar left14:51
listochkin joined14:52
mattstratton left14:52
Gizburdt left14:52
Neozonz joined14:52
mattstratton joined14:53
bollullera left14:53
jargon joined14:53
pmallya joined14:54
koderok joined14:54
Takle left14:54
Marcus___ left14:55
Takle joined14:55
Gizburdt joined14:55
asakura1 joined14:56
mattstratton left14:56
mattstratton joined14:56
dsdeiz left14:56
dw left14:57
listochkin left14:57
moritzs left14:57
Reskp joined14:58
Manny left14:58
ManikM joined14:58
Marcus___ joined15:00
_Vi joined15:00
crose left15:01
Spacew00t joined15:01
MrSavage joined15:01
dangerousdave joined15:01
Rixius left15:01
str left15:02
bollullera joined15:02
JohnBat26 left15:02
JohnBat26 joined15:02
bollullera left15:02
hightower4 left15:02
mattstratton left15:03
ar45 left15:03
iamjarvo joined15:03
palcu_ left15:03
dreiss joined15:03
creppe joined15:03
bollullera joined15:04
bollullera left15:04
mellernoia left15:05
kermit left15:05
Rixius joined15:05
kermit joined15:06
Neozonz left15:06
bollullera joined15:06
bollullera left15:07
dw joined15:07
mellernoia joined15:07
DrSkyLizard joined15:08
mattstratton joined15:08
bollullera joined15:08
AR45|ALT joined15:09
zivester left15:09
bollullera left15:09
mkaesz joined15:09
ilhami left15:09
facundor left15:10
chrisgeo joined15:10
bollullera joined15:11
hcc23 joined15:11
moparisthebest left15:11
thibaultcha joined15:11
bollullera left15:12
Emugel joined15:12
bollullera joined15:13
zumba_addict joined15:13
BombStrike left15:13
weyer left15:13
bollullera left15:13
Emugel hi, what is the best way to handle local configuration files which content is different on different repository? is there a better option than to just add them to the ignore list?15:13
Reskp left15:13
cagedwisdom left15:13
mattstratton left15:14
BombStrike joined15:14
bollullera joined15:14
jast !configfiles15:14
gitinfo 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 ideas15:14
rath left15:15
bollullera left15:15
bvi_ joined15:15
deuterium joined15:15
Emugel wow there's a faq for this :) thanks jast.15:15
weyer joined15:15
canton7 it's one of the oldest triggers iirc?15:15
AR45|ALT left15:16
clauswitt joined15:16
facundor joined15:16
thibaultcha left15:16
jast it's been around a long time, that's for sure15:16
BlaXpirit joined15:16
fr33domlover joined15:16
mattstratton joined15:17
bollullera joined15:17
javster left15:17
robustusrobustus|Off15:17
deuterium does anybody know an easy way to deploy a git server on debian, preferably including a github-like web interface etc.?15:17
javster joined15:17
osse deuterium: install gitlab or gitorious15:18
AR45 joined15:18
AR45Guest1523115:18
qsuscs github enterprise? :D15:18
deuterium osse: cool, will look into these, thanks!15:18
qsuscs (it costs a whole lot of money.)15:18
mattstratton left15:19
DrSkyLizard left15:19
kopparam joined15:19
kopparam left15:19
deuterium qsuscs: didn't even know this exists ;)15:19
clauswit_ left15:19
cbreak if you have to ask how much it costs you can't afford it.15:19
deuterium qsuscs: "whole lot of money" doesn't sound too inviting though ;)15:19
cbreak: guess we can't then15:19
jast PSA: http://jk.gs/git/bot/trigger_recent.php now shows *all* changes ever, ordered chronologically15:20
mattstratton joined15:20
qsuscs deuterium: https://enterprise.github.com/features#pricing15:20
clauswitt left15:20
bvi__ joined15:20
qsuscs it surely looks nice, but yes, not cheap.15:20
polyzen joined15:20
facundor left15:20
goTAN hm I want to setup 2 git project which share some parts, is there a way to somehow "connect" them?15:20
jast as you can see, 'configfiles' was added four days after the very first triggers15:20
bvi_ left15:21
qsuscs goTAN: !subrepo15:22
gitinfo goTAN: [!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.15:22
Guest15231 left15:22
javster left15:22
qsuscs goTAN: that is, make something a library/module/$fancy_hipster_programming_language_term and add it e.g. as submodule15:22
mizu_no_oto joined15:23
AR45|ALT joined15:23
mattstratton left15:23
tranzfuse joined15:23
moparisthebest joined15:24
Amandil joined15:24
mattstratton joined15:25
bvi__ left15:25
Trudko left15:25
osse beanapifactory15:26
govg left15:26
MalteJ joined15:26
goTAN hmm15:26
qsuscs: basically the first project is a game and the second project is a level editor for that game15:27
govg joined15:27
goTAN so which one would you choose15:27
mattstratton left15:28
goTAN so I would tend to the first approach15:29
m0ltar joined15:29
nyuszika7h joined15:30
nyuszika7h I don't seem to have p4merge in my locally compiled git installation, how can I get it?15:30
LBV_User joined15:31
deuterium qsuscs: it's above our budget indeed15:31
Takle left15:31
mattstratton joined15:31
MLM joined15:32
osse nyuszika7h: it's not part of git15:32
nyuszika7h: http://www.perforce.com/downloads/Perforce/20-User?qt-perforce_downloads_step_3=1#product-1015:32
nyuszika7h ah15:32
oh it uses Xorg, I can't run that on my server then >_>15:32
Jackneill joined15:33
osse the only CLI tools I know of are vim, emacs and not using any at all.15:33
nyuszika7h I know vim but the vimdiff window git mergetool opened is just too confusing15:34
AR45|ALT left15:34
mattstratton left15:35
settermjd joined15:35
Wiseboy joined15:35
AR45- joined15:35
Junior left15:35
mattstratton joined15:35
subhojit777 joined15:35
listochkin joined15:36
bvi__ joined15:37
jottr left15:38
Spacew00t left15:38
mattstratton left15:39
mattstratton joined15:39
eletuchy joined15:39
jottr joined15:39
cannonball left15:40
LeMike left15:40
Spacew00t joined15:40
cannonball joined15:40
EminenceHC joined15:41
mattstratton left15:41
palcu joined15:42
Emugel left15:42
psoo left15:43
ecky--ptang-zoob left15:43
ecky--ptang-zoob joined15:43
danemacmillan joined15:44
nootan joined15:44
lb1a left15:44
icio_ joined15:45
EminenceHC left15:45
tvw left15:45
nootan Hello Guys. Is this the right place to ask how does git manage to know the changes that happens in the folder since the last commit?15:45
mattstratton joined15:46
Ankhers joined15:47
Takle joined15:47
dangerousdave left15:47
icio_ left15:47
blubberbop joined15:47
nootan <repeat> Hello Guys. Is this the right place to ask how does git manage to know the changes that happens in the folder since the last commit?15:48
solker left15:48
canton7 try asking your question. it's not clear what you're going to ask15:48
kermit left15:49
icio left15:50
freimatz joined15:50
kermit joined15:50
jast well it compares the files to what it's got remembered... and it skips files if it's fairly certain there's been no change15:50
I believe this works by caching inode numbers in the index file or something like that15:51
mattstratton left15:51
mattstratton joined15:51
jcalonso joined15:51
nootan jast, does this mean it should copy all the code so that it can use it as reference15:52
groolot left15:52
thumpba joined15:52
nootan s/code/files/15:52
canton7 no - as a final result it will compute the hash of the new file and compare it against its cached hash15:52
*final fallback15:52
*final measure15:53
LBV_User it probably prefilter the files it knows, then check for change in dates, than compute what it remembers to be the contents of those files, then compare it's contents15:53
vtunka joined15:53
nootan in order to generate diffs, it needs to compare the contents -- doesn't it imply that there's at least one exact copy of the uncommited files?15:54
AR45-AR4515:54
Gizburdt left15:54
b1nar1_ joined15:54
canton7 when it does generate the diff, yes it will compare the file on disk to what's stored as part of the last commit, or stored in the index for staged files15:54
m0ltar left15:55
cbreak nootan: the file in the working dir is that copy15:55
palcu left15:55
b1nar1 left15:56
tokik left15:56
mattstratton left15:56
nootan cbreak, i am a little confused15:56
hs366 left15:56
mattstratton joined15:57
mlechner left15:57
nootan the file in the working dir is unstaged copy?15:57
palcu_ joined15:57
thedodd joined15:57
tokik joined15:58
mattstratton left15:58
cbreak yes.15:58
you change it.15:58
Vampire0 nootan, the committed file contents are in .git/objects15:58
mattstratton joined15:58
b1nar1_ left15:59
Gizburdt joined15:59
jottr left15:59
b1nar1 joined15:59
nootan the .idx and .pacck files?16:00
Noldorin left16:00
nootan Vampire0, ^^16:00
Amandil left16:00
jast among other things16:01
CKyle joined16:01
jast at different points in time, objects can be stored in different ways16:01
blubberbop left16:01
cbreak you don't have to worry about that usually16:01
blubberbop joined16:01
moritzs joined16:02
nootan i am actually in the situation of implementing something like that16:02
Not_Whatever joined16:02
nootan so, i was wondering if there's some standard algo for that16:02
Raging_Hog left16:02
mihaicris joined16:02
Sasazuka joined16:03
palcu joined16:03
cbreak depends.16:03
palcu_ left16:03
cbreak on OS X you'd use fsevents16:03
mattstratton left16:03
cbreak git does it the dumb way16:04
goTAN left16:04
thedodd left16:05
Segfault_ joined16:05
nootan And i have to impement it on .net (win stuffs)16:05
mennea left16:05
nootan I am using something called filesystemwatcher16:06
mizu_no_oto left16:06
nootan which fires event on file change, but for that i need to run some kind of service everytime16:06
steele joined16:06
mattstratton joined16:06
Gizburdt left16:06
nour left16:06
mkaesz left16:07
a_le joined16:08
offby1 nootan: you have to explicitly run a service in order to get notified of file system changes? That's surprising16:08
imachuchu joined16:08
kukks joined16:08
kukks left16:08
kukks joined16:08
awkwardusername left16:09
lsiv568 left16:09
nootan offby1, I am not sure if Windows does that, but my app still needs to catch the event. for which it should be running.16:09
jargon left16:09
nootan If i had to do it in git way, then i would have probably stored a version, close my app, and then when i reopen it, it would then check for changed files and folders16:10
cbreak on OS X you can get changes since some point X in the past16:10
with fsevents16:10
basiclaser_ joined16:10
psoo joined16:10
cbreak this is neat for backup programs for example16:10
nootan Oh, maybe i should lookup if there's something similar16:11
grawity on Windows, NTFS has the USN journal, which some indexers use16:11
tokik left16:11
cbreak nootan: worst case you just remember last changed time and size of every file you care about16:11
grawity it has a complete log and therefore needs privileges, though16:12
lindenle joined16:12
nootan cbreak, that's what i thought, :)16:12
mattstratton left16:12
knobo left16:12
nootan grawity, oh, do you know if there's some kind of .net component for that16:12
thibaultcha joined16:13
faylite joined16:14
Reskp joined16:14
devoldmx joined16:15
seschwar left16:15
jast change journals still require that you have a service running ot catch all of their events16:15
simply because they don't persist all change events forever16:15
rhombus left16:15
lindenle left16:16
robustus|Offrobustus16:16
mattstratton joined16:16
rhombus joined16:16
nootan Ah, looks like i will fall back to using FileSystemWatcher16:17
anyways, thanks guys.16:17
nrsk left16:17
grawity jast: but for a limited time they do; it's an on-disk log16:17
abec0_ left16:17
abec0 joined16:17
thibaultcha left16:18
nootan it will need a service anyways, otherwise you cannot be sure that you were able to catch all the events?16:18
ThomasLocke left16:19
Reskp left16:19
mkaesz joined16:19
crose joined16:20
CKyle left16:21
steele_ joined16:21
jast nootan: yeah, that was my point :)16:21
mihaicris left16:22
ojacobson joined16:22
sebhoss left16:22
moparisthebest left16:22
pcypher joined16:23
pheaver joined16:23
mattstratton left16:23
puff left16:24
puff joined16:24
Sasazuka left16:24
Reskp joined16:24
steele left16:24
steele joined16:25
steele_ left16:25
Sasazuka joined16:25
Sasazuka left16:25
Sasazuka joined16:25
nikita left16:25
koderok left16:25
mattstratton joined16:26
Neozonz joined16:26
Neozonz left16:26
Neozonz joined16:26
alanwill_ joined16:26
pmallya__ joined16:26
diegoviola left16:26
moparisthebest joined16:28
nikita joined16:28
pcypher left16:28
pcypher joined16:28
darkbasic left16:29
pmallya left16:29
jagob left16:29
nickBek left16:30
danjordan left16:30
darkbasic joined16:30
MrSavage left16:30
danjordan joined16:31
Reskp left16:31
pheaver left16:31
tozhu left16:31
mattstra_ joined16:32
robertt_dex joined16:33
mattstratton left16:33
pcypher left16:34
mattstra_ left16:34
moritzs left16:35
jagob joined16:35
dreiss left16:35
mattstratton joined16:36
Sasazuka left16:37
psoo left16:37
ManikM left16:37
Juzzika left16:38
mattstratton left16:38
knobo joined16:40
oskarkv joined16:40
crose left16:41
kpease joined16:42
livingstn left16:42
jhwhite joined16:42
b1nar1 left16:42
ManikM joined16:42
wookienz left16:42
jhwhite left16:42
ManikM left16:43
koderok joined16:43
ManikM joined16:43
wookienz joined16:43
Marcus___ left16:44
enitiz left16:44
dserodio when using https por pushing, is is necessary to enter the password for every push, or is there an alternative?16:44
s/por/for/16:44
nootan dserodio, using ssh?16:45
canton7 iirc you can use .netrc to save your credentials?16:45
or use one of the credentials helpers?16:45
dserodio nootan, yeah, our stupid InfoSec department wants to forbid the use of SSH for Git so I'm trying to list pros/cons of each solution16:45
koderok left16:46
CheckDavid left16:47
tirengarfio joined16:47
milki wow, whats wrong with ssh -.-16:47
brockfredin joined16:47
Remram If I "git push myremote branch1 branch2" and one of the ref fails (because it's not fast-forward for instance), do the following branches get pushed?16:47
brockfredin I'm having a problem with gitflow. Whenever I start a new branch, It's not loading all the project .cs files.16:47
Any tips?16:47
cbr left16:48
EminenceHC joined16:48
mizu_no_oto joined16:49
herdingcat joined16:49
FilipNortic left16:49
kadoban brockfredin: What command(s) are you running, and what changes? What do you mean by not loading the project files?16:49
imachuchu brockfredin: so a branch is just a pointer to a commit. When you create a new branch by default it points to your currently checked out commit, so which commit are you creating the branch from?16:49
tier left16:50
tier joined16:50
ehmatthes left16:50
kopparam joined16:51
nettoweb joined16:51
brockfredin kadoban imachuchu I'm running git flow init and or using source tree by default to run: git checkout -b branchName develop16:52
jceb left16:52
dreiss joined16:52
thumpba left16:52
jottr joined16:52
kadoban brockfredin: So then branchName is at whatever state that develop is.16:53
EminenceHC left16:53
Remram ok it seems refs that can be updated get updated16:53
even if they come after failing refs on the command line16:54
(please tell me if I'm wrong)16:54
(it's important ;)16:54
brockfredin kadoban Kadoban You'd think but somehow the git flow is getting in the way. I then look at the state of my repository and I'm missing a project which is a dependency for my solution. I re-cloned my repo, did it with msysgit instead, and then it's not sucking down any of the libraries that are needed.16:55
palcu left16:56
kopparam left16:56
kukks left16:56
Sasazuka joined16:57
sohail` left16:58
dreiss left16:58
joelm joined16:58
Brain left16:59
jonmorehouse joined17:00
kadoban brockfredin: I'm just not clear on what you're expecting to happen that isn't. Is 'develop' at a state you expect? Because it should be before you branch off of it and expect /that/ to be usable17:00
palcu_ joined17:01
Neozonz left17:01
a_le left17:01
Mitchbones left17:02
bollullera left17:03
TomyWork left17:03
scorphus joined17:03
scorphus left17:03
scorphus joined17:03
jontmorehouse joined17:04
jonmorehouse left17:06
hfp Hey all, is it bad to rewrite the public history if I am the only one using the repo?17:06
milki no it is not17:08
miffor`` joined17:08
RagnarDanneskjol joined17:08
miffor`` left17:08
iamjarvo left17:08
milki but if its public17:08
a_le joined17:08
milki how do you know you are the only one!?17:08
lindenle joined17:09
hfp milki: Because it's a repo I started yesterday and I'm 99% sure no one else cloned it17:09
lsiv568 joined17:09
kadoban On the same note, if you make the repo hostile to others, you probably soon will be the only one if you're not already.17:09
khisanth_Khisanth17:10
brockfredin left17:11
hfp ok maybe I;m looking at this the wrong way. I made a temporary commit to a temp branch because I was switching computers and wasn't ready to make a full commit. I pushed that and pulled from that other computer. Then I did my commits on that temp branch and now I would like to remve the initial temp commit but retain all the other commits and apply them on master17:11
How can I fix it?17:11
kingsley-t joined17:12
milki hfp: try !fixup17:12
gitinfo hfp: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!17:12
kadoban hfp: rebase -i it onto master, leaving out that commit. Alternatively, cherry-pick the rest.17:12
hfp if I cherry-pick the rest, I won't lose anything even if I skip the temp commit?17:13
thibaultcha joined17:14
kadoban You can have conflicts, but I'm not sure what else you mean you'd lose17:14
LucasKA joined17:14
hfp the initial temp commit that is a partial one and that I don't want to appear in master17:15
ascarter joined17:15
hebz0rl left17:16
lindenle left17:16
lindenle joined17:16
Thra11 joined17:17
kadoban hfp: Yeah, none of that will be in there. Did you fix up the commit in the next one or something? You can combine the two with rebase -i then, if that's what you want.17:17
CheckDavid joined17:17
Not_Whatever left17:17
hfp kadoban: Well I made commits after that but I didn't touch the temp commit that had broken code in it. So if I rebase -i the temp commit and the one after they'll be fused together?17:18
leeN joined17:18
thibaultcha left17:19
kadoban nfk: rebase -i is interactive rebase. It lets you rearrange, combine and overwise change commits however you like.17:19
ascarter left17:19
harish left17:20
hfp kadoban: The fact that I pushed one of the commits doesn't matter?17:20
m0viefreak joined17:21
ome left17:21
thedodd joined17:21
kadoban hfp: All of the things I mentioned change history if that's what you're asking. Since you only pushed it into what I assume is some branch named "temp" though, it shouldn't matter much.17:21
hfp kadoban: Yes I pushed into a temp branch that I'll discard once the changes are integrated into master17:22
danemacm1 joined17:22
iamjarvo joined17:22
mkoskar left17:24
intellix left17:24
danemacmillan left17:24
vtunka left17:25
jontmorehouse left17:26
robustusrobustus|Off17:26
pcypher joined17:26
jonmorehouse joined17:26
EvilPenguin joined17:26
livingstn joined17:27
beneggett joined17:27
nfk kadoban, i haven't even used rebase ever, but okay...17:27
akushner_ joined17:27
robustus|Offrobustus17:27
joelm left17:28
koderok joined17:28
maestrojed joined17:28
kadoban nfk: Heh, sorry.17:28
Takle left17:30
jottr left17:30
desposo joined17:31
Takle joined17:31
robustusrobustus|Off17:31
hexagoxel left17:32
Xethron left17:32
joelm joined17:32
Reskp joined17:32
javster joined17:33
Reskp left17:33
kerrick left17:33
jcalonso left17:34
MrSavage joined17:34
Reskp joined17:34
mikecmpbll left17:34
shoerain joined17:34
weyer_ joined17:35
Takle left17:35
martinklepsch left17:36
b1nar1 joined17:36
weyer left17:36
shoerain How fancy should I get with rebasing/reworking history? I'm thinking of a way to tell if a pair of commits are independent of each other. Say I have a test suite, and I make commits [A,B,C] with different changes in each. I can just reorder the commits [A,C,B], and it should rebase fine (as well as run the tests fine).17:36
nnyk_ left17:37
shoerain From what I can tell, just because I reorder commit B and C does not guarantee that it will rebase fine and run tests fine.17:38
hahuang65 left17:38
CKyle joined17:38
Reskp left17:38
pheaver joined17:38
liamkeily left17:39
achadwick left17:39
kadoban shoerain: You seem to have contradicted yourself there, so I'm not sure what you're asking. There's no guarantee that there won't be conflicts or that your tests will still pass.17:39
jceb joined17:40
kadoban shoerain: As to how fancy you should get...why do any of it? If you've already published/shared this stuff especially, leave it alone. Otherwise, do as much cleanup as you like, but yes you can easily screw up history worse than you started.17:40
fishey joined17:41
nrsk joined17:41
coasterz_ joined17:41
bvi__ left17:41
iamjarvo left17:42
shoerain kadoban: 1. haven't published it yet. 2. Don't think I contradicted myself. I was wondering if the second clause is true and if the first clause is possible (i.e. given 2 commits and a predicate for commutativity, are the commits commutative?)17:43
Pyrogerg joined17:43
shoerain Reordering commits seem to be a pretty delicate action17:43
kadoban It is17:44
dreiss joined17:44
kadoban The contradiction I mentioned is the last sentence of your first paragraph and then the next message after that seem to be exact opposites. Maybe I'm misreading/misunderstanding.17:44
shoerain and I end up committing a lot of half-functional unordered commits (cleanup, feature, cleanup, feature) that may be better pieced as (cleanup, cleanup, feature, feature)17:44
freimatz left17:45
kadoban shoerain: Does it actually matter though? What's the harm in the way they're currently ordered?17:45
coasterz left17:45
fishey2 left17:45
mnngfltg left17:45
iamjarvo joined17:46
tg left17:46
iliketurtles joined17:46
shoerain ruminating thoughts. Creating a readable history is pretty darn useful17:46
pcypher_ joined17:46
kadoban shoerain: I mean if you really want to reorder, go ahead. It's not /that/ bad, but if you really want all of history to make sense, you can easily get conflicts you have to deal with and if you want to you should make sure your tests pass at every point...if you care about that anyway.17:46
Arsonide left17:47
Arsonide joined17:47
iliketurtles left17:47
endiruna left17:47
Gizburdt joined17:48
sjmikem_sjmikem17:48
dw left17:48
tg joined17:49
pcypher left17:50
Ard0nik joined17:50
knobo left17:50
steele left17:52
steele joined17:53
Ardonik left17:53
MattB2 joined17:53
pantsman- joined17:53
subhojit777 left17:53
dw joined17:53
EminenceHC joined17:54
FSMaxB joined17:54
Ardonik joined17:54
FSMaxB Is there a way to write hooks for "git add"?17:54
EvilPenguin left17:55
Ard0nik left17:55
listochkin left17:55
ecky--ptang-zoob left17:55
ecky--ptang-zoob joined17:56
Reskp joined17:57
sMa_ left17:57
Ard0nik joined17:57
steele left17:57
kukks joined17:58
kukks left17:58
kukks joined17:58
EminenceHC left17:59
Ardonik left17:59
tranzfus_ joined17:59
herdingcat left17:59
nour joined18:00
a_le left18:00
a_le joined18:01
javster left18:02
Reskp left18:02
herdingcat joined18:02
javster joined18:02
tranzfuse left18:03
nootan left18:03
mellernoia left18:03
lsiv568 left18:03
sdrfnord1 joined18:04
pmallya__ left18:05
ruukasu left18:06
ruukasu joined18:06
hexagoxel joined18:07
javster left18:07
bvi__ joined18:07
anli_ joined18:07
subhojit777 joined18:08
gitinfo set mode: +v18:08
bvi__ left18:08
shigosei left18:10
hahuang65 joined18:10
anli_ I have created a branch to an already existing name, then I force pushed, however, when I pull that branch to another machine that was aware of the branch before the overwrite, I can not get new contents, why?18:10
arnaud__ joined18:12
dtrott joined18:12
anli_ It doesnt even work to delete the local branch then switch to origin/branchname, the contents will still be the old one18:12
javster joined18:13
steele joined18:15
jonmorehouse left18:15
thibaultcha joined18:15
intellix joined18:15
Ankhers left18:16
pcypher_ left18:16
pcypher joined18:16
meanderer joined18:17
awkwardusername joined18:17
francisfish left18:19
thibaultcha left18:19
MattB2 Hi, "This branch is 5 commits ahead of upstream/master"... I have a fork of a github repo, and from that fork I have branches with open pull requests to upstream that I want to keep. So far so good. Along the way I made some changes and committed to master in my fork. (first mistake!). I have brought my master up to date from upstream, but am still ahead by 5 commits. I don't need those commits. How do I get rid of them so they don'18:20
t pollute new branches from my local master that I might want to PR into upstream? Thanks!18:20
daedeloth left18:20
francisfish joined18:20
steele left18:21
steele joined18:22
kriks left18:22
aswen joined18:23
imachuchu anli_: well, first off try "git ls-remote origin" to list out what branches your repo knows of on remote, then try to create a new branch with "git checkout -b testBranch origin/whateverRemoteBranch" to create one pointing to the same commit18:23
michelangelo joined18:23
anli_ I am using tortoise, is not git fetch -all doing exactly what the first you said is doing?18:23
imachuchu anli_: "git ls-remote origin" just has git show you what branches it knows of on the remote. I'm sorry but I have no expiriance with tortoise-git, I can help you with the command line but not as much with a gui18:25
MattB2 Put another way: how do I get my local and remote master aligned to upstream master without losing the branches I've already PRd?18:25
anli_ I am deleting the branch locally and then I switch to origin/branchname, that should give me the latest version of branchname locally, should it not?18:26
francisfish left18:26
imachuchu MattB2: nomatter what you do to master it won't effect other branches (branches point to commits, commits are immutable), so just get your local master like you want it and force push to remote18:26
donmichelangelo left18:26
steele left18:26
MattB2 So something like this? http://stackoverflow.com/questions/9646167/clean-up-a-fork-and-restart-it-from-the-upstream18:26
jottr joined18:27
imachuchu anli_: from within the gui? No idea. Make sure that you have fetched though so that git knows about changes on the remote (you said you pulled, just making sure)18:27
steele joined18:27
anli_ I am fetching18:27
imachuchu MattB2: yep, reset hard your local branch to whatever then force push to make remote like what you want18:28
Takle joined18:29
MattB2 okay cool, thanks imachuchu, trying it now!18:29
imachuchu anli_: does tortoise git say what git sees the remote branch at (again, I have never even seen this GUI so I'm only of so much use)18:29
MattB2: no problems, best of luck!18:29
anli_ I can get a list of branch names18:29
baweaver joined18:29
anli_ Maybe I should open the command line then18:29
encod3 left18:30
nrsk left18:30
aswen left18:31
tier_ joined18:31
anli_ I am using git ls-remote origin, the branch is coming up18:31
jottr left18:32
anli_ How do I do a listing in the same way locally?18:32
MattB2 imachuchu: Now on my fork it says 'This branch is 22 commits behind upstream/master' Wha?18:32
:-/18:32
baweaver left18:32
imachuchu MattB2: sounds like you reset it too far back in the past18:33
anli_: "git branch -v"18:33
listochkin joined18:33
pandeiro left18:33
anli_ I tried git branch list, that created a branch name list...18:33
Well, the branch in question is not longer listed when i git branch18:34
tier left18:34
anli_ (not talking about list918:35
)18:35
imachuchu anli_: "git branch" is used to create and manipulate branches, "git branch <someName>" creates a branch names someName18:35
Neozonz joined18:35
anli_ Too bad the word "create" is not included in the sentence "git branch list"18:35
martinklepsch joined18:35
anli_ :)18:35
koderok left18:36
imachuchu anli_: excellent, so do "git branch <somename> origin/branchName"18:36
anli_: ehh, branches are near free so accidentally creating one isn't a big deal at all18:36
anli_ heh18:36
Gizburdt left18:36
anli_ I created the branch I am interested in18:36
_Vi left18:36
kriks joined18:37
autojack joined18:37
anli_ By doing as you said18:37
mikecmpbll joined18:37
autojack I need some help with squashing commits. I'm just wondering if I can squash 2 together when there are other commits in between the two that I want to leave alone. an example is here: https://gist.github.com/omehegan/ea80ac53a85364673a9618:37
imachuchu anli_: does tortoise say what you want too?18:38
anli_ I never switched18:38
Still in master18:38
herdingcat left18:38
pandeiro joined18:38
anli_ Writing git checkout branchname in console18:38
EvilPenguin joined18:38
Skapadapaduu joined18:39
anli_ tortoise is now showing the old branch18:39
kadoban autojack: rebase -i (interactive rebase) will let you reorder and squash commits like that18:39
imachuchu autojack: absolutely, interactive rebase the two commits next to eachother and use fixup/squash. Note you are changing history though for every commit past the first one18:39
MattB2 imachuchu: set the wrong remote (a different form of upstream that was 22 commits behind). Doh!18:39
javster left18:39
Sasazuka left18:39
anli_ Trying git fetch --all18:39
kadoban autojack: The help file for rebase is quite good if you're not familiar with it18:39
MattB2 *fork18:39
MarkyC left18:39
freeman42 joined18:40
imachuchu MattB2: ah well, it was all local so no harm no foul18:40
anli_ Well, that is taking forever, it seems :)18:40
javster joined18:40
autojack kadoban: yeah, I read the 'rewriting history' git documentation to get to this point.18:40
EvilPenguin left18:40
anli_ counting objects, time to put a billy in the micro, it seems18:40
EvilPenguin joined18:40
t4nk224 joined18:41
autojack imachuchu: so I would go into interactive rebase, and just move the two commits so they're next to each other, and then set the first to pick and the second to squash? and I can do that in one operation?18:41
MattB2 how do I change the upstream? it's telling me it already exists...18:42
Neozonz left18:42
regedit joined18:42
Reskp joined18:42
imachuchu autojack: yep18:42
kadoban autojack: Yeah, exactly18:42
netcarver joined18:42
autojack cool.18:42
devoldmx33 joined18:42
FSMaxB left18:43
ManikM left18:43
herdingcat joined18:43
ManikM joined18:43
MattB2 git remote remove (answering my own question)18:43
ap0c joined18:44
javster left18:44
autojack see my comment to my gist, does that look right?18:44
devoldmx left18:44
MattB2 left18:44
subhojit777 left18:44
endiruna joined18:44
kadoban autojack: Should be, yeah. Note that there's also 'fixup', depending on if you want the commit message of fb11a29 to be there or not.18:45
gitinfo set mode: +v18:45
t4nk224 If you have a working tree with unstaged changes, what happens to those changes after running a git stash apply18:45
do you lose them? in this case, a stash wasn't done before the apply18:46
ilhami joined18:46
kadoban t4nk224: I don't think it lets you do that? Reading the manpage seems to agree, unless I'm misreading.18:47
martinklepsch left18:47
Reskp left18:47
aniruddhabanerje joined18:47
t4nk224 i'm getting one of my dev's history log18:47
I may be missing something18:48
herdingcat left18:48
mizu_no_oto left18:49
mizu_no_oto joined18:49
herdingcat joined18:49
cbreak t4nk224: git stash apply applies the contents of a stash18:50
diegoviola joined18:50
marcogmonteiro left18:50
cbreak this will fail without anything done if a file that needs to be changed for this is changed18:50
git will not lose changes.18:50
jrnieder joined18:50
jonyfive left18:50
Sasazuka joined18:51
t0th_-_ left18:51
Reskp joined18:52
t0th_-_ joined18:52
skylite left18:53
Gizburdt joined18:53
t4nk224 to my understanding. He was doing a lot of renaming and moving folders around. forgot to stash the modified state, and was able to execute a git stash apply stash@{0} and lost his changes18:53
mennea joined18:53
autojack kadoban: reading now. so with squash, I get to make up a new commit message, with fixup that commit's message is just discarded in favor of the one above it?18:53
kukks left18:54
javster joined18:54
liamkeily joined18:54
kadoban autojack: I'm pretty sure squash just combines the commit messages. But yes on fixup18:54
autojack well, the doc says "When you save and exit the editor, Git applies all three changes and then puts you back into the editor to merge the three commit messages."18:55
in squash.18:55
arnatal left18:55
FreezingCold joined18:56
kukks joined18:56
kukks left18:56
kukks joined18:56
autojack so it appears you get to edit the final result in that case.18:56
kadoban Possibly, I didn't think so though.18:56
autojack cool. thanks for the help :)18:56
Vampire0 yes, that is what squash does, it combines the commits and then gives you the commit message editor with all squashed comments for edit18:57
thibaultcha joined18:57
ascarter joined18:57
tier_ left18:57
EminenceHC joined18:58
ojacobson left18:58
maqr left18:58
t4nk224 left18:58
israelpattison left18:58
israelpattison joined18:59
Nijikokun joined18:59
Nijikokun left18:59
petersr joined18:59
petersr_ joined19:00
Nijikokun joined19:00
Nijikokun left19:00
the8thbit|work left19:00
Nijikokun joined19:01
petersr_ left19:01
m0ltar joined19:02
EminenceHC left19:02
pheaver left19:03
Marcus_ joined19:03
steele left19:03
steele joined19:03
tier joined19:03
mkaesz left19:04
baweaver joined19:05
devoldmx joined19:05
lsiv568 joined19:06
tranzfuse joined19:06
Sceorem joined19:07
nettoweb left19:07
steele left19:07
proq joined19:08
listochkin left19:08
listochkin joined19:09
devoldmx33 left19:09
tranzfus_ left19:09
KaaK joined19:10
punchagan left19:10
intellix left19:10
javster left19:11
steele joined19:11
javster joined19:11
a_le left19:12
a_le joined19:12
KaaK i've just pulled from a remote, and now I've got ~100 unmerged files in my stage. How can I resolve all these conflicts using `theirs` changes?19:12
Amandil joined19:12
listochkin left19:13
jgardella joined19:13
paulweb515 left19:14
cbreak KaaK: throw away the merge and git merge -X theirs?19:14
pheaver joined19:14
cbreak (git merge --abort in newer git I think should abort)19:14
netcarver left19:14
diegoviola left19:15
smccarthy left19:15
LeMike joined19:16
Reskp left19:16
KaaK so just pull down the remote into a seperate local branch and merge the two there? (using -X theirs)19:16
javster left19:16
autojack left19:16
checkit joined19:16
listochkin joined19:17
kadoban KaaK: You can 'git fetch' and then refer to the remote branch (whateverremote/whateverbranch)19:17
KaaK: That's actually usually a better idea than pull, since you can see what's up before you decide what to do with it.19:17
martinklepsch joined19:18
cbreak KaaK: why separate?19:18
ignas left19:18
KaaK cbreak, because I'm a git idiot that is still working out cli git :P19:18
cbreak git merge --abort19:19
KaaK kadoban, that was exactly what I needed, thanks!19:19
cbreak just type that19:19
it will abort the failed merge19:19
sedeki joined19:19
kadoban 'welcome19:19
devoldmx left19:19
cbreak KaaK: there's no need for a separate branch19:20
KaaK yeah, that was key too, i just pulled some linux changes, and it completely killed my view of the repo -- that merge abort was awesome19:20
cbreak after that, just retry with -X theirs19:20
and make sure to run the unit tests19:20
-X theirs can fail19:20
KaaK its looking golden again, thanks tons19:21
cbreak, will it fail silently?19:21
cbreak maybe.19:21
KaaK: it will resolve conflicts in their favor19:21
but that doesn't mean that you will lose your changes19:21
only some of them19:21
maybe there are dependencies19:21
KaaK ahh19:21
cbreak I don't trust it.19:22
I recommend not trusting it.19:22
jason237 left19:23
KaaK i don't know what this remote did then -- its the beaglebone black's linux repo, and even without making changes to my local copy, I got merge conflicts on a pull19:23
mennea left19:23
mribeirodantas left19:24
mennea joined19:25
KaaK I'm also not ruling out user error, but i've done literally nothing with this repo except to initially clone it, and occationally pull -- all from the same branch19:25
aidalgol joined19:25
KaaK or rather, same local and remote branches19:25
mennea left19:25
kadoban That seems odd19:26
mennea joined19:26
jottr joined19:27
cbreak KaaK: !lol19:28
gitinfo KaaK: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all19:28
cbreak KaaK: that should show you19:28
the merge is between your local changes (first parent) and the remote changes (second parent)19:28
javster joined19:28
robbyoconnor left19:28
KaaK my other mystery/lack-of-understanding with this repo is its commits that don't touch any files -- e.g. https://github.com/beagleboard/linux/commit/ecaaeeffe0437f526f7923756bfa95986c042ffd19:28
mribeirodantas joined19:29
Asiajey joined19:29
Asiajey left19:29
Asiajey joined19:29
kriks left19:29
hydrajump left19:29
cbreak maybe leftover of a history rewrite19:29
that'd also cause merge conflicts for everyone else19:29
pdtpatr1ck left19:30
nnyk_ joined19:30
Not_Whatever joined19:30
veebers joined19:30
Gizburdt left19:31
Gizburdt joined19:31
basiclaser_ left19:31
Sceorem left19:31
ascarter left19:32
King_Hual` joined19:32
jottr left19:32
lsiv568 left19:32
aniruddhabanerje left19:32
ilhami left19:33
sedeki left19:33
pheaver left19:33
a_le left19:34
a_le joined19:35
Takumo two things, can I put my post-recieve hook in my local git repo and push it to the remote? I'd also like to send the user the output of the hook when they push, can I do that?19:35
Tried google but couldn't find what I was looking for19:35
King_Hual left19:36
sedeki joined19:37
tango_ left19:37
liamkeily left19:38
qsuscs Takumo: 1) no, for obvious reasons19:38
Takumo fair enough, what about point 2, echoing to the user when they push?19:39
hexagoxel what is the appropriate mailing list for gitk dev?19:39
qsuscs Takumo: imagine `echo -e "#!/bin/sh\ntar cf - ~" > post-receive; chmod +x post-receive; git commit -am "blah"; git push`19:39
King_Hual` left19:39
qsuscs Takumo: the second one is even the default, i think, !tias19:39
gitinfo Takumo: Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://gitolite.com/tias.html may help with git-specific TIAS.19:39
astrofog left19:40
palcu_ left19:40
lsiv568 joined19:41
hahuang65 left19:42
pmallya_ joined19:42
__adrian joined19:42
User458764 left19:42
palcu_ joined19:42
codetroll joined19:42
Pessimist joined19:43
__adrian left19:43
Reskp joined19:43
pmallya_ left19:43
Spacew00t left19:43
jb55 joined19:43
pmallya joined19:43
dangerousdave joined19:44
pheaver joined19:45
King_Hual joined19:45
Pessimist I bisected the kernel and got the first bad commit id. How can I checkout the commit before it?19:45
grawity commit^19:45
Spacew00t joined19:46
liamkeily joined19:46
Pessimist grawity, which options should I use?19:46
EvilPenguin left19:46
grawity whatever you usually use to check out a commit19:46
palcu_ left19:47
Not_Whatever left19:47
bdavenport left19:47
TheFuzzball joined19:47
tristanp joined19:48
paulweb515 joined19:48
dangerousdave left19:48
mihaicris joined19:48
Takle left19:48
tristanp can someone clue me in to a way to have command line git warn me when i check out a branch with stashes? i hate that sometimes i stash changes and then come back later and it slips my mind that I had changes not commited19:49
it makes me reluctant to stash changes and change branches since i fear ill forget about them :)19:50
Takle joined19:50
Gizburdt left19:51
javster left19:52
herdingcat left19:52
javster joined19:52
kopparam joined19:52
kballou joined19:53
kadoban tristanp: So don't do that maybe? Stashes are for short-term saving stuff, IMO.19:53
Pessimist grawity, so I can do: git checkout commitid~1 ?19:53
grawity sure, or `git checkout commit^`19:53
kadoban tristanp: You can easily make a manual commit instead, possibly on a branch...or just on the same one and remember the commit isn't finished.19:53
javster left19:53
javster__ joined19:53
kukks left19:54
Takle left19:54
mennea left19:56
mennea joined19:56
steele_ joined19:56
EminenceHC joined19:57
RaceCondition left19:57
kopparam left19:58
Sceorem joined19:58
nettoweb joined19:59
baweaver left20:00
steele left20:01
a-l-e joined20:01
WaReZ joined20:01
steele_ left20:01
g0bl1n joined20:01
EminenceHC left20:01
EminenceHC joined20:02
govg left20:03
bdavenport joined20:03
steele joined20:04
sedeki left20:05
barduck joined20:05
Baluser joined20:06
Freemason left20:06
iamjarvo left20:06
tango_ joined20:06
EminenceHC left20:07
Bass10 joined20:08
pcypher left20:10
g0bl1n left20:10
iamjarvo joined20:12
hexagoxel git format-patch produces output that does not seem to include the commit id the patch is based on. is that correct? would it not make sense to include that? am i missing some flag?20:13
grawity yes, the commit-ID is mostly useless in this context20:13
pmallya left20:13
kadoban hexagoxel: If the commit hash was meaningful to the person you were sending to, you wouldn't need to use format-patch, no?20:14
kristofferR joined20:14
kadoban hexagoxel: Because then they'd already /have/ the commit, or at least be able to bring it in somehow.20:14
alanwill_ left20:14
qsuscs you could e.g. use man git request-pull20:14
gitinfo the git-request-pull manpage is available at http://jk.gs/git-request-pull.html20:14
checkit left20:15
kevinb left20:15
hexagoxel kadoban: but.. id of commit being base of patch != id of patch20:15
kadoban Oh I see. Yeah, disregard that then.20:16
Bass10 left20:16
mihaicris left20:17
moritzs joined20:17
pcypher joined20:19
Bruno__ left20:19
solker joined20:20
pmallya joined20:20
kevinb joined20:21
hexagoxel grawity: could you elaborate? would it not be useful for the git devs to know that my patch is based on the gitk subtree repository?20:23
smw joined20:24
mennea left20:25
akushner__ joined20:26
mennea joined20:26
martinklepsch left20:26
denete joined20:26
jleclanche left20:27
lsiv568 left20:27
sedeki joined20:28
Spacew00t left20:28
javster__ left20:28
zhuang joined20:28
Kicer86 left20:29
zhuang hi, can I push changes to another workspace (the result of a git clone)?20:29
akushner_ left20:29
nnyk_ left20:29
LeMike left20:29
lsiv568 joined20:30
zhuang i know that i can always pull from the other direction, but i'm wondering if push is also possible20:30
fresham joined20:30
akushner__ left20:30
aidalgol left20:30
Spacew00t joined20:30
kadoban zhuang: You shouldn't push to non-bare repositories.20:31
shoerain zhuang: by 'workspace', do you mean a 'remote'? http://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes20:31
oh hmm other repositories20:31
aidalgol joined20:31
boombatower joined20:31
boombatower left20:31
boombatower joined20:31
sheperson joined20:31
zhuang shoerain: it's a remote, but not a bare repo but a git clone of a bare repo20:32
kukks joined20:32
zhuang kadoban: i own both of them, just want the convenience of syncing them without pushing.20:32
francisfish joined20:33
zhuang kadoban: without pushing to the bare repo, that is20:33
shoerain zhuang: there's always unison (two-way rsync) and other tools20:33
martinklepsch joined20:33
solker left20:33
kadoban zhuang: Well, pushing between them isn't a good solution. I think there's a trigger around here that explains why if you're curious...20:34
!nonbare20:34
gitinfo [!bare] an explanation of bare and non-bare repositories (and why pushing to a non-bare one causes problems) can be found here: http://bare-vs-nonbare.gitrecipes.de/20:34
kadoban !pushnonbare20:34
ghostlines joined20:35
ghostlines left20:35
kadoban Well, I guess that link works well enough, it explains a bit.20:35
puff Good afternoon. I continue in my ongoing saga of reading about git internals. I've realized that what I would really like is to find a tutorial that pretends to implement git from the ground up, one stage at a time.20:35
ghostlines joined20:35
shpoont joined20:35
Eugene The closest we have is !cs20:35
gitinfo "Git for Computer Scientists" is a quick introduction to git internals for people who are not scared by phrases like Directed Acyclic Graph. http://eagain.net/articles/git-for-computer-scientists/ See also !concepts !bottomup20:35
kadoban puff: That sounds...daunting.20:35
skylite joined20:36
kristofferR left20:36
LBV_User left20:36
puff kadoban: Eh... maybe not so much. Not actually implementing them, but sketcing out the design.20:36
Sasazuka left20:36
zhuang shoerain: that's not a git tool, right? i'm trying to stay within the git land. the scenario i have is that i have a dev machine and a bunch of test machines. after making a local commit, i want to push that commit to all the test machines so that i can run tests on them before i finalize the commit20:36
dieciocho joined20:36
puff kadoban: I.e. "okay, so first we want to build an object store that stores our files, we'll make it look like this: etc"20:36
kadoban Yeah, I don't know of anything like that. You could write one maybe, hehe.20:37
puff kadoban: I might, by the time I'm done.20:37
Eugene: yeah, read that, not nearly enough detail in it :-).20:37
dieciocho left20:37
javster joined20:38
dieciocho joined20:38
Eugene And the relevant section in the book?20:38
hahuang65 joined20:38
palcu joined20:38
ecky--ptang-zoob left20:39
puff kadoban: I've written a couple books, so not entirely out of the question. But right now I'm just trying to understand git.20:39
Eugene: which book?20:39
Eugene !book20:39
gitinfo There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable20:39
puff Eugene: Chapter 10, you mean?20:39
Eugene: Yeah, still reading that.20:39
kadoban puff: Cool20:39
ecky--ptang-zoob joined20:39
edenist left20:40
romanovic left20:40
puff Chapter 7 of the community git book is somewhat helpful. http://schacon.github.io/gitbook/20:40
romanovic joined20:41
puff I don't need to understand it down to the bits and bytes level, but most things I've read so far have way too much handwaviness that really bugs me.20:41
I can't build a good mental model if big chunks of it are hidden from me.20:41
mylord left20:42
Marcus_ left20:42
edenist joined20:42
corni joined20:42
corni left20:42
corni joined20:42
ManikM left20:43
ManikM joined20:43
hahuang65 left20:43
didpul joined20:43
aniruddhabanerje joined20:43
moritzs left20:44
Not_Whatever joined20:45
Takle joined20:46
t0th_-_ left20:46
t0th_-_ joined20:47
ghostlines left20:48
EvilPenguin joined20:48
Spacew00t left20:49
alanwill_ joined20:49
mizu_no_oto left20:49
Spacew00t joined20:49
jason237 joined20:50
Eugene There's.... really not much to it?20:50
You take some bits over here, and you shove them over there20:50
francisfish left20:51
mdhopkins joined20:52
codetroll left20:54
mennea left20:55
Pessimist left20:56
HakShinKen joined20:56
mennea joined20:56
HakShinKen left20:56
ivan\ left20:56
ivan\ joined20:57
unixpro1970 joined20:57
ojacobson joined20:58
mixandgo joined20:58
MrSavage left20:59
steele left20:59
baweaver joined21:00
steele joined21:00
shpoont left21:00
jceb left21:00
smw left21:01
sedeki left21:02
ErKa joined21:02
SupaHam left21:02
zhuang left21:02
javster left21:03
Mitchbones joined21:04
steele left21:04
Jackneill left21:04
javster joined21:04
m0ltar left21:05
SupaHam joined21:06
tvw joined21:06
tgunr joined21:06
cagedwisdom joined21:07
bgerber left21:07
pcypher left21:07
steele joined21:07
s00pcan left21:08
SupaHam left21:08
SupaHam_ joined21:08
gv left21:08
EminenceHC joined21:08
bgerber joined21:08
javster left21:08
Nizumzen left21:09
fbest joined21:10
fbest left21:10
spaceone is there something like 'git stash rename' ?21:11
Scriptonaut joined21:12
enitiz joined21:12
Pyrogerg left21:12
lasers left21:12
Scriptonaut hmm, so for some reason I can't do a pull request21:12
it's greyed out (on github)21:12
gv joined21:12
spaceone Scriptonaut: better ask in #github21:13
EminenceHC left21:13
lasers joined21:13
Scriptonaut ah, thanks21:13
Scriptonaut left21:13
fresham spaceone: pop then save?21:13
spaceone fresham: they cannot really apply, and it's uncofortable for many stashes21:13
jwmann joined21:13
Pyrogerg joined21:13
proq spaceone: if you want to rename you should just save your stash with a new description and then delete the old stash21:14
robertt_dex left21:14
proq spaceone: git stash save "new name"; git stash drop stash@{<number>}21:14
pcypher joined21:14
ascarter joined21:15
liamkeily left21:15
spaceone proq: hm? i need to pop it before then? as i already said → it currently can't be applied21:16
kukks left21:16
jottr joined21:16
proq spaceone: yes, you have to have changes before you can stash save. if you are popping it then you wouldn't need the drop command I gave you.21:17
CEnnis91 So I need to be able to ignore a single file on a local machine but it needs to exist in the repository, so this doesn't look like a job for .gitignore21:17
spaceone proq: so your suggestion is not what i want...21:17
CEnnis91 Is there another way to exclude files on a single machine21:17
spaceone as already answered before21:17
kadoban CEnnis91: You can't ignore tracked files, it just doesn't work. I assume this is a configuration file of some sort?21:17
Eugene !config21:18
gitinfo [!configfiles] 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 ideas21:18
CEnnis91 Its actually a symlinked file, it was a bad, quick fix21:18
In the repo its a text file, indicating its a temp file, when the code run, we properly remove and symlink a binary of proper architecture21:19
ORiON-- left21:19
Eugene Nuke the text file and put a note in the README21:20
CEnnis91 I guess I could just kill off that file from the repo and remove the text21:20
Yep21:20
proq spaceone: as there isn't a git stash rename you will have to do it that way21:20
Eugene Slap anybody who attempts to `make` without a symlink21:20
proq spaceone: unless you plan to patch git21:20
Qnx joined21:21
Qnx left21:21
settermjd left21:22
nfk left21:22
ORiON-- joined21:23
Gizburdt joined21:23
CEnnis91 Eugene: that might result in me getting fired, because that would be my boss =/21:23
Eugene Slap harder21:24
tarkus_ left21:24
CEnnis91 We even have a script that prepares the symlink, he just refuses to run it21:24
mennea left21:25
malukenho joined21:26
dangerousdave joined21:26
mennea joined21:26
moritzs joined21:27
pmallya left21:27
Ard0nik left21:27
aniruddhabanerje left21:28
deuterium left21:29
Ard0nik joined21:29
dangerousdave left21:29
kermit left21:30
_leb joined21:30
dangerousdave joined21:30
nour left21:30
jerius left21:30
awkwardusername left21:30
netcarver joined21:31
dangerousdave left21:31
CKyle left21:31
aidalgol left21:32
dangerousdave joined21:32
dangerousdave left21:32
pheaver left21:32
nettoweb left21:33
fr33domlover left21:33
a-l-e left21:33
puff left21:34
jb55 left21:34
jb55 joined21:35
AndroidLoverInSF joined21:35
pbrobst joined21:36
Skapadapaduu left21:36
ecky--ptang-zoob left21:36
yosito joined21:37
aidalgol joined21:37
dsdeiz joined21:37
dangerousdave joined21:37
marthinal left21:37
petersr left21:37
King_Hual` joined21:37
Neozonz joined21:38
Neozonz left21:38
Neozonz joined21:38
DeathIncarnate joined21:38
hahuang65 joined21:39
jb55 left21:40
lsiv568 left21:40
kermit joined21:41
Gizburdt left21:41
pmallya joined21:41
bitkiller joined21:42
paul424 joined21:42
Neozonz left21:42
hahuang65 left21:43
livingstn left21:45
Not_Whatever left21:45
Quevin_ joined21:46
RaceCondition joined21:46
Asiajey left21:46
Sasazuka joined21:46
jonmorehouse joined21:46
upene joined21:47
ahmetalpbalkan_ left21:47
fresham left21:48
sheperson left21:49
checkit joined21:49
checkitdigital_janitor21:49
Spacew00t left21:50
Spacew00t joined21:50
aidalgol left21:50
dangerousdave left21:51
chris2 left21:51
aidalgol joined21:52
Es0teric joined21:52
hahuang65 joined21:52
sedeki joined21:52
Es0teric question — how do i view commits only from a specific branch with no merges?21:52
meaning excluding merges and any updates from the original branch it was branched from21:53
mennea left21:55
mennea joined21:56
pacbard left21:57
vurma joined21:57
vurma left21:57
mennea left21:59
kukks joined22:00
kukks left22:00
kukks joined22:00
proq left22:00
Amandil left22:02
sword` left22:03
mribeirodantas left22:04
tier left22:05
dsdeiz left22:06
mellernoia joined22:06
sword` joined22:06
mixandgo left22:07
zumba_addict left22:07
zumba_addict joined22:08
githogori left22:09
upene left22:09
baweaver left22:10
tesaf left22:10
barduck left22:11
tristanp left22:11
mribeirodantas joined22:11
mribeirodantas left22:11
mribeirodantas joined22:11
buffal0 left22:12
puff joined22:12
puff Hm, according to this page: http://schacon.github.io/gitbook/7_how_git_stores_objects.html git stores the object store's type and size at the beginning of the data, *before* compressing it. That sorta doesn't make sense, unless it's really easy/cheap to decompress the first few bytes to fetch the type/size.22:13
zumba_addict left22:13
Spacew00t left22:13
fr33domlover joined22:13
githogori joined22:13
hstefan left22:14
EminenceHC joined22:14
javster joined22:14
cannonball left22:15
mribeirodantas left22:15
hstefan joined22:15
githogori left22:15
Trudko joined22:15
beneggett left22:16
githogori joined22:16
Juzzika joined22:18
EminenceHC left22:18
upene joined22:18
NBhosting left22:20
yosito left22:21
chris2 joined22:22
chris2 hi. i have a problem recovering a corrupted git repo22:22
a few blobs are missing, but they all belong to one tree22:22
Nevik_ left22:23
chris2 i thus want to rewrite the history of the repo such that this revision never appeared, but all before and after do22:23
yosito joined22:23
chris2 how can i do this? when i just remove the commit with rebase -i, it tries to reapply all diffs after, resulting in massive merge conflicts22:23
Nevik joined22:23
b1nar1 left22:23
iamjarvo left22:24
chris2 any ideas? else i'll write a tool to rewrite the commits22:26
osse chris2: git filter-branch22:26
DeathIncarnate left22:27
osse chris2: see the man page for an example on how to skip certain commits22:27
chris2 with parent filter?22:27
liamkeily joined22:27
zumba_addict joined22:27
osse commit-filter is what I had in mind22:27
chris2 that will skip the checkout too? because that will fail else22:28
osse i don't know22:28
chris2 For example, calling skip_commit "$@"22:28
will leave out the current commit (but not its changes! If you want22:28
that, use git rebase instead).22:28
ok, will try22:28
osse filter-branch works with commits, rebase works with patches (hence conflicts)22:28
Thra11 left22:29
iamjarvo joined22:29
iamjarvo left22:29
sedeki left22:29
baweaver joined22:30
iamjarvo joined22:30
jason237 left22:30
Zemeio joined22:31
Zemeio Hi guys. I cloned a repository and i want to merge the changes made on the original repository into mine, is there a way?22:31
osse Zemeio: git pull22:31
ascarter left22:32
Zemeio git pull would pull from my cloned right?22:32
osse by default it pulls from where you cloned from22:32
iamjarvo left22:32
s8321414 joined22:32
AR45 left22:32
Zemeio I think I messed up in my explanation, I created a fork22:33
denete left22:33
veebers left22:33
zumba_addict left22:33
zumba_addict joined22:33
osse Zemeio: then add the original as a second remote (git remote add original <URL>) then git fetch original then git merge original/master22:33
or equivalent22:33
AR45 joined22:33
Zemeio osse: Thanks osse, I will try that out22:34
Sasazuka left22:34
jgardella left22:34
sdrfnord1 left22:34
ascarter joined22:34
veebers joined22:35
AR45 left22:35
ShooterMG left22:35
shawndumas left22:35
puff Hm, when I do git cat-file -p on a tree, the first column is a six-digit number. I'm having a hard time finding anything that documents what this number is.22:36
AR45 joined22:37
Dudi joined22:37
osse puff: it's a "permission" of sorts. the first three digits are 100 for files, 120 for trees and 140 for symlinks (I think)I.22:37
The three last ones are 755 for executables and 644 for other files22:37
tranzfuse left22:37
puff Ah, cool, thanks.22:37
Is there anywhere I could read up on this?22:38
osse wopps, I wasn't entirely right, but the first three = type of object, last three = executable or not22:38
tranzfuse joined22:38
osse I have no idea. I learned about it through the grapevine22:38
King_Hual` left22:38
CKyle joined22:38
b1nar1 joined22:39
tranzfuse left22:39
puff osse: Thanks.22:39
pacbard joined22:39
mdhopkins left22:41
veebers left22:41
_leb left22:42
ManikM left22:43
veebers joined22:43
moritzs left22:43
JohnBat26 left22:44
ManikM joined22:44
Trudko left22:44
dsdeiz joined22:45
Sasazuka joined22:46
Not_Whatever joined22:46
shawndumas joined22:46
osse puff: grepping around a bit, I can't find it mentioned anywhere :O22:47
... except that the second half is always either 644 or 75522:49
... forgetting to mention that it can be 000 also22:49
gittish joined22:51
gittish left22:51
harish_ joined22:52
martinklepsch left22:53
s00pcan joined22:53
martinklepsch joined22:53
harish_ left22:53
kermit left22:53
hyperboreean left22:53
hyperboreean joined22:54
SonikBoom joined22:54
ErKa left22:56
Es0teric left22:56
zumba_addict left22:56
zumba_addict joined22:57
zumba_addict left22:57
zumba_addict joined22:57
anli_ left22:58
leb joined22:59
chrisgeo left23:00
dtrott left23:00
a_le left23:00
dtrott joined23:00
zumba_addict left23:00
CKyle left23:01
kermit joined23:01
zumba_addict joined23:01
BlaXpirit left23:01
a_le joined23:01
GeoAleyPerMer joined23:02
echo-area joined23:03
blahdodo left23:03
Es0teric joined23:03
danemacmillan joined23:03
pheaver joined23:04
jonmorehouse left23:04
blahdodo joined23:05
sgen_ joined23:06
steele left23:06
Nevik left23:07
danemacm1 left23:07
hjutrdfgbj joined23:08
vpl left23:08
Sceorem left23:09
TheFuzzball left23:09
Es0teric left23:09
vpl joined23:11
paul424 left23:11
sgen_ left23:12
jagob left23:12
upene left23:13
jonyfive joined23:13
dtrott left23:14
freeman42 left23:14
Gitzilla joined23:16
hjutrdfgbj left23:17
Not_Whatever left23:18
EminenceHC joined23:20
rhombus left23:21
chris2 osse: thanks, that worked!23:21
thedodd left23:21
chris2 osse: had to git clone --no-local to only get the now reachable objects, but else it was easy23:21
King_Hual left23:22
corni left23:22
Reskp left23:22
endiruna left23:23
Reskp joined23:23
jab416171 how do I set up git on a server so I can specify the hostname and the repo name, without the fully qualified path to the repo?23:24
EminenceHC left23:24
zumba_addict left23:25
Mercury So, I just did something stupid, which was an extension that did 'git add .' 'git commit -a --amend -C HEAD', the problem is that I had a number of untracked files that I want to go back to being untracked.23:25
osse chris2: \o/23:25
Mercury How do I fix that?23:25
sgen_ joined23:25
zumba_addict joined23:25
osse chris2: you *can* clean it up without doing a clone first, but making the clone is much easier23:25
Mercury git rm --cached ?23:25
chris2 i tried various gc --prune etc, didnt work23:25
osse yeah you need --expire this and that, it's tedious23:26
chris2 tried that too23:26
that damn missing object always killed the repack23:26
intellix joined23:26
osse chris2: you should see now that the diff associated with thee commit after the deleted one is significantly23:26
oh23:26
hmm, yeah that might be23:26
chris2 but now i cloned without issue and git fsck is happy on the clone as well23:26
osse significantly different23:27
chris2 yeah, it's the unified diff23:27
"unified"23:27
Nevik joined23:28
MattMaker left23:28
baweaver left23:28
puff left23:29
kpease left23:30
jameshendrix joined23:32
Sasazuka left23:32
Alayde_ joined23:32
Sasazuka joined23:33
Sasazuka left23:33
Sasazuka joined23:33
mellernoia left23:33
the_other_cat joined23:33
ciampix joined23:33
Reskp left23:34
mizu_no_oto joined23:35
Reskp joined23:35
tokik joined23:36
kadoban left23:36
chris2_ joined23:37
echo-area left23:38
Alayde_ left23:38
the_other_cat left23:40
Zupoman left23:40
martinklepsch left23:40
zumba_ad_ joined23:40
lpax left23:41
hcc23 left23:41
madewokherd joined23:42
yosito left23:42
mribeirodantas joined23:42
zumba_ad_ left23:43
zumba_addict left23:43
dieciocho left23:43
pmallya left23:44
zumba_addict joined23:44
nnyk_ joined23:44
aspiers left23:45
towski joined23:45
shinnya joined23:45
dieciocho joined23:46
sgen_ left23:47
zumba_addict left23:49
boombatower left23:49
MattMaker joined23:49
akushner joined23:49
the_other_cat joined23:50
chris2 left23:50
b1nar1 left23:50
coasterz_coasterz23:50
pheaver left23:51
dreiss left23:52
b1nar1 joined23:52
WaReZ left23:53
dieciocho_ joined23:54
blackmesa joined23:54
chris2_chris223:54
Scriptonaut joined23:54
pantsman- left23:55
Scriptonaut hey guys, so I made a new branch from master, made a few small changes, and then added them, committed them, and pushed them to their own branch (same name as local branch) on github. For some reason when I tried to checkout master, it is telling me: Your branch is ahead of origin/master by 2 commits23:55
kingsley-t left23:56
Scriptonaut then I fetched origin master, and it's telling me: Your branch and origin/master have diverged23:56
fairuz left23:56
Scriptonaut and have 2 and 21 different commits each, respectively23:56
meanderer left23:56
Radivarig joined23:57
GeoAleyPerMer left23:57
tg left23:58
towski left23:58
the_other_cat left23:58
b1nar1 left23:59

Logs Search ←Prev date Next date→ Channels Documentation