IRCloggy #git 2015-01-05

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-05

lpax left00:00
Gama11 left00:00
EminenceHC joined00:01
liamkeily1 left00:01
gitinfo set mode: +v00:01
CheckDavid joined00:02
dm7freek heard GitFS is on the way.00:03
dm7freek How's that coming?00:03
teran_ joined00:03
pawanspace joined00:03
lucianangelus left00:04
irc-5225225 left00:04
nizram joined00:04
serum left00:05
dreiss left00:06
teran left00:07
pawanspace left00:08
nizram left00:08
EminenceHC left00:09
dreiss joined00:09
scientes joined00:10
nour_ left00:10
jazzzu joined00:11
paul424 left00:12
jatt left00:13
puff left00:13
joeyDB joined00:13
Karisik joined00:14
eburcat joined00:14
dreiss left00:15
sinkensabe joined00:17
joeyDB left00:18
irc-5225225 joined00:19
eburcat left00:19
jmpp_ joined00:20
checkItOut joined00:21
hexagoxel__ joined00:21
listochkin joined00:21
hexagoxel__ left00:22
sinkensabe left00:22
DrHouse|DellM650 joined00:22
Velzes left00:22
hexagoxel joined00:23
Amandil|2 left00:23
hexagoxel_ left00:24
intransi_ left00:24
jmpp_ left00:24
mchvs left00:26
serapath left00:26
listochkin left00:27
pawanspace joined00:28
dreiss joined00:28
SonikBoom left00:28
scientes left00:28
invapid joined00:29
devoldmx joined00:30
invapid so "git push github master" failed with "src refspac master does not match any..... failed to push some refs", but "git push github HEAD:master" worked00:30
can anyone explain why that is? or have a good link to look at00:30
harish left00:30
DrHouse|DellM650 left00:31
invapid might have something to do with branches? "git branch" => no branch00:32
pawanspace left00:32
scientes joined00:33
intransit joined00:34
iamjarvo joined00:36
iamjarvo left00:37
FunkyAss left00:37
Goplat joined00:37
mezod left00:37
iamjarvo joined00:37
liamkeily1 joined00:37
invapid ahh, I think it's in a "headless" state00:39
HoMM left00:42
invapid yep - git checkout master fixed it00:43
invapid left00:44
jazzzu left00:45
s8321414 left00:46
chrisshattuck left00:47
bitkiller left00:47
phretor joined00:48
alaudet left00:49
jstimm joined00:49
liamkeily1 left00:49
saint-ron joined00:50
kadoban joined00:51
wakd left00:51
wakd joined00:52
blackmesa left00:52
tmcmahon joined00:52
liamkeily1 joined00:53
iamjarvo left00:54
dik_dak left00:54
dik_dak joined00:55
APerson_ joined00:56
checkItOut left00:57
checkItOut joined00:58
checkItOut left00:59
codezomb left00:59
marius joined00:59
fstd left01:00
fstd joined01:00
tmcmahon left01:00
bg__ joined01:01
medgno joined01:02
Lyqyd left01:03
marius left01:06
foulou left01:06
lachm joined01:06
sbogg joined01:06
flugo left01:07
valeriansaliou joined01:08
Dopagod joined01:08
dougsland left01:10
MattMaker left01:10
jagob left01:10
VimFleed left01:11
Gamecubic joined01:11
valeriansaliou left01:12
linoespinoza joined01:12
linoespinoza left01:12
hyperair joined01:12
hyperair left01:12
rchavik joined01:14
rchavik left01:14
rchavik joined01:14
joeyDB joined01:14
nkouevda left01:15
lachm left01:18
jmpp_ joined01:18
checkItOut joined01:19
joeyDB left01:19
checkItOut left01:23
vu left01:24
bobdobbs joined01:24
diegoviola left01:25
sinkensabe joined01:25
rendar left01:25
pwnz0r joined01:26
bronson joined01:27
mizu_no_oto left01:27
saint-ron left01:27
dave_boling left01:27
pwnz0r left01:28
BlaXpirit_ left01:28
brucelee joined01:29
sinkensabe left01:30
txomon|home left01:30
dreiss left01:32
bronson left01:32
hyperair joined01:33
ome joined01:38
bronson joined01:38
robustus left01:38
herrbischoff left01:39
rafaelcpalmeida left01:39
harish joined01:39
robustus|Off joined01:41
robustus|Offrobustus01:41
herrbischoff joined01:42
kpreid left01:42
kpreid joined01:42
bronson left01:43
phretor left01:46
nikio_ left01:48
pheaver joined01:50
weiyang joined01:50
MattMaker joined01:50
liamkeily1 left01:51
netameta left01:51
stanier joined01:52
Gamecubic left01:52
gitinfo set mode: +v01:52
Gamecubic joined01:53
echo-area joined01:53
daito joined01:54
CheckDavid left01:54
netameta joined01:55
shinnya_ left01:55
stanier What's the best way to advertise a project that needs contributors?01:55
johnny2600 left01:55
k_sze[work] joined01:55
HedgeMage stanier: that tends to depend a lot on what kind of contributors you need01:56
offby1 stand on a street corner wearing a sandwich board01:56
nottombrown joined01:57
offby1 stanier: seriously: write a bunch of good code by yourself, and get it Out There01:57
maintain it01:57
blog about it01:57
stanier offby1 I thought that only applied to prostitutes and activists01:57
offby1 i.e. prove that the project is real01:57
EvilPenguin left01:57
offby1 act like you don't need any help; then you're sure to get lots :)01:58
sort of like a bank loan01:58
stanier offby1 I guess that makes sense01:58
Shellbee joined01:58
stanier my worry is that nobody will really pick up on it, being that it's not much of a development resource, not like jQuery plugins or CSS frameworks01:59
HedgeMage stanier: recruiting from your own user base is usually a place to start01:59
stanier: however, depending on your project, this may involve educating newbie coders and such.02:00
mnml left02:01
EminenceHC joined02:01
stanier hm, alright. Thanks for the tips02:02
ncd|leeN left02:03
eburcat joined02:03
tokik joined02:04
KeelOfSteel joined02:04
scriptThis joined02:05
pheaver left02:06
offby1 however, getting high on your own supply -- not so great02:06
offby1 whistles innocently02:06
KeelOfSteel left02:07
nottombrown left02:07
eburcat left02:08
Shellbee left02:08
EminenceHC left02:09
listochkin joined02:09
jazper- joined02:11
jazper- left02:11
jazper- joined02:11
crelix joined02:12
nottombrown joined02:13
mizu_no_oto joined02:14
listochkin left02:14
daito left02:14
UKn0Me joined02:14
daito joined02:15
joeyDB joined02:15
HD|Laptop left02:16
HD|Laptop joined02:16
KeelOfSteel joined02:16
dik_dak left02:17
APerson_ left02:18
Zentdayn left02:18
stanier left02:18
daito left02:19
joeyDB left02:19
dik_dak joined02:21
tummy joined02:21
marioxcc joined02:22
APerson_ joined02:22
marioxcc Hello. Suppose I have 2 git repositories that don't share any filename betweem them. Is there a tool that will allow me to combine both repositories into one, in which commits are the union of both repositories, sorted by date?.02:23
There are no merges either.02:23
crelix left02:24
sinkensabe joined02:26
APerson_ left02:26
daivyk left02:26
Vampire0_ joined02:27
tummy left02:28
eburcat joined02:28
Anders_J left02:28
thiago left02:29
Vampire0 left02:30
sinkensabe left02:30
marioxcc left02:31
offby1 pretty sure there is, but I don't know what it is02:31
pheaver joined02:31
offby1 you could always 1) create a new empty repository 2) add each exiting repository as a remote 3) fetch both remotes 4) create an artificial merge commit that has some commit from each remote as a parent02:32
"sorted by date" has little meaning02:32
unless you don't actually care about the original _commits_, and instead merely want to preserve the _patches_ and trees02:32
!graft02:32
gitinfo [!grafts] Grafts are an obscure feature allowing distinct histories to be joined together; see https://git.wiki.kernel.org/index.php/GraftPoint02:32
offby1 good guess02:33
!boss tweed02:33
eburcat left02:33
offby1 !tamanny02:33
oh well02:33
dreiss joined02:33
deltab won't history viewers tend to interleave the commits by date anyway?02:33
devll joined02:34
offby1 beats me!02:34
HelloShitty left02:34
offby1 I know you can ask gitk to "strictly order by date"02:34
deltab it's moot now anyway, as marioxcc left just before you responded02:35
looper left02:35
offby1 *sigh*02:37
looper joined02:38
hgl left02:39
hgl joined02:39
nottombr_ joined02:40
nottombrown left02:41
GT joined02:42
Wulf left02:43
Wulf joined02:43
thessaly joined02:45
nkouevda joined02:45
daito joined02:45
kukks left02:46
nnyk joined02:49
DrHouse|DellM650 joined02:54
daito left02:54
autochthon left02:54
valeriansaliou joined02:56
scarabx joined02:57
chrisshattuck joined02:59
johtso left03:00
valeriansaliou left03:01
pandeiro left03:03
anothermoron joined03:04
pandeiro joined03:06
listochkin joined03:07
darkbasic left03:08
darkbasic joined03:09
autochthon joined03:09
bronson joined03:09
pm90_ joined03:10
listochkin left03:11
Dougie187 joined03:11
ojacobson left03:11
Noldorin left03:12
ojacobson joined03:13
bronson left03:13
mizu_no_oto left03:14
pm90_ left03:14
joeyDB joined03:16
Kulrak joined03:19
Kulrak left03:19
Kulrak joined03:19
nginx77 left03:20
devll left03:20
msonntag left03:20
mizu_no_oto joined03:21
joeyDB left03:21
Milkweed left03:21
pm90_ joined03:21
msonntag joined03:21
kukks joined03:21
kukks left03:21
kukks joined03:21
enitiz left03:21
enitiz joined03:22
MattMaker left03:25
pm90_ left03:26
sinkensabe joined03:26
livingstn left03:27
rafaelcpalmeida joined03:28
sbogg left03:28
UKn0Meh joined03:28
sinkensabe left03:31
mizu_no_oto left03:31
UKn0Me left03:31
daito joined03:31
rafaelcpalmeida left03:33
DrHouse|DellM650 left03:35
echo-area left03:37
intransit left03:37
sbogg joined03:38
echo-area joined03:38
TheTeapot joined03:39
intransit joined03:39
TheTeapot left03:39
TheTeapot joined03:40
hfp joined03:42
hfp_work joined03:42
fandi joined03:43
pm90_ joined03:46
TheTeapot left03:48
TheTeapot joined03:49
TheTeapot left03:50
pm90_ left03:51
brucelee left03:52
kyb3r_ left03:52
TheTeapot joined03:53
EminenceHC joined03:53
fatalhalt left03:54
sbogg left03:56
iamjarvo joined03:56
AmR|EiSa joined03:56
veebers left03:56
sleepee joined03:57
EminenceHC left03:58
EminenceHC joined04:01
kyb3r_ joined04:04
ohseap joined04:05
Zygocat left04:05
bg__ left04:05
Dougie187 left04:07
MattMaker joined04:08
Floatingman joined04:09
EminenceHC left04:09
ohseap left04:10
TheTeapot left04:10
TheTeapot joined04:11
anothermoron left04:12
DrHouse|DellM650 joined04:12
JR___ joined04:15
freeruncan joined04:16
joeyDB joined04:17
Kulrak left04:18
ReekenX joined04:19
pm90_ joined04:20
joeyDB left04:21
brucelee joined04:22
HD|Laptop left04:23
freeruncan left04:23
JR___ left04:23
hafeez3000 joined04:24
daito left04:24
dts|pokeball joined04:24
daito joined04:25
subhojit777 joined04:25
naught101 joined04:26
HD|Laptop joined04:26
JR___ joined04:27
hcc23 left04:27
sinkensabe joined04:27
dreiss left04:27
chrisshattuck left04:28
daito left04:29
naught101 I have a repo cloned using git-svn. I'm keeping the master clean (points to https://server/svn/project/trunk), and I have a branch called "comments". I want to push it to https://server/svn/project/branches/naught101/comments/. https://server/svn/project/branches/naught101 already exists, but the branch directory doesn't, and git complains about path not found04:29
Is there a way to git svn dcommit and create the path at the same time?04:29
smccarthy left04:29
Kulrak joined04:31
Kulrak left04:31
Kulrak joined04:31
Kulrak left04:31
sinkensabe left04:32
Kulrak joined04:32
Kulrak left04:32
Kulrak joined04:32
DrHouse|DellM650 left04:33
thiago joined04:36
AmR|EiSa left04:36
Kulrak left04:37
AmR|EiSa joined04:37
libero123 joined04:39
libero123 ciao04:39
hi04:39
!list04:39
gitinfo [!official] Some official resources for git. Homepage: http://git-scm.com/ | Source repo: https://www.kernel.org/pub/scm/git/git.git/ (Mirrrored: https://github.com/git/git/) | IRC channel: You're in it. | Mailing list: http://vger.kernel.org/vger-lists.html#git04:39
medgno left04:40
libero123 left04:41
dropdrive left04:42
ag4ve_ joined04:42
thiago left04:44
valeriansaliou joined04:45
aidalgol left04:45
scarabx left04:46
sbogg joined04:46
sleepee left04:47
Kulrak joined04:48
Kulrak left04:48
Kulrak joined04:48
daito joined04:49
ojacobson left04:50
valeriansaliou left04:50
scarabx joined04:51
beautifulmind joined04:54
iraj joined04:55
irqq joined04:56
scarabx left04:56
nottombr_ left04:57
bgerber left04:57
bgerber joined04:58
bronson joined04:58
dreiss joined04:58
HD|Laptop left04:58
decimad joined04:59
HD|Laptop joined04:59
HD|Laptop left04:59
HD|Laptop joined04:59
devoldmx left05:00
decimad2 left05:00
nkouevda left05:01
nkouevda joined05:02
bronson left05:03
zumba_addict left05:04
decimad left05:04
ohseap joined05:06
Malsasa_ joined05:08
Malsasa_Malsasa05:08
gfixler left05:10
MattMake_ joined05:10
webguynow joined05:10
ohseap left05:10
MattMaker left05:11
zumba_addict joined05:13
ManikM joined05:13
Tommy[D]_ joined05:13
nginx77 joined05:14
rafaelcpalmeida joined05:17
Tommy[D] left05:17
kcm1700 left05:17
JR___ left05:17
joeyDB joined05:18
hafeez3000_ joined05:18
hafeez3000 left05:18
hafeez3000_hafeez300005:19
kukks left05:20
nottombrown joined05:20
pm90_ left05:20
brlkid left05:21
pm90_ joined05:21
rafaelcpalmeida left05:21
pheaver left05:22
joeyDB left05:22
pheaver joined05:23
n-st left05:24
JR___ joined05:24
pm90_ left05:25
kcm1700 joined05:25
sinkensabe joined05:28
Lewoco left05:29
Lewoco_ joined05:29
foulou joined05:29
irqq left05:29
irqq joined05:31
sinkensabe left05:32
intransit left05:40
intransit joined05:40
phretor joined05:41
enitiz left05:41
_0xAX joined05:42
JR___ left05:43
gfixler joined05:43
kcm1700 left05:44
kcm1700_ joined05:44
hafeez3000 left05:45
phretor left05:46
JR___ joined05:48
Bryzzle left05:49
ra0 joined05:49
nnyk left05:51
nardev joined05:51
scarabx joined05:51
intransit left05:52
fragamus joined05:53
EminenceHC joined05:53
joo-_ joined05:54
brucelee left05:56
dreiss left05:58
EminenceHC left05:58
EminenceHC joined06:01
madewokherd left06:01
k4rtik joined06:01
pretzel80 joined06:02
pretzel80 left06:02
nofxx joined06:03
kcm1700 joined06:04
kermit left06:06
kcm1700_ left06:06
zivester left06:06
kermit joined06:07
dik_dak left06:07
tpollard left06:07
nofxx How should I work this out: cloned a project and fixed a file, let's say it's branch 'fix'. Now I want to make a new feature let's say branch 'feature', but to work/test/run I need the 'fix'. How to work this in git? kinda temporary/hidden branch that should not be commited.06:08
joo-_ left06:08
kcm1700_ joined06:09
nofxx I mean, work on 'feature' using 'fix' but push those independently06:09
naught101 nofxx: from the feature branch, merge fix06:09
EminenceHC left06:09
naught101 then fix would get included in feature06:09
Marcus joined06:09
naught101 if the fix gets included by itself before you merge feature, then from feature, git rebase master06:10
eletuchy_ left06:10
MarcusGuest7385406:10
serum joined06:10
naught101 (or not, doesn't matter, the merge will include it anyway)06:10
depends how neat you want the history to look06:10
kcm1700 left06:11
JR___ left06:11
nofxx naught101, think I get it, experimenting, thank you. So rebase will remove fix from feature, so I push...06:12
lru joined06:12
lru anyone know offhand what actually happens at the "Unpacking objects" stage of a git fetch?06:13
Consuela joined06:14
beautifulmind left06:14
cannonball left06:15
rdbell joined06:17
hafeez3000 joined06:17
Error404NotFound joined06:17
rdbell left06:17
tarkus joined06:17
eletuchy joined06:18
lru nevermind.... looks like it is downloading stuff at that stage06:18
joeyDB joined06:18
zumba_ad_ joined06:19
skorgon joined06:19
Raging_Hog joined06:21
Guest73854 left06:22
zumba_addict left06:23
joeyDB left06:23
hafeez3000 left06:23
freezway joined06:23
freezway so I want to include my friends library which is in a git repo in my git repo06:24
like I want to use it. Whats the best way to have a repo inside a repo06:24
hafeez3000 joined06:26
skorgon !subprojects06:26
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.06:26
polyzen left06:28
sinkensabe joined06:29
bronson joined06:29
jmpp_ left06:30
saurabh joined06:31
saurabhGuest2891306:32
brucelee joined06:33
sinkensabe left06:33
freezway thanks06:34
pantsman- joined06:34
bronson left06:34
valeriansaliou joined06:34
Jason_p joined06:34
foulou left06:34
moparisthebest left06:35
moparisthebest joined06:35
kcm1700_ left06:35
HD|Laptop left06:36
kcm1700 joined06:38
valeriansaliou left06:39
PCatinean joined06:39
ThomasLocke joined06:40
HD|Laptop joined06:40
HD|Laptop left06:40
HD|Laptop joined06:40
kyb3r_ left06:40
hvxgr left06:43
naught101 lru: I imagine it's decomressing and sorting the stufd it's just downloaded06:43
jmpp_ joined06:44
daito left06:44
serum left06:44
daito joined06:45
Goplat left06:45
intransit joined06:45
valeriansaliou joined06:47
akiva joined06:48
daito left06:48
dts|pokeball left06:51
dts|pokeball joined06:51
craigp joined06:51
tjm_jimmy joined06:53
sorind joined06:53
JR___ joined06:53
sbogg left06:54
ohseap joined06:55
dreiss joined06:55
erickr joined06:56
freezway left06:56
pantsman- left06:56
c0ded joined06:57
nikio_ joined06:58
daito joined06:58
ohseap left06:59
jceb joined07:00
MLM left07:00
sbogg joined07:01
devoldmx joined07:03
tjm_jimm_ joined07:03
irqq left07:05
Silmarilion joined07:05
rafaelcpalmeida joined07:06
irqq joined07:06
twoface88 left07:06
tjm_jimmy left07:07
twoface88 joined07:07
rafaelcpalmeida left07:10
devoldmx left07:10
devoldmx joined07:10
intransit left07:11
raatiniemi joined07:12
ManikM left07:13
ManikM joined07:13
subhojit777 left07:13
hvxgr joined07:14
rath joined07:14
foulou joined07:17
Macaveli joined07:18
Kartagis hi07:19
joeyDB joined07:19
Kartagis git rm <filename> gives me fatal: pathspec <filename> did not match any files but it's there07:19
milki_ does git know about it?07:20
nikio_ left07:20
milki_ you can verify with git ls-tree HEAD -- /path/to/file07:20
nkouevda left07:21
milki_ if you dont see it in git status07:21
raatiniemi left07:21
scarabx left07:21
Kartagis milki_: oh, it has to be added first? okay07:21
milki_ yes07:21
iraj left07:21
k_sze[work] left07:23
VimFleed joined07:23
_0xAX left07:24
acolson joined07:24
joeyDB left07:24
skylite joined07:24
subhojit777 joined07:25
sinkensabe joined07:26
Gizburdt joined07:27
skorgon left07:28
joo-_ joined07:31
Anders_J joined07:32
osse Kartagis: no point in adding it just to remove it07:32
JR___ left07:35
pheaver left07:35
eletuchy left07:36
flowinho joined07:36
_0xAX joined07:36
GODDOG joined07:37
Duikb00t joined07:37
BlaXpirit joined07:39
otter768 left07:40
Gizburdt left07:41
booboy joined07:41
phretor joined07:41
_0xAX left07:42
JR___ joined07:43
Gizburdt joined07:45
D-Boy left07:46
sebhoss joined07:47
chimay joined07:47
D-Boy joined07:47
GODDOG left07:48
GODDOG joined07:48
joo--_ joined07:48
joo-_ left07:48
Gamecubic left07:49
J1G|Anon126 left07:51
anybroad_ joined07:52
greves left07:52
mlechner joined07:52
marthinal joined07:52
dreiss left07:52
Guest44731 joined07:53
EminenceHC joined07:53
DaisyTheCow joined07:54
DaisyTheCow left07:54
jagob joined07:54
dreiss joined07:54
jnewt1 joined07:54
jnewt1 am i here?07:55
kadoban No, you're there.07:55
Kartagis nope07:55
erickr left07:55
anybroad left07:56
eburcat joined07:56
Guest87023 joined07:56
Guest87023hxm07:56
jnewt1 network problems...07:56
iamjarvo left07:58
mkoskar joined07:58
EminenceHC left07:58
Gizburdt left08:00
GODDOG left08:00
bronson joined08:01
EminenceHC joined08:01
jnavila joined08:03
tokik left08:03
aswen joined08:05
bronson left08:05
akiva left08:05
DrHouse|DellM650 joined08:06
Gizburdt joined08:07
nilg joined08:08
EminenceHC left08:09
osfe joined08:12
VimFleed left08:13
hgl- joined08:15
regan joined08:15
blackmesa joined08:15
ra0 left08:15
hgl- left08:16
hgl- joined08:16
hgl left08:17
hgl-hgl08:17
nofxx left08:18
hexagoxel left08:19
daito left08:19
daito joined08:20
daito left08:20
joeyDB joined08:20
daito joined08:20
psoo joined08:21
netj left08:21
netj joined08:21
Marcus_ joined08:21
subhojit777 left08:22
Marcus_Guest9743408:22
GT left08:23
JR___ left08:23
joeyDB left08:25
nottombrown left08:28
nottombrown joined08:29
dts|pokeballblackmist08:29
seschwar joined08:29
seschwar left08:29
seschwar joined08:29
blackmistdts|pokeball08:29
AmR|EiSa left08:31
tvl joined08:32
Nickeeh I want git to show me what was not in the parents of a merge commit (so what was added in the commit)08:33
nnyk joined08:33
JR___ joined08:33
nottombrown left08:33
Nickeeh How do I do this?08:34
iraj joined08:34
DrHouse|DellM650 left08:34
blackmesa left08:34
chimay left08:35
osse Nickeeh: git show <merge commit> will do that08:35
or git diff --cc <merge commit>08:35
jadne joined08:35
albel727 left08:36
eletuchy joined08:37
jadne so i changed my username on github and now it won't let me push changes to my repository.08:38
git suggested that i instead try https:// instead of git:// but that was not met with any more sucess08:39
Nickeeh osse: ah, so 'git log --merges --format=%h | xargs git show' will show me all the merges and changes introduced therein, right? :D08:39
anbz left08:39
raatiniemi joined08:39
osse it should08:39
Nickeeh osse: thanks :)08:40
szx joined08:40
osse at least the ones reachable from HEAD08:40
ecky--ptang-zoob joined08:40
osse Nickeeh: try this though: git log --merges -p --cc08:40
subhojit777 joined08:40
Nickeeh osse: haha, nice :) Thanks08:40
Amandil joined08:41
tvltobiasvl08:41
Nickeeh When you get to know xargs, everything is a list passable to other commands.08:41
eletuchy left08:41
kadoban left08:43
sinkensabe left08:44
jnewt1 left08:44
HD|Laptop left08:44
jaydubya left08:47
sinkensabe joined08:51
hebz0rl joined08:51
nginx77 left08:54
rafaelcpalmeida joined08:54
hexagoxel joined08:55
hebz0rl left08:56
hebz0rl joined08:58
GGflags joined08:58
tobiasvl left09:01
Kicer86 joined09:02
shpoont joined09:02
rafaelcpalmeida left09:02
Amandil left09:03
CustosL1men joined09:04
Segfault_ joined09:04
dreiss left09:04
reim joined09:05
jmpp_ left09:05
harish left09:06
Segfault_ left09:09
nkouevda joined09:09
Segfault_ joined09:09
Gizburdt left09:09
fandi left09:11
netj left09:11
jnavila_ joined09:11
netj joined09:11
jnavila left09:11
Segfault_ left09:12
Segfault_ joined09:12
ManikM left09:12
ManikM joined09:13
nkouevda left09:14
phretor left09:14
GODDOG joined09:15
Segfault_ left09:16
bronson joined09:16
Segfault_ joined09:17
Segfault_ left09:17
Zamyatin left09:17
sbogg left09:17
astrofog left09:17
erickr joined09:18
Segfault_ joined09:18
Gizburdt joined09:18
liamkeily joined09:19
Nizumzen joined09:19
valeriansaliou left09:20
valeriansaliou joined09:20
valeriansaliou left09:20
JR___ left09:20
JR___ joined09:21
joeyDB joined09:21
bronson left09:21
teran joined09:23
phretor joined09:24
irqq left09:25
teran_ left09:25
marcogmonteiro joined09:25
CEnnis91 left09:25
joeyDB left09:26
irqq joined09:26
Tuna-Fish joined09:26
chiromante joined09:27
VimFleed joined09:28
nottombrown joined09:29
tvl joined09:30
nisseni joined09:30
tvltobiasvl09:30
_setuid joined09:30
phretor left09:30
jmpp_ joined09:31
asakura left09:32
nottombrown left09:34
ecky--ptang-zoob left09:34
Bombe joined09:34
reim_ joined09:35
setuid_ left09:35
erickr left09:35
crumpler joined09:35
Takle joined09:35
erickr joined09:36
asakura joined09:36
pacon joined09:37
reim left09:38
erickr left09:38
Macaveli left09:40
otter768 joined09:41
jottr_ joined09:43
otter768 left09:45
weiyang left09:46
eletuchy joined09:46
vtunka joined09:47
fandi joined09:48
s8321414 joined09:48
jmpp_ left09:50
mnml joined09:52
achadwick joined09:52
k_sze[work] joined09:52
hgl left09:53
sinkensabe left09:53
cbreak jadne: what do you mean with "doesn't let you"?09:53
EminenceHC joined09:54
cbreak jadne: git:// is a read only protocol, you can't push via it09:54
https is also read only normally, but there's a read-write version.09:54
but you need to reed the error messages09:54
hgl joined09:54
hgl left09:55
hgl joined09:56
reim_reim09:58
EminenceHC left09:58
dougsland joined09:58
nottombrown joined09:59
VimFleed left10:00
EminenceHC joined10:01
jstimm left10:02
nottombrown left10:04
jeffmjack left10:04
mezod joined10:04
Macaveli joined10:06
blackmesa joined10:07
GODDOG left10:08
beautifulmind joined10:09
EminenceHC left10:09
hahuang61 left10:13
teran_ joined10:15
gccostabr joined10:15
hyperair left10:15
okanck joined10:15
petersr joined10:16
DrHouse|DellM650 joined10:18
Jackneill joined10:18
teran left10:18
erickr joined10:18
Bombe left10:19
teran_ left10:19
metastableB joined10:20
jnavila_ left10:21
dm7freek left10:21
firestarter joined10:21
metastableB Hello. I added a feature to one repo I forked and created a pull request. One of the contributors went through the changes and asked me to do some modifications to the code (indentation and stuff)10:21
firestarterGuest2649910:21
joeyDB joined10:22
metastableB I made the changes to the local branch and pushed it10:22
Bombe joined10:22
metastableB now do I have to create a fresh pull request or will the existing one reflect the new changes ?10:22
cbreak that doesn't sound git related10:23
metastableB: did you ask them to merge a branch? or a commit?10:23
commit hashes never change, but branches can10:23
sinkensabe joined10:24
metastableB Let me make my question clearer , I'm new to git btw. I forked a repo and added a feature . Then created a pull request. Later I modified my repo again to improve the code. Now do I have to create a new pull request ?10:25
merge my branch to the master branch10:26
It was a minor feature addition10:26
joeyDB left10:26
learner left10:26
metastableB cbreak:10:27
cbreak git doesn't do forking, or feature requests10:28
you probably used something else10:28
maybe github?10:28
msm` joined10:30
metastableB yes github10:30
fragamus left10:30
cbreak don't know then. Can't you just look at the pull request there?10:30
metastableB I was under the impression they both were very related10:31
DrHouse|DellM650 left10:31
metastableB Ok I'll browse around a little bit more10:31
thanks10:31
bronson joined10:33
msm`` left10:33
cwillu_at_work joined10:35
jaydubya joined10:36
mikecmpbll joined10:37
sq-one joined10:37
Gama11 joined10:37
bronson left10:37
rendar joined10:37
raven-au left10:38
raven-au joined10:39
jaydubya left10:41
k_sze[work] left10:43
craigp left10:44
zumba_ad_ left10:45
tobiasvl metastableB: #github10:46
Gizburdt left10:46
tobiasvl but pull requests on github are requests to pull specific branches, as far as I know, so the pull request should be updated when you push the branch10:47
hgl left10:47
tobiasvl at least as far as I can remember. but #github can probably provide better help.10:47
erickr left10:47
echo-area left10:47
nicedice joined10:48
shodan` joined10:49
VimFleed joined10:49
jottr joined10:50
hgl joined10:50
metastableB tobiasvl :Thank you very much10:50
jottr_ left10:51
Gizburdt joined10:52
chiromante left10:52
nicedice hello everyone! problem: i have two files in the .git folder index and index.lock, is it ok to delete index lock (git cannot make a commit as it reports a problem)10:52
szx left10:52
canton7 nicedice, if you're sure git isn't open somewhere else doing something, sure10:53
..but if you do delete it, and git is open somewhere else, you're going to get some weird problems and corruption10:53
Walex joined10:53
nicedice thank you canton7 , what is the command to check my repository (i'm sure git is not open, but still)10:54
canton7 ps ax | grep git10:54
see if it's running anywhere10:54
...or if you're windows, check task manager10:54
nicedice ow, ok, thanks... windows is my case10:54
learner joined10:55
nnyk_ joined10:55
nnyk left10:55
RaceCondition joined10:57
Skapadapaduu joined10:58
shpoont left10:59
nottombrown joined11:00
kcj left11:00
metastableB I want to revert the last commit I made. git revert Head is the command ?11:01
tobiasvl metastableB: no, HEAD is the last commit you made.11:01
metastableB: !revert11:01
gitinfo metastableB: That's a rather ambiguous question... options: a) make a commit that "undoes" the effects of an earlier commit [man git-revert]; b) discard uncommitted changes in the working tree [git reset --hard]; c) undo committing [git reset --soft HEAD^]; d) restore staged versions of files [git checkout -p]; e) move the current branch to a different point(possibly losing commits)[git reset --hard $COMMIT]?11:01
creep joined11:03
joo--_ left11:03
s8321414 left11:03
s8321414 joined11:04
jottr left11:06
petersr left11:06
Gizburdt left11:07
nottombrown left11:07
valeriansaliou joined11:09
howlymowly joined11:09
shpoont joined11:10
shodan` left11:11
ManikM left11:13
ManikM joined11:13
valeriansaliou left11:13
cavallari joined11:14
kurkale6ka joined11:14
teran joined11:15
Amandil joined11:15
teran left11:21
Malsasa left11:21
Amandil left11:21
joeyDB joined11:22
crumpler left11:23
Error404NotFound left11:23
acolson left11:23
joo-_ joined11:23
Amandil joined11:24
cavallari left11:26
cavallari joined11:26
stamina joined11:27
joeyDB left11:27
sinkensabe left11:31
nvbknh joined11:32
FAMAS left11:33
CheckDavid joined11:33
FAMAS joined11:33
devoldmx left11:34
nvbknh left11:36
sq-one left11:36
dougsland left11:36
jceb left11:36
Kulrak left11:36
Floatingman left11:36
UKn0Meh left11:36
msonntag left11:36
netameta left11:36
kpreid left11:36
ghoti left11:36
zapb left11:36
zapb_ left11:36
Kartagis left11:36
ribasushi left11:36
rasto left11:36
gv left11:36
theneb left11:36
saidelike left11:36
tyteen4a03 left11:36
frdmn_ left11:36
levifig left11:36
lru left11:36
suigeneris joined11:36
lru_ joined11:36
yoh_ joined11:36
spb_ joined11:36
acolson joined11:36
chuck joined11:36
chuck left11:36
chuck joined11:36
autochthon left11:36
rasto joined11:36
theneb_ joined11:36
ciaranm_ joined11:36
jceb joined11:36
grawity joined11:36
spb_spb11:36
Kulrak joined11:36
Kulrak left11:36
Kulrak joined11:36
benbergman joined11:36
berndj joined11:36
osse joined11:37
suigenerisKartagis11:37
frdmn joined11:37
tyteen4a03 joined11:37
tyteen4a03 left11:37
tyteen4a03 joined11:37
kpreid joined11:37
netameta joined11:37
dougsland joined11:37
flughafen joined11:37
Kulrak left11:37
tvw joined11:37
ghoti joined11:37
nicedice_ joined11:37
UKn0Meh joined11:37
Floatingman joined11:37
Kulrak joined11:37
Kulrak left11:37
Kulrak joined11:37
King_Hual joined11:38
sq-one_ joined11:38
saidelike_ joined11:38
rafaelcpalmeida joined11:38
lewellyn joined11:38
eightyeight joined11:38
Rylee joined11:38
brucelee left11:39
s8321414 left11:40
nowhere_man joined11:40
s8321414 joined11:40
tm512 joined11:40
yazdmich joined11:40
tomleese joined11:40
SirCmpwn joined11:41
nicedice left11:41
myyst left11:41
PaulCapestany joined11:41
levifig joined11:41
malesca joined11:41
Guest26499 left11:41
moritz joined11:41
rotorooter joined11:41
myyst joined11:41
ihlcqe joined11:41
sebhoss left11:42
ruukasu left11:42
otter768 joined11:42
Gizburdt joined11:43
rafaelcpalmeida left11:43
aliouii_ joined11:43
ribasushi joined11:43
a-l-e joined11:44
Takle left11:45
brucelee joined11:46
plasticboy joined11:46
otter768 left11:46
Duikb00t left11:48
autochthon joined11:48
cagedwisdom left11:48
rajeerc joined11:49
Takle_ joined11:50
rajeerc left11:50
jazzzu joined11:51
fandi left11:53
netj left11:53
netj joined11:53
EminenceHC joined11:53
endiruna joined11:55
daito left11:57
EminenceHC left11:58
daito joined11:58
paulweb5151 left11:58
Takle_ left12:01
EminenceHC joined12:01
Zupoman joined12:01
pacon left12:02
daito left12:02
Gitzilla left12:03
hyperair joined12:03
nottombrown joined12:04
aswen left12:04
VimFleed left12:05
warthog9 left12:05
hyperair left12:06
aliouii_ left12:06
NosBit joined12:08
nottombrown left12:08
JR___ left12:08
EminenceHC left12:09
Laris joined12:10
iraj left12:11
chiromante joined12:11
warthog9 joined12:12
Gizburdt left12:12
shodan` joined12:12
Amandil left12:13
Takle joined12:13
Gizburdt joined12:14
sq-one_ left12:14
bsm117532 left12:14
brucelee left12:14
valeriansaliou joined12:15
thevishy joined12:16
Duikb00t joined12:16
teran joined12:17
mlechner how to get the recent core.ignorecase value of my git configuration?12:17
aswen joined12:17
Takle left12:17
mizu_no_oto joined12:18
mlechner is core.ignorecase repository specific? if i init a git repo on a ext vs. fat filesystem on the same machine?12:18
grawity all settings can be either global or repository-specific12:18
stamina left12:18
grawity depending on whether they're in a repo's .git/config or not12:18
canton7 iirc 'git init' sets core.ignorecase on a per-repository basis when it inits that repo?12:19
mkoskar left12:20
mlechner grawity, ok i found a ignorecase=true entry in my repo that has been initialized on fat but been moved to a ext file system this options stays on (of course). shall i edit the .git/config file or iss there a way using git tools/commands?12:21
bronson joined12:21
FreezingCold joined12:21
teran left12:22
Macaveli left12:22
jottr joined12:23
flowinho left12:23
joeyDB joined12:23
uwjesq joined12:24
uwjesq Hello, can I git init a directory that is in an ignored directory inside a repository?12:24
iveqy mlechner: man git config12:25
gitinfo mlechner: the git-config manpage is available at http://jk.gs/git-config.html12:25
jaydubya joined12:25
iveqy uwjesq: yes, but maybe you should see !submodules12:25
gitinfo uwjesq: [!submodule] git-submodule is ideal to add subsidiary git repositories to a git superproject when you do not control the subprojects or more specifically wish to fix the subproject at a specific revision even as the subproject changes upstream. See http://www.git-scm.com/book/en/Git-Tools-Submodules12:25
cvanball joined12:26
metastableB left12:26
bronson left12:26
uwjesq iveqy: The use case is slightly different to a submodule it is very unlikely to change from outside.12:26
Macaveli joined12:26
paul424 joined12:27
Guest44731greves12:28
jmpp joined12:28
joeyDB left12:28
jaydubya left12:29
petersr joined12:30
petersr left12:30
iveqy uwjesq: if there is a dependency between your both repos then sumodule is the way to go. How else would you know that your project only works with version X.Y.Z of the other project?12:30
FreezingCold left12:30
Guest28913 left12:30
FreezingCold joined12:30
uwjesq iveqy: The main repository is a viewer software and the subdirectory is content. So there is no dependency on the subdirectory.12:31
jaydubya joined12:31
Zamyatin joined12:31
nedbat I have core.ignorecase=true, and I'm on a mac. The remote has branches that differ only by case ("west" and "West"). Is there a way I can get "git fetch" to stop pulling down "West" over and over?12:32
NosBit since its ignored there shouldnt be any probs12:32
but there arent any risks to try out why dont you try it?12:32
nedbat NosBit: was that to me?12:32
iveqy uwjesq: I see, then I fully agree with you12:32
uwjesq iveqy: Ok, great.12:33
jmpp left12:33
iveqy NosBit: just tell fetch wich brances to fetch?12:34
warthog9 left12:34
iveqy /s/brances/branches12:34
NosBit it was for uwjesq12:34
uknowho joined12:34
uwjesq NosBit: I will. Thanks.12:35
lsiv568 joined12:36
warthog9 joined12:36
sebhoss joined12:38
icio joined12:39
bobmarchman left12:39
metastableB joined12:39
mikiones joined12:40
mlechner grawity, iveqy, thnx everything fine now12:40
freestyl3r joined12:41
warthog9 left12:41
mikecmpbll left12:41
Takle joined12:43
jceb left12:44
paulweb515 joined12:44
blackmesa left12:45
VimFleed joined12:45
JoshLope_ joined12:46
JoshLope_ Hello -- Me and some friends we are doing some website related to Anime -- www.loop-anime.com -- i would like to invite any1 here experienced with Symfony to contribute on the project -- send me a private message thank you :)12:46
nkouevda joined12:47
uwjesq JoshLope_: Are you on github?12:47
mezod left12:47
NosBit left12:47
basiclaser_ joined12:48
JoshLope_ uwjesq ya -- the project not lol -- right now we are mantaining the project on Bitbucket12:48
joo-_ left12:48
paulweb515 left12:49
soerenb joined12:49
valeriansaliou left12:49
a-l-e left12:49
Gizburdt left12:50
paulweb515 joined12:50
warthog9 joined12:51
Gizburdt joined12:51
nkouevda left12:51
tobiasvl JoshLope_: php :o12:52
SirCmpwn left12:52
SirCmpwn joined12:53
JoshLope_ tobiasvl any problem with that ? :)12:53
tobiasvl yes, but that's neither here nor there ;)12:53
cbreak php is the most crappy language that is actually used.12:53
vtunka left12:53
shodan` left12:54
uwjesq cbreak: Which aspect of it?12:54
vtunka joined12:54
uwjesq cbreak: Security? Execution time?12:54
tobiasvl all of the above12:54
grawity the design of the language itself, I'd guess12:54
(…or lack thereof.)12:54
cbreak http://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/ :D12:54
uwjesq: all of them? :)12:54
the language is terribly designed12:54
it has the wrong premise12:54
it is insecure because of that12:54
it is also slow because of that12:54
JoshLope_ grawity for some1 that pops up in the language mby -- but there is so many standart rules etc that actually makes it pratical12:55
cbreak it is not even standardized, nor documented, so it's merely a vendor language.12:55
Cryp71c joined12:55
grawity ah yes, standartized like C++ is an ISO standard? the "34 countries voted on the C++ filesystem module" made me chuckle.12:55
uwjesq cbreak: Which implementation of php do you mean?12:55
cavallari left12:55
Cryp71c if a local repo is behind by some commits, does 'git reset origin/trunk --hard' automatically pull in order to bring trunk up to date with origin/trunk?12:55
Milkweed joined12:56
cbreak uwjesq: there's only one. Because some language rules apparently say "just do it like in the zend engine"12:56
everything else isn't php, it's some derivate12:56
cavallari joined12:56
iveqy cbreak: because a good language is secure and fast? That's not necessarily a design goal valid to all languages. And even if I don't like php I would say it's harder to write good javascript than good php.12:57
uwjesq cbreak: I see. So it is 100% compatible but it is a derivate.12:57
Guest97434 left12:57
creep left12:57
iveqy Cryp71c: a git reset do not do pull. You need to do a git fetch and then a git reset12:57
mikecmpbll joined12:57
plasku joined12:57
uwjesq iveqy: Agreed.12:58
plasku Hi12:58
gitinfo plasku: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.12:58
cbreak uwjesq: it can't be compatible because the language can change under everyone elses asses12:58
jceb joined12:58
jast a flame war, here? what is the world coming to ;)12:58
cbreak jast: welcome to 201512:58
grawity NEW TOPIC: SVN VS BZR12:58
cbreak it's the year of flamewars on the desktop.12:58
uwjesq jast: Agreed.12:58
jast okay, I'm just going to close this channel... bye, everyone12:59
Cryp71c iveqy, wait you said that git reset doesn't pull, so what wold git fetch and then git reset do?12:59
iveqy puts the topic VIM vs EMACS in cue12:59
jast /msg chanserv git rm *12:59
osse Cryp71c: if you are strictly behind then the end result is the same12:59
uwjesq iveqy: lol12:59
grawity that's "/msg chanserv clear #git users"12:59
iveqy Cryp71c: a git fetch would fetch things from your remote and then a git reset would move your branch12:59
fstd left13:00
jast grawity: boring13:00
plasku I was tasked to clean up one of our repos, and now checkout any branch but master isn't working. Is there any way to restore "automatic" tracking of branches?13:00
jast what exactly isn't working?13:00
Cryp71c iveqy, got it...misconception on my part, I had always thought of "fetch" as "check the server for any updates I don't have" but it really is "fetch the updates from the server" it just doesn't update your HEAD13:00
fstd joined13:00
thessaly left13:01
iveqy Cryp71c: a git pull is a fetch followed by a git merge13:01
Cryp71c: Not sure what you mean the difference is between check the server and fetch the updates, but git fetch downloads the updates from the server13:02
Cryp71c iveqy, do you invest in the "pull should be avoided" opinion?13:02
(in preference for git fetch followed by some other action)13:02
looper left13:02
Zamyatin left13:02
iveqy Cryp71c: depends on who's asking13:02
looper joined13:03
iveqy Cryp71c: a git pull does stuff automatic, if you know what it does, then use it. If you don't have a clue, then your should use fetch and merge.13:03
joo-_ joined13:03
sburgess joined13:03
iveqy Cryp71c: however I'm of the opinion that you should really know your worktools, so every good developer should be able to use git pull. However we all know that the world isn't full of good developers, so sometimes it is valid to recommend git fetch and git pull13:04
sometimes a usb-stick passed around is also superior to git, I've learned that the hard way...13:05
uwjesq left13:05
Cryp71c iveqy, orly, how so?13:05
(i'm curious for your experience)13:05
iveqy Cryp71c: using git (on windows) with developers not familiar with version control, with a graphical (non mergeable) files, was a disaster13:06
Cryp71c: using git collaborating on word documents with non-computer people is also a disaster13:06
eburcat_ joined13:07
Cryp71c iveqy, back on my original question, after you've fetched reseting to trunk (vs origin/trunk) is the same thing?13:07
eburcat left13:07
bsanford joined13:07
iveqy Cryp71c: no, origin/trunk and trunk isn't the same (or rather, a git fetch doesn't make them the same)13:07
jatt joined13:08
Cryp71c iveqy, got it...I'm sort of facing that, except with our CIO who has barely gotten by with svn and can't realy grasp git it seems.13:08
jatt left13:08
jatt joined13:08
Cryp71c iveqy, sorry to keep bothering you, could you enlighten me? I fear I've misconstrued something here then.13:08
jast resetting to the upstream branch is the same *if* you haven't made any commits/changes yourself13:08
tobiasvl origin/trunk is a !remote_tracking branch13:08
gitinfo [!remote_tracking_branch] Remote-tracking branches (branches which start with e.g. 'origin/', listed by 'git branch -r') are read-only mirrors of the corresponding branches in another repository. They're updated by 'git fetch'. You can't edit them directly (trying to check them out results in a !detached HEAD), but you can create a new local branch based on a remote-tracking branch using e.g. 'git checkout -b <branch> <remote13:08
Takle left13:08
Cryp71c jast, ok, that makes sense. That is the situation I'm in, but I haven't said that so iveqy doesn't knwo that.13:09
jast, no local commits (or at least, there shouldn't be)13:09
jast if you do have changes, reset will make them disappear, whereas pull/merge will try to combine them with the new stuff13:09
Cryp71c jast, what if I git fetch and git reset but there are local commits (that are behind origin/trunk)?13:09
iveqy Cryp71c: then maybe you should consider using SVN for your CIO and just use git as a SVN client. (or make sure to get a nice GUI for your CIO). I don't know your case but at #daywork we stick to SVN because most of the team members won't benefit from git, just the software guys13:10
Cryp71c: then they will be "throwed away"13:10
!talks13:10
gitinfo Some good video talks about Git: [yt] http://goo.gl/z72s (Linus Torvalds: History&Concepts); [yt] http://goo.gl/R9H2q (Scott Chacon: Git basics, live examples); http://vimeo.com/35778382 (Randal Schwartz: Git basics, descriptional); http://vimeo.com/46010208 (Jesica Kerr: Git basics, descriptional)13:10
a_le left13:11
iveqy Cryp71c: listen to Jesica Kerr, she will tell you all about git reset in a very good way13:11
jast Cryp71c: reset truncates history. if you reset to 'foo', then afterwards your current branch will have exactly the same history as 'foo'.13:11
you can even use this to change absolutely everything about a branch13:11
GODDOG joined13:12
jast (by resetting to something totally different)13:12
Gizburdt left13:12
flughafe1 joined13:12
Gizburdt joined13:12
Cryp71c iveqy, got it, I'll put some on now.13:12
ManikM left13:12
ManikM joined13:13
osse eg. git reset --hard 8376afb79e99395e26fdb8f12d4d2088e46ede2b13:13
stfn joined13:14
ciaranm_ciaranm13:15
GODDOG left13:16
scampbell joined13:17
teran joined13:18
_setuidsetuid13:18
gitinfo set mode: +v13:18
plasku Is there a setting in git to automatically track all remote branches on a new git clone?13:21
GODDOG joined13:22
segfalt left13:22
liamkeily left13:22
plasku My repo doesn't seem to like it13:22
osse that's default13:22
teran left13:22
osse do you mean to create local corresponding branches? Then no.13:22
iveqy plasku: for remote in `git branch -r `; do git branch --track $remote; done13:24
canton7 and, honestly, you probably don't want that13:24
zapb_ joined13:24
gv joined13:24
gv left13:24
gv joined13:24
VimFleed left13:24
iveqy plasku: but as canton7 says, you don't want that.13:24
plasku I just want it for our staging and experimental branches.13:24
joeyDB joined13:24
canton7 if you've got a local branch you're not actively working on, it's going to be out of date13:24
msonntag joined13:24
canton7 you can always use origin/whatever for log, diff, etc13:25
VictorBjelkholm joined13:25
plasku Thanks!13:25
Kartagis left13:26
Marcus_ joined13:26
Jason_p left13:26
Marcus_Guest4897113:27
warthog9 left13:27
wowaname joined13:27
Anders_J left13:27
plasku I don't understand this behavior though, when I do a git clone from scratch, and try to git checkout experimental- it just stays on master and no error is output.13:27
iveqy plasku: !repro13:28
gitinfo plasku: [!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%.13:28
plasku Okay, one moment13:28
brandonw joined13:28
joeyDB left13:29
irqq left13:30
warthog9 joined13:31
irqq joined13:31
plasku https://gist.github.com/eivindj/8be8714808f9f883a8d313:31
interrobangd joined13:31
plasku I'm missing something obvious, I bet.13:31
ruukasu joined13:31
osse weird that you don't see an error after than checkout then13:32
canton7 plasku, output of 'git branch -a'13:32
osse did you expect to see "Branch stage set up to track ..…" ?13:32
craigp joined13:33
plasku http://paste.lisp.org/display/14507913:33
osse: It does for all the other branches13:34
That's a truncated branch -a13:34
CheckDavid left13:34
canton7 plasku, are you sure that's the entire output13:34
plasku, git indicated that 2021-recycle-pins existed on the remote, but your output suggests it doesn't13:35
riceNbeans joined13:35
dialeth left13:35
plasku It's there13:35
Thanks for rubber ducking, I think I solved it.13:35
osse is remotes/origin/stage there too ?13:35
canton7 remotes/origin/2021-recycle-pins doesn't exist13:35
in your output13:35
plasku My colleague added a bunch of folders, amongst them 'stage'13:35
canton7 aah, it is truncated. PLEASE NEVER MODIFY OUTPUT when you paste it13:36
plasku so git checkout stage doesn't work13:36
riceNbeans how do I pull? Git pull -u origin master? or git pull origin master? I'm not sure what clause I might need.13:36
plasku git clone13:36
osse plasku: ahh.. 'git checkout stage --' BAM!13:36
canton7 you don't know what we're looking for - anything you cut out is almost guarenteed to send us down the wrong path, and waste everyone's time13:36
plasku Anyways, sorry for wasting your time. I'm stupid.13:36
apurcell joined13:36
canton7 plasku, 'git checkout branch', where branch does not exist locally but does exist on a remote, is an example of magic13:36
plasku, the correct command is something like 'git checkout -b branch origin/branch'13:37
kakku joined13:37
canton7 git's gone "is there a local branch stage? no. is there a folder called stage? yes. ok, I'm working in file mode, and not trying to create branches"13:37
harish joined13:37
riceNbeans how do I pull? Git pull -u origin master? or git pull origin master? I'm not sure what clauses I might need.13:37
iveqy riceNbeans: it depends on what you want. What do you want to do?13:37
liamkeily joined13:37
jceb left13:37
gitinfo set mode: +v13:37
plasku canton7: yeah, I understand, thanks for the help!13:38
chiromante left13:38
riceNbeans iveqy: get the code from my git repo. I believe it's the origin master in my foler already becase I've pushed to it from this folder already13:38
dannymichel joined13:38
Dorf joined13:38
iveqy riceNbeans: then a git pull should do the trick13:39
riceNbeans iveqy: that's it? I'll try it :)13:39
eletuchy left13:39
sinkensabe joined13:39
smccarthy joined13:39
wachterjohannes joined13:39
ghoti left13:39
eletuchy joined13:40
apurcell left13:40
otter768 joined13:43
boblee joined13:43
boblee left13:43
boblee joined13:43
flughafe1 left13:43
kakku My friend and I are experimenting with git flow and I encountered a problem, He is working on a feature branch (feature/F1) and rebasing on top of the main line of development (develop) every morning. I took a branch from his branch (feature/F1improvement). Is it ok to rebase on top of his branch? Currently, whenever he rebases, I have to rebase also but we are getting duplicate commits on my branch13:43
metastableB left13:44
sinkensabe left13:44
sinkensabe joined13:44
mikiones left13:44
ghoti joined13:44
iveqy kakku: duplicate commits? Could you elaborate on that?13:45
eletuchy left13:45
pm90_ joined13:45
sinkensa_ joined13:46
pm90_ left13:46
riceNbeans is atmosephere the defacto package manager?13:46
sry wrong sub13:46
polyzen joined13:47
sq-one joined13:47
pm90_ joined13:47
metastableB joined13:47
otter768 left13:47
dangerousdave joined13:47
mikiones joined13:48
kakku iveqy: Let's say he commits A, B and C. On my branch I have P and Q. When he rebases his branch on develop, he uses force push (this will change the history and move his branch on top of the develop). When I rebase my branch on top of his I can still see his commits as parent commits of P and Q.13:48
intransit joined13:49
ohseap joined13:49
sinkensabe left13:49
kakku iveqy: therefore we are getting conflicts on his rebased history13:49
moparisthebest left13:49
tmcmahon joined13:49
spb yes, this is why force push is considered harmful13:49
okanck left13:49
ap0c left13:49
jceb joined13:50
hoijui_ joined13:50
DrSkyLizard joined13:51
Milkweed left13:51
j416 kakku: in that case, use rebase --onto13:52
kakku j416: thanks, let me try it out13:52
naught101 left13:52
PCatinean_ joined13:52
j416 kakku: git checkotu yourbranch; git rebase --onto <newbase> <oldbase>13:52
nottombrown joined13:53
j416 where yourbranch is your branch, <newbase> is the new branch you want to base your work on, <oldbase> is the last old commit before you started your work13:53
EminenceHC joined13:53
j416 checkout*, sorry13:53
dannymichel left13:54
tmcmahon left13:54
j416 kakku: the real solution is to stop rewriting things on which others have based work on13:54
vtunka left13:54
j416 kakku: or rather, stop basing your work on stuff that may be rewritten.13:54
moparisthebest joined13:55
j416 kakku: it'll increase the risk of bugs in your code.13:55
sieve joined13:55
PCatinean left13:55
kakku j416: so what is an ideal workflow to use when working on feature branches taken from other feature branches?13:56
j416 kakku: because every time you rebase, you are rewriting your code on top of a new base; and if that base has also changed, who knows how that affects your new code.13:56
kakku: don't.13:56
sieve How might a take a subdirectory of git A foo/ and make it a subdirectory of git B bar/13:56
retaining the history13:56
roger_raymond left13:56
Zentdayn joined13:56
roger_raymond joined13:57
mizu_no_oto left13:57
j416 kakku: have an integration branch with stable things that is never rewritten.13:57
nottombrown left13:57
EminenceHC left13:58
dm7freek joined13:59
PCatinean_PCatinean13:59
kakku j416: so if a huge feature needs to be implemented a branch (stable/featureHuge) it is taken from develop and all mini features (related to featureHuge) will be taken from this branch and merged back into this branch13:59
j416: right?13:59
hyperair joined13:59
j416 kakku: that's how I would do it.13:59
kakku: but I would avoid huge feature branches if I can.14:00
kakku j416: and have if a bug fix was committed on develop, how am I going to get it on the stable branch?14:00
shinnya_ joined14:00
j416 kakku: don't fix it on develop, fix it on git merge-base develop stable/featureHuge14:00
kakku: then merge to develop and stable/featureHuge14:01
EminenceHC joined14:01
j416 kakku: but you'll want to merge stable/featureHuge to develop every now and then anyway14:01
kakku: or you'll end up with code rot14:01
kakku: http://en.wikipedia.org/wiki/Feature_toggle14:01
freimatz joined14:01
j416 kakku: use that if you can.14:01
vtunka joined14:02
achadwick left14:02
beautifulmind left14:02
th3fallen joined14:04
dm7freek left14:04
m0nkmaster joined14:04
jgardella left14:05
m0nkmaster left14:05
kakku j416: In fact we are already using feature toggle, maybe we should stop using feature branches14:05
kotk_ joined14:06
kotk left14:06
kakku j416: the thing is that on this project we have more than 10 developers working at the same time14:06
j416 don't stop using feature branches14:07
kakku j416: we started experimenting with feature branches so that everyone will have like an 'isolated' code base14:08
j416 we use per-developer namespaces14:08
that works quite well14:08
j416 afk a bit14:08
nullie joined14:08
dangerousdave left14:09
jason237 joined14:09
bobmarchman joined14:10
EminenceHC left14:10
iveqy j416: isn't per developer namespaces just using git as a backup tool? You always have developer branches locally on your computer. Why share them? If you share them they should be feature branches, right?14:10
bronson joined14:10
beautifulmind joined14:11
bsanford left14:11
jerius joined14:12
saint-ron joined14:12
zapb__ joined14:12
s8321414 left14:12
tjm_jimm_ left14:13
Gizburdt left14:14
bsanford joined14:14
bronson left14:14
setuid left14:16
bobmarchman left14:16
setuid joined14:16
iamjarvo joined14:16
jmpp joined14:17
teran joined14:18
Gizburdt joined14:18
darkbasic left14:18
Patch joined14:19
CEnnis91 joined14:20
j416 iveqy: I don't see how publishing them is a bad thing14:20
darkbasic joined14:20
j416 iveqy: it's also a nice way to share work14:20
intransit left14:21
j416 iveqy: and do code review14:21
saint-ron left14:21
j416 afk again14:21
jmpp left14:21
Zamyatin joined14:22
iveqy j416: but if you do share (work and doing reviews) them, what differs them from beeing feature branches? (not critizing your workflow, just trying to learn from you)14:23
teran left14:23
hafeez3000_ joined14:24
Zentdayn left14:24
hafeez3000 left14:24
hafeez3000_hafeez300014:24
Guest9358 joined14:24
sieve left14:24
javaJake joined14:24
Guest9358daynaskully14:24
sieve joined14:25
joeyDB joined14:25
kstuart left14:26
kristofferR joined14:28
kukks joined14:28
kukks left14:28
kukks joined14:28
knownasilya joined14:28
joeyDB left14:30
Takle joined14:30
tonyj joined14:32
metastableB left14:32
johnkevinmbasco joined14:32
iamjarvo left14:33
hafeez3000 left14:33
smccarthy left14:34
Zamyatin left14:35
saint-ron joined14:35
nkouevda joined14:36
msmith_ joined14:36
drupald joined14:36
Dougie187 joined14:37
valeriansaliou joined14:37
icio_ joined14:38
wachterjohannes left14:39
Zentdayn joined14:40
eletuchy joined14:40
nkouevda left14:40
cannonball joined14:41
wachterjohannes joined14:41
saint-ron left14:41
icio left14:41
Peuc left14:42
valeriansaliou left14:42
mizu_no_oto joined14:42
saint-ron joined14:42
nginx77 joined14:43
hafeez3000 joined14:43
IrishPrime joined14:44
denete joined14:44
eletuchy left14:44
mezod joined14:45
lsiv568 left14:47
kristofferR left14:47
VimFleed joined14:48
Zamyatin joined14:48
beckyconning_ left14:48
nginx77 left14:48
jpoirier joined14:48
jpoirier left14:49
beautifulmind left14:49
AaronMT joined14:49
denete left14:50
hafeez3000_ joined14:50
Zentdayn left14:50
hafeez3000 left14:51
hafeez3000_hafeez300014:51
HandheldPenguin` joined14:51
denete joined14:51
bannakaffalatta joined14:52
lsiv568 joined14:54
GrupoCITEC joined14:54
hafeez3000_ joined14:55
hafeez3000 left14:55
hafeez3000_hafeez300014:55
kakku left14:55
ruukasu left14:55
kakku joined14:55
gitinfo set mode: +v14:55
tystr joined14:56
icio_ left14:57
Trudko joined14:57
macabre joined14:57
s00pcan_ joined14:58
icio joined14:58
jatt left14:59
Bpit joined14:59
jatt joined14:59
Zamyatin left14:59
jatt left14:59
jatt joined14:59
dannymichel joined15:00
denete left15:00
fandi joined15:00
bobmarchman joined15:01
bobmarchman left15:01
bobmarchman joined15:01
denete joined15:01
vtunka left15:01
DrHouse|DellM650 joined15:02
k4rtik left15:03
bobmarchman left15:03
vtunka joined15:03
joeyDB joined15:04
phantomtiger joined15:04
Peuc joined15:04
ruukasu joined15:06
Amandil joined15:06
affa09 joined15:06
kukks left15:06
joo-_ left15:06
bobmarchman joined15:07
chrisgeo joined15:07
kevwil joined15:07
joo-_ joined15:08
nottombrown joined15:09
cvanball left15:09
cavallari left15:09
Milkweed joined15:10
Zamyatin joined15:10
rchavik left15:10
hoijui_ left15:10
craigp left15:10
Consuela left15:11
bannakaffalatta left15:11
sieve left15:11
lsiv568 left15:12
fragamus joined15:12
Manny joined15:13
ManikM left15:13
nottombrown left15:13
autochthon left15:14
zivester joined15:14
klusias joined15:15
hoijui_ joined15:16
Neozonz joined15:16
klusias hello. is there any good book or tutorial about *advanced* git features, like merging, rebasing, branches?15:16
tobiasvl !book15:17
gitinfo There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable15:17
PerlJam klusias: those aren't advanced features. Those are every-day bread and butter features.15:17
trey left15:17
dannymichel left15:17
PerlJam klusias: read the book that gitinfo recommends :)15:17
Bpit left15:18
daivyk joined15:18
thevishy left15:18
Zamyatin left15:19
teran joined15:19
sbogg joined15:19
wrouesnel joined15:19
autochthon joined15:19
hoijui_ left15:21
tranzfuse joined15:21
medgno joined15:21
subhojit777 left15:22
teran left15:24
iamjarvo joined15:24
subhojit777 joined15:25
apurcell joined15:25
CheckDavid joined15:26
Ankhers joined15:26
kukks joined15:26
kukks left15:26
kukks joined15:26
zivester left15:27
hyperair left15:27
listochkin joined15:28
thedodd joined15:28
Segfault_ left15:28
Segfault_ joined15:29
apurcell left15:30
paul424 left15:30
pm90_ left15:30
kstuart joined15:30
nottombrown joined15:30
cavallari joined15:31
ehmatthes joined15:33
hoijui_ joined15:33
Akagi201 left15:33
Akagi201 joined15:33
scampbell left15:34
zumba_addict joined15:34
EminenceHC joined15:35
valeriansaliou joined15:35
Zamyatin joined15:36
kakku !bottomup15:36
gitinfo 'Git from the bottom up' starts with explaining the building blocks of git and proceeds to tell you how they fit together. http://ftp.newartisans.com/pub/git.from.bottom.up.pdf (http://ikke.info/git.from.bottom.up.pdf)15:36
Zamyatin left15:37
kakku !designers15:37
gitinfo 'Git for Web Designers' is a quick "Who why what when how" on VCS and git: http://www.webdesignerdepot.com/2009/03/intro-to-git-for-web-designers/15:37
Zamyatin joined15:38
lsiv568 joined15:38
d10n-work joined15:38
jwest joined15:39
kakku !gcs15:39
gitinfo [!concepts] "Git Concepts Simplified" explains the basic structures used by git, which is very helpful for understanding its concepts. http://gitolite.com/gcs.html15:39
Zamyatin left15:39
dannymichel joined15:39
EminenceHC left15:39
Zamyatin joined15:40
Takle left15:40
kakku !cs15:40
gitinfo "Git for Computer Scientists" is a quick introduction to git internals for people who are not scared by phrases like Directed Acyclic Graph. http://eagain.net/articles/git-for-computer-scientists/ See also !concepts !bottomup15:40
nginx77 joined15:40
eletuchy joined15:41
nginx77 left15:41
nowhere_man left15:42
Zamyatin left15:43
aberrant !parable15:43
gitinfo 'The git parable' provides some good reasoning behind git. http://tom.preston-werner.com/2009/05/19/the-git-parable.html15:43
nginx77 joined15:43
otter768 joined15:44
Takle joined15:44
vlovgr left15:44
zumba_addict left15:44
vlovgr joined15:44
vlovgr left15:44
vlovgr joined15:44
smccarthy joined15:45
eletuchy left15:45
nnyk joined15:46
zumba_addict joined15:46
jceb left15:46
DrHouse|DellM650 left15:46
kakku !gitt15:47
gitinfo A book designed to teach people about Git in a real world usage model. The book follows a fictional company as they implement and learn about Git. Covers all 21 standard Git commands. Available for free at http://cbx33.github.com/gitt/15:47
kakku !vcbe15:47
gitinfo 'Version Control By Example' gives a good overview of the different VCSes available. The author will even mail you a dead-tree copy for free. http://ericsink.com/vcbe/15:47
wachterjohannes left15:47
hafeez3000 left15:47
dm7freek joined15:47
subhojit777 left15:48
otter768 left15:48
nnyk_ left15:48
jatt left15:49
smccarthy left15:49
sbogg left15:49
sinkensa_ left15:50
alekks joined15:50
HoMM joined15:50
hyperair joined15:50
dannymichel left15:51
nilg left15:51
valeriansaliou left15:52
EminenceHC joined15:52
dm7freek left15:53
scientes left15:53
alekks left15:55
SumDude joined15:56
interrobangd left15:56
GODDOG left15:57
mlechner left15:57
chrisshattuck joined15:57
EminenceHC left15:57
daivyk left15:57
kukks left15:57
albel727 joined15:58
devoldmx joined15:58
mahtennek joined15:59
serum joined15:59
DrSkyLizard left15:59
axl_ joined15:59
bronson joined15:59
kpease joined15:59
VimFleed left16:00
seschwar left16:00
devoldmx_ joined16:00
devoldmx left16:00
acolson left16:00
Silmarilion left16:00
Noldorin joined16:01
EminenceHC joined16:01
smccarthy joined16:02
ojacobson joined16:02
subhojit777 joined16:02
johnkevinmbasco left16:03
kpease_ joined16:03
MLM joined16:03
bronson left16:04
devoldmx_ left16:04
sieve joined16:04
asturel joined16:04
Gizburdt left16:05
EminenceHC left16:05
devoldmx joined16:05
EminenceHC joined16:05
hexagoxel left16:05
ThomasLocke left16:06
tang^ joined16:06
dangerousdave joined16:06
kpease left16:06
iamjarvo left16:06
gchristensen joined16:07
gchristensen Hi, is it correct to assume that sparse checkout won't impact the amount of data which is cloned?16:07
FAMAS left16:09
osse yes16:10
nisseni left16:11
zumba_addict left16:11
zumba_addict joined16:11
Amandil left16:12
kpease_kpease16:13
pm90_ joined16:14
Spacew00t joined16:14
chrisshattuck left16:15
dangerousdave left16:16
subhojit777 left16:16
joo-_ left16:16
zumba_addict left16:17
zumba_addict joined16:17
KeelOfSteel left16:17
chrisshattuck joined16:18
Raging_Hog left16:18
kpeasekpease_16:19
acharlieh joined16:19
joo-_ joined16:19
luksaur joined16:19
luksaur left16:19
luksaur joined16:19
Gamecubic joined16:19
Macaveli left16:19
teran joined16:20
bobmarch_ joined16:20
mahtennek left16:20
jaydubya left16:20
jaydubya joined16:21
Segfault_ left16:21
Segfault_ joined16:22
Ankhers` joined16:22
dangerousdave joined16:22
Ankhers left16:22
bobmarchman left16:22
dangerousdave left16:23
jmpp joined16:24
teran left16:24
nkouevda joined16:25
moviuro_ joined16:25
jaydubya left16:25
zumba_ad_ joined16:25
sq-one left16:26
Segfault_ left16:27
moviuro left16:27
zumba_addict left16:27
Guest48971 left16:27
joelm joined16:27
eburcat_ left16:27
pm90_ left16:28
jmpp left16:28
saint-ron left16:28
pm90_ joined16:28
subhojit777 joined16:29
m0f0xnanga16:29
nkouevda left16:29
eburcat joined16:30
zumba_ad_ left16:30
Segfault_ joined16:30
saint-ron joined16:30
sparr joined16:31
zumba_addict joined16:31
paulweb515 left16:31
neunon left16:31
zumba_addict left16:32
neunon joined16:32
jaydubya joined16:32
Segfault_ left16:33
Segfault_ joined16:33
Duikb00t left16:33
sebhoss left16:34
kpease_kpease16:34
eburcat left16:34
zumba_addict joined16:34
Segfault_ left16:35
shreyas1 joined16:35
b4rbz joined16:36
ReekenX left16:36
Bootinbull joined16:36
rasto left16:37
kpeasekpease_16:37
jaydubya left16:37
diamonds joined16:37
n-st joined16:37
diamonds I used git rm --cached to remove the index file which I no longer need but am keeping for now for reference16:38
http://hastebin.com/raw/gisicezino16:38
why is git calling it "modified"?16:38
osse "the index file"? is that index.html by any chance? index.js is the one that is modified16:39
gchristensen left16:39
iamshercoder joined16:39
eletuchy joined16:41
diamonds heh...16:41
kadoban joined16:42
diamonds backs out of room quietly16:42
mizu_no_oto left16:42
jceb joined16:42
osse ^_^16:42
kpease_kpease16:42
kpeasekpease_16:42
devoldmx left16:43
acharlieh left16:43
Takle left16:43
lsiv568 left16:43
a_le joined16:43
CustosL1men left16:43
tranzfuse left16:44
flugo joined16:44
Segfault_ joined16:44
Segfault_Segfault_|away16:45
deryni joined16:45
eletuchy left16:46
nisseni joined16:48
kpease_kpease16:48
Takle joined16:48
ehmatthes left16:49
FAMAS joined16:50
vurma joined16:50
jonmorehouse joined16:50
ruukasuu joined16:51
ruukasu left16:51
ruukasuu left16:51
asdofindia joined16:51
vurma left16:51
Segfault_|away left16:52
Tabmow joined16:52
kpeasekpease_16:52
gfixler left16:52
livingstn joined16:53
Inv1s1ble joined16:54
skemper_ joined16:54
FAMAS left16:55
ruukasu joined16:55
FAMAS joined16:55
FAMAS left16:55
Ankhers`Ankhers16:58
Acidnerd joined16:58
nisseni left16:58
paulweb515 joined16:58
devoldmx joined16:58
lsiv568 joined16:59
DolphinDream joined17:00
shreyas1shrey17:00
mezod left17:01
ChanServ set mode: +o17:01
blackmesa joined17:01
kpease_kpease17:01
Eugene changed the topic to: Welcome to #git, the place for git help and identity crises | Current stable version: 2.2.1 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | No, I'm gitticus!17:01
Eugene set mode: +vvvv17:02
Macaveli joined17:02
Eugene set mode: -o17:02
leeN joined17:02
zumba_addict left17:02
DolphinDream what's new in 2.2.1 vs 1.9.1 ? :)17:02
affa09 left17:03
kpeasekpease_17:03
ihlcqe left17:03
kpease_kpease17:04
rcampbel3 joined17:04
wrouesnel left17:05
Eugene https://git.madeitwor.se/git/tree/master/Documentation/RelNotes/17:05
fresham joined17:06
kpeasekpease_17:06
french joined17:07
Sasazuka_work joined17:08
plutt joined17:09
DolphinDream Eugene, thx. btw. what are the major changes since 1.9.x ? is it worth updating to 2.2.x ?17:09
saint-ron left17:09
Eugene Stay with a !package17:09
gitinfo [!packaged] Unless you have a specific technical need for the "latest and greatest" you should go with a packaged version. Compiling and installing your own is not something that we will walk you through or troubleshoot (though it *is* fairly easy for developers with GNU/Linux experience).17:09
DolphinDream ah.. bliss.17:10
jonmorehouse left17:11
nowhere_man joined17:12
Quevin joined17:12
imachuchu joined17:12
Manny left17:13
ManikM joined17:13
joo-_ left17:14
apurcell joined17:14
jnavila joined17:15
subhojit777 left17:15
jaydubya joined17:15
rishi joined17:16
FAMAS joined17:16
FAMAS left17:16
FAMAS joined17:17
FAMAS left17:17
FAMAS joined17:18
FAMAS left17:18
FAMAS joined17:18
FAMAS left17:18
psoo left17:18
apurcell left17:19
FAMAS joined17:19
maletor joined17:19
githash joined17:19
DolphinDream is git branch newBranch a new feature? i thought you use git checkout -b newBranch to create branches17:19
kakku left17:19
gitinfo set mode: +v17:19
fresham If a dev creates a feature branch, a few commits happen to develop, pulls from develop to feature (non-ff-merge), a few commits happen to develop, then merges to develop, will the work done on develop after the merge commit be overwritten?17:20
icio left17:20
teran joined17:21
githash hii - if i make 2 commits, and then reset back to the 1st commit and then make a commit. does that overwrite my original 2nd commit ?17:21
ojacobson DolphinDream: no, 'git branch <name>' has been around as long as 'git branch' has.17:21
'git checkout -b' checks out the new branch as well, which most people want17:22
Sasazuka_workSasazuka_17:22
Sample joined17:22
jatt joined17:22
ojacobson 'git branch <name>' creates it (at HEAD, by default, though you can specify) but does not check it out17:22
DolphinDream ohh.. gotcha. thx ojacobson17:22
jatt left17:22
jatt joined17:22
DolphinDream never used it17:22
githash anyone ?!17:23
soerenb githash, if you reset back you already discarded the second commit17:23
DolphinDream i'm playing with the try.github.io :) and one of the commands was git branch newBranch17:23
joshin4colours joined17:23
DolphinDream not that i needed to "try" git .. but i was curious to checkout the new learning tool17:23
joshin4colours hello17:23
nofxx joined17:23
githash soerenb: aaah yes. makes sense. thanks17:24
joshin4colours does any one have any sources/benchmarks for when performance of a git repo starts to degrade?17:24
_0xAX joined17:24
joshin4colours in terms of no of commits, no of branches, etc?17:24
ojacobson depending on which metrics you care about, it degrades immediately.17:24
githash left17:24
CheckDavid left17:24
ojacobson Most of git's internal algorithms scale linearly with the number of something.17:24
Repack (and thus git-gc) is probably the biggest exception, because of delta-encoding; git-push and git-fetch are affected by repacking, too17:25
jds joined17:25
joshin4colours ojacobson: ok, understood17:25
teran left17:25
joshin4colours I guess I mean at what point does a repo's commands become much less usable? (ie noticably slower)17:26
pheaver joined17:26
vtunka left17:26
mezod joined17:26
iraj joined17:26
KeelOfSteel joined17:26
joel_falcou joined17:27
bg__ joined17:28
shpoont left17:28
s00pcan_ left17:29
Nizumzen left17:29
Gizburdt joined17:30
bronson joined17:30
encod3 joined17:30
mikecmpbll left17:31
zumba_addict joined17:31
kurkale6ka left17:32
liamkeily left17:32
mellernoia joined17:33
subhojit777 joined17:33
desposo joined17:34
wowaname left17:34
erickr joined17:34
saint-ron joined17:34
bronson left17:35
jatt left17:35
saint-ron left17:35
PeterBooker joined17:37
dm7freek joined17:37
ghoti left17:38
dreiss joined17:38
rafaelcpalmeida joined17:38
intransit joined17:39
skylite left17:39
ecky--ptang-zoob joined17:39
rafaelcp_ joined17:39
Muzer left17:39
rafaelcpalmeida left17:39
erickr left17:40
Takle left17:40
Segfault_ joined17:41
valeriansaliou joined17:41
dm7freek left17:41
ghoti joined17:42
eletuchy joined17:42
sieve left17:42
squeegily joined17:43
tranzfuse joined17:44
squeegily I have two files with changes that have not been staged yet. I want to stage the changes to one file, and revert/discard the other file to its state as of the last commit17:44
otter768 joined17:45
fresham If Dev A pulls develop into his feature branch, Dev B merges new feature to develop, Dev A merges feature branch into develop (and the merge commit touches the same stuff as the new commits on dev) -- does that stale merge commit overwrite the work Dev B did?17:45
jazper- left17:46
valeriansaliou left17:46
jazper- joined17:46
jazper- left17:46
jazper- joined17:46
Dorf squeegily: http://www.norbauer.com/rails-consulting/notes/git-revert-reset-a-single-file.html17:46
does that help?17:46
sinkensabe joined17:46
jmpp joined17:46
eletuchy left17:46
tarkus left17:47
squeegily Dorf: Yep, the command was 'git checkout file/tp/revert.py'17:47
Muzer joined17:48
bannakaffalatta joined17:48
otter768 left17:49
EvilPenguin joined17:49
cvanball joined17:49
tranzfuse left17:50
bg__ left17:50
Gizburdt left17:51
tieTYT2 joined17:52
blackmesa left17:52
Gizburdt joined17:52
iveqy fresham: !tryit but afaik you should get a conflict17:52
gitinfo fresham: [!tias] 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.17:52
fresham iveqy: Good point. I'm just having an issue where our codebase is missing code, and that's the prime suspect17:52
shpoont joined17:53
Spacew00t left17:53
brucelee joined17:53
dik_dak joined17:54
danemacmillan !backup17:54
gitinfo Worried about your data while trying stuff out in your repo? The repository in its entirety lives inside the .git directory in the root of your work tree so to backup everything `cp -a path/to/workdir path/to/backup` or equivalent will suffice as long as the repo is not modified during backup. See also http://sethrobertson.github.com/GitBestPractices/#backups17:54
Dudi joined17:54
thiago joined17:55
iveqy fresham: if I where you I would start looking at the merges and try to see where the code is missing. However usually there's a problem with someone doing a forced push.17:55
!force17:55
gitinfo [!force_push] If you need to overwrite the history of a remote git repository (very bad idea, see !rewrite), you can do so with `git push -f`. Note the remote server may reject this. See man git-config and search for receive.denyNonFastForwards. Best practice is for upstream servers to denyNonFastForwards.17:55
iveqy fresham: are your server configurated with denyNonFastForwards?17:55
Duikb00t joined17:56
freimatz left17:56
Gizburdt left17:57
shpoont left17:57
rdbell joined17:57
shpoont joined17:58
milki joined17:58
nnyk left17:58
jaydubya left17:58
zumba_addict left17:59
jaydubya joined17:59
fresham I don't think so. It's github17:59
Yeah, I'm gonna backtrack to where it's missing17:59
MattMake_ left18:00
fresham Actually, everything merged to develop is handled by github pull request, unless there's a conflict18:00
MattMaker joined18:00
DSH105 joined18:01
mizu_no_oto joined18:01
UKn0Meh left18:02
zumba_addict joined18:02
hguux_ joined18:02
saint-ron joined18:02
salamanderrake joined18:02
phantomtiger left18:03
encod3 left18:03
Malsasa_ joined18:03
Malsasa_Malsasa18:03
ghoti left18:04
jaydubya left18:04
iveqy fresham: good luck, I've to go afk18:04
ohseap left18:05
nour joined18:06
dts|pokeball left18:06
dreiss left18:06
JoshLope_ left18:06
dts|pokeball joined18:06
ruukasu left18:06
ruukasu joined18:07
anothermoron joined18:07
Zamyatin joined18:07
GGflags left18:07
dts|pokeball left18:07
mmattice left18:07
dts|pokeball joined18:07
flugo left18:08
hebz0rl left18:08
Ankhers left18:08
endiruna left18:08
akushner joined18:08
aswen left18:08
dts|pokeball left18:08
dts|pokeball joined18:09
Ankhers joined18:10
rishi left18:10
petersr joined18:10
Zamyatin left18:11
d10n-work left18:11
ome left18:11
bobdobbs` joined18:11
mnml left18:12
dsteplight___ left18:12
knownasilya left18:12
bb010g left18:12
skelterjohn left18:12
jds left18:12
MLM left18:12
sarbs left18:12
rylinaux left18:12
rishi joined18:12
pantsman- joined18:12
dts|pokeball left18:12
himikof left18:12
Noldorin left18:12
GGMethos left18:12
Bigcheese joined18:13
DSH105 left18:13
jophish joined18:13
scalability-junk joined18:13
nottombrown left18:13
bdavenport left18:13
troyt left18:13
i_ron left18:13
ghoti joined18:13
mwarning joined18:13
ZucchiniZe joined18:14
n-st left18:14
cannonball left18:14
grawity left18:14
c0ded left18:14
DrNick left18:14
ORiON-- left18:14
bobdobbs left18:14
nottombrown joined18:14
ecky--ptang-zoob left18:14
basiclaser_ left18:14
mwarning hi folks, I like to try this command, bu it fails to expand pwd: git -C feeds/routing am --whitespace=nowarn `pwd`firmware/patches/routing/*.patch18:14
yena_ joined18:14
mwarning any ideas how to overcome this?18:14
tobiasvl left18:14
Wulf left18:14
tyreld joined18:14
grawity joined18:15
myyst left18:15
ecky--ptang-zoob joined18:15
Ionic joined18:15
mwarning ah, pwd is executed, but * is not handled18:15
jadne left18:15
synchronous left18:15
pacbard left18:15
lacrosse__ left18:15
tvl joined18:15
IonicGuest2142918:15
tfnico____ joined18:15
tvltobiasvl18:15
ecky--ptang-zoob left18:15
finster joined18:15
finster left18:15
finster joined18:15
himikof joined18:15
cstrahan_ joined18:16
devhost_ joined18:16
k4r1m joined18:16
lachesis joined18:16
apipkin joined18:16
Wulf joined18:16
ScottE joined18:16
bbhoss joined18:16
haarg joined18:16
ecky--ptang-zoob joined18:16
basiclaser_ joined18:16
Jeroen joined18:16
shennyg joined18:16
Riviera joined18:16
nioncode joined18:16
averell joined18:16
myyst joined18:16
c0ded joined18:16
GameGamer43 joined18:16
rylinaux joined18:16
knownasilya joined18:16
karstensrage joined18:16
_ikke_ joined18:16
Spinkzeit joined18:16
cannonball joined18:16
Outsider__ joined18:16
mnml joined18:16
dnyy joined18:16
karstensrageGuest6979318:16
MLM joined18:16
n-st joined18:16
bdavenport joined18:17
lacrosse__ joined18:17
DrNick joined18:17
cloudcell joined18:17
SegFaultAX joined18:17
danmackay joined18:17
cagedwisdom joined18:17
DSH105 joined18:17
SleePy joined18:17
SleePy left18:17
SleePy joined18:17
dsteplight___ joined18:17
[diecast]_ joined18:17
d10n-work joined18:17
a_le left18:17
skelterjohn joined18:17
troyt joined18:17
HedgeMage joined18:17
ORiON-- joined18:17
mtscout6 joined18:17
ome joined18:17
tgummerer joined18:17
WakiMiko joined18:17
Nickeeh joined18:17
robmozart__ joined18:17
moogumbo joined18:17
akitada joined18:17
jds joined18:18
cagedwisdom left18:18
Xe joined18:18
wowaname joined18:18
pacbard joined18:18
upene joined18:18
smw joined18:18
GGMethos joined18:18
lebster joined18:18
jonmorehouse joined18:18
Guest30207 joined18:18
cagedwisdom joined18:18
Klumben joined18:19
Hedgework joined18:19
jonet joined18:19
bb010g joined18:19
cagedwisdom left18:19
autochthon left18:19
Macaveli left18:19
dziga joined18:19
dziga left18:19
dziga joined18:19
dziga left18:19
dziga joined18:19
blackjid_ joined18:19
cagedwisdom joined18:19
listochkin left18:20
twisted` joined18:20
blackjid_ left18:20
darkbasic left18:20
CalimeroTeknik joined18:20
MLM left18:20
spaceone joined18:20
sarbs joined18:20
jottr left18:20
darkbasic joined18:21
dtscode joined18:21
Steve_Jobs joined18:21
i_ron joined18:21
DSH105 left18:21
teran joined18:21
pekster joined18:21
synchronous joined18:22
pekster left18:22
blackjid_ joined18:22
Amandil joined18:22
upene left18:22
MrChris joined18:23
dmarr joined18:23
d10n-work Is there a nice way to stash staged and unstaged changes and keep the stage state of the changes on stash pop?18:23
SupaHam joined18:23
apurcell joined18:23
TDJACR joined18:23
ggherdov joined18:23
jonmorehouse left18:23
ashemark joined18:24
Consuela joined18:24
riceNbeans left18:24
ashemark Hi everyone!!18:24
eburcat joined18:24
encod3 joined18:24
akiva joined18:25
ashemark I just made a private repo on github, but am not able to clone it on my pc18:25
jmpp left18:25
ashemark "fatal error - repository not found"18:25
j416 ashemark: what did you run?18:25
ashemark git clone <repo-address>18:25
flugo joined18:25
j416 that won't work <repo-address> is not an url18:26
...18:26
ashemark well it was a placeholder, actually it's https://github.com/my_username/myrepo.git18:26
j416 ashemark: what I'm trying to say is, the part you left out is essential in understanding what went wrong18:26
ok18:26
saint-ron left18:26
kstuart left18:26
edk joined18:26
joeyDB left18:26
ruukasu left18:26
pekster joined18:26
j416 ashemark: I think you have a type in your url.18:26
typo*18:27
teran left18:27
kstuart joined18:27
j416 typo in a sentence about a typo18:27
ashemark I tried copying the same from github page, but didn't work either18:27
j416 for emphasis18:27
ashemark: should work18:27
ashemark it isn't :(18:27
j416 are you getting any more output?18:28
fresham So there's no sign of forced pushes.18:28
electrogeek joined18:28
fresham Could it be a rebase or something?18:28
ashemark I just initialized the repo and committed a change to the readme file18:29
rath left18:29
Takle joined18:29
ashemark the error is18:29
j416 ashemark: aha, so there was no repo18:29
ashemark j416: on the github website18:29
j416 ashemark: when you create a new repo on github, it'll tell you exactly what to type18:29
MacGyver joined18:30
ashemark ok18:30
j416 you can just copypaste that18:30
ashemark ok18:30
hcc23 joined18:30
marcogmonteiro left18:31
Sample_ joined18:31
liamkeily joined18:31
J1G|Anon126 joined18:32
J1G|Anon126 left18:32
silverfix joined18:32
preyalone joined18:32
bannakaffalatta left18:32
hahuang65 joined18:32
J1G|Anon126 joined18:33
ruukasu joined18:33
ashemark j416: ?18:33
preyalone left18:33
atomx joined18:33
silverfix left18:33
skylite joined18:34
thedodd left18:34
Sample left18:34
diamonds left18:34
silverfix joined18:34
tarkus joined18:34
RaceCondition left18:35
FunkyAss joined18:35
ojacobson left18:35
tvw left18:35
averell left18:35
averell joined18:35
lsiv568 left18:36
skemper_ left18:36
kukks joined18:37
kukks left18:37
kukks joined18:37
j416 ashemark: !18:37
dm7freek joined18:37
ashemark think i'm gonna initiate it locally and push18:38
iraj left18:38
j416 and you need my help with..?18:38
ashemark j416: thanks for the help so far18:38
j416 o/18:39
ashemark o/18:39
denete toss-up question: what is the biggest concept that people coming from SVN (check-out, check-in) background need to know when moving to git?18:39
joeyDB joined18:39
eburcat left18:39
ghoti left18:39
intransit left18:40
aidalgol joined18:40
tranzfuse joined18:40
ruukasu left18:40
intransit joined18:40
bremner forget everything18:40
denete :)18:40
Consuela left18:41
ghoti joined18:41
fresham If I do git log with a path, shouldn't only merge commits that modified that file show up?18:41
bremner I guess there must be more detailed "git for svn users" tutorials around18:41
jnavila left18:41
ashemark left18:41
ruukasu joined18:41
bremner but really, distributed version control is pretty different from the whole "versioned file system" approach of svn.18:42
ladies joined18:42
bremner I guess the notion of atomic commits is in common.18:42
denete that ^^^ might be the mental hurdle that would most help the people I'm about to convert18:42
preyalone joined18:43
dreiss joined18:43
denete thx18:43
kcj joined18:44
kcj left18:44
kcj joined18:44
zadock joined18:44
J1G|Anon126 fresham: try adding --dense18:45
c0ded left18:45
c0ded joined18:45
fresham J1G|Anon126: Didn't help. But my missing commits show up when I add --all18:48
J1G|Anon126 ah18:48
zumba_addict left18:50
fresham and rev-list of that file only shows older commits18:50
What exactly does --all do?18:51
J1G|Anon126 fresham: --all shows commits from all branches, not just the one you're on18:51
eburcat joined18:52
fresham oh18:52
Zamyatin joined18:52
okanck joined18:52
zumba_addict joined18:52
jottr joined18:52
fresham So if I do 'git log -- somefile.txt', won't that also show me merge commits that modified that file?18:52
rivarun_ joined18:52
netameta left18:53
Malsasa left18:53
cvanball left18:53
Zamyatin left18:53
J1G|Anon126 fresham: oh, I thought you meant that *more* merges were showing than you expected18:53
in that case, you can try --sparse, which should show more18:54
tgkokk joined18:54
Zamyatin joined18:54
donmichelangelo joined18:54
hoijui_ left18:54
fresham Ah, awesome18:55
that might help18:55
Zamyatin left18:55
codeFiend joined18:55
Zamyatin joined18:56
codeFiendaeontech18:56
aminorex joined18:56
michelangelo left18:56
nnyk joined18:58
tgkokk left18:59
s00pcan_ joined19:01
twoface88 left19:01
s00pcan left19:01
ehynds joined19:02
ehynds left19:02
ELFrederich joined19:02
ELFrederich does Git use any kind of locking of objects?... or does it just create / delete objects and update references?19:03
s00pcan joined19:03
MLM joined19:03
ghoti Anybody using RANCID (Really Awesome New Cisco confIg Differ) with git?19:03
osse ELFrederich: on individual objects in .git/objects you mean?19:03
tgkokk joined19:04
ELFrederich osse, yeah19:04
Eugene ghoti - Nope. !ask the real question if you want a real response ;-)19:04
gitinfo ghoti: Yes, it's okay to ask questions here.... in fact, you just asked one! ;-) Pretty much any question is fine. We're not terribly picky, but we might be asleep. Please be patient and you should get an answer soon.19:04
joshin4colours left19:04
desposo left19:04
osse ELFrederich: i don't know. there is no need to; they're only written once19:04
hebz0rl joined19:04
Zamyatin left19:04
weeb1e_ joined19:05
s00pcan__ joined19:05
s00pcan left19:05
joki left19:05
darkbasic left19:05
anothermoron left19:05
darkbasic joined19:05
thiago left19:06
desposo joined19:06
ghoti Eugene: the "real" question, I suppose, is... Has anyone modified RANCID so that it works with git, rather than just CVS and SVN?19:07
dannymichel joined19:07
andi3 joined19:07
Eugene Doubt it. git is also not picking about diff tools19:07
shrey left19:07
s00pcan__ left19:08
ghoti RANCID, afaik, uses shell wrappers around CVS/SVN commands, so I imagine it wouldn't be too much of a stretch to replace them with other commands. What I'm trying to determine is whether I have to do this myself, or if someone else has already done the work so that I can benefit from it.19:08
Duikb00t left19:09
ghoti I'm not sure I understand what you're saying that git does not pick.19:09
shreyas1 joined19:09
ghoti Or did you mean "not picky", implying that RANCID would somehow be called by git, rather than the other way around?19:09
joki joined19:09
joo-_ joined19:10
jaydubya joined19:10
alejandrozf joined19:10
ehynds joined19:10
Zamyatin joined19:10
Gizburdt joined19:10
Sample_ left19:10
fresham Okay, I have a file that changed in a feature branch that was merged to dev (merge commit is there), but the change isn't currently there. How do I find out what rebase or merge broke it?19:11
jason237 left19:12
Sample joined19:12
EvilPenguin left19:12
a_le joined19:12
subhojit777 left19:12
ManikM left19:12
bronson joined19:13
ManikM joined19:13
s00pcan joined19:14
flugo left19:15
rotorooter left19:15
roto joined19:15
phantomtiger joined19:16
fresham So we have a bunch of commits like "Merged branch 'develop' into 'feature/something-awesome' with huge lists of changed files.19:16
zackiv31 joined19:16
zackiv31 left19:16
fresham And I think those are overwriting old changes. And that's from people pulling from develop while on a feature branch.19:16
blackmesa joined19:17
french left19:17
a_le left19:17
_br_ joined19:17
fresham Shouldn't a conflict pop up when you try to merge those stale merge commits into develop?19:18
kpease_kpease19:18
s00pcan left19:18
a_le joined19:18
zackiv31 joined19:19
ghoti ah - to answer my own question, http://dotwaffle.github.io/rancid-git/ exists.19:19
jonmorehouse joined19:19
s00pcan joined19:19
Zamyatin left19:20
shpoont left19:20
kcj left19:21
_0xAX left19:21
shpoont joined19:21
ghoti Though it's a patch set for a pretty old version of rancid. :(19:21
jottr left19:22
kukks left19:22
blackmesa left19:22
ladies left19:22
Spacew00t joined19:22
thedodd joined19:22
Spacew00t left19:22
teran joined19:22
mwarning hi, maybe someone can give me some advice:19:22
git -C feeds/packages am `pwd`firmware/patches/packages/*.patch19:22
/usr/lib/git-core/git-am: 211: /usr/lib/git-core/git-am: cannot open /media/daten/openwrtfirmware/patches/packages/*.patch: No such file19:22
does file globbing not work wih -C?19:23
jonmorehouse left19:23
tgkokk left19:24
jgardella joined19:24
Anders_J joined19:25
leeN left19:25
ncd|leeN joined19:25
totte joined19:25
soerenb don't you need a '/' after `pwd`?19:26
mwarning heh, right19:26
I forgot :]19:26
anothermoron joined19:27
teran left19:27
jerius_ joined19:27
affa09 joined19:27
bannakaffalatta joined19:28
mwarning thanks19:28
kpease left19:28
Zentdayn joined19:28
gsingh93 joined19:28
idoru joined19:29
pwnz0r joined19:29
jnavila joined19:30
valeriansaliou joined19:30
plutt left19:30
veebers joined19:30
tgkokk joined19:30
plutt joined19:31
nnyk left19:31
s00pcan left19:31
eletuchy joined19:31
jerius left19:31
mmattice joined19:31
plutt left19:31
plutt joined19:32
ohseap joined19:32
eburcat left19:33
howlymowly left19:34
valeriansaliou left19:34
liamkeily left19:35
baweaver joined19:35
baweaver left19:35
g3danken joined19:35
baweaver joined19:35
eletuchy left19:36
wowaname left19:36
s00pcan joined19:37
lsiv568 joined19:37
luriv joined19:37
s00pcan left19:37
mjuszczak joined19:38
s00pcan joined19:38
joo-_ left19:39
kpease joined19:39
bobmarch_ left19:39
cfgmgr joined19:39
kpease left19:39
devoldmx_ joined19:40
kpease joined19:40
greves left19:40
greves joined19:41
lsiv568 left19:41
tarkus left19:42
tarkus joined19:42
EvilPenguin joined19:43
jonmorehouse joined19:43
listochkin joined19:43
s00pcan_ left19:43
devoldmx left19:44
DrHouse|DellM650 joined19:45
klusias left19:45
otter768 joined19:45
msmith_ left19:45
danemacmillan Hi--would anyone know why my git log pretty=format:"" won't accept spaces in the format?19:46
listochkin left19:46
flugo joined19:46
J1G|Anon126 danemacmillan: you need to put the quotes around "format", too: --pretty="format:..."19:46
listochkin joined19:47
txomon|home joined19:47
erickr joined19:47
danemacmillan That doesn't seem to be it.19:47
jatt joined19:48
jatt left19:48
jatt joined19:48
danemacmillan The git log --help examples don't do that, either19:48
s00pcan_ joined19:48
J1G|Anon126 hm...19:48
canton7 !repro19:49
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%.19:49
qsuscs example in the manpage is format:"The author of %h was %an, %ar%nThe title was >>%s<<%n", so it should work with spaces19:49
zadock left19:49
danemacmillan Yeah, that's why I'm confused.19:50
J1G|Anon126 danemacmillan: what is the output, exactly?19:50
encod3 left19:50
danemacmillan fatal: ambiguous argument '%h': unknown revision or path not in the working tree.19:50
Use '--' to separate paths from revisions, like this:yY19:51
Though it's a log. Not sure why -- would be required.19:51
encod3 joined19:51
danemacmillan Also, tried with double dash and it output nothing19:51
Though the error was suppressed19:51
J1G|Anon126 danemacmillan: did you include the double dash before "pretty"?19:51
that is: "--pretty"19:52
danemacmillan Yeah, got that19:53
Well, it works when I print a byte from a hex code using the %x option19:54
%x2019:54
Odd19:54
J1G|Anon126 single quotes, then? maybe it's just a shell problem19:55
joo-_ joined19:55
Macaveli joined19:55
encod3 left19:55
Gizburdt left19:55
danemacmillan J1G|Anon126: on the money19:56
Should have debugged that :|19:56
Double quotation marks19:56
J1G|Anon126 that's interesting though, because I've recalled double quotes working for me19:56
danemacmillan Instead of single19:56
Yeah, as have I19:56
And many, if not most, examples demonstrate the syntax with double quotation marks19:57
joo-_ left19:57
dik_dak left19:58
zapb__ left19:58
zumba_addict left19:58
lsiv568 joined19:59
desposo left19:59
eletuchy joined19:59
bronson left19:59
BlaXpirit left19:59
Gizburdt joined20:00
BlaXpirit joined20:00
ladies joined20:01
mizu_no_oto left20:01
cavallari left20:01
[diecast]_[diecast]20:02
[diecast] left20:02
[diecast] joined20:02
[diecast] left20:02
[diecast] joined20:02
hahuang65 left20:02
eburcat joined20:02
mjuszczak left20:02
lsiv568 left20:03
desposo joined20:03
KeelOfSteel left20:04
a_le left20:04
mjuszczak joined20:05
a_le joined20:05
tang^ left20:05
zumba_addict joined20:05
kyb3r_ joined20:06
toogy joined20:06
bronson joined20:07
zapb joined20:07
EminenceHC left20:08
plutt left20:08
liamkeily joined20:09
toogy Today we have github or bitbucket or whatever and it is very easy to pull request on these platforms. But how do you do a pull request if the repository is hosted somewhere else? I'm sure the answer is really straightforward but I never had to do it. Do you do some kind of diff and send it to the maintainer by email (the old way)?20:09
Radivarig joined20:10
plutt joined20:10
qsuscs toogy: man git format-patch; man git send-email; man git request-pull20:10
gitinfo toogy: the git-format-patch manpage is available at http://jk.gs/git-format-patch.html20:10
toogy: the git-send-email manpage is available at http://jk.gs/git-send-email.html20:10
toogy: the git-request-pull manpage is available at http://jk.gs/git-request-pull.html20:10
toogy ok that's what I thought, thanks :)20:10
nour_ joined20:10
jason237 joined20:12
ruukasu left20:12
nour left20:14
myyst left20:15
jerius_ left20:15
JEEB left20:16
zapb left20:16
shreyas1 left20:16
Zentdayn left20:16
myyst joined20:16
tgkokk` joined20:16
eletuchy left20:17
jerius joined20:17
Shusshu joined20:17
tgkokk left20:17
mjuszczak left20:18
JEEB joined20:20
Sijdesign joined20:20
tarkus left20:20
tarkus joined20:20
panther_ joined20:20
rpg joined20:21
jerius left20:22
jerius joined20:23
teran joined20:23
bobmarchman joined20:23
panther_redpanther20:23
tang^ joined20:23
redpantherpantherify20:24
phretor joined20:24
devoldmx_ left20:24
ladies left20:24
zapb joined20:25
Shusshu left20:25
mizu_no_oto joined20:25
pantherify left20:25
iamshercoder left20:26
bheesham joined20:27
moviuro_moviuro20:27
lsiv568 joined20:28
teran left20:28
iamshercoder joined20:28
zapb left20:28
erickr left20:29
rikko joined20:29
Sijdesign left20:29
CustosL1men joined20:29
CustosL1men left20:29
CustosL1men joined20:29
brucelee left20:29
paul424 joined20:30
fragamus left20:30
Sample There is a repo only 2 people have visiblity to, one of them committed (and pushed) 2 commits that were totally unwanted, a ton of binary files. What's the best method of force pushing the branch ref to be 2 commits back20:30
rikko left20:30
Sample I'm not sure what git push does exactly from the plumbing perspective20:30
paul424 left20:30
eletuchy joined20:31
J1G|Anon126 Sample: git checkout [branch]; git reset --hard HEAD~2; git push [remote] +[branch]20:31
konr joined20:31
osse it's not actually required to reset, but you probably want to do so anyway20:33
pantherify joined20:33
pwnz0r left20:34
phy1729 git can do symlinks right?20:34
phretor left20:34
phantombeta left20:34
qsuscs phy1729: depending on how you define “do” …20:35
asturel is there better alternative to sourcetree (gui git client?) its kinda 'laggy'20:35
phy1729 I add a relative symlink that stays within the repo and everyone else will have the symlink and not two copies of the file20:35
Macaveli left20:35
qsuscs phy1729: should do, see e.g. git.git/RelNotes for a working example20:36
ojacobson joined20:36
phantombeta joined20:36
Sample osse: Im' resetting simply for the purpose of being able to stage those 2 commit changes before telling remote to point at the commit we're currently on20:36
tang^ asturel: try one of these: http://git-scm.com/downloads/guis20:36
tgkokk`tgkokk20:36
Sample STASH not stage20:36
anothermoron left20:36
asturel is github's client works only with github?20:36
Sample does `git push` in this instance simply and only tell origin's branch to point at commit XYZ20:36
pandeiro left20:36
eburcat left20:37
asturel i have to download now on windows, previously i used git via cli but on windows its a pain (no proper autocomplete etc)20:37
download=develop :D20:37
dik_dak joined20:37
zapb joined20:38
J1G|Anon126 asturel: I believe you can use it for other repos as well20:38
asturel it use an internal/external git executable?20:38
or its fully integrated into the gui20:38
J1G|Anon126 I am not sure20:39
Gizburdt left20:39
asturel because sourcetree just call the git and throw the log20:39
foulou left20:39
Gizburdt joined20:39
VimFleed joined20:40
osse Sample: what I mean is you can make the remote point anywhere without having to reset or checkout anything first20:40
Sample: git push -f remote whatever:branch20:40
ManikM left20:40
dannymiche joined20:40
osse aka. git push remote +whatever:branch20:41
marthinal left20:41
asturel or anyone knows a good replacement for windows cmd? (which also replaces the conhost if its possible not just the cmd.exe)20:42
qsuscs asturel: have a look at console2 or mintty20:43
asturel: and msysgit comes with bash20:43
osse asturel: https://github.com/cbucher/console20:43
Zentdayn joined20:43
osse oh cmd.exe in particular... I guess that's either msys or cygwin20:43
asturel i saw console2 but it just forks terminals inside it(?)20:43
dannymichel left20:43
tgkokk left20:44
hahuang65 joined20:44
jollyirc joined20:44
asturel does it support proper copy paste, osse?20:45
i mean not that dumb one whats in windows cmd :D20:45
grawity cmd is a shell, it doesn't deal with copy/paste20:45
maletor left20:45
cfgmgr left20:45
grawity the Windows console always had copy/paste though only for rectangular selections20:45
in Win10 it has regular selections as well20:45
asturel isnt the conhost the actual 'shell' ?20:46
grawity no20:46
the 'shell' – the command interpreter – is cmd.exe20:46
osse asturel: yes20:46
asturel i thought cmd is just launch conhost.exe kinda20:46
grawity conhost would be the 'terminal'20:46
foulou joined20:46
asturel oh :D20:46
osse asturel: it's the other way around20:46
grawity the Windows console used to be part of CSRSS in earlier versions; separated into conhost nowadays20:46
a_le left20:47
grawity (it's not very terminal-ish)20:47
a_le joined20:47
grawity so Console2 works on top of the same Windows console20:47
shreyas1 joined20:47
grawity that is, it opens a hidden console window, reads text from it, sends keys into it20:47
pantherify left20:48
grawity (there's even a menu option to make the stock console window visible for debugging)20:48
iamshercoder left20:48
pantherify joined20:48
grawity I think it refreshes every 100ms or something like that20:48
jmpp joined20:49
wowaname joined20:49
grawity there are actual Unixish terminals like mingetty, they work with Git fine (just not with native Windows console programs like EDIT)20:49
boombatower joined20:50
dm7freek left20:50
tang^ I like Cmder with Powershell.exe20:51
ToxicFrog There's a windows native version of rxvt, too, although I think mingetty is the default with both msys and cygwin now.20:51
grawity one problem with replacing this thing is, the Windows console actually does a bit more than Unix terminals :/20:52
asturel well i saw something what supported even e.g. git autocomplete too20:52
grawity on Unix, bash & zsh handle their own line editing – on Windows, the console does20:53
EminenceHC joined20:53
grawity though bash switches it to raw mode anyway20:53
asturel so whats a good combination for git on windows?:D20:55
Zentdayn left20:55
asturel some terminal+cli or there's a good gui?20:55
ToxicFrog asturel: git-for-windows comes with mingetty, IIRC20:55
I just use the git that comes with cygwin, since I have cygwin installed anyways.20:55
There's probably GUIs but I don't know of them. Is there a !gui trigger?20:55
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.20:55
asturel but then u use the rectangle selection?20:55
grawity Console2 was nice20:55
ToxicFrog asturel: no, as I said, it comes with mingetty20:55
So it's mingetty+bash rather than cmd.exe20:56
grawity I kind of got used to the Windows console though – copy/paste isn't *awful* in it20:56
asturel its horrible20:56
ToxicFrog (you can still use it from cmd.exe if you really want to. I don't.)20:56
asturel when the line breaks into 2 line20:56
Patch left20:56
asturel try to copy paste that :D20:56
osse I use the standard Git for Windows thing but I run it from ConsoleZ20:56
it am the niceness20:56
well... good enough20:57
qsuscs osse, silvester is over. stop drinking.20:57
s/silvester/new years eve/, whatever20:57
mjuszczak joined20:57
EminenceHC left20:57
Jackneill left20:58
Zamyatin joined20:58
tang^ asturel: try one of these: http://git-scm.com/downloads/guis20:58
skylite left20:58
wowaname left20:58
zapb left20:59
Zamyatin left20:59
WaReZ joined20:59
tpollard joined20:59
jonmorehouse left20:59
ncd|leeN left20:59
Zamyatin joined21:00
ncd|leeN joined21:00
wowaname joined21:00
osse hmm21:01
asturel well i tried sourcetree21:01
osse hadn't heard of this silvester thing before.21:01
bobmarch_ joined21:01
Sample_ joined21:01
encod3 joined21:01
asturel but most gui i assume just run a git.exe21:02
osse there aren't many other ways of doing it21:02
asturel but its 'kinda suxx'21:02
tang^ sourcetree just runs git.exe21:02
osse there's libgit2. dunno which GUIs use it21:02
tang^ as does tortoisegit21:02
asturel i mean i would except a little more integration21:03
ToxicFrog asturel: due to the way git is structured, it's a lot easier to use that than to use a library. There's libgit, but it has some...issues.21:03
grawity osse: Visual Studio does21:03
Hestil joined21:03
qsuscs !smartgit is probably not the worst of all choices21:03
gitinfo SmartGit is a (commercial) UI for git that is very user-friendly and feature-complete. http://syntevo.com/smartgithg21:03
Zamyatin left21:03
tang^ plus, if you show the sourcetree command, you can see what it's doing21:03
asturel is the vs's git good?:D21:03
tang^ and learn to use the command line21:03
grawity at least, I'm guessing based on Microsoft's contributions to libgit2.21:03
asturel tang^ i know howto use git via cli21:03
it just a pain in the pass on windows, atleast on the default cmd.exe21:03
qsuscs grawity: but git is GPL, eh? and libgit LGPL or similar IIRC—i guess microsoft was just afraid of license issues21:04
asturel in the ass* :D21:04
jnavila left21:04
bobmarchman left21:04
Sample left21:05
Chealsea_Jurgens joined21:05
blackmesa joined21:05
ehynds left21:05
tang^ asturel: what's a pain about it?21:05
encod3 left21:06
dannymichel joined21:07
Chealsea_Jurgens left21:07
Zamyatin joined21:07
zapb joined21:08
Zamyatin left21:09
Hestil left21:09
Zamyatin joined21:09
thiago joined21:09
EminenceHC joined21:11
dannymiche left21:11
autochthon joined21:11
mwarning left21:13
zapb left21:13
alejandrozf left21:15
zapb joined21:15
desposo left21:16
eletuchy left21:17
DrHouse|DellM650 left21:18
mjuszczak left21:18
shreyas1 left21:18
thiago left21:18
asdofindia left21:19
valeriansaliou joined21:19
Zentdayn joined21:19
asturel tang^ well i usually dont use git commit -a so copy pasting everytime the file..21:19
Zentdayn left21:20
skemper joined21:20
osse the tab key is your friend21:21
sinkensabe left21:22
Takle left21:22
nofxx left21:22
asturel well its not a little project, usually 3-4 directory deep atleast21:23
proq joined21:23
jazzzu left21:23
osse the tab key loves you anyway21:23
asturel :D21:23
valeriansaliou left21:23
asturel well i usually just copy pasted (in putty)21:23
teran joined21:24
Zamyatin left21:24
Zupoman left21:24
zapbzapb__21:24
JoshLopes joined21:25
vurma joined21:26
Gizburdt left21:26
phantombeta left21:27
psoo joined21:27
listochkin left21:27
intransi_ joined21:28
teran left21:29
eletuchy joined21:29
psoo left21:30
ohseap left21:31
psoo joined21:31
fresham left21:31
intransit left21:32
sburgess left21:32
phantombeta joined21:32
Zamyatin joined21:32
jmpp left21:33
settermjd joined21:34
starkhalo joined21:34
Macaveli joined21:34
UKn0Meh joined21:35
blackmesa left21:35
silverfix left21:35
malahal joined21:35
javaJake left21:36
bronson left21:36
phantombeta left21:36
malahal I would like to compare two branches to see if they differ in source code. Does "git diff X Y" has any options that just tells me if they differ or not (will be using it in a script)?21:36
St_Marx left21:37
Zamyatin left21:37
BtbN They don't point to the same commit -> they differ21:37
St_Marx joined21:37
Sasazuka_ left21:37
VictorBjelkholm left21:38
j416 BtbN: not necessarily21:38
malahal: man git-diff21:38
gitinfo malahal: the git-diff manpage is available at http://jk.gs/git-diff.html21:38
phantombeta joined21:38
j416 malahal: --quiet21:38
malahal j416, thanks21:38
brucelee joined21:38
j416 yw21:38
BtbN Even if they somehow have the same source, you'd propably still want to treat them as diffrent21:38
jollyirc left21:38
gitinfo set mode: +v21:39
Macaveli left21:39
j416 BtbN: well, you have no idea what malahal is doing with this script.21:39
BtbN As stuff like fast-forward merges won't work21:39
j416 you're assuming a lot without knowing.. :)21:39
malahal j416, BtbN my script will send a mail out if things do differ, otherwise no. This some kind of auto-merge script.21:39
bronson joined21:40
j416 malahal: like some warning mail?21:40
j416 doesn't get it21:40
pantherify left21:41
BtbN Sounds like something where you definitly do want to check for same commit21:41
sinkensabe joined21:41
_spire joined21:42
malahal j416, BtbN: there is notion of work branch. Few developers work with their topic branches would be listed in a file. The scripts looks at the file and merges all those devs works into merge-branch (whose history can/will change).21:42
BtbN If the only purpose of the branch is testing the merge, why not hard reset it to master before?21:43
nofxx joined21:43
ScottE left21:43
diminoten hey I'm on the hook to teach git/github to a bunch of folks at my job, my thought was to just go through the "getting started", "git basics" and "github" chapters of git-scm21:43
Zamyatin joined21:44
diminoten should that cover enough to get people using github, or should I cover some other stuff too?21:44
serum left21:44
IrishPrime left21:44
malahal my script would run in a cronjob, in theory I could store the dev's hashes and not do any merge if they don't differ in hashes, but I am not doing it. I just merge them in a tmp merge branch and compare tmp-merge and merge branches to see if there is a change. If there is, I send an email that there is new source code to check it out.21:44
ScottE joined21:44
jason237 left21:44
StefanLehmann joined21:44
j416 malahal: sounds like a cumbersome workflow21:45
malahal: what is the problem you're solving using this method?21:45
Zamyatin left21:45
Zamyatin joined21:46
iamshercoder joined21:46
zumba_addict left21:46
javaJake joined21:46
listochkin joined21:46
yaymukund joined21:47
malahal j416, we all will be pushing combined changes from us to upstream. We would like to avoid merge conflicts within our own group and touch test them together.21:47
AaronMT left21:47
Zamyatin left21:47
yaymukund is there a way to tell `git add -p` to show diffs for entire files rather than parts of files?21:47
I guess I could just write a simp\le wrapper script :p21:47
Sasazuka_work joined21:47
Zamyatin joined21:48
malahal j416, this way, any dev who wants to send something upstream will list his topic branch in the merge list file and this script just checks for any conflicts and creates a branch for someone to touch test it.21:48
Sasazuka_workSasazuka_21:48
tgkokk joined21:49
Zamyatin left21:49
malahal j416, welcome for any easy work flows!21:49
klync joined21:49
Zamyatin joined21:49
j416 yaymukund: not sure, maybe you can experiment with -U21:50
yaymukund: man git-diff21:50
gitinfo yaymukund: the git-diff manpage is available at http://jk.gs/git-diff.html21:50
phy1729 joined21:51
ap0c joined21:51
Zamyatin left21:51
mellernoia left21:51
Zamyatin joined21:51
klync having a hard time and googling hasn't helped me yet... i created a local branch off "master" and made some changes, pushed the branch and the changes to remote, then merged it into master. now instead of deleting the branch i want to re-sync it with the latest from master, but if i try merging master back to the branch, i get all sorts of conflicts from the previous work. I thought `git rebase -s recursive -X ours` would solve this but apparently not21:52
lsiv568 left21:52
j416 malahal: just because git says there are no conflicts, there may be semantic conflicts; keep this in mind.21:52
zumba_addict joined21:52
dik_dak left21:52
ruukasu joined21:52
j416 klync: that should result in a fast-forward merge; you're doing something wrong.21:53
EvilPeng_ joined21:53
malahal j416, agreed! build could fail to compile.... this is just a first pass. A person is going to build and test before sending upstream. The scripts is just a merge-conflict checker.21:53
klync j416: judging by the conflicts, it's due to a commit (on the branch then merged to master) which was in error, and later undone21:53
jazzzu joined21:53
FreezingCold left21:54
perlstein joined21:54
klync really, i just want the most direct way to say "make my branch like origin/master HEAD"21:54
perlstein hey guys, we have a git repo, it's kinda large, mostly due to some stupid checkins at the start of some large files21:54
plus there is a lot of history we do not need21:54
yaymukund j416: thank you. I just wrote a script, but I'll look at -U21:54
JanC left21:54
perlstein is there a way to "rebase" the repo without changing the hashes?21:54
j416 malahal: it's an interesting system. I suppose you have a person that merges the things together "manually" later on (i.e. merges and checks that things look good)?21:55
perlstein to get rid of the earliest revisions?21:55
malahal j416, correct21:55
j416 malahal: I might steal your idea, there's often the case that people forget to rebase and there are conflicts21:55
on the other hand, I've managed to get people to rebase before requesting a merge so there's usually little conflicts21:55
the conflicts that do arise are between branches being merged21:56
EvilPenguin left21:56
j416 mostly.21:56
thanks for the idea, though21:56
malahal j416, you are welcome.21:56
joo-_ joined21:56
j416 it doesn't sound like a bad thing to have, although perhaps not super useful most of the time :)21:56
malahal: although, instead of checking for differences, why don't you just merge it and see?21:57
malahal: sounds like that would be easier21:57
anwyay, I must dash21:57
café is closing21:57
o/21:57
joo-_ left21:57
Takle joined21:57
malahal j416, if two people work on same file, things do fail and the second person will look at the "merge-branch" and rebase his code based on that.21:57
Dorf left21:57
duderonomy left21:57
pm90_ left21:57
j416 malahal: I would suggest an integration branch of some sort, in that case21:58
leaving o/21:58
thiago joined21:58
sinkensabe left21:58
kermit left21:58
EvilDMP joined21:59
VimFleed left21:59
lhunath joined21:59
jceb left21:59
petersr left21:59
Sample_ left21:59
Zamyatin left21:59
malahal j416, I do merge, if merge fails, a mail goes out. I do want to send a mail if a merge process is successful as well, but not every time I do merge. That is why I want to do "git diff merge -tmp-merge"22:00
Zentdayn joined22:00
lhunath is there a known good and stable solution for overlaying a git repo with another repo such that I can commit file changes to either the parent or the child repo?22:00
J1G|Anon126 lhunath: !suprepo ?22:01
lhunath: !subrepo22:01
gitinfo lhunath: [!subprojects] So, you want to add git repositories inside of other git repositories? Well, you have four main options. First is to just do it, add the repo to the outer project's .gitignore, and treat them entirely separately. Best if they are entirely separate. Otherwise your best options are "!submodule", "!gitslave", and "!subtree". Try those commands in this channel, or in a PM to avoid flooding.22:01
osse best I can think of is wrapping it in something that sets env vars as needed22:01
mizu_no_oto left22:01
sinkensabe joined22:01
Zentdayn left22:01
dik_dak joined22:01
medgno left22:01
PerlWebDev joined22:01
GrupoCITEC left22:04
Dudi left22:04
Sample joined22:04
sinkensa_ joined22:05
devoldmx joined22:06
sinkensabe left22:06
jeffmjack joined22:07
foulou left22:07
Zentdayn joined22:08
Zamyatin joined22:08
JanC joined22:08
valeriansaliou joined22:09
jottr joined22:10
bitkiller joined22:10
settermjd left22:10
tgkokk left22:10
Ankhers left22:11
Zamyatin left22:11
EvilDMP_ joined22:12
livingstn left22:12
joo-_ joined22:13
nginx77 left22:14
chrisgeo left22:14
Zamyatin joined22:14
klync left22:14
denete left22:15
joo-_ left22:17
GrupoCITEC joined22:17
ellotheth joined22:17
PeterBooker left22:17
maletor joined22:18
Skapadapaduu left22:18
uknowho /quit22:18
uknowho left22:18
vurma left22:18
Zamyatin left22:18
zumba_addict left22:19
ellotheth left22:19
joo-_ joined22:19
ojacobson left22:19
EvilPeng_EvilPenguin22:19
FreezingCold joined22:19
Spacew00t joined22:20
th3fallen left22:20
encod3 joined22:20
malahal left22:21
akiva left22:21
ojacobson joined22:22
Spacew00t left22:22
Spacew00t joined22:22
s8321414 joined22:22
PCatinean left22:23
valeriansaliou left22:24
macabre left22:24
Spacew00t left22:24
teran joined22:25
tranzfuse left22:25
macabre joined22:25
Spacew00t joined22:26
liamkeily left22:26
kukks joined22:26
Kicer86 left22:26
tarkus left22:26
plutt left22:27
Zamyatin joined22:27
Zamyatin left22:27
pm90_ joined22:27
intransi_ left22:28
phretor joined22:29
ecky--ptang-zoob left22:29
lekare joined22:30
jaydubya left22:30
moviuro_ joined22:31
cavallari joined22:31
moviuro left22:31
jaydubya joined22:31
Ragnor joined22:31
teran left22:31
EvilPenguin left22:32
ajustrun joined22:32
Guest95 joined22:32
Spacew00t left22:32
segfalt joined22:32
joo-_ left22:32
cYmen joined22:33
cavallari left22:34
phretor left22:34
moviuro_moviuro22:34
intransit joined22:35
Acidnerd left22:35
jaydubya left22:35
piccata joined22:36
pm90_ left22:36
foulou joined22:37
yaymukund left22:37
J1G|Anon126 left22:37
WaReZ left22:38
jottr left22:38
yaymukund joined22:38
EminenceHC left22:39
caipora joined22:39
EminenceHC joined22:39
preyalone left22:39
akiva joined22:40
JoshLopes left22:41
m0viefreak joined22:41
z8z joined22:44
konr left22:45
Trudko left22:46
DrHouse|DellM650 joined22:46
thiago left22:48
macabre left22:49
macabre joined22:50
irqq left22:50
Dougie187 left22:51
jottr joined22:53
pantsman- left22:53
SonikBoom joined22:53
mchvs joined22:55
okanck left22:55
axl_ left22:56
kermit joined22:56
eletuchy left22:58
liamkeily joined23:00
dtscode left23:00
Zamyatin joined23:00
Dopagod left23:01
dts|pokeball joined23:01
b4rbz left23:01
nofxx left23:01
scientes joined23:01
puff joined23:03
Velzes joined23:03
phantomtiger left23:03
kyb3r_ left23:03
phantomtiger joined23:04
LBV_User joined23:04
sinkensa_ left23:04
baweaver left23:04
phantomtiger left23:05
baweaver joined23:05
Zamyatin left23:05
bannakaffalatta left23:05
caipora left23:06
nginx77 joined23:06
caipora_ joined23:06
foulou left23:06
foulou joined23:06
semicolon joined23:07
veebers left23:07
King_Hual left23:08
nafg_ joined23:09
lekare left23:10
eletuchy joined23:10
EvilPenguin joined23:13
jaydubya joined23:14
baweaver left23:15
groton joined23:16
Neozonz left23:16
robert__ joined23:16
sgen_ joined23:17
xp_prg left23:18
dm7freek joined23:18
Velzes left23:18
jerius left23:19
FunkyAss left23:19
nour_ left23:20
Sample left23:20
z8z left23:20
Velzes joined23:21
rendar left23:21
nofxx joined23:21
nofxx left23:21
nofxx joined23:21
hebz0rl left23:22
jakesyl_insomnia joined23:22
Velzes left23:23
bronson left23:23
jstimm joined23:23
xp_prg joined23:23
Velzes joined23:23
future28 joined23:24
alekks joined23:24
future28 left23:24
future28 joined23:24
future28 Hey, could be slightly off topic but say I found a mistake on 1 line of code in a 100,000 line codebase on github, how should I fix it? Is it necessary to add a pull request for just a single line change?23:24
sbogg joined23:25
jottr_ joined23:26
ojacobson future28: do you have push access to the project?23:26
future28 ojacobson: No I do not23:26
thiago joined23:27
osse future28: it is possible to edit files directly in the github interface thing23:27
teran joined23:27
Gama11 left23:27
osse so fork the project and do that23:27
then you can create a pull req23:28
lru_lru23:28
jottr left23:28
Velzes left23:29
lahwran how do I do the equivalent to `git reset --hard HEAD^` but not blow away changes in the working directory?23:29
boombatower left23:29
phy1729 just don't do --hard ?23:29
ojacobson lahwran: read man git-reset -- the first part of the synopsis is relevant, as it tells you what else can take the place of --hard23:29
gitinfo lahwran: the git-reset manpage is available at http://jk.gs/git-reset.html23:29
ojacobson ah, last, not first23:30
lahwran won't that pull the change back onto the working directory?23:30
LBV_User left23:30
Somasis left23:30
future28 osse: Yep, done. Thanks!23:30
lahwran so let's say I have two files, a and b, and they start out empty. I add the word "hello" to b, and commit that, then I add the word "world" to a, and haven't committed. I want to delete the commit and the change to b, such that it's empty again, without affecting a. how do I do that?23:31
bobmarch_ left23:31
lahwran is that --keep?23:31
ncd|leeN left23:32
osse lahwran: git stash; git reset HEAD^; git stash pop23:32
teran left23:32
LBV_User joined23:32
semicolon left23:32
lahwran I suppose that'd work, but it's pretty awkward23:32
starkhalo left23:32
lahwran tests if --keep will do it23:32
Guest21429Ionic23:32
osse I think a straight git reset HEAD^ will work too23:33
ehh, no23:33
veebers joined23:33
HoMM left23:34
osse the only ways I can think of are more awkward23:34
kevwil left23:34
osse plus my suggestion required --hard23:34
zumba_addict joined23:34
m0viefreak just do a git checkout -- a afterwards?23:35
scarabx joined23:36
osse you am genius23:36
dts|pokeball left23:36
lahwran sorry?23:37
osse git reset HEAD^ && git checkout -- a23:37
m0viefreak uhm b that is23:37
rpg left23:37
osse oops yeah23:37
lahwran this is from a script23:37
intransi_ joined23:37
pm90_ joined23:37
lahwran I think I'll use git stash23:38
osse how does that affect things?23:38
dtscode joined23:38
lahwran it's the least awkward, and my only concern is actually not an issue - that stash will ignore untracked files23:38
dtscode left23:38
dtscode joined23:39
osse resetting stuff in a script sounds a bit awkward to begin with23:39
lahwran osse: because I don't know what files will be affected23:39
Dougie187 joined23:40
naught101 joined23:40
intransit left23:41
jatt left23:43
thedodd left23:43
groton left23:43
andi3 left23:43
smccarthy left23:44
mizu_no_oto joined23:45
bg__ joined23:45
rpg joined23:45
zumba_ad_ joined23:47
zumba_addict left23:47
bsm117532 joined23:48
_spire left23:48
CheckDavid joined23:48
mjuszczak joined23:48
dtscode left23:48
jmpp joined23:49
freestyl3r left23:49
dtscode joined23:49
SonikBoom_ joined23:49
mellernoia joined23:50
zumba_ad_ left23:50
chrisshattuck left23:51
DrHouse|DellM650 left23:51
SonikBoom left23:52
pm90_ left23:53
future28 left23:54
sgen_ left23:54
jmpp left23:54
tang^ left23:58
pigeon joined23:58
macabre left23:58

Logs Search ←Prev date Next date→ Channels Documentation