IRCloggy #git 2015-01-07

Logs Search ←Prev date Next date→ Channels Documentation

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

2015-01-07

barduck left00:00
andi3 left00:00
licnep left00:00
baweaver left00:00
aidalgol joined00:00
baweaver joined00:01
Gitzilla joined00:01
robbyoconnor joined00:02
duderonomy joined00:02
baweaver left00:03
bgerber left00:04
tomaw joined00:06
mezod_ left00:08
geomyidae_ joined00:08
bg__ joined00:08
teran joined00:10
pm90_ joined00:10
raub joined00:11
nuk3` joined00:11
raub left00:11
creep left00:12
nuk3 left00:12
asakura joined00:13
jagob left00:13
St_Marx joined00:13
otter768 joined00:14
leeN left00:14
iamshercoder left00:15
teran left00:15
konr left00:15
madewokherd joined00:15
cdown joined00:15
nuk3` left00:15
baweaver joined00:15
Matulis left00:16
bgerber joined00:17
otter768 left00:19
baweaver left00:19
wowaname joined00:20
setuid joined00:20
caipora_ left00:20
raub joined00:22
raub left00:22
wedgie joined00:22
th3fallen left00:24
SonikBoom left00:24
intransit left00:25
th3fallen joined00:25
checkItOut joined00:25
kpease left00:26
Zamyatin left00:26
luriv left00:27
th3fallen left00:28
checkItOut left00:28
SFLimey joined00:29
checkItOut joined00:29
intransit joined00:30
zarubin_ left00:31
pacbard left00:31
opdavies left00:32
raub joined00:32
Zamyatin joined00:32
raub left00:33
mchvs left00:34
WaReZ left00:36
baweaver joined00:37
bannakaffalatta joined00:37
Etheco- left00:40
Etheco joined00:41
bobmarchman joined00:41
opdavies joined00:41
johtso joined00:43
SpeedyGhost left00:44
checkItOut left00:46
checkItOut joined00:46
teran joined00:48
hcc23 left00:48
hcc23 joined00:49
hyperair left00:49
medgno joined00:49
opdavies left00:50
s8321414 left00:50
EvilPenguin left00:51
tarkus_ left00:51
mspo left00:52
teran_ joined00:53
raub joined00:53
alvaro_o left00:53
raub left00:54
teran left00:55
valeriansaliou joined00:55
hahuang65 joined00:55
ohseap joined00:56
bannakaffalatta left00:59
dsirijus left00:59
hcc23 left00:59
jrahmy left00:59
s00pcan_ left00:59
echo-are` left01:00
valeriansaliou left01:00
fstd left01:00
hcc23 joined01:00
ag4ve_ joined01:00
fstd joined01:00
cagedwisdom joined01:01
pacbard joined01:01
nginx77 joined01:01
n-st left01:02
jazzzu left01:03
s00pcan_ joined01:03
bgerber left01:03
harish left01:04
law joined01:04
law left01:04
mmoretti joined01:05
kukks joined01:06
pm90_ left01:06
Drakevr joined01:07
sbogg left01:08
bronson joined01:10
d4ryus joined01:10
imachuchu left01:11
baweaver left01:11
Drakevr left01:11
Drakevr joined01:11
basiclaser_ left01:12
eburcat joined01:12
sgen_ joined01:12
sburgess joined01:13
bpousland joined01:13
d4ryus hi, is there a way to run 'git stage --edit' with the configured difftool?01:14
Zamyatin left01:14
bronson left01:14
Asiajey joined01:14
AmR|EiSa_ joined01:14
txomon|home left01:15
dreiss left01:16
daedeloth_ left01:16
AmR|EiSa left01:17
eburcat left01:17
myyst left01:17
checkItOut left01:18
myyst joined01:18
checkItOut joined01:18
noriakioji joined01:18
johnkevinmbasco joined01:18
ag4ve_ left01:19
noriakioji left01:19
hfp_ joined01:19
hfp left01:20
checkItOut left01:20
hfp_hfp01:20
checkItOut joined01:20
hfp_work left01:20
myyst left01:21
myyst joined01:21
lululo joined01:21
hfp_work joined01:21
gitinfo set mode: +v01:22
Sasazuka_ left01:22
t0th_-_ left01:22
ag4ve_ joined01:22
zumba_ad_ left01:22
jerius left01:23
shinnya_ left01:23
zumba_addict joined01:23
checkItOut left01:23
raub joined01:24
myyst left01:24
raub left01:24
myyst joined01:25
akiva joined01:25
mmoretti left01:25
Sasazuka_ joined01:25
Zamyatin joined01:27
myyst left01:27
baweaver joined01:28
myyst joined01:28
lululo Question: I have two branches, call them `dev` and `prod`. Dev is sort of a staging/testing branch to build from, and when a release is ready we merge from dev to prod (there's a release in the middle, but it's the same concept). I'd like to consolidate the commits into a single new commit, which appears to be what `git merge --squash` is for. However, `--squash` seems to show every commit to `dev`, not *just* the new ones since the last01:28
What should i be using, to achieve the desired squash *and* shorter commit message?01:29
t0th_-_ joined01:29
liamkeily left01:29
lululo In case this isn't clear. Add 5 commits to dev, merge squash shows 5 commits. This is good. Add another 5 commits to dev, merge squash now shows 10 commits.. but only 5 of those are new.01:30
myyst left01:31
myyst joined01:31
ohseap left01:32
Zamyatin left01:32
EminenceHC left01:34
myyst left01:34
myyst joined01:35
baweaver left01:35
nikio_ left01:36
Guest38649 joined01:36
Sasazuka_Sasazuka_123401:36
Sasazuka_1234Sasazuka_567801:37
aberrant lululo: in dev, can you do a git rebase -i HEAD~n where n is the number of commits you want to squash?01:37
Sasazuka_5678Sasazuka_01:37
robustus left01:37
aberrant then follow the instructions in your editor re: squashing01:37
myyst left01:37
lululo aberrant: Probably, i'm new to modifying the history - I had believed squash was the solution to my needs. Is rebase where i should focus my attention then?01:38
myyst joined01:38
aberrant rebase -i will bring up your commits in an editor, then you change “pick” to “squash” for the ones you want to squash01:38
Guest38649 fatal: unable to auto-detect email adress (got 'computer@user.none')01:38
how can I solve this?01:38
aberrant Guest38649: use a real email address?01:38
robustus joined01:38
herrbischoff left01:38
Guest38649 aberrant, I am using my real email adresss01:39
lululo I had hoped there was a simple "merge squash since last merge" style command, it seems that squash is intended for feature branches that should be thrown away after01:39
rcampbel3 left01:39
aberrant git config —global user.email [email@hidden.address]01:39
Guest38649_Mateo_W01:39
pipegeek left01:40
herrbischoff joined01:40
_Mateo_W aberrant, I did that command and then I checked with git config --list01:40
aberrant _Mateo_W: …and?01:40
_Mateo_W it appears that my email is correctly set up but then I get this error when i try to commit01:40
jon-mac joined01:41
aberrant you might have it set locally.01:41
ag4ve_ left01:41
myyst left01:41
aberrant do a git config user.email [email@hidden.address] in the repo itself.01:41
myyst joined01:41
Guest78789greves01:41
greves left01:42
aberrant _Mateo_W: also, is it an error on commit, or on push?01:42
_Mateo_W on commit01:42
aberrant hm.01:42
snits left01:43
dannymichel joined01:43
aberrant _Mateo_W: do a git config --local -l in the repo also to make sure01:43
sburgess left01:44
phos1 left01:44
myyst left01:44
_Mateo_W it showed something different after doing the previous command CRLF will be replaced by LF in program.java01:44
so it commited correctly this time01:44
aberrant ok01:44
_Mateo_W what is what message?01:44
myyst joined01:44
_Mateo_W CRLF...01:44
aberrant it means you haven’t set your handling of crlf01:45
google the error for the options.01:45
raub joined01:45
_Mateo_W yep doing it01:45
thanks for help01:45
k_sze[work] joined01:46
aberrant np01:46
andschwa_ left01:46
andschwa_ joined01:46
bpousland left01:46
andschwa_andschwa01:46
daito joined01:47
myyst left01:47
[cust] joined01:47
myyst joined01:48
bitkiller left01:49
_Mateo_W aberrant, so what was the problem tho? why does it work for current directory but not when you add global to it?01:49
fairuz joined01:49
aberrant _Mateo_W: because your local git config is overriding the global settings01:49
you can see it in .git/config at the base of your repo01:49
checkit left01:50
barduck joined01:50
myyst left01:51
myyst joined01:51
EminenceHC joined01:51
_Mateo_W I see01:51
Zamyatin joined01:52
bsm117532 joined01:52
yaymukund left01:52
Zamyatin left01:53
myyst left01:54
myyst joined01:54
brucelee left01:55
smccarthy joined01:56
EminenceHC left01:56
ajustrun left01:57
zivester left01:57
myyst left01:57
myyst joined01:58
zivester joined01:58
myyst left02:00
Sasazuka_ left02:01
myyst joined02:01
intransit left02:02
harish joined02:03
myyst left02:04
myyst joined02:04
intransit joined02:05
tachoknight joined02:06
fairuz left02:06
Takle left02:06
fairuz joined02:06
Akagi201 joined02:07
myyst left02:07
nfk left02:08
myyst joined02:08
qwebirc92123 joined02:08
hyperair joined02:08
devoldmx left02:08
lululo left02:09
bsm117532 left02:10
myyst left02:11
myyst joined02:11
wakd joined02:12
pheaver left02:13
myyst left02:14
PrasangChhetri left02:14
myyst joined02:14
otter768 joined02:15
hafeez3000 joined02:15
echo-area joined02:15
akushner left02:17
myyst left02:17
tachoknight left02:18
myyst joined02:18
devoldmx joined02:18
otter768 left02:20
gsingh93 left02:20
myyst left02:20
orafu joined02:21
pm90_ joined02:21
myyst joined02:21
myyst left02:24
myyst joined02:24
Consuela joined02:24
Vampire0_ joined02:25
Goplat joined02:25
myyst left02:27
tachoknight joined02:27
pm90_ left02:28
myyst joined02:28
Vampire0 left02:29
Caius left02:29
myyst left02:30
nginx77 left02:31
johnkevinmbasco left02:31
myyst joined02:31
tachoknight left02:32
myyst left02:34
lachm joined02:34
Lyqyd joined02:34
myyst joined02:34
looper left02:34
Caius joined02:35
devoldmx3 joined02:35
looper joined02:36
dreiss joined02:36
myyst left02:37
tachoknight joined02:38
myyst joined02:38
Walex left02:38
yaymukund joined02:39
smccarthy left02:39
johnkevinmbasco joined02:39
devoldmx left02:39
tieTYT2 left02:40
Walex joined02:40
Wulf left02:40
myyst left02:40
myyst joined02:41
johnny2600 left02:42
Wulf joined02:42
ohseap joined02:43
bgerber joined02:43
srcerer joined02:43
myyst left02:44
valeriansaliou joined02:44
UKn0Me joined02:44
myyst joined02:44
weiyang joined02:45
hafeez3000 left02:46
Malsasa joined02:46
lachm left02:46
qwebirc92123 left02:46
lachm joined02:46
myyst left02:47
myyst joined02:47
ohseap left02:47
d10n-work joined02:48
nowhere_man left02:48
nowhereman joined02:48
valeriansaliou left02:49
luc_ joined02:49
barduck left02:50
myyst left02:50
pandeiro left02:51
Malsasa left02:51
myyst joined02:51
omosoj left02:52
geomyidae_ left02:52
medgno left02:53
lachm left02:53
jottr joined02:53
EminenceHC joined02:53
myyst left02:54
myyst joined02:54
tmcmahon joined02:55
tachoknight left02:56
doev left02:56
doev joined02:56
dreiss left02:56
rchavik joined02:57
myyst left02:57
bannakaffalatta joined02:57
yaymukund left02:57
myyst joined02:57
jottr left02:57
nowheremannowhere_man02:58
tachoknight joined02:58
EminenceHC left02:58
xp_prg left02:59
bronson joined02:59
xp_prg joined02:59
rchavik left02:59
rchavik joined02:59
russt left03:00
sgen_ left03:00
scriptThis left03:00
myyst left03:00
mnml left03:01
myyst joined03:01
robbyoconnor left03:01
tachoknight left03:01
dannymichel left03:02
bronson left03:03
eslbaer__ joined03:03
myyst left03:03
orafu left03:04
nickpresta joined03:04
myyst joined03:04
brucelee joined03:04
bgerber left03:05
zumba_addict left03:06
dm7freek left03:06
zumba_addict joined03:06
eslbaer_ left03:06
myyst left03:07
raven-au left03:07
myyst joined03:07
george88_ joined03:08
devoldmx joined03:09
brucelee left03:09
nickpresta left03:10
myyst left03:10
raven-au joined03:11
myyst joined03:11
pwnz0r joined03:13
nginx77 joined03:13
myyst left03:13
devoldmx left03:13
myyst joined03:14
smccarthy joined03:14
myyst left03:17
myyst joined03:17
Noldorin left03:18
lindenle left03:18
msonntag left03:18
Akagi201 left03:18
Akagi201 joined03:19
msonntag joined03:19
myyst left03:20
myyst joined03:20
bgerber joined03:21
cannonball joined03:22
jrahmy joined03:23
fandi left03:23
myyst left03:23
dreiss joined03:24
myyst joined03:24
FreezingCold left03:25
myyst left03:27
myyst joined03:27
githogori left03:28
darkbasic left03:28
darkbasic joined03:29
dm7freek joined03:29
myyst left03:30
myyst joined03:30
rcampbel3 joined03:30
s8321414 joined03:31
dik_dak joined03:31
skorgon joined03:33
myyst left03:33
myyst joined03:34
Dougie187 joined03:34
myyst left03:36
myyst joined03:37
daito left03:37
daito joined03:38
t0th_-_ left03:38
t0th_-_ joined03:39
jmpp left03:40
myyst left03:40
myyst joined03:40
daito left03:42
myyst left03:43
jmpp joined03:43
t0th_-_ left03:44
myyst joined03:44
sword joined03:45
_Mateo_WMateo03:46
MateoGuest7121403:46
myyst left03:46
Guest71214_Mateo_W03:47
myyst joined03:47
luc_ left03:47
scriptThis joined03:48
jmpp left03:48
Malsasa joined03:49
myyst left03:50
myyst joined03:50
UKn0Me left03:51
s8321414 left03:53
myyst left03:53
nikio_ joined03:53
myyst joined03:53
SmileyChris joined03:53
s8321414 joined03:53
overyander does anyone know if bitbucket git repos are bare?03:54
mookins joined03:54
SmileyChris hi hi, if I have some staged files, how can I change the working files back to they are in the stage (i.e. drop the un-staged changes)?03:54
mookins Hi, I have a question regarding a method of maintaining a project using Git. I want to use Apache OfBiz, then develop custom code and modify some code, but also be able to keep up to date with the codebase coming from upstream for the base.03:55
Is there any recommended method for going about this?03:55
myyst left03:55
myyst joined03:56
tokik joined03:56
Anon126 joined03:57
SmileyChris ah, it's just git checkout :P03:57
J1G|Anon126 overyander: I don't see why it matters...03:57
EminenceHC joined03:57
J1G|Anon126 mookins: the way I would suggest is to commit the upstream version first, then make a separate branch for upstream updates03:58
myyst left03:58
FAMAS joined03:58
FAMAS left03:58
rcampbel3 left03:59
myyst joined03:59
FAMAS joined03:59
FAMAS left03:59
consti joined03:59
consti left03:59
mookins So a branch for upstream, which I keep in sync with upstream, then merge that back into my codebase ?03:59
J1G|Anon126 right03:59
mookins ah yeah that makes sense. Thanks04:00
FAMAS joined04:00
FreezingCold joined04:00
FAMAS left04:00
pipegeek joined04:01
EminenceHC left04:01
consti joined04:01
consti left04:01
FAMAS joined04:01
FAMAS left04:01
pipegeek left04:01
SmileyChris left04:01
daito joined04:02
FAMAS joined04:02
FAMAS left04:02
myyst left04:02
FAMAS joined04:02
FAMAS left04:02
myyst joined04:02
myyst left04:05
myyst joined04:05
qwebirc92123 joined04:05
FAMAS joined04:07
The_Phoenix joined04:07
APerson_ joined04:08
myyst left04:08
Unopoo joined04:09
myyst joined04:09
_Mateo_W left04:10
subhojit777 joined04:10
Unopoo left04:12
myyst left04:12
myyst joined04:12
myyst left04:15
larzen joined04:15
larzen I have a question..how do i undo a merge?04:15
otter768 joined04:15
myyst joined04:15
larzen someone just merged a tonne of old garbage.. now I need to undo it04:16
enitiz left04:17
larzen anyone?04:18
beautifulmind joined04:18
lindenle joined04:18
J1G|Anon126 larzen: is it the last commit on the current branch?04:18
myyst left04:19
Asiajey left04:19
myyst joined04:19
Asiajey joined04:20
otter768 left04:20
APerson_ left04:20
jitendravyas joined04:21
myyst left04:21
myyst joined04:22
larzen J1G|Anon126: yes it is04:22
J1G|Anon126: i looked at some tutorials, but I am not that well versed with git04:23
J1G|Anon126 larzen: essentially you are resetting to a prior commit04:23
*you can reset04:23
git reset --hard [old commit]04:23
larzen and then push?04:23
lindenle left04:23
kukks left04:23
larzen J1G|Anon126: yes, I did that...now I need make that change permanent for everyone else04:24
J1G|Anon126 yes, but you need to "force push" by adding a + before the branch name04:24
git push origin +branch04:24
gfixler joined04:24
larzen what is +branch?04:24
myyst left04:25
larzen 'master' ?04:25
J1G|Anon126 larzen: the branch that has the merge04:25
myyst joined04:25
larzen J1G|Anon126: its all in the 'master' branch04:26
so its giving me an error04:27
remote: error: denying non-fast-forward refs/heads/master (you should pull first)04:27
J1G|Anon126 larzen: add the plus sign: +master04:27
myyst left04:27
johnny2600 joined04:27
aliteralmind left04:27
myyst joined04:27
larzen git reset --hard <sha> and then git push origin +master04:28
J1G|Anon126 right04:28
larzen this is the error I get: remote: error: denying non-fast-forward refs/heads/master (you should pull first)04:28
then when I pull, I am back at the bad marge again, on top04:28
J1G|Anon126 larzen: some sites don't allow them...04:29
larzen oh this is our own repo04:30
J1G|Anon126 larzen: in that case, you need to configure it to allow force pushes04:30
I'm not sure what application you use to provide it, so you would need to check04:30
larzen just running git on linux on both ends04:30
myyst left04:31
smccarthy left04:31
myyst joined04:31
hafeez3000 joined04:32
valeriansaliou joined04:33
J1G|Anon126 left04:33
Anon126J1G|Anon12604:33
myyst left04:33
myyst joined04:34
larzen J1G|Anon126: ah.. got it..04:34
denyNonFastforwards = true was int he config04:35
J1G|Anon126 I see04:35
larzen ok =) I think I got it04:35
so where did this bad merge go now? was it expunged?04:35
ag4ve_ joined04:36
J1G|Anon126 larzen: it'll stay for about 2 weeks in case you want it, but it's not "publicly visible"04:36
phantomtiger joined04:36
larzen oh perfect04:36
its basically garbage04:36
UKn0Me joined04:37
myyst left04:37
aidalgol left04:37
devoldmx3 left04:37
myyst joined04:37
valeriansaliou left04:38
dik_dak_ joined04:38
bhws joined04:38
dik_dak_ left04:39
huglester_ joined04:40
dreiss left04:40
myyst left04:40
myyst joined04:41
ReekenX joined04:41
ReekenX left04:41
russt joined04:41
dik_dak left04:42
huglester left04:42
cods joined04:43
jitendravyas left04:43
myyst left04:43
jitendravyas joined04:44
myyst joined04:44
hcc23 left04:45
aesinv joined04:45
c0ded left04:46
Dougie187 left04:46
myyst left04:47
tmcmahon left04:47
myyst joined04:47
Milk_weed left04:48
bronson joined04:48
Akagi201 left04:49
Consuela left04:49
irqq joined04:50
myyst left04:50
arnaud__ joined04:51
myyst joined04:51
saurabh joined04:52
bronson left04:52
saurabhGuest6015904:52
myyst left04:53
dreiss joined04:54
myyst joined04:54
jstimm left04:54
proteneer joined04:54
proteneer HEAD detached from 32af43304:54
what the bloody fuck?04:55
J1G|Anon126 proteneer: it means you are not on any branch. git checkout [some branch] to "reattach"04:55
myyst left04:57
myyst joined04:58
devoldmx joined04:58
EminenceHC joined04:58
bheesham joined04:58
myyst left05:00
myyst joined05:00
zumba_ad_ joined05:01
apurcell joined05:01
g3danken left05:01
jitendravyas left05:02
devoldmx left05:02
akushner joined05:02
jitendravyas joined05:02
EminenceHC left05:03
nikio_ left05:03
zumba_addict left05:03
myyst left05:03
jstimm joined05:04
bgerber left05:04
myyst joined05:04
offby1 seek medical attention immediately05:04
dik_dak joined05:06
bhws left05:06
apurcell left05:06
EspadaV8 joined05:06
myyst left05:07
kukks joined05:07
SwedFTP joined05:07
myyst joined05:07
m0viefreak left05:09
cannonball left05:09
myyst left05:10
myyst joined05:11
akushner left05:11
Tommy[D]_ joined05:11
johnny2600 left05:11
george88_ left05:11
bhws joined05:11
aesinv left05:11
pheaver joined05:12
myyst left05:13
myyst joined05:13
Tommy[D] left05:14
jitendravyas left05:16
irqq left05:16
myyst left05:16
myyst joined05:17
pwnz0r left05:18
The_Phoenix left05:19
ag4ve_ left05:19
ManikM joined05:19
jitendravyas joined05:19
myyst left05:20
Sleepy63 left05:20
myyst joined05:20
jitendravyas left05:21
myyst left05:23
myyst joined05:23
phantomtiger left05:25
myyst left05:26
myyst joined05:27
myyst left05:29
devoldmx joined05:29
myyst joined05:30
thiago left05:30
zoso joined05:30
mookins left05:33
myyst left05:33
ag4ve_ joined05:33
myyst joined05:34
devoldmx_ joined05:34
devoldmx left05:34
jitendravyas joined05:36
myyst left05:37
myyst joined05:37
jitendravyas left05:39
jitendravyas joined05:39
s8321414 left05:39
myyst left05:39
myyst joined05:40
bgerber joined05:41
AmR|EiSa_AmR|EiSa05:41
kukks left05:43
jnavila joined05:43
zivester left05:43
myyst left05:43
madewokherd left05:44
myyst joined05:44
jmpp joined05:45
myyst left05:46
myyst joined05:47
nikio_ joined05:47
FreezingCold left05:49
watabou joined05:49
intransit left05:49
johnkevinmbasco left05:50
hafeez3000 left05:50
jmpp left05:51
mkoskar left05:51
ckruczek joined05:52
hafeez3000 joined05:52
myyst left05:54
joelm left05:54
scientes left05:54
myyst joined05:54
bhws left05:58
J1G|Anon126 left05:59
J1G|Anon126 joined06:00
skorgon left06:01
EminenceHC joined06:02
Error404NotFound joined06:02
J1G|Anon126 left06:04
J1G|Anon126 joined06:04
luriv joined06:04
apurcell joined06:05
FAMAS left06:05
FAMAS joined06:05
Tuna-Fish left06:06
Anon126 joined06:06
EminenceHC left06:06
Anon126 left06:07
J1G|Anon126 left06:07
apurcell left06:09
eslbaer__ left06:09
J1G|Anon126 joined06:10
RustyBakra joined06:10
wachterjohannes joined06:13
UKn0Me left06:13
beautifulmind left06:14
thiago joined06:14
bhws joined06:16
Fretta_ left06:16
RustyBakra left06:16
Fretta joined06:16
otter768 joined06:16
Fretta left06:17
Tuna-Fish joined06:17
RustyBakra joined06:18
polyzen left06:18
beautifulmind joined06:19
bronson joined06:19
dreiss left06:20
lindenle joined06:20
otter768 left06:21
ehmatthes joined06:21
intransit joined06:21
valeriansaliou joined06:22
Consuela joined06:22
bronson left06:23
dik_dak left06:23
licnep joined06:24
lindenle left06:25
mkoskar joined06:26
Raging_Hog joined06:26
valeriansaliou left06:26
Consuela left06:26
jnavila left06:28
aswen joined06:28
flugo joined06:29
zumba_addict joined06:29
J1G|Anon126 left06:30
ChanServ set mode: +o06:31
Eugene changed the topic to: Welcome to #git, the place for git help and illegal rebases | Current stable version: 2.2.1 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | git commit crim PUT DOWN THAT GUN AND HANDS UP IN THE AIR!06:31
milki the e doesnt render for me o.O06:31
Eugene That's because it's an ellipsis06:32
milki aw06:32
Eugene changed the topic to: Welcome to #git, the place for git help and illegal rebases | Current stable version: 2.2.1 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | git commit crim... PUT DOWN THAT GUN AND HANDS UP IN THE AIR!06:32
Eugene set mode: -o06:32
milki maybe i just have the wrong font06:32
tarkus joined06:33
zumba_ad_ left06:33
CareBear\ Eugene set it in latin1 instead of utf806:34
aswen left06:34
Eugene I'd have to care06:34
milki i think it shoudl be an em-dash06:34
CareBear\ Eugene : you american?06:34
apurcell joined06:35
pantsman- joined06:35
barduck joined06:35
russt left06:36
joo-_ joined06:37
intransit left06:37
irqq joined06:38
apurcell left06:39
KevinMGranger left06:42
joo-_ left06:42
ThomasLocke joined06:43
mikiones_ joined06:43
intransit joined06:44
hvxgr left06:44
licnep left06:44
mikiones left06:46
J1G|Anon126 joined06:47
pwnz0r joined06:47
nofxx left06:48
KevinMGranger joined06:48
jitendravyas left06:48
bhws left06:50
govg left06:50
jnavila joined06:50
nginx77 left06:51
nginx77 joined06:52
nginx77 left06:52
govg joined06:52
frdmn left06:52
rom1504 joined06:54
apurcell joined06:54
raven-au left06:54
pantsman- left06:54
nisseni joined06:55
brucelee joined06:55
raven-au joined06:56
tgkokk joined06:56
rishabh__ joined06:57
bobmarchman left06:57
J1G|Anon126 left06:57
beautifulmind left06:57
thevishy joined06:57
Sammy8806 joined06:57
jitendravyas joined06:58
EminenceHC joined06:58
alanwill_ joined06:58
ThomasLocke left06:59
apurcell left06:59
frdmn joined06:59
J1G|Anon126 joined06:59
alanwill left07:00
jon-mac left07:00
EminenceHC left07:03
jnavila left07:04
freimatz joined07:05
thevishy left07:05
Marcus___ joined07:05
jaydubya left07:06
jaydubya joined07:06
bluesm joined07:06
EminenceHC joined07:07
bluesm Does „.git” extension have any meaning ?07:07
k4rtik joined07:09
zivester joined07:09
johtso left07:10
alanwill_ left07:10
alanwill joined07:10
jaydubya left07:11
settermjd joined07:11
EminenceHC left07:11
HelloShitty joined07:11
apurcell joined07:12
hvxgr joined07:14
sinkensabe joined07:14
ckruczek its THE git directory07:15
Lyqyd left07:15
wrouesnel joined07:15
apurcell left07:16
thevishy joined07:18
Manny joined07:19
ManikM left07:19
alip joined07:19
Goplat left07:19
acolson joined07:21
alip left07:21
eightyeight left07:22
settermjd left07:23
jitendravyas left07:23
HelloShitty left07:23
szx joined07:23
Sleepy63 joined07:24
alip joined07:25
doev left07:25
eightyeight joined07:26
alip left07:27
Kicer86 joined07:27
luriv left07:27
intransit left07:27
fairuz left07:27
eburcat joined07:27
bronson joined07:27
alip joined07:28
AmR|EiSa_ joined07:28
fairuz joined07:28
rasto joined07:28
Gizburdt joined07:28
PCatinean joined07:28
luriv joined07:28
Asiajey left07:29
AmR|EiSa left07:30
Gizburdt left07:30
ome left07:31
sinkensabe left07:31
sebhoss joined07:32
Gizburdt joined07:32
bronson left07:32
Asiajey joined07:32
luriv left07:34
lyang0 joined07:34
jitendravyas joined07:35
ehmatthes left07:37
tgunr left07:37
thierryp joined07:37
thevishy left07:38
Takle joined07:39
RustyBakra Can a git repository have a name? like bar.git .07:40
marthinal joined07:40
rjc joined07:40
Marcus___ left07:41
bheesham left07:41
asdpew joined07:41
Macaveli joined07:41
Asiajey left07:42
RustyBakra Can a git repository have a name? like bar.git .If so how to do that ? may be git init <repository name >??07:42
nilg joined07:43
anybroad_ joined07:43
RustyBakra Can a git repository have a name? like bar.git .If so how to do that ? may be git init <repository name >??07:43
arnaud__ left07:43
Takle left07:44
sinkensabe joined07:44
foulou left07:44
arnaud__ joined07:44
bremner RustyBakra: repeating yourself is not helping.07:44
ckruczek RustyBakra: repeating your question does not speed up the answers07:44
tpollard left07:45
ckruczek just name your directory bar.git and make a git init07:45
Asiajey joined07:45
Asiajey left07:45
Asiajey joined07:45
anybroad left07:45
bremner RustyBakra: or indeed "git init bar.git" ; note that .git is usually used for bare repositories. See !bare for more07:45
gitinfo RustyBakra: 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/07:45
zivester left07:46
D-Boy left07:47
D-Boy joined07:47
VimFleed joined07:48
mkoskar left07:48
arnaud__ left07:48
RustyBakra bremner: ckruczek : gitinfo : Thank you07:48
gitinfo RustyBakra: you're welcome, but please note that I'm a bot. I'm not programmed to care.07:48
Asiajey left07:49
opdavies joined07:49
Xethron joined07:50
Xethron left07:50
Xethron joined07:50
Asiajey joined07:51
Asiajey left07:51
Asiajey joined07:51
tjm_jimmy joined07:52
tjm_jimmy left07:52
sinkensabe left07:53
tjm_jimmy joined07:53
Amandil joined07:53
nisseni left07:53
tjm_jimmy left07:53
tjm_jimmy joined07:54
Asiajey left07:55
sinkensabe joined07:56
sinkensabe left07:56
Asiajey joined07:56
Asiajey left07:56
Asiajey joined07:56
sinkensabe joined07:56
qwebirc92123 left07:57
bobmarchman joined07:57
sinkensabe left07:58
surs joined07:58
szx left07:58
sinkensabe joined07:58
watabou left07:58
c0ded joined07:59
fandi joined08:00
sinkensabe left08:00
cbreak RustyBakra: you can rename repositories as much as you want08:01
rafaelcpalmeida joined08:01
asdpew left08:01
opdavies left08:02
asdpew joined08:02
sinkensabe joined08:02
bobmarchman left08:02
Nizumzen joined08:03
surs left08:03
surs joined08:04
robbyoconnor joined08:04
robbyoconnor left08:04
robbyoconnor joined08:04
sgen__ joined08:04
EminenceHC joined08:04
sebhoss left08:05
wcpan joined08:05
tgkokk left08:05
hebz0rl joined08:05
rafaelcpalmeida left08:06
flugobhavul08:07
Marcus___ joined08:07
attile_the_hun joined08:07
pwnz0r left08:08
tjm_jimm_ joined08:08
sgen__ left08:09
EminenceHC left08:09
lindenle joined08:09
Asiajey left08:10
MLM left08:10
surs left08:10
valeriansaliou joined08:10
sinkensabe left08:11
Asiajey joined08:11
Asiajey left08:11
Asiajey joined08:11
sinkensabe joined08:11
surs joined08:11
attile_the_hun left08:12
attile_the_hun joined08:12
EminenceHC joined08:12
tjm_jimmy left08:13
attile_the_hun left08:13
regan joined08:13
Xiti` joined08:13
omosoj joined08:13
attila_the_hun joined08:13
zumba_addict is it possible to show when we created a local branch?08:14
bhavul left08:14
attila_the_hun left08:14
zumba_addict I would like to show them from oldest to newest08:14
bhavul joined08:14
sinkensabe left08:14
lindenle left08:14
zumba_addict i mean, i would like the output of git branch to be in order from oldest to newest08:14
Gizburdt left08:14
sinkensabe joined08:15
psoo joined08:15
sinkensabe left08:15
sinkensabe joined08:15
proteneer left08:15
zumba_addict found the command, ignore please. thanks08:16
grawity Git does not store that information08:16
Gizburdt joined08:16
Asiajey left08:16
otter768 joined08:17
Asiajey joined08:17
Asiajey left08:17
Asiajey joined08:17
EminenceHC left08:17
vurma joined08:17
dreiss joined08:18
omosoj how do i remove the changes i make to one particular file from a commit?08:18
(creation of hte file, actually)08:18
grawity omosoj: is it the latest commit?08:18
omosoj no, modification, sorry08:18
no08:18
wait - yes08:18
osse omosoj: undo the changes you made; git add file; git commit --amend08:19
omosoj sorry, i'm not sure i understand teh question08:20
ckruczek is the commit already pushed ?08:20
omosoj no08:20
aliouii_ joined08:20
omosoj but the file existed in the earlier commit08:20
ThomasLocke joined08:20
ckruczek so you want undo the changes of one particular file of the last commit you made, right?08:21
otter768 left08:22
osse git checkout HEAD~1 -- file; git commit --amend08:23
Pixi_ joined08:23
ckruczek yep exactly08:23
osse That's the "fully automatic" way to make it as if the latest commit didn't touch file08:23
omosoj ok, i see.08:23
Asiajey left08:24
omosoj hmm, still learning git :) very interesting stuff08:24
Takle joined08:24
omosoj is there a way to view the changes made to a particular file? git diff shows the files changed...08:24
nour joined08:25
Asiajey joined08:25
omosoj hm, --cached did the job08:25
c0ded left08:25
sebhoss joined08:26
ome joined08:26
hexagoxel joined08:26
joo-_ joined08:26
Xiti` left08:26
osse that's not what --cached does. if it works it means you staged the file08:26
(ie. git add)08:26
seschwar joined08:27
omosoj yeah i did that :|08:27
vurma left08:28
osse that's not a bad thing in itself08:28
c0ded joined08:28
omosoj (and btw when i wrote git diff above, i meant git status)08:28
(but did do git diff --cached)08:28
is pushing to a remote repo nervewracking for everyone? i'm afriad i'm going to screw something up and the entire company is going to collapse :/08:29
osse git diff shows changes that are not yet staged. git diff --cached shows changes that have been staged.08:29
Bryzzle left08:29
Lefter1s joined08:29
omosoj i see, thank you.08:29
joo-_ left08:29
ckruczek omosoj: yes it can be if you are doing bad stuff, like rewriting history without knowing about it and forcing a push :D08:30
tjm_jimm_ left08:30
thevishy joined08:30
GGflags joined08:31
omosoj git push origin <newbranchname> <- will upload a new branch to the remote repo, right?08:31
osse yes08:31
you might want to add -u to that command. that means in the future you only need to type git push08:31
The_Phoenix joined08:32
harish left08:32
Nikoli left08:32
mlechner joined08:32
pheaver left08:33
omosoj k, ty08:33
BlaXpirit joined08:34
liamkeily joined08:34
robbyoconnor left08:35
jmpp joined08:35
omosoj ok, i think that went okay, lol08:35
machbio joined08:35
omosoj thanks guys08:35
Radivarig joined08:36
omosoj left08:37
Asiajey left08:37
andi3 joined08:37
Trudko joined08:38
rsv joined08:38
nnyk joined08:38
Asiajey joined08:39
Asiajey left08:39
Asiajey joined08:39
c0ded left08:39
c0ded joined08:39
rsv i have a directory which contains a git repo08:39
how can i import that repo into existing; i want to do git cherry-pick08:40
jmpp left08:40
Amandil left08:41
j416 rsv: git remote add foo path/to/foo08:41
rsv: where foo is the other repo08:41
jceb joined08:42
fairuz left08:42
szx joined08:42
Amandil joined08:42
thiago left08:43
mikiones_ left08:43
jitendravyas left08:44
rsv j416: i get the error foo is not a valid remote name08:44
osse change foo into bar08:45
robbyoconnor joined08:45
iveqy rsv: !repro08:45
gitinfo rsv: [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://gist.github.com/2415442 ) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will raise the odds of getting your problem fixed from about 30% to about 90%.08:45
nagromlt joined08:46
jottr joined08:46
Amandil left08:47
Asenar joined08:48
tarkus left08:49
CustosL1men left08:49
rjc left08:50
brucelee left08:50
rjc joined08:51
jaydubya joined08:54
Takle left08:55
lb1a joined08:55
jottr left08:57
rsv left08:58
valeriansaliou left08:58
bobmarchman joined08:59
jaydubya left08:59
encod3 joined08:59
akiva left09:00
szx left09:01
fairuz joined09:01
aliouii_ left09:02
Asiajey left09:02
Gamecubic left09:03
bobmarchman left09:03
Asiajey joined09:04
jatt joined09:04
Asiajey left09:04
Asiajey joined09:04
VimFleed left09:04
jatt left09:04
jatt joined09:04
rath joined09:05
petersr joined09:07
ishi joined09:08
ishi Hi all09:08
ckruczek hi09:08
petersr left09:08
ishi Can some one please tell me how to push from a different directory ?09:09
Jackneill joined09:09
sinkensabe left09:09
liamkeily left09:09
tobiasvl ishi: what do you mean?09:09
ishi i mean , give the path to the push command09:09
Amandil joined09:09
osse ishi: git -C path push09:09
ishi i am at c:\ and i want to push the content of c:\test1\09:09
Thanks :)09:09
at linux to ?09:09
sinkensabe joined09:10
jazzzu joined09:10
ishi Thanks a lot09:10
iveqy ishi: yes, however why don't you just change dir to test?09:10
ishi i'm trying to Automate a script and its suppose to run in windows and in linux as well09:11
a process*09:11
sinkensabe left09:11
ishi i prefer not to start using chdir09:12
Thanks all for you help09:12
sinkensabe joined09:12
osse yes09:12
bgerber left09:12
Nothing4You joined09:12
nardev left09:13
King_Hual joined09:14
King_Hual left09:14
King_Hual joined09:14
RustyBakra left09:14
CustosL1men joined09:15
caipora_ joined09:15
netcarver joined09:15
Asiajey left09:16
EminenceHC joined09:16
bronson joined09:16
bgerber joined09:17
Asiajey joined09:17
Asiajey left09:17
Asiajey joined09:17
ishi left09:17
joo-_ joined09:18
osse left09:18
kjelle left09:18
Manny left09:19
osse joined09:19
kjelle joined09:19
ManikM joined09:19
osse left09:19
osse joined09:19
Takle joined09:19
pacon joined09:19
jagob joined09:20
marcogmonteiro joined09:20
joo-_ left09:20
vurma joined09:21
bronson left09:21
JoshLopes joined09:21
Asiajey left09:21
rejuvyesh joined09:21
EminenceHC left09:21
sigv joined09:21
cobakobodob left09:22
zadock joined09:22
Asiajey joined09:22
Asiajey left09:22
Asiajey joined09:22
joo-_ joined09:23
mnml joined09:24
hexagoxel left09:25
Gizburdt left09:28
UKn0Me joined09:28
weiyang left09:28
gsingh93 joined09:30
twoface88 joined09:30
Gizburdt joined09:31
mikecmpbll joined09:31
alekks joined09:32
alekks left09:37
andi3 left09:38
mikiones joined09:39
tyreld left09:39
mezod joined09:41
dreiss left09:41
hexagoxel joined09:41
ManikM left09:42
howlymowly left09:42
kcj left09:44
tyreld joined09:44
howlymowly joined09:44
jitendravyas joined09:45
caipora_ left09:46
The_Phoenix left09:47
Amandil left09:48
Asiajey left09:49
infernix left09:49
The_Phoenix joined09:49
ManikM joined09:49
cobakobodob joined09:49
Asiajey joined09:50
twoface88 left09:50
AmR|EiSa_AmR|EiSa09:51
machbio left09:51
adzynia joined09:52
surs hi, how can I push to a remote repository? I am getting fatal does not appear to be a remote repository, all though I was able to check out the project09:53
osse surs: what does git remote -v say09:54
j416 surs: what did you type?09:54
kadoban left09:54
surs osse: origin <ip> (fetch)09:54
osse: origin <ip> (push)09:55
glandium left09:55
osse surs: I want to know the <ip> part09:55
http? ssh? git?09:55
surs j416: git push --set-upstream origin master09:55
just an ip, no protocol09:55
j416 surs: that part looks good09:55
tobiasvl left09:56
osse and fetch works?09:56
surs well... I got the whole project directory into my local directory09:56
I was hoping for just the code files09:56
so something is not right09:56
infernix joined09:57
osse you did a clone at some point right?09:57
wakd_ joined09:57
surs the command I used was git clone user@<ip>:/srv/git/proj.git09:57
Mogget left09:57
osse that's SSH09:58
surs right, and I provided a pw09:58
osse As far as I know then git push should work and ask you for the pw09:58
wakd left09:58
lb1a left09:58
surs ok, I created a directory, wrote some code, saved it in said direcctory and now want it to push to an existing remote repository, what is the preferred way to do that?09:59
osse this directory is somewhere inside the project you cloned right?09:59
surs I initiated a local repo (first mistake?) and then git added the files, committed, cloned and then pushed. Now I have a mess10:00
beautifulmind joined10:00
osse init and then cloned?10:00
seems to me you have a repo inside a repo then10:00
surs yes, init locally10:00
yep, I already removed the inside repo. So I do it without locally initiating?10:00
osse yes10:01
ManikM left10:01
surs ok, now I have my initial local status. my code files, nothin else in the local directory10:01
osse what does git remote -v say now?10:01
surs I also remove the local .git?10:01
lb1a joined10:01
surs as in to start over completely10:02
osse ok, this is a mess. I don't know what you want to do. Do you wnat to contribute to the project at <ip>? Or do you want to create a new project ?10:02
surs I want to contribute to the existing project and obtain what's already up there10:02
lb1a left10:03
osse git clone user@<ip>:/srv/git/proj.git; cd proj; do you work; git add new stuff; git commit; git push10:03
achadwick joined10:03
Asiajey left10:04
adzynia left10:04
thevishy left10:04
glandium joined10:05
Asiajey joined10:05
Asiajey left10:05
Asiajey joined10:05
CareBear\ surs : the way git works (and probably any other vcs too) is that you *first* acquire a working set of files from the common server, and *then* make local changes.10:05
ManikM joined10:07
glandium left10:07
surs CareBear\: yes that makes sense10:08
thanks osse10:08
RaceCondition joined10:09
joo-_ left10:10
adzynia joined10:10
Asiajey left10:11
rglarsen joined10:11
teran joined10:11
Asiajey joined10:12
Asiajey left10:12
Asiajey joined10:12
teran_ left10:14
Klumben left10:14
FAMAS left10:15
FAMAS joined10:16
opdavies joined10:16
Asiajey left10:17
llakey joined10:17
Asiajey joined10:18
otter768 joined10:18
tvl joined10:18
joo-_ joined10:18
tvltobiasvl10:18
ruukasu left10:19
EminenceHC joined10:19
chiemseesurfer joined10:20
teran_ joined10:20
okanck joined10:20
thevishy joined10:20
daito left10:21
Amandil joined10:21
cdown left10:21
daito joined10:21
barduck left10:22
teran left10:23
otter768 left10:23
vtunka joined10:23
Klumben joined10:24
EminenceHC left10:24
cdown joined10:24
daito left10:26
murph joined10:26
d4ryus___ joined10:26
murphGuest4871310:27
harish joined10:27
lb1a joined10:27
jds joined10:28
jost joined10:28
hafeez3000 left10:29
d4ryus left10:29
hafeez3000 joined10:29
asdpew left10:31
okanck left10:31
Asiajey left10:31
opdavies left10:31
Asiajey joined10:33
Asiajey left10:33
Asiajey joined10:33
gccostabr joined10:35
opdavies joined10:37
cdown left10:38
eslbaer__ joined10:38
Asiajey left10:38
FAMAS left10:39
Asiajey joined10:39
Asiajey left10:39
Asiajey joined10:39
awkwardusername left10:40
glandium joined10:40
rendar joined10:40
fairuz left10:43
dannymichel joined10:43
jaydubya joined10:43
thierryp left10:44
Amandil left10:44
flughafen left10:44
joel_falcou left10:45
thierryp joined10:45
thierryp_ joined10:46
thierryp left10:46
jazzzu left10:46
ruukasu joined10:46
valeriansaliou joined10:47
bobmarchman joined10:48
jaydubya left10:48
roelmonnens joined10:48
qwebirc92123 joined10:49
opdavies left10:50
musician2000 joined10:51
valeriansaliou left10:52
bobmarchman left10:52
kcj joined10:55
ecky--ptang-zoob joined10:55
kcj left10:56
thierryp_ left10:57
beautifulmind left10:57
Asiajey left10:57
vurma left10:57
G1eb joined10:58
G1eb is there an intelligent way of generating a gitignore file?10:58
thierryp joined10:58
G1eb for instance, when scaffolding projects with yeoman gitignore is not generated automatically10:58
Asiajey joined10:58
bremner sounds more like a yeoman (whatever that is) question10:59
ManikM left10:59
bremner I guess the short answer is no, although many people have written various ad hoc scripts.10:59
LeMike joined10:59
qwebirc92123 left10:59
thierryp left10:59
echo-area left10:59
nagromlt left10:59
qwebirc92123 joined10:59
joo-_ left11:00
SpeedyGhost joined11:01
SpeedyGhost left11:01
SpeedyGhost joined11:01
joo-_ joined11:01
G1eb bremner i see11:02
beautifulmind joined11:02
DevAntoine joined11:03
DevAntoine hi11:03
bremner G1eb: git doesn't really know about <your favourite programming language/build system>; it basically things everything is text files.11:04
Asiajey left11:04
DevAntoine how do I specify the remote from which I want to checkout?11:04
bremner or worse, binary blobs that it doesn't even diff11:04
s8321414 joined11:04
DevAntoine I thought it was "git checkout remote branch"?11:04
mkoskar joined11:04
sq-one joined11:05
k_sze[work] left11:05
Asiajey joined11:05
Asiajey left11:05
Asiajey joined11:05
bronson joined11:05
Solid1 joined11:05
joo-_ left11:06
t0th_-_ joined11:07
Mogget joined11:08
bandroidx joined11:08
bronson left11:09
joo-_ joined11:10
G1eb yeah11:10
Asiajey left11:12
bremner DevAntoine: are you making a new local branch?11:12
Asiajey joined11:13
Asiajey left11:13
Asiajey joined11:13
wachterjohannes left11:14
cdown joined11:16
Takle left11:16
joo-_ left11:16
osse git clean -fdx; make/build/whatever; git ls-files --others > .gitignore \o/11:16
Asiajey left11:17
PCatinean left11:17
bitkiller joined11:17
paulweb515 left11:18
Asiajey joined11:18
Asiajey left11:18
Asiajey joined11:18
dannymichel left11:20
joo-_ joined11:20
vurma joined11:21
teran joined11:21
ManikM joined11:21
osse G1eb: behold the genious11:22
ehh, genius11:22
whatever11:22
rejuvyesh left11:22
EminenceHC joined11:23
hichamat joined11:23
Takle joined11:23
bhavul left11:23
qwebirc92123 left11:24
teran_ left11:24
hichamat Hi, I'm looking for a free Git repository that support private repo, I don't care about number of users limit. GitHub did not allow private repo when free11:24
tirengarfio left11:25
canton7 hichamat, bitbucket?11:25
tirengarfio joined11:25
mkoskar left11:25
osse s/\?$/./11:26
hichamat canton7 yes thank you11:26
KeelOfSteel joined11:26
hichamat canton7 what about gitlab and TFS11:27
Malsasa left11:27
canton7 gitlab don't provide free hosted I don't think?11:27
osse hichamat: gitlab is a host software. they don't offer actual hosting11:27
ManikM left11:27
ManikM joined11:27
canton7 not sure about TFS, but I'd be surprised if they offered free hosted11:27
osse oh, maybe they do11:27
EminenceHC left11:28
Gitzilla left11:28
canton7 not sure whether they provide hosting or not... trying to determine from their website11:28
valeriansaliou joined11:28
canton7 ooh, this is new one me: https://about.gitlab.com/gitlab-com/11:28
*on me11:29
paul424 joined11:29
ruukasu left11:29
Asiajey left11:29
checkItOut joined11:29
osse inteledasting11:30
Nikoli joined11:30
joo-_ left11:30
Asiajey joined11:31
creep joined11:31
Gama11 joined11:31
valeriansaliou left11:31
ManikM left11:31
joo-_ joined11:32
veebers left11:33
teran left11:34
french joined11:34
joo-_ left11:34
joo-_ joined11:35
jagob left11:35
checkItOut left11:36
jaeckel I have a diff of a file in a git repository from a specific commit, does someone know how to determine if this diff somehow corresponds to a future commit?11:36
asdpew joined11:37
osse jaeckel: does the diff include something like "index be54f03..71785fe 100644"11:37
?11:37
jaeckel no it's only a modified version of the file11:37
osse oh11:38
eslbaer__ left11:38
osse I know of a way to do it, but that will only search for commits that only modify that file and nothing else11:38
Nikoli left11:38
osse ie. the diff is the entire commit11:38
jaeckel mh, that could already be a good starting point11:39
hichamat canton7 osse thank you, bitbucket is good11:39
osse jaeckel: commit the modified version of the file, then use git cherry to search for that commit in other branches11:40
dv^laptop joined11:40
jaeckel nice11:40
I'll try that after lunch :)11:40
opdavies joined11:40
joo-_ left11:42
Asiajey left11:43
joo-_ joined11:43
rishabh__rishabh11:43
sebhoss left11:43
sebhoss joined11:43
Asiajey joined11:44
t0th_-__ joined11:44
Asiajey left11:44
Asiajey joined11:44
checkItOut joined11:44
listochkin joined11:44
jagob joined11:46
thierryp joined11:46
brucelee joined11:46
hichamat left11:46
t0th_-_ left11:47
bhavul joined11:47
dannymichel joined11:47
lindenle joined11:47
joo-_ left11:48
dannymichel left11:49
purpleidea left11:50
brucelee left11:50
gsingh93 left11:50
Nikoli joined11:51
Asiajey left11:51
lindenle left11:51
purpleidea joined11:52
purpleidea left11:52
purpleidea joined11:52
Asiajey joined11:53
Asiajey left11:53
Asiajey joined11:53
checkItOut left11:53
liamkeily joined11:54
rjc left11:54
checkItOut joined11:55
liamkeily left11:55
liamkeily joined11:55
Dunks joined11:55
valeriansaliou joined11:55
checkItOut left11:56
autochthon joined11:56
autochthon_ joined11:56
sebhoss left11:56
purpleidea left11:57
dougsland joined11:57
Takle left11:58
purpleidea joined11:58
Nizumzen left11:59
eslbaer joined12:01
purpleidea left12:02
hafeez3000 left12:02
Asiajey left12:03
bgerber left12:03
jitendravyas left12:03
dannymichel joined12:04
Asiajey joined12:04
Gizburdt left12:04
Asiajey left12:04
Asiajey joined12:04
jaydubya joined12:04
valeriansaliou left12:05
silverfix joined12:05
VictorBjelkholm joined12:05
nofxx joined12:05
nofxx left12:05
nofxx joined12:05
silverfix hello12:05
osse silverfix: I agree12:06
autochthon left12:07
autochthon_ left12:07
regan O.o12:07
VictorBjelkholm Hey folks! Quick question, I have two branches, "A" and "B". At one point, someone merged "A" into "B" and I would like to have a easy way of finding that commit of the merge. Imagine there is 100 commits that have been merged. How can I do it? Any tips/tricks?12:08
purpleidea joined12:08
liamkeily left12:08
fandi left12:08
Asiajey left12:09
silverfix osse: ahahaH12:09
mkoskar joined12:09
Asiajey joined12:10
Asiajey left12:10
Asiajey joined12:10
jatt left12:10
osse VictorBjelkholm: "that commit" = the commit A was at, or the merge itself?12:11
as both A and B moved on since ?12:11
*has12:11
valeriansaliou joined12:11
listochkin left12:11
liamkeily joined12:12
valeriansaliou left12:12
jmpp joined12:12
jagob left12:12
johnkevinmbasco joined12:13
Pixi_ left12:13
roycuneo joined12:14
warthog9 left12:14
VictorBjelkholm osse, "that commit" = the commit where "A" was merged into "B"12:14
Pixi_ joined12:14
VictorBjelkholm merge itself I guess12:14
nisseni joined12:15
ckruczek2 joined12:15
roycuneo left12:15
osse VictorBjelkholm: hmm... I think I'd do git log --merges --grep=A B12:15
RahulAN joined12:16
RahulAN hiii all12:16
ckruczek2 hi12:16
warthog9 joined12:16
RahulAN github.com says server not found??12:16
valeriansaliou joined12:16
Takle joined12:16
j416 RahulAN: http://www.downforeveryoneorjustme.com/github.com12:16
mizu_no_oto joined12:17
wachterjohannes joined12:17
jmpp left12:17
silverfix is there a way to merge 2 branch only for one basedir ?12:17
RahulAN Why for me only??12:18
moritz silverfix: what does "only for one basedir" mean?12:18
RahulAN: DNS problems?12:18
RahulAN: try to ping 192.30.252.129 (that's what github.com resolves to)12:18
valeriansaliou left12:19
RahulAN it pings..12:19
otter768 joined12:19
silverfix moritz: i've a webapp that has the following directory structure: src/, src/backend/, src/frontend/ . I'm developing the 2.0 version of the frontend, so when I've finished I would like to merge only src/frontend/ and not src/12:19
RahulAN but it is not invoking.. on firefox12:19
bremner silverfix: make a branch that has only the changes you want to merge.12:20
freestyl3r joined12:20
bremner e.g. by rewriting.12:20
RahulAN left12:21
Takle left12:21
PaulePanter Hi. Is git 1.7.10.4 unable to handle incremental bundle updates?12:21
… created with git 2.1.4?12:22
`git fetch` does not do anything.12:22
sq-one left12:23
osse PaulePanter: if everything is up-to-date then git fetch doesn't print anything at all12:23
elcheckito left12:23
otter768 left12:23
PaulePanter osse: Yes, but unfortunately it is not up to date.12:24
osse try GIT_TRACE=1 git fetch12:24
PaulePanter Reading the man page of 1.7.10.4 suggests it should be supported.12:24
osse: Will do.12:24
joo-_ joined12:25
bhavul left12:25
PaulePanter $ GIT_TRACE=1 git fetch12:25
trace: built-in: git 'fetch'12:25
EminenceHC joined12:25
Takle joined12:25
liamkeily left12:26
bgerber joined12:26
joo-_ left12:27
tokik left12:28
Gizburdt joined12:28
PaulePanter `git ls-remote ../my.bundle` and `git verify` show the required commit hash.12:29
jagob joined12:29
EminenceHC left12:30
Takle left12:30
ecky--ptang-zoob left12:30
Asiajey left12:30
osse That was all the output?12:31
vurma left12:31
PaulePanter osse: Yes, that was all the output.12:31
encod3 left12:31
PaulePanter I know copied the whole branch and not just the cut-off. That worked last time.12:32
osse Hmm, are you supposed to be able to use fetch to grab stuff from a bundle?12:32
Asiajey joined12:32
encod3 joined12:32
osse man page says 'git bundle unbundle'12:32
astrofog joined12:32
PaulePanter osse: Yes, if it is the path for `url` in a remote.12:33
VictorBjelkholm osse, I'll try that, thanks12:33
liamkeily joined12:35
teran joined12:35
deciph3r joined12:35
PaulePanter osse: The man page also says, this is just plumbing and only to be used by `git fetch`.12:35
osse PaulePanter: so you do 'git fetch ../my.bundle' ? Did you GIT_TRACE=1 that?12:36
listochkin joined12:36
Takle joined12:36
bobmarchman joined12:36
encod3 left12:36
jitendravyas joined12:37
warthog9 left12:37
fairuz joined12:37
warthog9 joined12:38
dsdeiz left12:38
PaulePanter osse: No, as its path is in `.git/config` for remote `origin`.12:39
teran left12:39
PaulePanter osse: `git bundle unbundle` did the job. No idea why `git fetch` failed.12:40
Asiajey left12:41
osse cool12:41
I didn't know fetch could do that :P12:41
bobmarchman left12:41
osse but from what I can tell from the logs that feature has been around for a long time12:41
PCatinean joined12:41
PaulePanter osse: Indeed. Let’s see if I can debug that another time.12:41
Asiajey joined12:42
harish left12:43
kukks joined12:43
vurma joined12:44
claudio_ joined12:44
flowinho joined12:45
roelmonnens left12:47
roelmonnens joined12:47
claudio_ when deletes all the local project, which the basic commands to reconnect the project to the remote repository?12:47
listochkin left12:47
osse claudio_: git clone12:48
learner left12:48
paulweb515 joined12:49
paulweb515 left12:49
paulweb515 joined12:49
learner joined12:49
Asiajey left12:49
VimFleed joined12:50
fandi joined12:50
claudio_ but it will not replace my local project so this remote repository?12:51
Asiajey joined12:51
Asiajey left12:51
Asiajey joined12:51
ckruczek2 if you deleted everything and newly clone, you will get the remote repository. all your stuff you didnt pushed before you deleted is lost.12:52
paulweb515 left12:53
sburgess joined12:53
warthog9 left12:54
hafeez3000 joined12:54
bronson joined12:54
lpapp joined12:55
lsiv568 joined12:55
daedeloth joined12:56
lpapp left12:56
jorj joined12:56
warthog9 joined12:56
pacon left12:57
loglaunch left12:57
Asiajey left12:58
sburgess left12:58
beautifulmind left12:59
mezod left12:59
bronson left12:59
AmR|EiSa Can I change svn rev in head files or Mastar files by hande to get it back to old rev ?12:59
liamkeily left12:59
Asiajey joined12:59
fstd left13:00
enzo123456 joined13:00
freimatz left13:00
fstd joined13:00
enzo123456 hey guys. I'm looking for a way to get the git installation path through the console, do you have any idea on how to do that?13:01
claudio_ i did : git init / git remote add origin repo / git clone repo / git add . git commit -m "operation" / and git push, but dont works. what's wrong ?13:01
canton7 enzo123456, not sure exactly which path you mean13:01
moritz enzo123456: 'which git' should give you the path to the binary13:01
canton7 enzo123456, try 'which git' and 'git --exec-path'13:01
aswen joined13:01
enzo123456 canton7: ohh nice, I think I can do something with 'git --exec-path', thanks!13:03
canton7 what are you trying to do? sounds dangerous...13:03
joel_falcou joined13:03
qsuscs enzo123456: !xy13:03
gitinfo enzo123456: Woah, slow down for a bit. Are you sure that you need to jump through that particular hoop to achieve your goal? We suspect you don't, so why don't you back up a bit and tell us about the overall objective...13:03
enzo123456 canton7: I'm creating a setup.bat file (windows) for my project which references the git shell to run bash commands without leaving the cmd13:04
Asiajey left13:05
cbreak claudio_: git will tell you.13:05
enzo123456 so I need the installation path to be able to find sh.exe13:05
cbreak enzo123456: git is in path? :)13:05
k4rtik left13:05
canton7 enzo123456, I think git-shell installs into your PATH?13:05
not git --exec-dir13:05
encod3 joined13:06
Asiajey joined13:06
Asiajey left13:06
Asiajey joined13:06
liamkeily joined13:06
enzo123456 yeah, but you can only run git commands, I need instead to reference the gi shell so I can make the "bash" command available through the cmd13:07
ckruczek2 claudio_: what exactly is 'not working'13:07
enzo123456 (windows cmd doesn't support the "bash" command)13:07
jitendravyas left13:07
jitendravyas joined13:08
jitendravyas left13:08
paulweb515 joined13:08
sburgess joined13:08
enzo123456 I mean, I don't wan´t to run "git init", I want to run "bash setup.sh" I can' do that using what git adds to the windows PATH variable...13:09
claudio_ ckruczek2 :not going to the committee for the remote repository13:09
canton7 enzo123456, aaaah so you're not interested in 'git shell'. you're interested in bash13:10
man git-shell13:10
gitinfo the git-shell manpage is available at http://jk.gs/git-shell.html13:10
wrouesnel left13:10
nofxx left13:11
ap0c left13:11
ckruczek2 claudio_: maybe you dont have rights for pushing? and maybe you are pushing over http and its not configured on the remote?13:11
jazzzu joined13:11
Joel_ joined13:12
enzo123456 canton7: hmmm is "git shell" a git command?13:12
wakd joined13:13
bremner enzo123456: did you see the link above to it's man page?13:13
creep left13:14
nofxx joined13:14
nofxx left13:14
nofxx joined13:14
wakd_ left13:14
claudio_ on the remote already have the design, what happens' and I deleted all the version of the local project, reinstalled the project locally, and now need to restart the remote repository to update it.13:14
joel_falcou left13:14
Asiajey left13:14
Joel__ joined13:15
Skapadapaduu joined13:15
johtso joined13:15
bg__ left13:15
Joel_ left13:16
Asiajey joined13:16
Asiajey left13:16
Asiajey joined13:16
ckruczek2 claudio_: sorry, but i dont really get what you mean. just clone from the remote again after you deleted everything: git clone ssh-url13:16
DevAntoine bremner: yes, I'm making a new local branch (2h later)13:17
canton7 enzo123456, no, but 'git-shell' is a utility (I don't think it's shipped on windows?)13:18
nikio__ joined13:18
claudio_ for this I did: git init / git remote add origin https: //claudiomf@bitbucket.org/claudiomf/preferenciakids.git; git clone https: //claudiomf@bitbucket.org/claudiomf/preferenciakids.git; git add. ; git push13:18
ckruczek2 you dont need to do the init and remote add stuff. just clone the bitbucket stuff..13:19
rglarsen left13:19
ckruczek2 but wait, bitbucket hosts git project? i thought they only host mercurial projects?13:19
musician2000 left13:19
tobiasvl git too13:20
qsuscs ckruczek2: they began hosting git some years ago13:20
Anders_J left13:20
DevAntoine bremner: yes, I'm making a new local branch (2h later)13:20
subhojit777 left13:20
Joel__ left13:20
Asiajey left13:21
nikio_ left13:21
brandonw left13:22
ruukasu joined13:22
Asiajey joined13:22
hebz0rl left13:23
bremner DevAntoine: try git checkout -t localname remote/branch13:23
Dunks left13:24
russt joined13:25
russt left13:25
DevAntoine bremner: I thought specifying the branch name wasn't necessary anymore since git 1.6?13:25
I'm digging into -t, don't know this option13:25
vurma left13:27
Doomb joined13:27
brandonw joined13:27
canton7 DevAntoine, !local_branch_from_remote13:28
gitinfo DevAntoine: The following commands are all equivalent, assuming <branch> doesn't yet exist: 'git checkout -b <branch> <remote>/<branch>', 'git checkout -t <remote>/<branch>', 'git checkout <branch>'. The latter invokes some magic.13:28
canton7 basically, -b has magic to add -t where appropriate, and -t has magic to add -b when appropriate13:28
it's a complex little mess13:28
ckruczek2 left13:28
DevAntoine :D13:29
cavallari joined13:29
DevAntoine canton7: so, if I want to use a given remote, I should use -t?13:29
canton7 either 'git checkout -t remote/branch' or 'git checkout -b branch remote/branch'13:29
the latter is more popular/common13:29
ohseap joined13:30
VimFleed left13:30
fairuz left13:30
EminenceHC joined13:30
nofxx left13:31
Asiajey left13:31
HoMM joined13:32
Asiajey joined13:33
Asiajey left13:33
Asiajey joined13:33
opdavies left13:33
EminenceHC left13:35
teran joined13:36
mizu_no_oto left13:39
apurcell joined13:39
Asiajey left13:40
Gizburdt left13:40
AciD` joined13:40
_0xAX joined13:40
nofxx joined13:40
teran left13:41
Asiajey joined13:41
Asiajey left13:41
Asiajey joined13:41
sburgess left13:41
DevAntoine canton7: -t doesn't work13:42
Solid1 left13:42
canton7 !doesntwork13:42
gitinfo Sorry to hear it doesn't work, but how about some details? At this point we don't even know whether it did nothing, spit out an error message, or abducted your pet unicorn in a flying saucer. That makes it hard to troubleshoot – unicorn abduction requires a completely different solution than an error message, for instance. So, please be specific...13:42
claudio_ with -u git push origin master ', results in: error: src refspec master does not match any. What could be wrong?13:42
canton7 there's no local master branch13:42
(or there is, but it doesn't have commits on it ("unborn"))13:42
DevAntoine fatal: git checkout: updating paths is incompatible with switching branches. Did you intend to checkout 'origin/branch' which can not be resolved as commit?13:43
(I was looking for the error message in english on google ;))13:43
bg__ joined13:43
AciD` left13:43
AciD` joined13:43
apurcell left13:44
Gizburdt joined13:44
canton7 DevAntoine, iirc that horrible mess of a message means "remote branch doesn't exist"13:44
DevAntoine, pastie your exact checkout command, and the output of 'git branch -a'13:44
encod3_ joined13:45
sq-one joined13:47
Solid1 joined13:47
DevAntoine canton7: well, right, this branch didn't exsist :|13:47
ruukasu left13:47
DevAntoine -t works13:47
indeed13:47
thanks13:47
lsiv568 left13:47
Takle left13:47
roelmonnens left13:47
canton7 :)13:48
someone needs to fix that error message really...13:48
ruukasu joined13:48
DevAntoine canton7: yeah, that means nothing13:48
encod3 left13:48
Guest60159 left13:48
gregsmith joined13:49
islalobo joined13:50
canton7 checkout can be used to switch branches or update paths (e.g. git checkout HEAD^^ -- SomeFolder) - I think it's failing the branch mode, failing, trying the path mode, failing, and spitting out a message relating to the path mode13:50
DrSkyLizard joined13:50
netcarver left13:50
lsiv568 joined13:50
vtunka left13:51
islalobo Hello, I just merged my dev environment up to staging and master branches. Both dev and staging environments the site works fine, but the master branch is giving a wsod death. I can't fathom how if all branches should be the same at this moment after merge13:51
Is there a way to debug such a situation?13:51
nardev joined13:51
vurma joined13:52
moritz sure13:52
use whatever debugging tools your platform provides13:52
enzo123456 canton7: do you know if there's a way to get the git installation path, but to the root directory? I tried "git --exec-path" but it goes to the core dir...13:52
mizu_no_oto joined13:52
sebhoss joined13:53
harish joined13:53
vtunka joined13:54
intransit joined13:55
Asiajey left13:57
aboudreault left13:57
Takle joined13:57
Asiajey joined13:58
Doomb left13:59
Tuna-Fish left14:00
medgno joined14:00
Tuna-Fish joined14:00
phos1 joined14:00
rglarsen joined14:01
Solid1 left14:01
iveqy islalobo: does all branches point to the same commit (sha1?) and are your worktree dirty at any location?14:01
Asiajey left14:01
intransit left14:01
iveqy enzo123456: The git installation path?14:02
enzo123456: do you mean the location of the git binary?14:02
osse enzo123456: It won't be perfect but in all cases I know of it's the exec path with the two last components removed14:02
Asiajey joined14:03
Asiajey left14:03
Asiajey joined14:03
rglarsen left14:03
aboudreault joined14:03
cavallari left14:03
islalobo iveqy: not sure what you mean by dirty. and I guess they all point to the same commit? I just did 'git checkout master' 'git merge dev'14:04
jgardella left14:04
iveqy islalobo: that files are edited in your work tree. a git reset --hard HEAD will remove all edits and make sure your worktree is the same as your commit14:04
cannonball joined14:05
GODDOG joined14:05
GODDOG left14:05
iveqy islalobo: does git rev-parse HEAD give you the same output at all locations?14:05
islalobo iveqy: I'll check14:05
opdavies joined14:05
islalobo iveqy: no it doesn't14:06
mikecmpbll left14:06
GODDOG joined14:06
islalobo both staging and dev are the same, but master is something different14:06
Solid1 joined14:06
osse enzo123456: execpath=$(git --exec-path); prefix="${execpath%/*/*}"; echo "$prefix"14:07
iveqy then staging and dev are not the same code as master and that's probably your problem14:07
staafl joined14:07
bobmarchman joined14:07
valeriansaliou joined14:07
mikecmpbll joined14:08
th3fallen joined14:08
bannakaffalatta left14:08
lachm joined14:08
islalobo iveqy: I'm fairly new to git so I don't understand how that could happen if I was merging the branches from one environment to the other. Wouldn't that ensurre that all branches have the same code?14:08
lachm left14:08
ruukasu left14:09
phos1 left14:09
iveqy islalobo: no, that would merge two codebases together. If you have repo A with the change a and you have a repo B with the change b and you merge A into B, B will contain both a and b14:10
nardev left14:10
Shurakai joined14:10
smccarthy joined14:10
Shurakai left14:10
lsiv568 left14:11
bobmarchman left14:11
Solid1 left14:12
ecoury joined14:12
valeriansaliou left14:12
enzo123456 osse: that looks like what I need, but I need to run something like that on windows... :S14:12
ecouryEvanDotPro14:12
ruukasu joined14:13
AmR|EiSa Can I change svn rev in head files or Mastar files by hande to get it back to old rev ?14:13
osse enzo123456: yes it's good. During compilation the exec path is determined from the prefix initially, so it should be correct.14:13
iveqy enzo123456: with msysgit you do have msys with bash already installed, correct?14:13
AmR|EiSa: I don't understand what you mean, could your try to explain again?14:14
osse enzo123456: ifyou have git then you have bash. Anyway, removing two occurrences of / in a string is feasible everywhere, I should think.14:14
majoh joined14:15
Solid1 joined14:15
mizu_no_oto left14:16
AmR|EiSa iveqy: I have 2 server svn I working with, I lost the most updated one, the backup server have rev 31 and my master have rev 41.14:16
iveqy: So if I can change that by hande to set rev 31 back as start point in git-svn.14:17
ruukasu left14:17
iveqy AmR|EiSa: and you're using git as a svn client and want to push your changes to your backup server?14:17
gniourf joined14:17
islalobo iveqy: how can I make the branches the same?14:17
mellernoia joined14:17
tesaf joined14:18
AmR|EiSa yes, but backup server have old rev14:18
lsiv568 joined14:18
lpax joined14:18
m1911star joined14:18
iveqy islalobo: with git reset, but I suspect that you're doing something wrong here. I suggest you do a !repro and try to get help here.14:18
gitinfo islalobo: [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://gist.github.com/2415442 ) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will raise the odds of getting your problem fixed from about 30% to about 90%.14:18
iveqy AmR|EiSa: that's a tricky one. I don't know. Maybe this will help you?14:19
https://www.redlab.be/blog/2012/git-svn-with-multiple-svn-repositories/14:19
otter768 joined14:20
islalobo ivegy what is !repro14:20
gitinfo [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://gist.github.com/2415442 ) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will raise the odds of getting your problem fixed from about 30% to about 90%.14:20
zadock left14:20
islalobo oh14:20
Asiajey left14:20
iveqy AmR|EiSa: I do believe it's better to threat them as two seperate servers than try to trick git into that the svn server changed it's state. However !tias since you have nothing to loose with git14:21
gitinfo AmR|EiSa: 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.14:21
DrSkyLizard left14:22
Asiajey joined14:22
AmR|EiSa lvh: OK, Thanks :)14:22
GODDOG left14:22
AmR|EiSa gitinfo: Thanks for tip :)14:22
gitinfo AmR|EiSa: you're welcome, but please note that I'm a bot. I'm not programmed to care.14:22
s8321414 left14:22
sq-one left14:22
_0xAX left14:22
ehmatthes joined14:22
basiclaser_ joined14:23
AmR|EiSa gitinfo: I care :P14:23
tranzfuse joined14:23
GODDOG joined14:23
Matulis joined14:23
eletuchy left14:23
melter left14:23
m1911star left14:23
knownasilya joined14:24
smccarthy left14:24
smccarthy joined14:25
ignas joined14:25
otter768 left14:25
larzen left14:26
ruukasu joined14:26
melter joined14:26
doev joined14:27
Zupoman joined14:28
yannick_gagnon joined14:28
jstimm left14:28
gitinfo AmR|EiSa: but you should ;)14:29
phantomtiger joined14:29
esc_ what would you say, when was the first usable public release of git?14:29
2005?14:29
moritz 2020? :-)14:29
it really depends on your definition of "usable"14:30
esc_ usable by kernel hackers14:30
freimatz joined14:30
Nizumzen joined14:30
heftig joined14:30
heftig_ left14:31
Juzzika joined14:31
esc_ or let's say, when did the Kernel start being developed with git?14:31
overyander left14:31
claudio_ left14:31
pacbard left14:31
twoface88 joined14:31
esc_ wikipedia says 7 April 200514:31
qsuscs Date: Sat Apr 16 15:20:36 2005 -070014:31
esc_ so, apprx 10 years...14:31
lhunath left14:32
EminenceHC joined14:32
mikecmpbll left14:33
Asiajey left14:34
frdmn left14:35
Asiajey joined14:35
Takle left14:36
teran joined14:37
Zupoman left14:37
EminenceHC left14:37
Techn0mag joined14:37
Techn0mag left14:37
Techn0mag joined14:37
russt joined14:37
frdmn joined14:38
Techn0mag left14:38
Zupoman joined14:38
smccarthy left14:38
AmR|EiSa iveqy: sorry for that. It's for you14:39
CheckDavid joined14:39
AmR|EiSa iveqy: Where git but svn rev mark ?14:39
ZupomanTechn0mag14:39
sburgess joined14:40
Asiajey left14:40
jitendravyas joined14:41
Asiajey joined14:41
zivester joined14:41
teran left14:42
macabre joined14:42
Gizburdt left14:42
Solid1 left14:42
jaeckel osse: do you have an example usage of the git cherry approach you proposed?14:42
Takle joined14:43
intransit joined14:43
phos1 joined14:44
mezod joined14:44
Gizburdt joined14:44
joel_falcou joined14:44
yannick_gagnon left14:45
nardev joined14:45
jerius joined14:45
phos1 I’m new to GIT, and I am confused on how some aspects work. I am using coda and it is allowing me to commit to my local repository (in MAMP), but when someone else made changes to the server nothing is coming up to show me changes. Do i also need to setup a repository on the server and work from it rather then the local one?14:45
bluesm left14:45
dangerousdave joined14:46
iveqy AmR|EiSa: ? I don't understand, where git? If I where you I would do a git rebase -i and reword all commit messages, removing the git-svn line in14:46
Asiajey left14:46
Solid1 joined14:46
moritz phos1: git has explicit steps for collaborating with remote repos14:46
Raging_Hog left14:46
iveqy phos1: no but you need to fetch and merge the changes from the server. Maybe you should read the !book and get some basic concepts?14:46
gitinfo phos1: 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 !parable14:46
moritz phos1: on the command line (I assume "coda" is a GUI tool?) that's 'git pull' and 'git push'14:47
AaronMT joined14:47
Asiajey joined14:47
joo-_ joined14:47
Matulis left14:47
moritz also !gui14:47
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.14:47
GODDOG left14:48
GODDOG joined14:48
listochkin joined14:48
ruukasu left14:48
qsuscs phos1: and stop saying !GIT14:48
gitinfo phos1: Git is not an acronym. Writing it in all caps is heresy and will be punished by Subversion or SCCS for more grievous offences. It's "git" or "Git". Thank you for your help in making the world a better place. 48a8c26c625a4d3631c4f614bceb38933e74140814:48
GODDOG left14:48
moritz is there a gitinfo trigger to throw all triggers at somebody? :-)14:49
jast !triggers14:49
gitinfo Please don't spam me! I'm just a poor bot! Here's everything I know: http://jk.gs/git/bot/trigger.php -- that's a list of these nifty keywords like "!bot" that you can use in the channel, in case you were wondering.14:49
phos1 Thanks, I will look at those links hopefully that gets me going. Thanks14:49
iveqy phos1: good luck and welcome back14:50
AmR|EiSa: and if that works, please let me know...14:50
redbaritone_ joined14:51
redbaritone_ left14:51
redbaritone_ joined14:51
SpeedyGhost left14:51
KevinMGranger left14:51
Dougie187 joined14:51
medgno left14:51
jitendravyas left14:51
darkbasic left14:52
polyzen joined14:52
IrishPrime joined14:53
joel_falcou left14:53
listochkin left14:53
AmR|EiSa left14:53
KevinMGranger joined14:54
AmR|EiSa joined14:54
opdavies left14:54
cwillu_at_work joined14:55
denete joined14:55
tmcmahon joined14:56
subhojit777 joined14:57
aesinv joined14:58
felipedvorak joined14:58
shinnya_ joined14:58
autochthon_ joined14:58
autochthon joined14:58
darkbasic joined14:58
tmcmahon left14:59
SpeedyGhost joined15:00
bobmarchman joined15:00
bobmarchman left15:01
phantomtiger left15:01
bobmarchman joined15:01
aesinv left15:01
SpeedyGhost left15:02
Ankhers joined15:02
Solid1 left15:03
leeN joined15:03
aesinv joined15:03
Lefter1s left15:03
SpeedyGhost joined15:03
jgardella joined15:03
joel_falcou joined15:03
kermit left15:03
tgkokk joined15:03
ruukasu joined15:04
Lefter1s joined15:05
Lefter1s left15:05
Lefter1s joined15:05
Lefter1s left15:05
Dorf joined15:05
Lefter1s joined15:05
Lefter1s left15:05
kermit joined15:05
Asiajey left15:05
valeriansaliou joined15:05
Lefter1s joined15:05
Lefter1s left15:05
Lefter1s joined15:06
Lefter1s left15:06
Solid1 joined15:06
Lefter1s joined15:06
Lefter1s left15:06
thierryp left15:06
enzo123456 left15:06
mizu_no_oto joined15:06
Lefter1s joined15:06
Lefter1s left15:06
liamkeily1 joined15:07
Asiajey joined15:07
Asiajey left15:07
Asiajey joined15:07
dangerousdave left15:07
Lefter1s joined15:07
Lefter1s left15:07
Lefter1s joined15:07
Lefter1s left15:07
Lefter1s joined15:07
Lefter1s left15:07
Lefter1s joined15:08
ruukasu left15:08
SpeedyGhost left15:08
liamkeily left15:08
SFLimey left15:09
thierryp joined15:10
bauruine joined15:10
zoso left15:10
kadoban joined15:11
Asiajey left15:11
sinkensabe left15:11
nedbat I see that some repos on GitHub are "mirrors", like this one: https://github.com/apache/any23 How do I create a mirror repo?15:12
canton7 nedbat, email support, iirc15:12
SpeedyGhost joined15:12
valeriansaliou left15:12
Asiajey joined15:12
nedbat canton7: thanks. The "about mirrors" page makes no mention of how they come to be: https://help.github.com/articles/about-github-mirrors/15:13
Bombe left15:13
canton7 nedbat, http://stackoverflow.com/questions/11370239/creating-an-official-github-mirror15:13
eletuchy joined15:14
nedbat canton7: thanks15:14
jmpp joined15:17
jstimm joined15:17
wiherek joined15:17
wiherek hi15:17
this is about CI with codeship / heroku15:18
ruukasu joined15:18
nikio_ joined15:18
wiherek is there some standard way to build an app on a CI server15:18
then push the new build to heroku?15:19
aesinv left15:19
wiherek what I mean is, the current flow is like this: push to git —> CI server —> heroku15:19
qsuscs wiherek: !config !deploy15:19
gitinfo wiherek: [!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 ideas15:19
wiherek: Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html15:19
wiherek thats not it unfortunately15:20
I would simply like to avoid having to build before I push15:20
delegate the build to the CI server15:20
but of course, it needs to be included in some commit at some point before going to heroku15:20
iveqy wiherek: why don't your buildserver push the build to heroku_15:21
?15:21
wiherek i could of course commit from codeship and push the commit ONLY to heroku, but that would require to —force it every time15:21
as the last commit would be ONLY on heroku (the build commit)15:21
valeriansaliou joined15:21
joelm joined15:21
valeriansaliou left15:21
nikio__ left15:21
wiherek iveqy: it does, but it does not commit it’s changes at the moment15:21
jmpp left15:21
valeriansaliou joined15:22
wiherek it pushes to heroku the last commit (if it passes tests and builds correctly), but the actual build data is lost15:22
iveqy so make it? And why would it require a force push? I don't follow that part.15:22
why can't your buildserver commit the build data and then push it/15:23
wiherek it could15:23
but then should it push the commit to github?15:23
redbaritone_ left15:24
wiherek that would cause a loop15:24
however if it only pushes to heroku15:24
redbaritone_ joined15:24
wiherek then that build commit is not in the repo on github, ONLY on heroku15:24
lindenle joined15:24
wiherek so heroku has changes which are can not be included in the next push15:24
Nizumzen left15:25
wiherek thats why —force will be required - I think.15:25
iveqy the --force will be require when you push to your buildserver yes15:25
bannakaffalatta joined15:25
thierryp left15:26
thierryp joined15:26
Marcus___ left15:26
wiherek no, the build server does not persist any data at all15:26
phantomtiger joined15:26
wiherek but yes, it must commit the changes15:27
thierryp left15:27
iveqy wiherek: I see.15:27
opdavies joined15:27
codeFiend left15:27
pm90_ joined15:27
iveqy wiherek: so I guess the question you've to ask yourself is, is the buildata commited by your CI important enough to store as history?15:27
Sleepy63 left15:28
wiherek ok, so if it were - how can I proceed?15:28
apurcell joined15:28
tgkokk left15:28
MLM joined15:28
wiherek codeship is connected to github15:28
lsiv568 left15:28
Asiajey left15:28
chrisgeo joined15:28
lindenle left15:29
iveqy I guess it doesn't help if I say that I think heroku is stupid in this sense? ;). Anyway, the only way I can see it is if your github rebase onto heroku (or your CI)15:29
wiherek ok15:30
luriv joined15:30
wiherek well, I dont think it must persist in the repo15:30
so Ill just force15:30
iveqy you can't push from CI to github since there can be changes commited to github during the build in your CI15:30
tgkokk joined15:30
nofxx left15:30
wiherek yes15:30
herdingcat joined15:31
asakura left15:31
tgkokk left15:32
redbaritone_ left15:32
tgkokk joined15:32
asakura joined15:32
herdingcat left15:32
redbaritone joined15:32
joel_falcou left15:32
apurcell left15:32
DrSkyLizard joined15:33
mlechner left15:34
x1f496 joined15:34
herdingcat joined15:34
nikio__ joined15:34
wiherek left15:35
EminenceHC joined15:35
redbaritone left15:36
paul424 left15:36
nikio___ joined15:37
Asiajey joined15:37
Asiajey left15:37
Asiajey joined15:37
VimFleed joined15:37
nikio_ left15:37
Trudko left15:37
teran joined15:38
wiherek joined15:38
redbaritone joined15:38
pacbard joined15:38
herdingcat left15:38
seschwar left15:39
seschwar joined15:40
jaeckel I try my luck again, probably now there's someone who knows...15:40
I have a diff of a file in a git repository from a specific commit, does someone know how to determine if this diff somehow corresponds to a future commit?15:40
Sleepy63 joined15:40
hcc23 joined15:40
nikio__ left15:40
flowinho left15:40
jaeckel and I have only the file, no full git diff....15:40
EminenceHC left15:40
Milkweed joined15:41
hafeez3000 left15:41
iveqy jaeckel: why is this important? Is it so that you want to see if the changes are incorporated in the tip of master?15:41
jaeckel yes15:41
osse jaeckel: incidentally, I just sat my sexy ass down in front of the computer again just now. What I'd do is commit the file as I mentioned in a seperate branch, then do git cherry origin/master HEAD | grep '^-'. Substitute origin/master for whatever fits the bill.15:42
tgkokk left15:42
iveqy why don't you just checkout master, apply the patch and see if you have any changes made to your worktree (i.e. with git diff)?15:42
teran left15:42
SeanMoe joined15:42
osse that's even better15:43
jaeckel iveqy: because I have the linux kernel in a modified version that has several hand-selected patches applied PLUS some custom modifications and I only know that it has been originally based on 3.12.1515:43
mikecmpbll joined15:44
iveqy jaeckel: so you're afraid that this patch you've might be modified by a later patch?15:44
PerlWebDev well, you know the name of the file that the patch came from15:44
n-st joined15:45
PerlWebDev so you can get the patch history of that file15:45
proteneer joined15:45
jaeckel PerlWebDev: yes by hand, I could do that, but I prefer to let someone do that who is good at automation (a PC)15:45
PerlWebDev git log --follow -p file15:45
Asiajey left15:45
PerlWebDev then just do a compare of that log history with the patch file you have15:46
ferr joined15:46
skylite joined15:46
dAnjou joined15:47
Asiajey joined15:47
SumDude joined15:47
PragCypher joined15:47
Dorf left15:47
stamina joined15:47
islalobo left15:48
dAnjou hi, when I've force-pushed my branch (i know the implications and that it is generally a bad idea) is it then possible to force an "update" somewhere where i've pulled the branch already?15:49
learner1 joined15:49
dAnjou i hope it's clear what i mean :/15:49
tgkokk joined15:49
rasto left15:49
osse dAnjou: you haved to fetch and reset or rebase15:50
tgkokk left15:50
iveqy dAnjou: yes, do a git fetch follow by a git reset15:50
osse: :)15:50
ehynds joined15:50
smccarthy joined15:50
tgkokk joined15:50
ruukasu left15:50
jaeckel iveqy: basically I want to find out what the custom modifications are15:51
dAnjou ah, thank you very much. i saw this on SO already but the question was kinda different.15:51
ruukasu joined15:51
tgkokk left15:51
iveqy jaeckel: just read the diff file then? Or what am I m issing?15:52
osse jaeckel: then I would try to apply the complete set of custom mods on top of the latest release. And see what you get.15:52
tgkokk joined15:52
learner left15:52
jaeckel well I've only the plain files15:52
only tree, no repo, no patch files15:52
iveqy jaeckel: oh, I thought you'd a patch.15:53
bsanford joined15:53
iveqy jaeckel: do as osse said15:53
PerlWebDev then how are you expecting to find this "future" commit?15:53
Takle left15:53
osse jaeckel: then you need to get the source of 3.12.15 and produce a diff.15:53
Takle joined15:54
jaeckel that's what I did15:54
Xethron left15:54
Lazarus_ joined15:54
Lazarus_ left15:54
nfk joined15:54
osse then you have a patch file :-)15:54
jaeckel I created a branch on the v3.12.15 tag15:54
Bootinbull joined15:54
jaeckel copied over the tree I have15:54
alexisabril joined15:55
jaeckel and fits pretty well15:55
wachterjohannes left15:55
nginx77 joined15:55
jaeckel a bunch of modifications, but less than when compared to v3.12.1615:55
alexisabril left15:55
osse cool15:55
nginx77 left15:56
saurabh joined15:56
osse and that modification is the sum of a couple of hand-picked patches from later releases + something custom, and you want to separate the two, right?15:56
jaeckel now I thought I could somehow find out the patches that were already somewhere floating around that were not in 3.12.15, but got applied by hand15:56
saurabhGuest9866115:56
zumba_ad_ joined15:56
nginx77 joined15:56
jaeckel yes15:56
nginx77 left15:57
osse jaeckel: get the latest release of the kernel and try to apply the diff of 3.12.15 and your branch15:57
n-st left15:57
nginx77 joined15:57
nardev left15:57
redbaritone left15:57
King_Hual left15:58
nginx77 left15:58
DrSkyLizard left15:58
King_Hual joined15:58
nginx77 joined15:58
nginx77 left15:59
t0th_-__ hi15:59
gitinfo t0th_-__: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.15:59
osse jaeckel: if nothing conflicts, then whatever got applied is your custom stuff and the rest that was "already applied" are the patches that were hand-picked15:59
bobmarchman left15:59
t0th_-__ i created a tag how i can commit and push it to repository?15:59
soerenb git push <remote> <tag>15:59
Macaveli left15:59
bobmarchman joined15:59
nginx77 joined15:59
PragCypher left15:59
t0th_-__ thanks15:59
nisseni left16:00
nginx77 left16:00
dAnjou left16:00
zumba_addict left16:00
kristofferR joined16:00
redbaritone joined16:00
nginx77 joined16:01
rath left16:01
redbaritone left16:01
bhavul joined16:01
nikio__ joined16:01
redbaritone joined16:01
jaeckel osse: that was a nice move16:03
rasto joined16:03
Asiajey left16:03
rafaelcpalmeida joined16:04
johnkevinmbasco left16:04
osse jaeckel: did it work?16:04
acolson left16:04
nikio___ left16:04
intransi_ joined16:04
Asiajey joined16:04
[H]unt3r joined16:05
Matulis_ joined16:05
frew hey guys, I am getting errors like: fatal: loose object 064f6b00cb418724a4c42be3b81a5ea2cf4e20e2 (stored in .git/objects/06/4f6b00cb418724a4c42be3b81a5ea2cf4e20e2) is corrupt16:05
I can reclone the repo, but is there anythign else I might be able to do?16:05
I tried git fsck and got htis error16:05
jceb left16:06
saint-ron joined16:06
pm90_ left16:06
jaeckel looks not that bad, but how do I now determine which were legitimate patches on the same files?16:06
grawity frew: reclone it, or otherwise obtain a copy of that file from someone else's .git/objects/16:07
frew ok16:07
jitendravyas joined16:07
intransit left16:07
treehug88 joined16:07
Asiajey left16:08
tgkokk left16:08
d10n-work left16:08
karstensrage why does git branch -r not see all the remote branches?16:08
twoface88 left16:08
mellernoia left16:08
osse that's a loaded question16:09
EminenceHC joined16:09
EminenceHC left16:09
karstensrage how can i unload it, i see all the branches on github16:09
EminenceHC joined16:09
Asiajey joined16:09
Asiajey left16:09
Asiajey joined16:09
grawity perhaps you haven't 'git fetch'ed since the new branches were created16:09
osse karstensrage: is it a public repo? if yes can you link to it and show us the complete output of git branch -r ?16:10
seschwar left16:10
wiherek left16:10
JanC left16:10
karstensrage local git repo doesnt have a branch i want, git branch -r doesnt show it16:10
ive git pulled? isnt that merge and fetch?16:10
fetch and merge i mean16:10
Lefter1s left16:10
Bombe joined16:10
tgkokk joined16:11
pheaver joined16:11
osse karstensrage: yes that's right. if git fetch doesn't get it, what does 'git config remote.origin.fetch' say? (assuming origin is correct, change if needed)16:11
eburcat left16:11
codeFiend joined16:11
tranzfuse left16:12
RichiH i factored out debian/ into a debian branch and deleted debian/ in master. now when i merge master into debian, it deletes the debian/ branch as well. other than reverting that commit, or editing history to remove that commit, how can i merge cleanly?16:12
yes, i know it's a one-off, but i would rather do it right16:12
VimFleed left16:13
dreiss joined16:13
Asiajey left16:13
osse RichiH: git merge --no-commit; resurrect the debian dir; git commit16:13
Gizburdt left16:13
RichiH hmm16:13
Lefter1s joined16:14
Lefter1s left16:14
Asiajey joined16:14
ferr left16:14
Lefter1s joined16:14
Asiajey left16:14
Asiajey joined16:14
zadock joined16:14
kYuZz left16:15
AmR|EiSa left16:15
RichiH osse: that's basically a revert of said commit, though16:15
PragCypher joined16:15
RichiH in that case, it's prolly cleaner to merge up to that commit, revert, and then merge the rest16:15
rchavik left16:16
sebhoss left16:16
osse RichiH: well, anything at all you do that keeps the debian/ dir is basically a revert of said commit16:16
the idea behind my solution is that you fix it as if it was a merge conflict.16:16
Takle left16:16
pheaver left16:17
ferr joined16:17
RichiH osse: true16:17
jmpp joined16:18
nilg left16:18
RichiH will do both and look at it later to see which he thinsk is cleaner :)16:18
jstimm left16:18
Asiajey left16:18
nginx77 left16:19
Chilley joined16:19
Asiajey joined16:20
Asiajey left16:20
Asiajey joined16:20
wiherek joined16:20
Bombe left16:20
ThomasLocke left16:20
Takle joined16:21
joo-_ left16:21
otter768 joined16:21
lb1a left16:21
Bombe joined16:21
irqq_ joined16:21
Juzzika left16:22
jmpp left16:22
wiherek left16:23
ferr left16:23
lsiv568 joined16:23
treehug88 Git question: how can I see all of one person's branches' merges into master on a certain date?16:23
twoface88 joined16:24
saint-ron left16:24
irqq left16:24
JanC joined16:24
irqq_irqq16:24
Asiajey left16:24
thevishy left16:24
otter768 left16:25
rsal joined16:25
Chilley i organized my java source files into packages and now when i try to commit them with IntelliJ i'm getting pathspec error saying did not match any file(s) known to git, is there any easy solution to fix this?16:25
robustusrobustus|Off16:26
jasabella joined16:26
tranzfuse joined16:26
j416 osse, RichiH: fwiw I second osse's solution. I did something similar not too long ago where I wanted to merge a project into a subdir (think subtree merge but without it having been merged before); git merge --no-commit, then I moved things into the right place and committed. Works nicely except for git blame not working well without perhaps additional flags; but it's easy to follow the history and blame the16:26
commit before the merge if needed.16:26
jasabella hi16:26
gitinfo jasabella: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.16:26
ehmatthes left16:26
osse treehug88: git log --merges --author=Jack --after=date1 --before=date216:26
opdavies left16:26
PCatinean left16:27
jasabella i'm trying to push some files into github via android studio and it says 'push rejected master: rejected', is this a git problem or android one? :)16:27
tang^ joined16:27
osse jasabella: does it give a reason?16:27
jasabella nope16:27
jitendravyas left16:27
bremner try pushing from the CLI16:28
Matulis_ left16:28
bremner it probably gives better error messages.16:28
most like upstream has changes you need to merge/rebase over16:28
jasabella but it's my first push16:28
intransi_ left16:28
jasabella i'm goin gthrough the android programming tutorial16:28
i'm new to git as well :|16:28
bremner yeah, unfortunately we don't know this particular UI, snarkily summarized in !gui16:29
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.16:29
Chilley okay i committed from CLI and it worked fine weird16:29
jasabella so i have git bash open16:29
flughafe1 joined16:29
jasabella i'm trying to push to a github if i didnt say this already16:29
not a local git16:29
tgkokk left16:30
jasabella i gave it my log in credentials so it shouldnt be a problem16:30
PragCypher left16:31
Spacew00t joined16:31
Marcio_Moreira joined16:31
jasabella i didi get a 'nothing to push' very early on but it hasnt shown up again16:31
treehug88 thanks osse16:32
opdavies joined16:32
adzynia left16:32
irqq left16:32
v0n joined16:32
vurma left16:32
bronson joined16:32
jasabella thx anyways :)16:33
osse treehug88: the author doesn't have to be the full name. it basically does a string match. and git has various "do what I mean" ways of interpreting the date. you can write 'two weeks ago' and 'last thursday' for example.16:33
jitendravyas joined16:33
CustosL1men left16:33
netj left16:34
dv^laptop left16:34
netj joined16:34
arnaud__ joined16:34
tgkokk joined16:35
bheesham joined16:35
iamshercoder joined16:36
livingstn joined16:36
affa09 joined16:36
dreiss left16:36
SpeedyGhost left16:37
bronson left16:37
Marcio_Moreiraarq_eco16:37
asdpew left16:38
teran joined16:38
flughafe1 left16:40
kke joined16:40
intransit joined16:41
Takle left16:42
teran left16:43
vtunka left16:43
petersr joined16:43
lindenle joined16:45
Intensity joined16:46
Matulis_ joined16:47
lsiv568 left16:47
Matulis_ whats the recommended workflow for branching when you have subtrees?16:47
Juxtapositional joined16:48
Matulis_ like if I have a submodule that is a subtree and I want to try something out with a different branch, most of the stuff I have read seems to point to deleting the subtree, commiting, and re-adding it16:48
tgunr joined16:49
iveqy Matulis_: do you have a subtree or a submodule?16:49
Matulis_ subtree16:49
arq_eco Good afternoon16:49
ELFrederich_ left16:49
Matulis_ initially started with submodules, which seemed to work fine, but then if your library submodules change rapidly, it can become a hassle trying to keep track of everything16:50
iveqy Matulis_: what's the problem with just do a branch? git checkout -b test?16:50
kpease joined16:50
Matulis_ how do you get your subtree to checkout a branch?16:50
petersr left16:50
nour left16:51
Matulis_ or do you mean, branch the main project, delete subtree, pull the new subtree branch, then test?16:51
iveqy Matulis_: you want the subtree to checkout an other branch from the origin subtree repo?16:51
Matulis_ yep16:51
pm90_ joined16:52
ohseap left16:52
eslbaer left16:52
Takle joined16:53
iveqy Matulis_: well then just merge an other branch of the subtree module, have you read http://git-scm.com/book/en/v1/Git-Tools-Subtree-Merging16:54
Matulis_ yeah, so I was trying to use the git subtree command as opposed to the subtree merging strategy16:55
tgkokk left16:56
lsiv568 joined16:56
tgkokk joined16:56
jj995 joined16:56
arq_eco I have a question. We here work with CAD files around 15-30 Mb each.16:56
It´s very important to us keep old versions of our works.16:56
We use to add a number to each CAD file, like project01.01, project01.02, etc,16:56
representing the version of that file. On each project folder, on our server, there are dozens of versions of each project file.16:56
We use to work accessing the files directly from our local file server (samba on debian).16:56
The CAD itself provides a file lock, so there is no problem with simulataneous access.16:56
I have tried to use GIT on one of these projects. My problem is when I access the server from a workstation to do ´git status´ or similar command. Git performs very slowly when using a GUI for it, maybe because GIT it is trying to do diff, on the binary CAD files, bringing data from the server to check on the workstation. I don´t know.16:56
When I access GIT directly on the server via ssh it works very fast.16:56
But the GUI is important because people here use Windows workstations and don´t know to use the command line.16:56
Is GIT appropriate for this kind of version control????16:56
- Mainly binary files are used, stored on a local file server.16:56
- Only one person works on a file at the same time (thanks to CAD file lock).16:56
- A serious NEED to control versions.16:56
kukks left16:57
zadock left16:57
jj995 "git push --set-upstream origin foo" leads to "error: failed to push some refs to" -- how can I fix this? how can I troubleshoot this? is there a way to get more detailed error information?16:57
soerenb binaries and git are not a good idea, IMHO16:57
tang^ arq_eco: what CAD application are you using?16:57
arq_eco Archicad16:57
Nizumzen joined16:58
kpreid left16:58
tang^ you might want to look into !binary solutions16:58
gitinfo Storing binary files in git causes repo balloon, because they do not compress/diff well. In other words, each time you change a file the repo will grow by the size of the file. See !annex for some solutions16:58
javaJake arq_eco: git doesn't like binaries. This channel will be biased, of course, but imo if you're only dealing with binaries don't use git.16:58
j416 arq_eco: if you have a lot of ram and the files delta compress well, it may work, but large binary files and git are usually not a very good combination. Moreover, yes, I suspect the performance issue is the network there. You would be better off cloning and doing things locally -- but you would lose the lock.16:59
kadoban It depends what you're doing with them and how big they are...but yeah git doesn't help much with binaries.16:59
tang^ if you were using AutoCAD, I'd suggest you look at Autodesk Vault as it's designed exactly for that16:59
jj995 arq_eco: a non-distributed version control system (e.g. svn) is better for binary files, because you will end up having every copy of every binary file ever modified on every workstation (instead of just on the central server)16:59
iveqy Matulis_: in that case I guess(!) that it's easiest to just add that branch as a new subtree. as you said before16:59
nrsk joined16:59
j416 arq_eco: I'd have to second jj995 on this one, as much as I dislike svn, in this particular case it may very well beat git.17:00
arq_eco ok17:00
j416 arq_eco: that said, if your files are small enough and you have enough memory, you _might_ get away with git, anyway.17:00
VictorBjelkholm left17:00
j416 arq_eco: but use it in a distributed manner and handle locking in some way manually17:00
iveqy arq_eco: it's slow since you're using git over samba (I guess). Git is a local program and don't work well over network shares17:00
jj995 CAD files are unlikely to be really small17:00
tgkokk left17:01
j416 jj995: I've no experience.17:01
iveqy arq_eco: and handling CAD files is not a task suited for git imho17:01
kadoban svn sounds kind of terrible to me too, honestly. You get all the minuses of doing svn, the only bonus is...the repos are smaller. Woo :-/17:01
arq_eco Our files are around 15 to 30 Mb average17:01
j416 something tells me cad files could be huge text files, and git could handle that well17:01
but perhaps these are binary17:01
basiclaser_ left17:02
javaJake kadoban: svn will be more efficient for disk space, and will use the same amount of network bandwidth, as long as no one wants to dance between versions.17:02
tang^ depends... DXF (Drawing eXchange Format) are text files that get rather huge, but that's only useful for moving between CAD systems17:02
jj995 lets not be afraid to admit that git isn't superior to every other version control system in every way. svn wins for binary files. it is ok17:02
jitendravyas left17:02
iveqy j416: if the cad format i open it's of course possible to write a plugin for git. However it's hard to do automatic merges...17:02
leeN left17:02
javaJake kadoban: also, git won't merge binaries any better than svn :)17:03
kadoban I'm not saying git is good at binary files, I'm saying svn kinda seems like it'll suck at them too.17:03
arq_eco For us automatic diff are not important.17:03
Sasazuka_ joined17:03
javaJake Binaries are a pain period17:03
osse javaJake: How can you say that! git is a binary!17:03
rafaelcpalmeida left17:04
javaJake osse: but I use Gentoo and compile it from source so it's all ok ;)17:04
tgkokk joined17:04
iveqy arq_eco: the point beeing that git might be overkill and that you could use RCS or something other stupid for this.17:04
arq_eco We just need a way to store versions. The system does´t need to know by itself the differences. The log history is enough.17:04
jj995 is there any way to get more detailed error information from "error: failed to push some refs to"? I have no idea what is causing this and don't know where to start in troubleshooting this17:04
osse tries to make git merge two "text files" that have a single null byte at byte no. 800117:04
rafaelcpalmeida joined17:04
Gamecubic joined17:04
iveqy arq_eco: git tracks changes to text between textfiles. For starter you don't have a relation between your CAD files so you want a file centric system (think CVS)17:05
kadoban jj995: There's no other output?17:05
osse javaJake: there we go... compilation is evil.17:05
javaJake: we need a scripted C interpreter17:05
javaJake shakes head and moves on17:05
iveqy arq_eco: there's tools for this, commersial for example meridian that deals with just file versioning. However I don't know enough about this to be able to give you a good recommend17:05
Chilley wow the intelliJ git plugin seems to break when you change letter case in folder names17:06
arq_eco iveqy: what is RCS?17:06
autochthon left17:06
autochthon_ left17:06
medgno joined17:06
iveqy arq_eco: an old simple source control system17:06
PerlJam arq_eco: RCS == Revision Control System, a precursor to CVS17:06
tang^ Chilley: git breaks when you change case on non case sensitive file systems17:06
mizu_no_oto left17:06
tang^ or rather, the OS gets confused when git does what it knows17:06
Chilley took me one hour to figure that out :P17:06
mikecmpbll left17:07
arq_eco iveqy: I will look for it17:07
j416 tang^: git doesn't break, it does the right thing and assumes you want the two separate files :P17:07
iveqy arq_eco: no you shouldn't17:07
tang^ j416: that's why I corrected it with "OS gets confused"17:07
j416 tang^: :)17:07
jj995 kadoban: nevermind, I just found that my pre-push script was bogus17:07
iveqy arq_eco: you should look for something similair. I doubt that RCS will handle binary files that well17:07
kadoban Ah, glad you figured it out17:08
iveqy arq_eco: sorry for misleading you on that point. You wan't a tool like meridian17:08
arq_eco: so look at meridian and its competitors17:08
arq_eco :-)17:08
j416 arq_eco: if your files are organised in such a way that one or a handful of files belong to a project and you don't store dozens of large binary files in the same repo, git may very well work for you17:08
Chilley well the git plugin for intelliJ made it a bigger mess since it doesnt want to commit when you change folder structure(or change folder name)17:08
j416 arq_eco: but then there's the locking problem, still17:08
tang^ I keep a linux box around to fix case issues when my colleagues try to 'fix' things17:08
rsal left17:08
j416 arq_eco: if you're doing cad I'm assuming you have a huge amount of ram and cpu available anyway, so delta compression _could_ work17:09
iveqy j416: there's an add on for git for file looking I believe. But it's not standard and probably won't be supported by a gui17:09
j416 arq_eco: or, you could optionally turn delta compression off.17:09
iveqy: interesting, how would that work?17:09
arq_eco Usually, our projects consist of only one CAD file. Rarely, two or three. Besides, on the folder some XLS and TXT files17:09
PerlJam arq_eco: if you really want to use git, store everything as DXF files and only convert to DWG to make changes.17:10
jj995 arq_eco: suggesting RCS, which was initially released in 1982 instead of a later version control system is insane. you could probably get better assistance from another channel, since git doesn't seem like a good fit for you17:10
j416 jj995: git might work quite well for such few files, given they are not huge.17:11
tgkokk left17:11
iveqy j416: you've a central lock server that just contains locking information. And before you editing a file you've to manually lock it. And then your central server that you push to examine your push and the files locked so that you can't push a file that is locked by someone else17:11
j416 arq_eco: why don't you try it out for just one typical project and see for yourself?17:11
iveqy: that's a nice idea, indeed17:12
iveqy: if you find that again I'd be interested17:12
AciD` left17:12
chrisgeorge_ joined17:12
xp_prg2 joined17:12
iveqy jj995: ? Maybe you should read my comments again, I never suggested RCS for him. But an RCS like system (since I doubt RCS works well with binary files). Please explain to me why thata was a bad suggestion17:13
xp_prg left17:13
zumba_addict joined17:13
chrisgeorge_chrisgeo_17:13
Marcio_Moreira joined17:13
j416 iveqy: I'd assume it takes a file path and a commit hash and returns whether in that state the file should not be edited17:13
kotk joined17:13
j416 iveqy: could very well work!17:13
chrisgeo left17:14
chrisgeo_chrisgeo17:14
jj995 iveqy: sorry, I thought you were suggesting RCS17:14
arq_eco left17:14
andres left17:14
andres joined17:14
Marcio_Moreira Friends, I would like thank you for your advice.17:14
opdavies left17:14
iveqy j416: I don't see why the commit hash should be used? Either the file are locked or not?17:15
j416 iveqy: is it what is described by this? http://gitolite.com/gitolite/locking.html17:15
kotk_ left17:15
AciD` joined17:15
autochthon joined17:15
gfixler left17:15
Vampire0_ left17:15
autochthon_ joined17:15
iveqy j416: yes, nice catch :)17:15
j416: and cool that it was gitolite already implementing it. Kudos to sitaram I guess17:16
zumba_ad_ left17:16
Vampire0_ joined17:16
j416 iveqy: because if someone else modified a file and commited+pushed but you don't have their history yet, it will say that it's not locked anymore but you'd still have an outdated version which would conflict. So the system would need to be able to verify that your version of the file is identical to the current version of the file, or else it will have to report it locked17:16
(or, out of date)17:16
apurcell joined17:17
lsiv568 left17:17
valeriansaliou left17:17
AciD` left17:18
AciD` joined17:18
pm90_ left17:18
delboy1978uk joined17:18
iveqy j416: no, that's not how it works. When I lock a file and then someone else tries to lock it too to work on it, he get's denied since I already have it. If I've locked a file noone else can update it17:18
pm90_ joined17:18
j416 iveqy: yes, I read that now17:18
iveqy your version would require that files can be merged, and that's not always the case17:19
j416 no17:19
the opposite17:19
delboy1978uk quick question. my server has bare repository, my dev has a new repo with files i'd like to push to server17:19
imachuchu joined17:19
delboy1978uk git add remote something? then push?17:19
jitendravyas joined17:19
iveqy delboy1978uk: yes17:19
delboy1978uk: or rather git remote add and then git push17:19
j416 iveqy: 1) Alice locks foo, edits, commits, pushes. 2) Bob does _not_ fetch; locks foo (because it is now unlocked), commits -- now, there are two diverged versions of foo17:20
SFLimey joined17:21
apurcell left17:21
iveqy j416: oh, I missed that case. :(17:21
delboy1978uk git remote add origin {URL} ?17:21
j416 iveqy: as also noted by the fourth paragraph on sitaram's page17:22
thevishy joined17:22
j416 iveqy: but noting the commit hash might solve that issue17:22
x1f496 left17:22
ORiON-- left17:22
j416 iveqy: but that also means there has to be a way to determine which version is to be considered the official current version17:22
ORiON-- joined17:22
Takle left17:22
j416 iveqy: (if there are several)17:22
x1f496 joined17:22
iveqy delboy1978uk: maybe, if you wan't to name your remote origin. You do know about man git remote for the specific syntax?17:22
gitinfo delboy1978uk: the git-remote manpage is available at http://jk.gs/git-remote.html17:22
mistertim joined17:23
delboy1978uk thanks! :-D17:23
j416 iveqy: anyway, thank you for the info! very useful to know this exists.17:23
iveqy j416: yes, that's correct. Does gitolite handle this at all?17:23
tgunr left17:23
j416 iveqy: judging from that page only I would assume it does not17:23
iveqy: but I don't know.17:23
iveqy your design with sha1 seems to solve that17:23
j416 mm17:23
iveqy maybe it need an patch ;)17:23
j416 heh maybe17:23
I'll add this to my reading list even though I've read it; I might revisit the topic one day.17:24
dm7freek left17:24
x1f496 left17:24
mistertim Hey all - got a rather confusing problem: getting the 'git-upload-pack: command not found' error on attempting to git clone - but git-upload-pack is verifiably on my path! Also, pointing it at the location with the -u option gives a 'no such file' error, despite the fact that I can see it on the filesystem. Any idea what I might be doing wrong? Thanks.17:25
x1f496 joined17:26
delboy1978uk left17:26
x1f496 left17:26
j416 mistertim: I would've assumed that's builtin nowadays, it isn't? o_O17:26
jitendravyas left17:26
j416 apparently it's both17:26
interesting17:27
mistertim j416: aah, interesting point. It's not my box, so it might have a *very* old version of git17:27
j416 mistertim: what user is the remote executing it as and does that have it on its PATH?17:27
islalobo joined17:27
tgunr joined17:28
nofxx joined17:28
nofxx left17:28
nofxx joined17:28
mistertim j416: the remote user, as in the user on the machine I'm attempting to clone from?17:28
opdavies joined17:28
iamshercoder left17:28
j416 mistertim: it seems even the latest git builds that as a binary17:28
although I may be mistaken17:28
valeriansaliou joined17:28
j416 mistertim: yeah17:29
mistertim: or rather, the shell and what is being set I suppose17:29
fabio_p joined17:30
codeFiend left17:31
Fretta joined17:31
HelloShitty joined17:32
mistertim aah sorry, I'm not sure I fully understand (which I suspect is the root of my problems here ;-)) - if I am attempting to do, say, 'git clone [email@hidden.address] then should git-upload-pack be on the $PATH for 'user' on the 'example.com' machine?17:32
bhavul left17:33
j416 mistertim: yeah, I'm no expert in this field but that seems right to me17:33
bronson joined17:33
j416 mistertim: try ssh:ing to that machine as that user and see what you get17:33
tgkokk joined17:34
CheckDavid left17:34
mistertim j416: that's just the thing - I do that, and there's nothing git related on the path at all!17:35
beneggett left17:35
mistertim j416: which is doubly weird, as I can still clone the repository from there successfully from another machine17:35
tgkokk left17:35
j416 mistertim: I see.17:35
mistertim ...which suggests that the problem is on the machine on which I'm running the clone command17:35
j416 mhm17:35
PragCypher joined17:35
j416 this is beyond my knowledge I'm afraid. It usually 'just works'. :)17:36
mistertim aah, no worries, thanks for trying!17:36
tgkokk joined17:36
mistertim first time I've come across this too17:36
j416 mistertim: note however that even though there is nothing "git related" on your PATH, you might have /usr/local/bin/ or the like that has the git binary in it..17:36
Quevin_ joined17:36
j416 mistertim: I would also compare the versions of git on the different machines, just to rule that out17:36
cavallari joined17:36
mistertim j416: ah, yes very true. Thanks!17:37
liamkeily1 left17:37
j416 mistertim: "which git" and "which git-upload-pack" should tell you if it's on the PATH17:37
(by showing you the path to it)17:37
EvilPenguin joined17:37
bronson left17:38
teran joined17:39
valeriansaliou left17:40
dreiss joined17:41
mistertim j416: aaah! found the problem (and sorry, it was stupid, and nothing anyone here could have helped with)17:41
bhavul joined17:41
valeriansaliou joined17:41
mistertim j416: someone's monkeyed about with the DNS entry for the server I was trying to clone from on the box I was working on17:41
I wasn't actually cloning from the server I should have been17:42
Sorry for wasting your time, and thanks again for the help!17:42
j416 mistertim: aah hehe17:43
bobmarchman left17:44
j416 mistertim: no problem. I got wiser as well :)17:44
thanks for clarifying17:44
tranzfuse left17:44
teran left17:44
joo-_ joined17:44
bobmarchman joined17:44
Takle joined17:45
apurcell joined17:46
PragCypher left17:46
pwnz0r joined17:48
pm90_ left17:48
Juxtapoe joined17:48
claudio joined17:48
tgkokk left17:49
akushner joined17:49
rcampbel3 joined17:49
valeriansaliou left17:49
c74d left17:50
Juxtapositional left17:50
mizu_no_oto joined17:50
claudio Is there any command that finds all that's different between this site and what is on the server and makes an updating on the server?17:51
valeriansaliou joined17:51
J1G|Anon126 claudio: git push? I think I'm not understanding fully, though17:51
c74d joined17:52
j416 claudio: you need to understand that git history is in the form of commits, not files17:52
Marcio_Moreira1 joined17:52
jwmann joined17:52
claudio Some file was to back, without being updated on the server, the git push not solving this because git push so updated that was committed.17:53
daurn left17:53
Cryp71c left17:53
j416 claudio: keep things you want to keep committed.17:53
hoijui_ joined17:54
kristofferR left17:54
claudio ?17:54
daurnimator joined17:55
freestyl3r left17:55
j416 claudio: sounds like you want !book17:55
gitinfo claudio: 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 !parable17:55
Marcio_Moreira left17:55
codeFiend joined17:55
myyst left17:55
fabio_p left17:56
myyst joined17:56
Eins_ joined17:56
nnyk left17:57
Juxtapoe left17:57
j416 afk17:57
pm90_ joined17:57
claudio Is there any command that knife one kind of diff between the local version and the version that the server, and realize the difference update server?17:57
txomon|home joined17:57
tieTYT2 joined17:57
codeFiend @claudio what do you mean?17:57
ocp_sc joined17:57
cagedwisdom left17:58
Pixi_ left17:59
PerlJam claudio: "git push" :-)17:59
Xiti joined17:59
Xiti left17:59
Xiti joined17:59
claudio I'm doing git push. looking overall the system is up, but some file is lagging behind because the version that is in production server that is showing different17:59
iamshercoder joined18:00
smccarthy2 joined18:00
Eins_ left18:00
ecky--ptang-zoob joined18:00
PerlJam claudio: git will only push commits, have the local changes been committed?18:01
bb010g left18:01
claudio yes18:01
pheaver joined18:01
smccarthy2 left18:01
PerlJam claudio: also, when you say "production server", how do you deploy to that server? IS there some hook that does it when you push to a certain repo?18:01
ome left18:01
Juxtapositional joined18:01
PerlJam claudio: also ... are you sure your local branch and what's on production are the same?18:02
smccarthy2 joined18:02
phantomtiger left18:02
Lewix joined18:02
dm7freek joined18:02
Lewix so i have a merge conflict, fixed it then commited again18:02
so i made two commits18:02
now im trying to squash them together18:03
PerlJam claudio: I mean "are the same branch"18:03
smccarthy left18:03
Juxtapositional left18:03
apurcell left18:04
rafaelcpalmeida left18:04
Guest48713murph18:04
Juxtapositional joined18:04
tgkokk joined18:04
rafaelcpalmeida joined18:04
baweaver joined18:05
opdavies left18:05
Lewix PerlJam: yes18:05
the same branch of course18:05
sbogg joined18:06
Juxtapositional left18:06
opdavies joined18:06
Juxtapositional joined18:06
alakra joined18:07
tranzfuse joined18:07
Juxtapositional left18:07
aswen left18:08
psoo left18:08
Radivarig left18:08
thedodd joined18:08
ecky--ptang-zoob I keep getting this: Pull is not possible because you have unmerged files.18:09
Radivarig joined18:09
ecky--ptang-zoob I don't care about unmerged files, just need to pull and overwrite anything local18:09
possible?18:09
claudio yes.. the same18:09
RichiH j416, osse: i went with revert as that makes it painfully clear what happened18:09
apurcell joined18:10
mikiones left18:10
RichiH j416, osse: mainly for the benefit of the others in the project; they don't really know git and are confused as it is18:10
but i will keep that in mind for my own stuff in the future18:11
J1G|Anon126 ecky--ptang-zoob: try git checkout --theirs .18:11
then git add .18:11
and merge18:11
this should overwrite all the local files18:11
ecky--ptang-zoob --theirs?18:12
J1G|Anon126 ecky--ptang-zoob: that basically tells git to just take the version being merged in18:12
and ignore the local version18:12
ecky--ptang-zoob ok18:13
lsiv568 joined18:13
stamina left18:13
ecky--ptang-zoob i have added this line in gitignore: bootstrap/start.php - but it keeps committing it18:13
how do I stop git from tracking it permanently18:13
?18:13
soerenb !untrack18:14
gitinfo To remove a file from git's tracking, without deleting it from your working tree, `git rm --cached <file>`. Note that any repo which pulls this change will delete their local copy of that file. You can "bring it back" using `git checkout HEAD@{1} file` immediately after pulling / merging18:14
Guest98661 left18:14
s00pcan_ left18:15
ecky--ptang-zoob tx18:15
Marcio_Moreira1arqe_eco18:15
pantsman- joined18:15
arqe_eco Friends, I would like to thank you for your advice18:16
Juxtapositional joined18:16
arqe_eco I have just found this. Maybe it´s a last chance for Git in this case: http://git-annex.branchable.com/18:16
beneggett joined18:17
arqe_eco git-annex allows managing files with git, without checking the file contents into git. While that may seem paradoxical, it is useful when dealing with files larger than git can currently easily handle, whether due to limitations in memory, time, or disk space.18:17
rafaelcp_ joined18:17
JoshLopes left18:17
codeFiend left18:19
s00pcan_ joined18:19
hoijui_ left18:20
thedodd left18:20
rafaelcpalmeida left18:20
raub Is there any info on using the GIT_SSH variable?18:20
I tried to use it to get the private key, GIT_SSH='ssh -i /home/raub/.ssh/gitadmin'18:21
ssarah joined18:21
serum joined18:21
raub Which led to error: cannot run ssh -i /home/raub/.ssh/gitadmin: no such file or directory18:21
asdofindia joined18:21
asdofindia left18:21
codeFiend joined18:22
ssarah hei guys how you doing. I'm working on a branch and i was thinking i should git rebase master to get whatever was changed in master (aka, moving my branch ot the tip of master). So i just do git rebase master?18:22
otter768 joined18:22
asdofindia joined18:22
J1G|Anon126 ssarah: that's it18:22
ssarah (i was asking this here the other day didnt work so well. im using github, if that's relevant)18:22
s00pcan_ left18:22
asdofindia left18:22
s00pcan_ joined18:22
Marcio_Moreira joined18:23
ssarah Ok, so then I created a file, added that, and performed a commit, then a push master branchname and it got rejected18:23
=/18:23
thedodd joined18:23
ssarah some other info there, if you need it, but that's all i did18:23
asdofindia joined18:23
arqe_eco left18:23
achadwick left18:23
lsiv568 left18:23
J1G|Anon126 ssarah: rebasing doesn't change master; it only changes the branch you have checked out18:23
ssarah yeh, but then i want to commit the fact that it was rebased to github, right?18:24
asdofindia left18:24
ssarah sorry, i should have said push instead of commited, just now18:24
Takle_ joined18:24
J1G|Anon126 ssarah: yes, so you would push your other branch18:24
soerenb ssarah, when you rebase you !rewrite history18:24
gitinfo ssarah: Rewriting public history is not recommended. Everyone who has pulled the old history have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push -f <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum18:24
thedodd left18:24
rjc joined18:24
beckyconning_ joined18:24
thedodd joined18:25
Amandil joined18:25
Takle left18:25
freestyl3r joined18:26
liamkeily joined18:26
Jakex10sen joined18:26
otter768 left18:26
ssarah You think I shouldn't rebase then? I was just trying to mantain a linear project history, and it seemed easier to do than to keep merging new changes from the master into the branch. Also, it's my own personal branch, no one elese's.18:26
soerenb no, it's probably fine in your workflow, but you will have to --force the push if you update your remote branch18:27
J1G|Anon126 ssarah: in that case it's fine, but in order to push, you need to add a +18:27
git push origin +my_branch18:27
that forces it as soerenb describes18:27
thierryp joined18:27
nour joined18:28
Jakex10sen left18:29
ruukasu left18:29
jost left18:30
mikecmpbll joined18:30
tastycode joined18:30
s00pcan_ left18:30
ruukasu joined18:30
s00pcan_ joined18:31
s00pcan_ left18:31
s00pcan_ joined18:31
thierryp left18:31
thierryp joined18:32
[H]unt3r left18:32
Nizumzen left18:32
GGflags left18:32
tastycode I think my understanding of git is patently broken or git has a very obvious bug. I’m trying to rebase, and then i get a conflict. I resolve the conflict then try “git rebase —continue” and get a “hey did you forget to use git add”.. i use git add on the files that had conflicts, then i try “git rebase —continue” again. and get the same message ?? https://gist.github.com/tastycode/33a765082354230c9aa618:33
encod3_ left18:34
tastycode The strange thing is that “git status” changes on the last “git rebase —continue” attempt, no longer showing the files i had resolved conflicts on18:34
lachm joined18:35
soerenb tastycode, "No changes - did you forget to use 'git add'?"18:35
LeMike left18:35
leeN joined18:35
thierryp left18:35
soerenb use git rebase --skip18:35
tgkokk left18:35
encod3 joined18:35
soerenb git is actually telling you that18:35
tastycode I think i understand, when I resolved the merge conflicts i ended up making the code “exactly” like origin/develop.. so there were no changes between what i was rebasing and the changes i made18:36
Spacew00t left18:36
tastycode i tried git rebase —skip just now, and then looked at one of the “conflicts” and git did exactly what i would have done.. just accept origin/develop’s copy18:36
marcogmonteiro left18:37
beneggett left18:37
[H]unt3r joined18:37
tastycode i think i got this.. thanks for your help..18:37
encod3 left18:38
jnavila joined18:38
tang^ left18:39
teran joined18:40
alakra left18:40
beneggett joined18:41
Juxtapoe joined18:41
ssarah thank you guys, trying it now18:42
jplussier joined18:42
liamkeily left18:42
ojacobson joined18:44
Juxtapositional left18:44
teran left18:44
bobmarchman left18:45
gitinfo set mode: +v18:45
Spacew00t joined18:46
bobmarchman joined18:47
lachm left18:48
kukks joined18:48
lsiv568 joined18:49
freimatz left18:49
codetroll joined18:49
Marcio_Moreira left18:50
lachm joined18:51
neocraft232 joined18:51
weeb1e_ joined18:51
loglaunch joined18:52
weeb1e left18:52
aidalgol joined18:52
a-l-e joined18:53
ssarah left18:53
Takle_ left18:53
neocraft232 left18:54
Amandil left18:55
unreal left18:56
donmichelangelo joined18:56
unreal joined18:56
Amandil joined18:57
FroMaster joined18:57
ehynds left18:57
FroMaster Got a question about a git workflow and don't quite know what to use to google for examples...18:58
michelangelo left18:58
J1G|Anon126 FroMaster: what is it?18:59
FroMaster I want to fork several github repos into a private repo (seems like a submodule) but then need to make changes and/or reference the code in the submodules18:59
brucelee joined18:59
FroMaster That way when there's an upstream change I can pull it down and figure out the merge conflicts as necessary19:00
githogori joined19:00
FroMaster The upstream repos won't accept my pull requests as they are specific to my environment19:00
baweaver left19:00
chiromante joined19:00
d10n-work joined19:00
FroMaster I used to do a smilar workflow using CVS but trying to adapt it to git is puzzling me19:01
subhojit777 left19:01
joo-_ left19:01
codeFiend left19:01
J1G|Anon126 I think someone else will need to answer this, as I'm not very well-versed in submodules :(19:02
omosoj joined19:02
Bryzzle joined19:02
bobmarchman left19:02
bobmarch_ joined19:02
rafaelcp_ left19:02
FroMaster Not sure if submodule is even the right function/feature. i've done some reading about git and git+submodules and it looks close to what I'm trying to do but still unsure19:02
bb010g joined19:03
omosoj i created a new branch off the development branch and made some changes, but now i'm behind the development branch (which has since been updated to solve a few problems) is there a way to update my local branch to the updates on the development branch?19:03
ssarah joined19:04
joki left19:04
liamkeily joined19:04
J1G|Anon126 omosoj: yes, you can merge the dev branch into yours19:04
kadoban omosoj: Merge or rebase, depending on if you've published/shared your branch and also depending on what you want history to look like19:04
bronson joined19:04
ssarah wow... i think rebase worked. so now basically it remade all my commits to be after the tip of master19:04
PerlJam FroMaster: in the 3 times I've tried to use submodules, each time, they weren't quite the right fit after all. You might also want to look at gitslave or using git subtree19:04
ssarah and it's lying about the times they were made?19:05
lsiv568 left19:05
J1G|Anon126 ssarah: every commit has 2 timestamps: authored and committed. normally, the authored time is preserved, but committed time is changed to when you rebased19:05
Github shows the authored timestamp on its site if I'm not mistaken19:06
nisseni joined19:06
hohum joined19:07
omosoj ok - so i pulled changes to the development branch to my local machine. if i want to update my new local branch (branch2) to the changes, i should do 'git rebase development'?19:07
J1G|Anon126 omosoj: that would be the rebase method, yes19:07
Xz joined19:08
omosoj J1G|Anon126, what are the pros/cons of merge vs rebase?19:08
i think rebase seems more like what i'm looking for, but not sure19:08
Xz hi guys, I just created a repo on my localhost. I'm trying to git clone it using: git://localhost:9418/home/path/to/git/repo19:08
no luck, anybody knows how to export my local repo to be availabe for others to be cloned?19:08
J1G|Anon126 pros of rebasing: linear history, cons: trouble when you rebase things that have been pushed, possibility of breaking things19:09
bronson left19:09
J1G|Anon126 pros of merging: simpler, okay for history that's been pushed; cons: can make history hard to understand19:09
Xz I'm getting 'connection refused'19:09
mikiones joined19:10
PerlJam Xz: probably more work than you'd like, but I'd just use gitolite.19:10
codeFiend joined19:10
joki joined19:10
HelloShitty left19:10
ssarah J1G|Anon126: sweet19:10
Xz PerlJam: do I need to create git bare repo? or what?19:10
lachm left19:10
PerlJam Xz: If you're going to share, you should be sharing a bare repo19:11
Xz PerlJam: I have stuff that's not to be released to the world yet19:11
offby1 Xz: sounds like you need to run "git-daemon" but haven't yet19:11
Xz PerlJam: well, it's just for a code review - not a long term repo19:11
jason237 left19:11
PerlJam Xz: and what offby1 said19:11
pheaver left19:12
Takle joined19:12
omosoj J1g|Anon126, i see, thank you.19:12
Xz PerlJam: offby1 ok, so after installing git-daemon I have 'access denied or repo not exported'19:13
joo-_ joined19:13
kadoban Xz: gitolite doesn't assume you're sharing with the world. Using git over SSH tends to be better than using the actual git daemon, regardless of if you use gitolite or not.19:13
Xz PerlJam: offby1 does that mean lack of bare-repo ?19:13
kadoban: I will have a closer look at gitolite, thanks19:13
bgerber left19:13
joel_falcou joined19:14
dreiss left19:14
jceb joined19:14
omosoj i tried to rebase and got this error: https://gist.github.com/josomo/3fb62bc6996e0e7943b6 looks like it went to merge it19:14
offby1 Xz: sounds like you haven't actually _run_ git-daemon19:14
Quevin_ left19:14
offby1 merely installing it is unlikely to suffice19:14
although I suppose that depends on how you installed it19:14
omosoj a line in db/schema.rb was not updated, too. so i guess the merge didn't work either?19:15
hexagoxel left19:15
Xz offby1: it did run by default - it's showing up in 'ps aux'19:15
offby1: I use debian and it got installed as a service19:15
UKn0Me left19:15
J1G|Anon126 omosoj: no, it says "merging" but it is really being rebased19:15
omosoj: you say a line was bad?19:16
jnavila left19:16
PerlJam Xz: and your repo is where ever git daemon expects it to be? (And is being exported?)?19:16
offby1 Xz: at this point you need to !repro19:16
gitinfo Xz: [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://gist.github.com/2415442 ) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will raise the odds of getting your problem fixed from about 30% to about 90%.19:16
brotherBox joined19:16
omosoj J1G|Anon126, yes :|19:16
skylite left19:17
Xz offby1: PerlJam ok, thanks - I will refer to git-daemon manual19:17
brotherBox Hi, I have found nothing on this topic and can't think of anything myself: is there any way to implicitly blacklist any __pycache__ folder in all subfolders?19:17
doing just __pycache__ only blacklists it in the dir as the .gitignore file is.19:18
PerlJam Xz: git daemon can use any path ... find out which one(s) your debian package expects.19:18
lsiv568 joined19:19
offby1 brotherBox: I'm almost certain it can be done, but I can't remember the syntax :-|19:19
brotherBox: I'd take a long, careful look at the man page19:19
man .gitignore19:19
hmph19:19
brotherBox I did not know .gitignore had its own man page. Will take a look, thanks!19:19
javaJake brotherBox: if the file you're trying to ignore is already in your repo, gitignore has no effect.19:20
silverfix left19:20
jmpp joined19:20
J1G|Anon126 omosoj: interesting... in that case you might as well make a new commit with the updated line19:20
nnyk joined19:21
omosoj J1G|Anon126, hm, ok. thanks for the help19:21
[H]unt3r left19:22
[H]unt3r joined19:22
redbaritone left19:22
redbaritone joined19:22
xp_prg2xp_prg19:22
cobakobodob left19:23
pheaver joined19:24
opdavies left19:24
jmpp left19:25
paulweb515 left19:25
bgerber joined19:25
nisseni left19:26
veebers joined19:26
offby1 javaJake: that's certainly true, but it's unlikely that brotherBox has added __pycache__ to his repo19:27
brotherBox I removed all instances of __pycache__ and added **__pycache__ to the gitignore19:28
Now it works perfectly. Thanks a bunch!19:28
atomx joined19:29
settermjd joined19:30
FreezingCold joined19:31
kukks left19:31
Bass10 joined19:31
RaceCondition left19:31
irqq joined19:32
tgkokk joined19:32
Bass10 left19:33
astrofog left19:33
liamkeily left19:33
nrsk left19:34
s00pcan_ left19:34
jmpp joined19:34
s00pcan_ joined19:35
joo-_ left19:36
lsiv568 left19:36
tgkokk left19:37
tranzfuse left19:38
baweaver joined19:38
joo-_ joined19:39
andi3 joined19:39
Bass10 joined19:39
teran joined19:41
RichiH left19:41
lhunath joined19:41
codeFiend left19:42
thedodd left19:43
jaydubya left19:43
lhunath I have a line-based list of file paths, relative to my git working directory. I want git to behave as though it ignores everything in the workdir except for the listed files. how would I do that?19:43
jaydubya joined19:44
claudio left19:44
wodim left19:44
gsingh93 joined19:45
iveqy lhunath: if you have added all the files in the list, just tell git to ignore everything since git don't ignore already tracked files19:45
teran left19:46
VimFleed joined19:46
lhunath so, just use a .gitignore of * and add the files with -f?19:47
iveqy lhunath: there's more ways to do it. But I'm not sure they are suitable if you're new to git (and I've no idea what your skill level is so I tell you the basic approach)19:47
lhunath or don't use a gitignore at all and don't look at untracked files in the repo19:47
iveqy lhunath: yes, that would be my solution.19:47
psoo joined19:47
bannakaffalatta left19:48
cavallari left19:48
jaydubya left19:48
nrsk joined19:48
iveqy lhunath: that's one of the more advanced ways to do it, and it's a bit better but a bit more unusual.19:48
Bryzzle left19:49
t0th_-__t0th_-19:49
t0th_-t0th_--19:50
mizu_no_oto left19:50
cobakobodob joined19:50
brucelee left19:50
nuk3 joined19:51
jplussier left19:51
baweaver left19:51
mizu_no_oto joined19:51
joo-_ left19:51
tgkokk joined19:53
redbaritone lhunath: Can you not segregate the files into different folders?19:54
tgkokk left19:54
howlymowly left19:54
tgkokk joined19:54
lsiv568 joined19:55
nnyk left19:55
setuid left19:56
Orbitrix joined19:56
Orbitrix left19:56
Orbitrix joined19:57
creep joined19:58
PragCypher joined19:59
creep left19:59
wodim joined19:59
BlaXpirit_ joined19:59
codeFiend joined19:59
creep joined19:59
paulweb515 joined20:00
thedodd joined20:00
codeFiend left20:00
Xz ok, git daemon sucks20:00
I cannot even get it to work on localhost20:00
it always says the same 'access denied or repository not exported'20:01
I tried with --bare, not bare20:01
with git-daemon-export-ok, without it20:01
EminenceHC left20:01
Xz I obviously put my stuff under git-daemon wants that (/var/cache/git on debian)20:01
FroMaster left20:02
phantomtiger joined20:02
bluesm joined20:02
BlaXpirit left20:02
scroteau joined20:02
kadoban Xz: IMO git daemon is outdated and useless on anything approaching a normal setup. I really don't know what real-world use-case it's supposed to be useful for.20:04
jmpp left20:04
kukks joined20:04
kukks left20:04
kukks joined20:04
regan left20:04
ssarah left20:05
ojacobson kadoban: it works okay for reasonably fast read-only access, with less configuration effort than smart http20:05
tranzfuse joined20:05
iamshercoder left20:06
kadoban Ah, I see.20:08
jaydubya joined20:08
lsiv568 left20:08
Xz ojacobson: not for me :\20:08
scroteau left20:08
WaReZ joined20:09
ojacobson Xz: I'm not inclined to help people who start with "Well, ___ is stupid". Come back when you've vented and !repro, though, and let's talk.20:09
gitinfo Xz: [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://gist.github.com/2415442 ) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will raise the odds of getting your problem fixed from about 30% to about 90%.20:09
ojacobson I know you're frustrated, but I have shit to do :D20:09
brucelee joined20:09
Xz ojacobson: what are you talking about?20:09
scroteau joined20:09
Xz ojacobson: I pasted exactly what I did and exactly what's the error20:09
ojacobson: slow down dude20:10
Matulis_ left20:10
akiva joined20:10
s00pcan_ left20:10
Bryzzle joined20:11
s00pcan_ joined20:11
nour_ joined20:11
gccostabr left20:11
french left20:11
ruukasu left20:11
pm90_ left20:11
lsiv568 joined20:13
redbaritone left20:14
studmuf joined20:14
nour left20:14
james__ left20:15
konr joined20:15
chrisshattuck joined20:16
jason237 joined20:16
fandi left20:17
nnyk joined20:18
atomx left20:19
jdo_dk joined20:19
FAMAS joined20:20
FAMAS left20:20
FAMAS joined20:21
tgkokk left20:22
aswen joined20:22
otter768 joined20:22
cavallari joined20:23
chrisgeorge_ joined20:23
ignas left20:23
boombatower joined20:24
FAMAS left20:25
chrisgeo left20:25
chrisgeorge_chrisgeo20:25
cdown left20:25
FAMAS joined20:25
jdo_dk left20:26
tang^ joined20:26
lpax left20:27
dreiss joined20:27
Jackneill left20:27
eburcat joined20:27
otter768 left20:27
jnavila joined20:28
ecky--ptang-zoob left20:29
githogori left20:29
Lewix left20:29
CustosL1men joined20:29
Neptu joined20:30
sonOfRa_ joined20:30
Bilge- joined20:30
MSeven joined20:30
sigv left20:30
monte joined20:30
bobmarch_ left20:30
biertie_ joined20:30
s00pcan_ left20:31
[M7] left20:31
dr_lepper left20:31
nrsk left20:31
biertie_biertie20:31
barmaglot|2 joined20:31
Nothing4You left20:31
sonOfRa left20:31
barmaglot left20:31
nrsk joined20:31
Arokh joined20:31
Bilge-Bilge20:31
s00pcan_ joined20:31
bobmarchman joined20:31
dr_lepper joined20:31
midnightmagic joined20:31
Gege joined20:32
zack6849 joined20:32
zack6849 left20:32
zack6849 joined20:32
montemonty20:32
mkoskar left20:32
valeriansaliou left20:33
Lefter1s left20:33
nikio__ left20:33
valeriansaliou joined20:33
sigv joined20:33
nikio_ joined20:34
Nothing4You joined20:34
fandi joined20:36
scroteau left20:37
pheaver left20:37
bobmarchman left20:37
bobmarchman joined20:38
stiffi joined20:38
nofxx If I proposed a pull request from master, it will (only github?) continue to add commits from that branch to the pull request. Is there some way to politely move this to a branch so I can work on master? Will need to close the pull request?20:38
Sorry if its only github related, but I hope gitlab works the same, haven't tested pull requests tbh20:39
preaction yes, you would need to close the PR, make a branch, and open a new PR for that branch. PRs are tied to branches in github20:40
learner1learner20:40
nofxx preaction, thought so, ty20:40
stiffi left20:40
teran joined20:41
baweaver joined20:41
valeriansaliou left20:42
kukks left20:42
baweaver left20:43
s00pcan_ left20:44
valeriansaliou joined20:44
s00pcan_ joined20:44
jgardella left20:44
majuscule joined20:45
rafaelcpalmeida joined20:45
mkoskar joined20:45
netcarver joined20:45
teran left20:46
bobmarchman left20:46
orbisvicis joined20:47
bobmarchman joined20:47
aswen left20:47
PragCypher left20:48
Tuna-Fish left20:48
pheaver joined20:49
Acidnerd left20:49
lsiv568 left20:49
pwnz0r left20:49
orbisvicis given a remote repo and branch, how do I determine the latest commit/revision hash without creating any local files ?20:49
EminenceHC joined20:50
J1G|Anon126 orbisvicis: git show [remote]/[branch]20:50
preaction git ls-remote also, if you don't care to fetch20:50
FortySix2 joined20:50
ruukasu joined20:51
phos1 left20:51
a-l-e left20:51
J1G|Anon126 if fetching is what orbisvicis means by creating local files, then that would be better20:52
majuscule hi all, i'm a little unclear and want to get a definitive answer. does git use deltas to store changes to binary files? i'm aware that it can't diff them, but i want to know how they're *stored*20:52
chiromante left20:52
orbisvicis J1G|Anon126: yes, that's what I meant20:52
ls-remote is great20:52
s00pcan_ left20:53
J1G|Anon126 majuscule: no, it does not store deltas20:53
Takle left20:53
majuscule thanks J1G|Anon12620:53
s00pcan_ joined20:53
J1G|Anon126 you're welcome20:53
bronson joined20:53
majuscule also just curious, is there an architectural reason for that?20:53
valeriansaliou left20:53
g3danken joined20:54
majuscule seems like binary diffs *could* be used and it would be tremendously helpful for projects with significant binary assets20:54
Noldorin joined20:54
majuscule s/diffs/deltas20:54
valeriansaliou joined20:55
J1G|Anon126 majuscule: Git does not store *any* deltas (exception is when you are sending things over the network)20:55
EminenceHC left20:55
s00pcan_ left20:56
s00pcan_ joined20:56
J1G|Anon126 but the same object will be used if it is not changed20:56
majuscule oh interesting. i need to reread the plumbing docs to get a better handle on this20:57
bronson left20:57
majuscule thanks again20:57
Takle joined20:58
J1G|Anon126 majuscule: try looking at some solutions for !binary files20:58
gitinfo majuscule: Storing binary files in git causes repo balloon, because they do not compress/diff well. In other words, each time you change a file the repo will grow by the size of the file. See !annex for some solutions20:58
J1G|Anon126 !annex20:58
gitinfo git-annex and git-media are two solutions to the !binary problem. They work by keeping the blobs outside of the repo, storing a reference to the blob in the repo instead. See http://git-annex.branchable.com/ and https://github.com/schacon/git-media20:58
EminenceHC joined20:58
asturel anyone knows where should i put the ssh_config to pick up by github windows client?20:58
s00pcan_ left20:59
jceb left20:59
s00pcan_ joined20:59
Tuna-Fish joined20:59
bannakaffalatta joined20:59
codeFiend joined21:00
katherine__ joined21:00
PragCypher joined21:00
nath_schwarz_ left21:00
orbisvicis what about the date of the latest commit (continuing with ls-remote) ?21:01
PragCypher left21:01
Ankhers left21:01
baweaver joined21:01
codeFiend left21:02
asturel ah, it was just the ssh key21:02
HoMM left21:03
hexagoxel joined21:03
netcarver left21:03
Juxtapoe left21:04
pm90_ joined21:05
netcarver joined21:05
JohnBat26 joined21:05
katherine__ hi all. i'm looking for help getting git-http-backend working on my gerrit server21:05
bsanford left21:05
jazzzu left21:05
pm90_ left21:05
orbisvicis actually, nevermind, I think the standard is to use the checkout date, not the commit date21:05
nrsk left21:05
katherine__ is anyone available who could help?21:05
s00pcan_ left21:06
jantje joined21:06
s00pcan_ joined21:06
jds left21:06
sgen__ joined21:06
Gizburdt joined21:07
katherine__ git-http-backend, anyone?21:08
majuscule i just did that yesterday katherine__, if you have a specific question i might be able to help21:08
s00pcan_ left21:08
majuscule (although not with gerrit)21:09
katherine__ thanks, majuscule21:09
s00pcan_ joined21:09
eric_____ joined21:09
katherine__ is there a good way to show what i have in my config file?21:09
i'm obviously missing something as i get a 401 trying to access my url21:10
buffal0 joined21:10
codeFiend joined21:10
majuscule sure, paste it somewhere21:10
but 401 is an auth problem, you should probably post your logs as well21:10
oojacoboo left21:11
akushner left21:11
Ankhers joined21:11
katherine__ majuscule: this is the 443 portion of my conf file: http://jpst.it/vB2b21:13
working on the logs, now21:13
m0viefreak joined21:13
katherine__ i realize it's an auth issue but have not been able to figure out where i've gone awry21:13
s00pcan_ left21:14
s00pcan_ joined21:14
marthinal left21:15
katherine__ nothing in the httpd error_log and only this in the access_log: http://jpst.it/vB2C21:16
e-Flex joined21:16
Acidnerd joined21:16
jnavila left21:17
katherine__ majuscule: command line output:21:17
http://jpst.it/vB3521:17
sonOfRa_sonOfRa21:18
lsiv568 joined21:18
majuscule oh huh, so are you *trying* to do it with auth or just expose it over http21:19
katherine__ trying to do it with auth21:19
i think that's what i want to do, no?21:20
majuscule i don't see anything about auth in your config?21:20
what kind of auth do you want to use, http basic?21:20
s00pcan_ left21:21
s00pcan_ joined21:21
psoo left21:21
iamshercoder joined21:22
sburgess left21:22
jnavila joined21:22
katherine__ you'll have to pardon my ignorance. this is my first time digging into apache and ssl21:22
i'm not sure how to determine the type of auth we're already using21:22
freestyl3r left21:23
islalobo left21:23
dougsland left21:23
gfixler joined21:23
donmichelangelo left21:24
codetroll left21:24
jnavila left21:25
Ankhers` joined21:25
lsiv568 left21:26
Ankhers left21:26
codetroll joined21:27
Juxtapositional joined21:27
Techn0mag left21:28
treehug88 Hi all, I'm trying to recreate ancient, two-year-old branches at my work's git repo. I have the information about a particular merge into master, and want to see just the diffs that were merged in that particular merge. Suppose the 'git log' output looks like: commit ad9b9da461ce42702266a26a80399bbf3da14b42 Merge: 025a71f 782d453 (more follows)21:28
orbisvicis what is the sorting for ls-remote -t ? (time)21:29
majuscule katherine__: sorry, i'm not sure how to help you figure that out.21:29
treehug88 I thought 'git diff 025a71f..782d453' would show me ust those changes, but I'm seeing more than I expected. Can anyone assist please?21:29
sq-one joined21:29
valeriansaliou left21:29
Ankhers`Ankhers21:30
valeriansaliou joined21:30
akushner joined21:30
ruukasu left21:31
treehug88 got it. Three dots.21:32
pheaver left21:33
majuscule lol, that's annoying21:33
thierryp joined21:36
tpollard joined21:37
FortySix2 left21:38
arnaud__ left21:38
arnaud__ joined21:39
claudio joined21:39
Polylith joined21:39
FortySix2 joined21:39
twoface88 left21:39
jazzzu joined21:40
thierryp left21:40
mikecmpbll left21:41
dik_dak joined21:42
ldlework If there is a commit like 50 commits ago, in a public repo that we want to undo, is the correct thing to do to just make a new commit that undoes the work?21:42
teran joined21:42
ldlework Is there anyway to easily and automatically craft that new commit?21:42
claudio because git not updated in the repository files that I delete?21:42
why?21:43
arnaud__ left21:43
claudio Why does this happen?21:43
qsuscs ldlework: man git revert21:44
gitinfo ldlework: the git-revert manpage is available at http://jk.gs/git-revert.html21:44
ldlework qsuscs: cool21:44
IrishPrime left21:45
FortySix2 left21:45
donmichelangelo joined21:45
teran left21:47
claudio why git not updated in the repository files that I delete?21:48
pheaver joined21:48
thevishy left21:49
settermjd left21:49
ruukasu joined21:51
mizu_no_oto left21:51
n-st joined21:53
rao joined21:53
akushner left21:54
brucelee left21:54
rao can a .gitignore file be added to any directory or only to the root dir of the repo?21:55
mchvs joined21:55
bremner any21:55
also, !tias21:55
gitinfo Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://gitolite.com/tias.html may help with git-specific TIAS.21:55
bremner although maybe with gitignore it's a bit tricky to test21:56
joo-_ joined21:56
s00pcan_ left21:57
mitzip left21:57
s00pcan_ joined21:57
joo-_ left21:57
buck1 joined21:57
buck1 so I have two long-lived branches, and i'd like to be able to pull back and forth between, without rejecting the same hunks over and over21:58
is there any support for this?21:58
dave_boling joined21:58
Consuela joined21:58
d10n-work left21:58
metastableB joined22:00
Solid1Solid1_afk22:00
dreiss left22:00
medgno left22:00
jerius left22:00
saidelike_ left22:00
mitzip joined22:00
aidalgolfsbot22:01
learner left22:01
PaulCapestany left22:01
rcampbel3 left22:01
fsbotGuest8991422:01
irqq left22:01
Guest89914fsbot`22:01
fsbot`aidalgol22:02
qwebirc92123 joined22:02
saidelike joined22:02
learner joined22:03
mikecmpbll joined22:03
pheaver left22:03
baweaver left22:04
JohnBat26 left22:04
th3fallen left22:04
joel_falcou left22:04
RaceCondition joined22:04
shauna joined22:04
PaulCapestany joined22:05
DolphinDreamm joined22:06
valeriansaliou left22:06
beneggett left22:07
DolphinDream left22:07
bitkiller left22:08
valeriansaliou joined22:08
bitkiller joined22:08
s00pcan_ left22:08
thiago joined22:09
thiago left22:09
thiago joined22:09
Fissure1 joined22:09
akushner joined22:10
jaydubya_ joined22:10
Milkweed left22:11
osse git rerere22:11
opdavies joined22:12
Ankhers left22:12
jaydubya left22:12
mkoskar left22:12
studmuf left22:12
ocp_sc left22:13
studmuf joined22:13
denete left22:13
rishabh left22:14
s00pcan_ joined22:14
beneggett joined22:14
valeriansaliou left22:15
aard_ joined22:16
valeriansaliou joined22:17
charon left22:17
charon joined22:17
Juxtapositional left22:17
ap0c joined22:17
studmuf left22:18
oojacoboo joined22:18
learner left22:19
nuk3 left22:19
s00pcan_ left22:20
tieTYT2 i took a copy of the source code of a project, put it in its own repo, and started working on it. Now I have access to the remote repo but there’s no history that ties my root to the remote root. What I really want to do is move my changes on top of my local master. How do I do this?22:23
cdown joined22:23
buffal0 left22:23
iamshercoder left22:23
osse tieTYT2: EASY!!!22:23
otter768 joined22:23
tieTYT2 that’s what a rebase with “onto” is for right?22:24
osse tieTYT2: fetch one repo into the other. so that you have two independent branches. then you can create a graft that stitches one on top of the other22:24
hmm, maybe you can use rebase with --onto actually22:24
iamshercoder joined22:24
osse --onto and --root22:24
worth a try22:24
tieTYT2 can cherry pick be used to do this, too?22:25
osse not the first commit22:25
tieTYT2 i want to throw away my original commit, that should be the same as the remote branch anyway22:25
osse oh right22:25
that makes it all much easier22:25
a git rebase is straight forward then22:25
tieTYT2 good thing I made sure to commit that separately22:25
jerius joined22:25
s00pcan_ joined22:26
osse get the original repo. fetch yours into that. then checkout yours. rebase --onto origin/master first-commit-hash22:26
Inv1s1ble I'm really confused. In the following project: https://github.com/sumdog/ansible-jenkins it says I'm 7 commits behind the project I forked from, but when I do a compare or pull request, the diff is empty22:26
tieTYT2 osse: thanks, I’ll give that a try22:26
tranzfuse left22:27
osse Inv1s1ble: yes, because you're not ahead of it. everything you have they have also, so there's nothing to do22:27
chrisgeo left22:27
iveqy Inv1s1ble: what you want is probably to pull from their project so that you get the new commits that you're behind22:28
tieTYT2 osse: first-commit-hash means the first commit I want to keep, right?22:28
otter768 left22:28
osse tieTYT2: no. that argument to rebase is the "base". so that is the last commit you don't want to keep22:28
tieTYT2 oh ok22:28
osse which is the first one you made22:28
Inv1s1ble iveqy, so I should reverse the base/head forks? That's what I though; that I'm missing their newer commits22:29
mkoskar joined22:29
osse Inv1s1ble: that means you want to pull. a pull request is asking them to pull from you, ie. the opposite.22:30
treehug88 left22:30
tang^ sounds like you're really needing to !sync22:30
gitinfo [!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-fork22:30
iveqy Inv1s1ble: I've no idea what you mean with reverse the base/head forks. Keep in mind that a fork isn't something git does (github does that, but github isn't git). To answer what I think you want to do, see tang^s link.22:31
sburgess joined22:31
Inv1s1ble iveqy, cool thanks22:31
tieTYT2 osse: that didn’t make any noticable effect: output was: First, rewinding head to replay your work on top of it...Fast-forwarded master to origin/master.22:32
osse: oh I get it. I gotta have my change’s branch checked out22:32
osse yes22:32
VimFleed left22:33
tieTYT2 perfect, that’s awesome. Not even a conflict22:33
ocp_sc joined22:33
iveqy Inv1s1ble: good luck22:34
sburgess left22:35
Inv1s1ble iveqy, thanks. :-P22:35
s8321414 joined22:35
Inv1s1ble iveqy, huh...I think my repo is screwy. I'm using it as a subtree in another project. I forked it from another project to add some features, but the upstream repo didn't/doesn't have a master branch. If I switch to my master branch and rebase of my origin, it tries to pull in all the commits from the original project it's a subtree of O_o22:37
jason237 left22:37
bannakaffalatta left22:38
Inv1s1ble yea I think I'm gonna give up for now. I've documented my crappy fixes in an issue; probably should get back to paid work for today :-P22:39
jas4711 joined22:39
setuid joined22:40
duderonomy left22:40
jdv79 joined22:40
jdv79 what's a good way to get the list of changed files in a pre-receive hook for a new branch?22:40
our existing thing is using the old ref of all zeroes git passed in the lhs in a range and git doesn't like that22:41
pheaver joined22:41
Gizburdt left22:41
dougsland joined22:42
kermit left22:42
osse you must decide what to compare it to22:42
kermit joined22:42
iveqy Inv1s1ble: sounds like you really have to keep track of branches and repos. Unfortunately I can't really help you that well there. I stick with submodules, a lot cleaner imho.22:42
teran joined22:43
claudio left22:44
cdown left22:45
cdown joined22:45
Inv1s1ble iveqy, no worries22:45
mchvs night o/22:45
ojacobson left22:46
dougsland left22:47
teran left22:48
autochthon left22:49
valeriansaliou left22:50
autochthon_ left22:50
jdv79 i guess i want from the "fork point"22:50
valeriansaliou joined22:50
bhavul left22:50
jaydubya_ left22:51
jaydubya joined22:51
osse jdv79: the fork point of what? it's probably fair to assume master in most cases, but it doesn't have to be22:51
Dougie187 left22:51
cdown left22:52
cdown joined22:52
s00pcan_ left22:53
mmoretti joined22:53
paritybit joined22:54
jaydubya_ joined22:55
doev left22:55
jerius left22:55
affa09 left22:55
dreiss joined22:57
jaydubya left22:57
Schrostfutz joined22:59
s00pcan_ joined22:59
brotherBox left22:59
Schrostfutz how can I add a git repository to as subdirectory in another repository?22:59
soerenb !subprojects22:59
gitinfo 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.22:59
githogori joined23:00
s00pcan_ left23:01
alekks joined23:01
s00pcan left23:01
pheaver left23:01
flaviocamilo joined23:03
Schrostfutz soerenb: thank you23:03
!subtree23:03
gitinfo The subtree merge method is great for incorporating a subsidiary git repo into your current one with "unified" history. Read http://git-scm.com/book/en/Git-Tools-Subtree-Merging for more info, see also !git-subtree and !git-stich-repo.23:03
shawndumas joined23:04
dreiss left23:05
biertie left23:06
biertie joined23:06
biertiebdesmet23:06
baweaver joined23:06
Schrostfutz can I also use a non-empty prefix?23:06
jagob left23:06
s00pcan joined23:07
mmoretti left23:07
rcampbel3 joined23:07
mmoretti joined23:08
shawndumas left23:09
hebz0rl joined23:09
jaydubya_ left23:09
paul424 joined23:10
jaydubya joined23:10
mmoretti left23:11
codetroll left23:11
mmoretti joined23:12
tinanoo left23:12
Gama11 left23:13
nour_ left23:14
jaydubya left23:14
cdown left23:15
konr left23:15
cdown joined23:15
WaReZ left23:16
dreiss joined23:17
creep left23:17
wowaname hai23:17
phantomtiger left23:18
Schrostfutz wowaname: helo23:18
pheaver joined23:18
aard_ left23:18
pantsman- left23:19
s00pcan left23:19
paritybit Hey I need a bit of advice on a repo. I got this project that was originally developed in git. Then moved to perforce. Now we're moving it back to git but changes were made while it was in perforce. I need to maintain the perforce modified copy for backwards compatiblility sake, but I also need to maintain a current version where new features are added. What is possibly the best way of handling this? Using tags?23:20
Using separate branches? Two different repos?23:20
Spacew00t left23:21
katherine__ left23:21
bobmarchman left23:22
FunkyAss joined23:22
pm90_ joined23:23
jdv79 left23:23
omosoj left23:24
s00pcan joined23:24
pwnz0r joined23:24
dave_boling left23:24
s00pcan_ joined23:24
dik_dak left23:26
buck1 "a current version where new features are added" is usually a branched named master23:27
kukks joined23:27
buck1 a branch named master*23:28
leeN left23:29
foulou joined23:30
mjuszczak joined23:30
dsdeiz joined23:30
mchvs left23:31
rendar left23:32
s00pcan_ left23:32
s00pcan left23:33
orbisvicis left23:33
jaydubya joined23:34
dik_dak joined23:34
livingstn left23:35
Skapadapaduu left23:35
myyst left23:37
eric_____ left23:38
s00pcan joined23:38
s00pcan_ joined23:38
myyst joined23:38
boombatower left23:38
smccarthy2 left23:39
valeriansaliou left23:41
AciD` left23:42
pm90_ left23:42
macabre left23:42
dave_boling joined23:43
s00pcan left23:43
s00pcan_ left23:43
AciD` joined23:43
teran joined23:44
duderonomy joined23:44
Gitzilla joined23:44
valeriansaliou joined23:45
Laurenceb__ joined23:47
King_Hual left23:48
s00pcan joined23:48
s00pcan_ joined23:49
teran left23:49
Laurenceb_ left23:49
hexagoxel left23:50
pm90_ joined23:50
pm90_ left23:51
pm90__ joined23:51
valeriansaliou left23:51
EminenceHC left23:52
codetroll joined23:53
Amandil left23:54
AaronMT left23:54
Muchoz joined23:56
Miesco joined23:56
luriv left23:56
valeriansaliou joined23:56
Muchoz Is there a way to execute this command: "git ls-tree --name-only -r master" and make it automatically detect the branch I'm on instead of giving it to it?23:56
osse Muchoz: use HEAD23:57
!HEAD23:57
gitinfo HEAD is a 'pointer' to the currently checked out branch (or commit, if HEAD is !detached). In bare repositories it tells clients which branch to checkout initially after cloning. Unlike commonly believed, HEAD is *not* something that exists separately for every branch. It also is *not* necessarily the newest commit in the repo (that's hard to define in a DVCS, anyway...)23:57
mmoretti left23:57
Muchoz osse, I actually was. But then I need to commit in order to see it update.23:57
bronson joined23:58
osse Muchoz: that doesn't change if you use master23:58
hebz0rl left23:58
s00pcan_ left23:58
Muchoz osse, I'm retarded;23:58
s00pcan_ joined23:59
mmoretti joined23:59
Muchoz Any way to show all of the files without committing then?23:59

Logs Search ←Prev date Next date→ Channels Documentation