IRCloggy #git 2015-02-25

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-02-25

jim if they00:00
are uncommited, they won't be merged00:00
are not uncommited00:00
wuhn left00:00
blckshp where would i find the '8c981e3f897f08f766a3cb3939add583c75791b1' and the '981e3f897f08f766a3cb3939add583c75791b1' referenced?00:00
EvilPenguin joined00:01
jontmorehouse left00:01
jim are you the one doing the review?00:01
wad left00:01
ebernhardson jim: no, i'm the one writing the patch :)00:01
jim: the changes are commited, i regularly git commit --amend the patch i'm working on as i get things working.00:01
jim if you have diffs (git diff produces output), there are uncommitted changes of some sort00:02
rpaoi joined00:02
Arsonide joined00:02
jim generally as you are working, you would patch against all new committed work along that branch00:03
I'll be back00:03
beneggett joined00:03
rpaoi left00:03
vishal ebernhardson: I'm not sure I completely understand your scenario - and I've never used gerrit - but sounds like git reset --mixed might be what you need? It basically "uncommits" a number of commits and brings everything back into the working state..00:03
antispaceman joined00:03
joki left00:04
vishal then you can checkout another branch, and all those commits worth of changes will get merged into the new branch00:04
Dwtd joined00:04
ebernhardson hmm, yea i think that would work too00:04
Dwtd left00:05
neonalpine left00:06
neonalpine joined00:06
FreezingCold left00:07
Uwvm joined00:07
smccarthy left00:07
FreezingCold joined00:07
joki joined00:08
DolphinDream joined00:08
im8bit left00:08
Uwvm left00:08
zrqu joined00:09
zrqu left00:10
neonalpine left00:11
pdw joined00:11
lsiv568 left00:11
baweaver left00:12
blckshp left00:12
dreiss joined00:12
antispaceman left00:13
UndeadElbowMacar left00:13
antispaceman joined00:14
lsiv568 joined00:14
pm90_ left00:14
mueslo__ left00:15
adamben joined00:15
adamben left00:15
adamben joined00:15
hurley joined00:16
mueslo joined00:17
Gitzilla joined00:18
otter768 joined00:19
tmager joined00:19
jadne joined00:19
jontmorehouse joined00:19
cdown left00:20
pdw left00:21
cdown joined00:22
jonalmeida joined00:22
s8321414 left00:23
otter768 left00:23
EvilPenguin left00:24
EvilPenguin joined00:24
Noldorin left00:24
baweaver joined00:25
arez left00:25
Walex joined00:25
multi_io joined00:25
Etheco- joined00:25
alexwhitman left00:26
nb_bez___ joined00:27
MarkyC joined00:28
Etheco left00:28
multi_io_ left00:28
n-st left00:28
Walex2 left00:28
cdown left00:29
jgardella joined00:29
ska-fan left00:30
misterpink left00:30
CEnnis91 left00:30
das_beard left00:30
Noldorin joined00:31
amcgee7 left00:31
leolrrj left00:31
alexwhitman joined00:32
jfbarthe joined00:32
cdown joined00:32
leolrrj joined00:33
harish_ left00:34
_Vi left00:34
tmager left00:35
qoud joined00:35
phantombeta joined00:35
nagromlt joined00:36
jim sometimes reason for 550 can't retr is you don't have permission to read?00:36
Noldorin left00:37
adamben_ joined00:38
adamben left00:38
nettoweb joined00:40
zumba_ad_ left00:40
zumba_addict joined00:41
treaki left00:41
paul424 left00:41
treaki joined00:41
highcup left00:42
Noldorin joined00:42
rchavik joined00:42
gambler left00:43
dm7freek joined00:44
aesinv left00:45
jim hmm. curl exit code 78 means "The resource referenced in the URL does not exist."00:45
so maybe you got the url wrong or the repo on the server is damaged somehow00:46
aesinv joined00:47
SirRetnu_ left00:48
thiago left00:48
rubyonrailed left00:49
capleton joined00:49
FunkyELF joined00:49
capleton hi, I'm trying to wrap my head around using git to track different directories in diefferent branches.. ie. branch1 has directory1 but branch2 has directory1 AND directory200:50
FunkyELF how do I add a port number to a remote URL like this one: git@localhost:eric/test.git00:50
capleton is that possible?00:50
thiago joined00:50
harish_ joined00:50
das_beard joined00:50
robbyoconnor joined00:50
LACabeza joined00:51
das_beard left00:51
cdown left00:51
jim FunkyELF, is it because the sshd is running on a different port?00:51
eletuchy joined00:51
kermit joined00:51
tmager joined00:51
FunkyELF jim: yeah... trying to play with GitLab running in Docker on port 222200:51
cdown joined00:52
jim FunkyELF, I'm pretty sure you can... try cloning like that and see if it works00:52
JEEB left00:53
FunkyELF jim: like what?... I don't have anything to clone. Where do I put the 2222?00:53
jim is it an ssh url? probably just where you put it in your example00:53
drfoo joined00:53
thiago git clone ssh://localhost:2222/foo/bar.git00:54
RDove joined00:54
FunkyELF thiago: jim I have nothing to clone yet... I need to push stuff into it00:55
thiago: jim this is what it tells me.... git remote add origin git@localhost:eric/test.git00:55
thiago then git push ssh://localhsot:2222/foo/bar.git00:55
Spacew00t left00:55
FunkyELF thiago: I need to add the remote first00:55
nagromlt weak00:56
gambler joined00:56
thiago technically, you don't00:56
vekkon left00:56
aesinv left00:56
FunkyELF thiago: okay... I don't understand this "git@localhost:eric/test.git" though. It already has a colon00:56
nagromlt wait00:56
thiago FunkyELF: ssh://git@localhost:2222/~/eric/test.git00:56
meLon joined00:56
FunkyELF git push ssh://git@localhost:2222/~/eric/test.git master00:57
fatal: protocol error: bad line length character: No s00:57
harish_ left00:57
lsiv568 left00:58
RDove left00:59
dm7freek left00:59
tomog9991 joined00:59
FunkyELF thiago: got it.... git push ssh://git@localhost:2222/eric/test.git master00:59
bitonic left00:59
fstd left01:00
EvilPenguin left01:00
Bootinbull left01:00
fstd joined01:00
ianbrandt left01:01
lsiv568 joined01:01
ianbrandt joined01:01
tomog999 left01:02
ParsectiX left01:02
JEEB joined01:02
clarkpan left01:03
Milk_weed joined01:04
mikecmpbll left01:04
Parsecti_ joined01:04
meLon left01:04
King_Hual left01:04
devoldmx left01:05
fstd_ joined01:05
Bass10 left01:05
daito joined01:05
Al1ve left01:05
Schrostfutz left01:05
pacbard left01:05
TinkerTyper left01:05
qoud left01:05
drager left01:05
Schrostfutz_ joined01:06
m_tadeu left01:06
heinrich5991 left01:06
Guest1846 left01:06
ebernhardson left01:06
devoldmx joined01:07
m_tadeu joined01:07
jazzzu left01:07
heinrich5991 joined01:07
Jeroen52 left01:07
fstd__ joined01:07
blckshp joined01:07
Al1ve joined01:07
Nikoli_ joined01:08
fstd left01:08
Milkweed left01:08
Nikoli left01:08
JanC left01:08
m1dnight_ left01:08
m0ltar joined01:08
bket left01:08
pigeon left01:08
flipp joined01:08
flippGuest2287501:08
CheckDavid left01:08
nda_ left01:09
pigeon joined01:09
RDove joined01:09
RDove left01:09
RDove joined01:09
vmo joined01:09
Nikhil_D left01:09
m_tadeu left01:10
moritz_ joined01:10
kadoban joined01:10
fstd_ left01:10
FunkyELF left01:10
vmo left01:10
blckshp i was on earlier. tried pushing and pulling and still won't update data to latest commit01:11
Soliton left01:12
Soliton_ joined01:12
Soliton_Soliton01:12
fstd__ left01:12
vaq joined01:12
vaq left01:13
`Nothing4You joined01:13
Olipro_ joined01:14
AaronMT left01:14
mizu_no_oto left01:14
Arsonide left01:14
crestbook left01:14
JanC joined01:15
drocsid left01:15
Bruno_ joined01:16
glebihan_ left01:16
moritz left01:16
Nikhil_D1 joined01:16
jaznow joined01:16
alexwhitman left01:16
cdown left01:16
D-Boy left01:16
Caius left01:16
xnox left01:16
cnj left01:16
weyer_ left01:16
Nevik left01:16
calops left01:16
mischat left01:16
Turl left01:16
grumbel_ left01:16
a2n left01:16
luminous left01:16
_flow_ left01:16
hyperair joined01:16
jaznow left01:16
Nikhil_D1 left01:16
Nikhil_D1 joined01:16
Olipro_Olipro01:16
hyperair left01:16
hyperair joined01:16
hyperair left01:16
hyperair joined01:16
hyperair left01:16
hyperair joined01:16
`Nothing4YouNothing4You01:16
FunkyAss left01:16
drager_ joined01:16
Omfta joined01:16
mroach joined01:17
JustSomeone joined01:18
JustSomeone left01:18
blckshp does this set up make sense? for web development i'm forced to use ftp.01:19
DolphinDream left01:19
blckshp i set up a bare repo, clone to a production directory, clone to a dev directory and clone on another host01:20
EminenceHC left01:20
alexwhitman joined01:20
D-Boy joined01:20
Caius joined01:20
Turl joined01:20
xnox joined01:20
cnj joined01:20
_flow_ joined01:20
a2n joined01:20
weyer_ joined01:20
grumbel_ joined01:20
Nevik joined01:20
calops joined01:20
mischat joined01:20
gmsim joined01:20
fishey1 joined01:20
Derega joined01:20
marlun joined01:20
JStoker joined01:20
haasn joined01:20
eXeC64 joined01:20
manitu joined01:20
bremner joined01:20
synchronous joined01:20
codebam joined01:20
kevinfagan_ joined01:20
whaley joined01:20
Bombe joined01:20
hughsaunders joined01:20
terkelg joined01:20
dom96 joined01:20
niax joined01:20
luminous joined01:20
Bilge joined01:20
card.freenode.net set mode: +vvv01:20
intransit left01:20
_flow_ left01:20
kevinfagan_ left01:20
alexwhitman left01:20
JStoker left01:20
whaley left01:20
cnj left01:20
kukks joined01:20
imachuchu blckshp: and?01:20
cnj joined01:20
blckshp any work is pushed remotely to dev for testing, then to bare repo01:21
kevinfagan joined01:21
jazzzu joined01:21
blckshp that way, more than one developer cn upload and test on dev, before pushing to production01:21
_flow_ joined01:22
blckshp production can pull from bare repo01:22
imachuchu blckshp: sounds workable, though you could just push to the bare then pull to dev (the testing repo)01:22
alexwhitman joined01:22
blckshp pull to dev with hook?01:23
gambler left01:23
blckshp i'm a n00b01:24
m1dnight_ joined01:24
imachuchu blckshp: no, I wouldn't. IMO people should be able to push to the bare without actually deploying it anywhere (that way you can have a backup and a place to share code easily with others), then when people want to test they can pull it to the dev (testing) repo01:24
JStoker joined01:24
JStoker left01:24
JStoker joined01:24
JStoker32NABEVRL01:24
DolphinDream joined01:25
blckshp ah. gotcha :D01:25
imachuchu blckshp: yeah, that way people can push their changes without messing up anybody using the dev (testing) setup.01:25
blckshp @imachuchu well, i can't even push or pull right now. getting an error so i musta fuxerd something up01:27
jgardella left01:27
aesinv joined01:28
thiago left01:28
blckshp i cloned off of the clone of teh bare repo. was that a mistake?01:28
imachuchu blckshp: not nessesarily, all git repos are just peers of eachother so it should be the exact same01:29
fstd joined01:29
imachuchu blckshp: I have to leave, but !repro for everybody else01:30
gitinfo blckshp: [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://gist.github.com/2415442 ) of your terminal session.01:30
imachuchu left01:30
blckshp if my only good copy is on my local (not on the server) how would you fix?01:30
aesinv left01:30
sbogg left01:31
Lyqyd joined01:33
popl joined01:34
maletor left01:35
Jeroen52 joined01:35
alysson joined01:35
Nikhil_D1 left01:35
Noldorin left01:35
kcj left01:35
Tommy[D] left01:35
shinnya left01:35
ap0c left01:35
sparetire left01:35
akushner left01:35
gccostabr left01:35
timewa1ker left01:35
MattMake_ left01:35
pandeiro left01:35
Quevin left01:35
coastr left01:35
clone1018 left01:35
Xiti left01:35
robinsmidsrod left01:35
Vadtec left01:35
dan64 left01:35
mmattice left01:35
rivarun left01:35
rgenito left01:35
yoh left01:35
marcaddeo left01:35
wagle left01:35
lamont left01:35
gabeio left01:35
nezZario left01:35
proq left01:35
jaggz left01:35
chernjie left01:35
AKPWD left01:35
Novacha left01:35
estan left01:35
tibl left01:35
msm left01:35
bitslip left01:35
Devels left01:35
Esya left01:35
rj1 left01:35
marvinpinto left01:35
avtobiff left01:35
mtj_ left01:35
hyperair left01:35
Guest22875 left01:35
daito left01:35
Parsecti_ left01:35
LACabeza left01:35
jontmorehouse left01:35
Vile left01:35
pierre1_ left01:35
PaulCapestany left01:35
jwhisnant left01:35
tpollard left01:35
jwest left01:35
Errorical left01:35
warthog9 left01:35
dougsland left01:35
jongravois left01:35
michael_mbp left01:35
Ragnar left01:35
Squarism left01:35
zso left01:35
moparisthebest left01:35
thejoecarroll left01:35
Slush- left01:35
tango_ left01:35
neunon left01:35
fr33domlover left01:35
berndj left01:35
Joost` left01:35
Vgr left01:35
gagan662 left01:35
hide left01:35
roknir left01:35
Timvde left01:35
zidoh left01:35
madhatter left01:35
SebastianFlyte left01:35
sorind left01:35
gbit86 left01:35
jorj left01:35
erichmenge left01:35
roflik left01:35
javawizard left01:35
minerale left01:35
hxm left01:35
ulkesh left01:35
romanovic left01:35
mancha left01:35
cite left01:35
zequence left01:35
benbergman left01:35
ivan\ left01:35
jfield left01:35
hfp_work left01:35
Kobaz left01:35
BytesAndCoffee left01:35
cxz left01:35
nephyrin left01:35
Virox left01:35
chadi left01:35
Someguy123 left01:35
charon left01:35
nitrix left01:35
iaj_ left01:35
akira left01:35
eliasp left01:35
th0rne left01:35
doobeh left01:35
Phlogistique left01:35
quuxman left01:35
`mist_ left01:35
EdwardIII left01:35
Celelibi left01:35
FunkyAss joined01:36
tristanp joined01:37
Xiti joined01:37
ome joined01:38
ghostpl_ left01:39
whaley joined01:39
hyperair joined01:39
Nikhil_D1 joined01:39
Guest22875 joined01:39
daito joined01:39
Parsecti_ joined01:39
Noldorin joined01:39
jontmorehouse joined01:39
Vile joined01:39
kcj joined01:39
Tommy[D] joined01:39
pierre1_ joined01:39
shinnya joined01:39
marcaddeo joined01:39
PaulCapestany joined01:39
jwhisnant joined01:39
tpollard joined01:39
ap0c joined01:39
sparetire joined01:39
akushner joined01:39
jwest joined01:39
Phlogistique joined01:39
Errorical joined01:39
warthog9 joined01:39
dougsland joined01:39
jongravois joined01:39
timewa1ker joined01:39
michael_mbp joined01:39
Ragnar joined01:39
Squarism joined01:39
MattMake_ joined01:39
zso joined01:39
coastr joined01:39
pandeiro joined01:39
Quevin joined01:39
moparisthebest joined01:39
thejoecarroll joined01:39
th0rne joined01:39
clone1018 joined01:39
Slush- joined01:39
tango_ joined01:39
yoh joined01:39
neunon joined01:39
fr33domlover joined01:39
rgenito joined01:39
berndj joined01:39
robinsmidsrod joined01:39
Joost` joined01:39
quuxman joined01:39
Vgr joined01:39
gagan662 joined01:39
hide joined01:39
roknir joined01:39
Vadtec joined01:39
Timvde joined01:39
zidoh joined01:39
dan64 joined01:39
madhatter joined01:39
SebastianFlyte joined01:39
mmattice joined01:39
rivarun joined01:39
doobeh joined01:39
sorind joined01:39
gbit86 joined01:39
roflik joined01:39
jorj joined01:39
erichmenge joined01:39
wagle joined01:39
lamont joined01:39
javawizard joined01:39
minerale joined01:39
hxm joined01:39
estan joined01:39
EdwardIII joined01:39
ulkesh joined01:39
romanovic joined01:39
mancha joined01:39
gabeio joined01:39
cite joined01:39
zequence joined01:39
eliasp joined01:39
proq joined01:39
jaggz joined01:39
chernjie joined01:39
benbergman joined01:39
Someguy123 joined01:39
ivan\ joined01:39
jfield joined01:39
hfp_work joined01:39
AKPWD joined01:39
Novacha joined01:39
`mist_ joined01:39
Celelibi joined01:39
iaj_ joined01:39
tibl joined01:39
Kobaz joined01:39
msm joined01:39
bitslip joined01:39
Devels joined01:39
BytesAndCoffee joined01:39
Esya joined01:39
cxz joined01:39
nephyrin joined01:39
rj1 joined01:39
Virox joined01:39
chadi joined01:39
marvinpinto joined01:39
charon joined01:39
avtobiff joined01:39
mtj_ joined01:39
kandinski joined01:39
nitrix joined01:39
akira joined01:39
cworth joined01:39
plsk joined01:39
Aaeriele joined01:39
ejnahc joined01:39
hellome joined01:39
vifon joined01:39
salparadise joined01:39
deltab joined01:39
uber joined01:39
tjbp joined01:39
xnrand joined01:39
belak joined01:39
blueyed joined01:39
teknotus joined01:39
crankharder joined01:39
CentaurWarchief joined01:39
zizzfizzix joined01:39
elnur joined01:39
kloeri joined01:39
crater2150 joined01:39
loglaunch joined01:39
BinGOs joined01:39
here_ joined01:39
buMPnet_ joined01:39
SporkWitch joined01:39
ciaranm joined01:39
tsunamie joined01:39
tomek joined01:39
card.freenode.net set mode: +v01:39
skoop joined01:39
Stravy joined01:39
dawik joined01:39
brainproxy joined01:39
BeerSerc joined01:39
BooK joined01:39
gtmanfred joined01:39
Rylee joined01:39
guibou joined01:39
h12o joined01:39
winny joined01:39
tureba joined01:39
ldlework joined01:39
colona_ joined01:39
Werring joined01:39
bob_f joined01:39
Moult joined01:39
deavid joined01:39
Mekkis joined01:39
Neptu joined01:39
bdesmet joined01:39
Vgr left01:39
jjasinski left01:39
blckshp try this: https://gist.github.com/anonymous/0fea4d2f3506d5e4689d01:39
Vgr joined01:39
Nikhil_D1 left01:40
Noldorin left01:40
kcj left01:40
Tommy[D] left01:40
shinnya left01:40
ap0c left01:40
sparetire left01:40
akushner left01:40
timewa1ker left01:40
MattMake_ left01:40
pandeiro left01:40
Quevin left01:40
coastr left01:40
clone1018 left01:40
robinsmidsrod left01:40
Vadtec left01:40
dan64 left01:40
mmattice left01:40
rivarun left01:40
rgenito left01:40
yoh left01:40
marcaddeo left01:40
wagle left01:40
lamont left01:40
gabeio left01:40
proq left01:40
jaggz left01:40
chernjie left01:40
AKPWD left01:40
Novacha left01:40
estan left01:40
tibl left01:40
msm left01:40
bitslip left01:40
Devels left01:40
Esya left01:40
rj1 left01:40
marvinpinto left01:40
avtobiff left01:40
mtj_ left01:40
whaley left01:40
hyperair left01:40
Guest22875 left01:40
daito left01:40
Parsecti_ left01:40
jontmorehouse left01:40
Vile left01:40
pierre1_ left01:40
PaulCapestany left01:40
jwhisnant left01:40
tpollard left01:40
jwest left01:40
Errorical left01:40
warthog9 left01:40
dougsland left01:40
jongravois left01:40
michael_mbp left01:40
Ragnar left01:40
Squarism left01:40
zso left01:40
moparisthebest left01:40
thejoecarroll left01:40
Slush- left01:40
tango_ left01:40
neunon left01:40
fr33domlover left01:40
berndj left01:40
Joost` left01:40
gagan662 left01:40
hide left01:40
roknir left01:40
Timvde left01:40
zidoh left01:40
madhatter left01:40
SebastianFlyte left01:40
sorind left01:40
gbit86 left01:40
jorj left01:40
erichmenge left01:40
roflik left01:40
javawizard left01:40
minerale left01:40
hxm left01:40
ulkesh left01:40
romanovic left01:40
mancha left01:40
cite left01:40
zequence left01:40
benbergman left01:40
ivan\ left01:40
jfield left01:40
hfp_work left01:40
Kobaz left01:40
BytesAndCoffee left01:40
cxz left01:40
nephyrin left01:40
Virox left01:40
chadi left01:40
Someguy123 left01:40
charon left01:40
kandinski left01:40
nitrix left01:40
iaj_ left01:40
akira left01:40
cworth left01:40
plsk left01:40
Aaeriele left01:40
ejnahc left01:40
hellome left01:40
vifon left01:40
salparadise left01:40
deltab left01:40
eliasp left01:40
uber left01:40
tjbp left01:40
xnrand left01:40
th0rne left01:40
doobeh left01:40
belak left01:40
blueyed left01:40
CentaurWarchief left01:40
zizzfizzix left01:40
kloeri left01:40
crater2150 left01:40
loglaunch left01:40
BinGOs left01:40
here_ left01:40
Phlogistique left01:40
buMPnet_ left01:40
SporkWitch left01:40
ciaranm left01:40
tomek left01:40
skoop left01:40
Stravy left01:40
dawik left01:40
brainproxy left01:40
BeerSerc left01:40
BooK left01:40
crankharder left01:40
gtmanfred left01:40
Rylee left01:40
guibou left01:40
teknotus left01:40
h12o left01:40
winny left01:40
quuxman left01:40
`mist_ left01:40
EdwardIII left01:40
tureba left01:40
elnur left01:40
ldlework left01:40
colona_ left01:40
Werring left01:40
bob_f left01:40
Moult left01:40
Celelibi left01:40
deavid left01:40
Mekkis left01:40
bdesmet left01:40
Neptu left01:40
tsunamie left01:40
lsiv568 left01:40
32NABEVRL left01:40
Omfta left01:40
drager_ left01:40
xk_id left01:40
clone1018_ left01:40
LucasTT_ left01:40
surs left01:40
Mogget left01:40
p0g0 left01:40
offbyone left01:40
aboccia left01:40
mtscout6 left01:40
rasto left01:40
bernalex left01:40
levifig left01:40
NightMonkey left01:40
hurley left01:40
jim blckshp, a 78 from curl means resource in url does not exist01:41
J1G|Anon126 joined01:41
whaley joined01:41
hyperair joined01:41
Nikhil_D1 joined01:41
Guest22875 joined01:41
daito joined01:41
Parsecti_ joined01:41
Noldorin joined01:41
jontmorehouse joined01:41
Vile joined01:41
kcj joined01:41
Tommy[D] joined01:41
pierre1_ joined01:41
shinnya joined01:41
marcaddeo joined01:41
PaulCapestany joined01:41
jwhisnant joined01:41
tpollard joined01:41
ap0c joined01:41
sparetire joined01:41
akushner joined01:41
jwest joined01:41
Phlogistique joined01:41
Errorical joined01:41
warthog9 joined01:41
dougsland joined01:41
jongravois joined01:41
timewa1ker joined01:41
michael_mbp joined01:41
Ragnar joined01:41
Squarism joined01:41
MattMake_ joined01:41
zso joined01:41
coastr joined01:41
pandeiro joined01:41
Quevin joined01:41
moparisthebest joined01:41
thejoecarroll joined01:41
th0rne joined01:41
clone1018 joined01:41
Slush- joined01:41
tango_ joined01:41
yoh joined01:41
neunon joined01:41
fr33domlover joined01:41
rgenito joined01:41
berndj joined01:41
robinsmidsrod joined01:41
Joost` joined01:41
quuxman joined01:41
gagan662 joined01:41
hide joined01:41
roknir joined01:41
Vadtec joined01:41
Timvde joined01:41
zidoh joined01:41
dan64 joined01:41
madhatter joined01:41
SebastianFlyte joined01:41
mmattice joined01:41
rivarun joined01:41
doobeh joined01:41
sorind joined01:41
gbit86 joined01:41
roflik joined01:41
jorj joined01:41
erichmenge joined01:41
wagle joined01:41
lamont joined01:41
javawizard joined01:41
minerale joined01:41
hxm joined01:41
estan joined01:41
EdwardIII joined01:41
ulkesh joined01:41
romanovic joined01:41
mancha joined01:41
gabeio joined01:41
cite joined01:41
zequence joined01:41
eliasp joined01:41
proq joined01:41
jaggz joined01:41
chernjie joined01:41
benbergman joined01:41
Someguy123 joined01:41
ivan\ joined01:41
jfield joined01:41
hfp_work joined01:41
AKPWD joined01:41
Novacha joined01:41
`mist_ joined01:41
Celelibi joined01:41
iaj_ joined01:41
tibl joined01:41
Kobaz joined01:41
msm joined01:41
bitslip joined01:41
Devels joined01:41
BytesAndCoffee joined01:41
Esya joined01:41
cxz joined01:41
nephyrin joined01:41
rj1 joined01:41
Virox joined01:41
chadi joined01:41
marvinpinto joined01:41
charon joined01:41
avtobiff joined01:41
mtj_ joined01:41
kandinski joined01:41
nitrix joined01:41
akira joined01:41
cworth joined01:41
plsk joined01:41
Aaeriele joined01:41
ejnahc joined01:41
hellome joined01:41
vifon joined01:41
salparadise joined01:41
deltab joined01:41
uber joined01:41
tjbp joined01:41
xnrand joined01:41
belak joined01:41
blueyed joined01:41
teknotus joined01:41
crankharder joined01:41
CentaurWarchief joined01:41
zizzfizzix joined01:41
elnur joined01:41
kloeri joined01:41
crater2150 joined01:41
loglaunch joined01:41
BinGOs joined01:41
here_ joined01:41
buMPnet_ joined01:41
SporkWitch joined01:41
ciaranm joined01:41
tsunamie joined01:41
tomek joined01:41
skoop joined01:41
card.freenode.net set mode: +v01:41
Stravy joined01:41
dawik joined01:41
brainproxy joined01:41
BeerSerc joined01:41
BooK joined01:41
gtmanfred joined01:41
Rylee joined01:41
guibou joined01:41
h12o joined01:41
winny joined01:41
tureba joined01:41
ldlework joined01:41
colona_ joined01:41
Werring joined01:41
bob_f joined01:41
Moult joined01:41
deavid joined01:41
Mekkis joined01:41
Neptu joined01:41
bdesmet joined01:41
tristanp left01:42
dm7freek joined01:42
gargola left01:42
blckshp @jim yes, i know. I cannot find (or don't know where) 981e3f897f08f766a3cb3939add583c75791b1, what it is complaining about01:42
highcup joined01:42
blast_hardcheese left01:42
ValicekB left01:43
bket joined01:43
aesinv joined01:43
jim when you cloned, did it make a dir for the working dir?01:43
jjasinski joined01:43
redbird joined01:44
blckshp if i remember correctly, i made a bare repo. i cloned it to a working directory. i then cloned the clone to a remote machine for work on01:45
srcerer left01:45
robins joined01:45
redbird left01:46
blckshp i was able to push from local to first clone, but now something is messed up01:46
pacbard joined01:46
highcup left01:46
Zentdayn left01:47
blckshp i'm unable to push, pull/fetch now01:47
geomyidae_ joined01:47
geomyidae_ left01:47
geomyidae_ joined01:47
jim from/to what?01:47
blckshp i'm unable to push from local to server (clone of bare repo) and i'm unable to pull/fetch from server (clone of repo) to local. It does not update the data on either target01:48
iamjarvo left01:49
jason237 joined01:49
blckshp i'm willing to start over, but i'm just trying to understand what could have happened01:49
jim do you have write access to the original repo on the server01:49
?01:49
blckshp yes01:49
DolphinDream left01:50
jim and is the thing on the server that you have write access to, a fork?01:50
damccull left01:50
blckshp yes, i suppose it is a fork01:50
i also have write access to the bare repo01:51
bn_ joined01:51
Noldorin left01:51
Squarism left01:51
robinsmidsrod left01:51
terabit joined01:51
jim so it's forked from an original repo that you didn't have write?01:51
MarkyC left01:51
sparetire left01:52
tibl left01:52
rivarun left01:52
wagle left01:52
pandeiro left01:52
rj1 left01:52
dan64 left01:52
dvl- left01:52
m0ltar left01:52
tibl joined01:52
wagle joined01:52
pandeiro joined01:52
sparetire joined01:52
dan64 joined01:52
ValicekB joined01:53
DolphinDream joined01:53
blckshp it was forked from an original repo, but i had write access to both01:53
xk_id joined01:54
blast_hardcheese joined01:54
jim you should be very careful at this point... potentially all the repos you have write to could be damaged01:54
Dougie187 joined01:55
nettoweb left01:55
robustus left01:55
m0ltar joined01:55
SebastianFlyte left01:56
hellome left01:56
rj1 joined01:56
SebastianFlyte joined01:56
blckshp thanks. i just started so it isn't a big loss to start over (carefully of course!)01:56
jim *: is there any way to check a repo for consistancy? like lint or fsck?01:56
blckshp yes01:57
jim what happens when you clone from the original directly to your local machine?01:57
robustus|Off joined01:57
robustus|Offrobustus01:58
nettoweb joined01:58
blckshp same thing, get error and only get first intial commit01:58
any certain flags to use with fsck?01:59
popl I recently attempted to push some local changes from a particular branch to the QA machine at $work, and I got a merge conflict reported in some files I hadn't even touched. How can I determine where these changes originated?01:59
rivarun joined01:59
CKyle joined01:59
NABEVRL joined01:59
Omfta joined01:59
drager_ joined01:59
aboccia joined01:59
clone1018_ joined01:59
LucasTT_ joined01:59
surs joined01:59
Mogget joined01:59
p0g0 joined01:59
offbyone joined01:59
mtscout6 joined01:59
rasto joined01:59
bernalex joined01:59
levifig joined01:59
NightMonkey joined01:59
jim fsck is actually a file system checker... it's not for git repos. I'm looking for something git can do to check its own repos02:00
terabit left02:00
otter768 joined02:00
jim lint is for C program source (not for git repos)02:00
blckshp @jim I thought you meant this: http://git-scm.com/docs/git-fsck02:01
EminenceHC joined02:01
popl I am examining the log with git log master --graph --abbrev-commit --decorate --date=relative --all. It looks like there may be a few cycles, and some of the colors are different, but I'm not sure what the different colors mean.02:01
If someone could point me to any appropriate documentation I would be much obliged.02:01
jazzzu left02:02
Goplat joined02:02
druidd joined02:02
corey84_ joined02:03
baweaver left02:03
jim blckshp yeah, that would work... (first read its manpage so you know how to use it) check one of your clones first and see if they're ok (as they are)02:03
Corey84 left02:03
jim then check the server02:04
serapath joined02:04
blckshp ran git fsck, no probs02:04
corey84_Corey8402:04
serapath left02:04
jim on all of them?02:04
EminenceHC left02:05
jim ok, make sure you have plenty of free disk space02:05
metastableB joined02:05
jim if you have less than 5%, that could be a problem02:05
akushner_ joined02:06
watabou joined02:07
ErKa left02:07
Vampire0_ joined02:07
bramgg joined02:07
daito_ joined02:08
terabit joined02:08
Vampire0 left02:10
rivarun left02:10
CKyle left02:10
Omfta left02:10
drager_ left02:10
clone1018_ left02:10
LucasTT_ left02:10
surs left02:10
Mogget left02:10
p0g0 left02:10
offbyone left02:10
aboccia left02:10
mtscout6 left02:10
rasto left02:10
bernalex left02:10
levifig left02:10
NightMonkey left02:10
daito left02:10
shinnya left02:10
akushner left02:10
akushner_ left02:11
jottr left02:11
jottr_ joined02:11
blckshp will do. thanks for the guidance02:11
jim blckshp, check how much free disk space you have, on each involved machine02:11
daito_ left02:11
daito joined02:11
Sasazuka left02:12
donmichelangelo joined02:12
clarkpan joined02:12
jim blckshp, out of curiousity, and maybe to suggest others, what are you reading or otherwise doing to learn git?02:12
Corey84 left02:12
corey84_ joined02:13
bitkiller left02:13
jottr__ joined02:14
michelangelo left02:14
blckshp i'll have to look at this server. i'm not sure which drive it is on. it could be <5%02:14
http://git-scm.com/doc mainly02:14
of course i had to read up on git ftp, and see how others did their workflow02:15
myst left02:15
Broatcast left02:15
jottr_ left02:15
rivarun joined02:16
CKyle joined02:16
NABEVRL joined02:16
Omfta joined02:16
drager_ joined02:16
aboccia joined02:16
clone1018_ joined02:16
LucasTT_ joined02:16
surs joined02:16
Mogget joined02:16
p0g0 joined02:16
offbyone joined02:16
mtscout6 joined02:16
rasto joined02:16
bernalex joined02:16
levifig joined02:16
NightMonkey joined02:16
stylica left02:16
bernalex left02:16
rivarun left02:16
clone1018_ left02:16
NightMonkey left02:16
levifig left02:16
Omfta left02:16
aesinv left02:16
harish_ joined02:16
harish_ left02:16
harish_ joined02:16
jim ok, so... there are tons of online videos on youtube, there's pro git (scott chacon), the full text of which is on git-scm, there are the man pages of each (sub)command which you can access on the web or your machine might have it... man git-(put subcommand name here)02:17
clone1018_ joined02:17
rivarun joined02:17
barmaglot left02:17
jim there's git for computer scientests and git from the bottom up02:17
levifig joined02:17
terabit left02:17
NightMonkey joined02:17
jim seems like everyone made an intro video :)02:18
suqc joined02:18
bernalex joined02:18
zivester joined02:18
jim there's lots of stuff on workflows and branching/merging strategies02:18
suqc left02:19
aesinv joined02:19
SumDude left02:19
Dei joined02:19
blckshp yeah. i think mine is a little unique in that i must use ftp beacuse pureftp has a virtualized user and it would be even more painful to chown everything02:20
opdavies left02:20
Dei left02:20
stylica joined02:21
uigx joined02:21
jim no wonder my web search says 550 is an ftp response code02:21
diegoaguilar joined02:23
ashokrajar left02:23
tmager left02:23
stylica left02:23
stylica joined02:23
blckshp yep02:24
Radivarig left02:24
Vinnie_win Can someone please tell me where git bash for Windows puts the .bashrc or .initrc or whatever script is run when bash is launched?02:24
dstarh joined02:25
livingstn left02:26
uigx left02:26
druidd left02:26
ashokrajar joined02:27
jim blckshp, just something to know, you can use tar to backup your whole repo incl working dir02:27
Iiq joined02:27
Iiq left02:27
J1G|Anon126 left02:27
leeN left02:27
J1G|Anon126 joined02:27
blckshp yes, i was aware. thanks!02:27
J1G|Anon126 left02:27
J1G|Anon126 joined02:27
jim maybe you can get peace of mind from being aware of that... you can untar it anywhere and it would work, even the remotes02:28
David joined02:28
xpe joined02:28
xpe left02:28
druidd joined02:28
uaes joined02:29
uaes left02:29
jhuua joined02:30
jhuua left02:30
unomystEz joined02:30
fiajo joined02:31
zapb_ left02:31
zapb_ joined02:32
unomystEz i would like to deploy an application and it's configs out using git, im fairly familiar with git and i know it's not really suited for large binaries, etc..02:32
J1G|Anon126 left02:32
unomystEz i tried git fat but have run into issues with it after some heavy use, git annex seems promising though02:32
mizu_no_oto joined02:32
blckshp it does, actually. i tar them on a cron job (which may be why i'm running out of space!)02:32
unomystEz anything else i should look at?02:32
jim probably you should look at the url given by the bot !deply02:34
!deploy02:34
gitinfo Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html02:34
unomystEz jim: thanks, I missed that02:34
jim: very informative link, thanks again02:35
macabre joined02:35
dm7freek left02:36
jim hmm, I should probably read it... good review tho :)02:36
dougsland left02:37
unomystEz jim: someone on my team suggested just using svn since it doesn't clone the whole repo, i got about 5 mins through the svn tutorial (i forgot how to use it 7 years ago) and gave up, really missed git =p02:37
jim heh02:37
curvv left02:38
jim I guess the implication of not cloning the repo is to remove the "distributed" attributes and abilities02:38
echo-are`echo-area02:39
unomystEz hmm, i actually don't like any of the proposed solutions from that link02:40
think I'll play around with git-annex some more02:40
iamjarvo joined02:40
iamjarvo left02:40
ianbrandt left02:40
jim can you build a separate deployment tool?02:41
kapil___ joined02:41
blckshp left02:41
unomystEz it must have also been written before git 1.702:41
iamjarvo joined02:41
iamjarvo left02:41
Lyqyd left02:41
jim probably, and we're at 2.3.something02:41
gopar joined02:41
unomystEz jim: i can but i was hoping to leverage git02:41
iamjarvo joined02:41
unomystEz i like to be able to say "how did the configs change over the past week", etc..02:42
git provides all of that power02:42
Jetchisel left02:43
nnyk_ joined02:43
dstarh left02:43
Consuela left02:43
drfoo left02:45
ashnur joined02:45
saint_ joined02:46
zpr joined02:47
Dorf left02:48
ashokrajar left02:49
zpr greetings! i am converting a production website to a deploy workflow with git. there are currently many important files in the "work tree" directory that arent in the actual repository (uploads, various cfg folders, etc.). my deploy hook calls for "git checkout -f" on the work tree. if I am checking out a branch that does not contain files that are in the current directory, will they get erased? or "removed" from the current work tree?02:49
zamabe joined02:50
ropav left02:50
ashokrajar joined02:50
ropav joined02:51
ropav_ joined02:52
lys joined02:52
kermit left02:54
lidaaa left02:54
aesinv left02:55
ropav left02:56
aesinv joined02:56
ahr3n joined02:56
ahr3n hey; is there any way I can check what's changed within a directory over multiple commits?02:57
For example; I have /app1 and /app2, and my colleague has been updating /app2 and I want to check over his multiple commits to see if he's edited anything in /app1 also02:57
joeyDB left02:57
filcab git log revs -- app1?02:57
J1G|Anon126 joined02:58
ahr3n i'll try it!02:58
cheers02:58
pks left02:59
CKyle left02:59
jadne left02:59
nb_bez___ left02:59
jaznow joined03:00
terabit joined03:00
pks joined03:00
terabit left03:00
zamabe If I do a revert commit, does that just do the change in reverse or does it refer to the commit being revered? Would I be able to tell which commit was revered if the commit message was useless for that?03:01
terabit joined03:01
Jetchisel joined03:02
J1G|Anon126 zamabe: it just does the change in reverse. the commit message is the only thing indicating which commit is reversed03:02
MattMake_ left03:02
zamabe Thanks03:02
bluesm left03:02
dreiss left03:03
tieTYT2 left03:04
jaznow left03:04
mizu_no_oto left03:05
skorgon joined03:06
skorgon left03:06
skorgon joined03:06
corey84_ left03:07
Takumo left03:08
Nevik left03:08
synchronous left03:08
Nevik joined03:08
otter768 left03:09
gmsim left03:09
gmsim joined03:09
synchronous joined03:10
msonntag left03:10
otter768 joined03:10
Takumo joined03:11
Takumo left03:11
Takumo joined03:11
msonntag joined03:12
luriv_ joined03:14
glebihan_ joined03:15
t0th_-_ joined03:15
nettoweb left03:16
luriv left03:17
UndeadElbowMacar joined03:17
ErKa joined03:18
ghoti left03:19
daito left03:19
daito joined03:20
rebs left03:20
otter768 left03:20
t0th_-_ left03:24
jottr joined03:25
daito left03:25
jottr__ left03:26
Es0teric joined03:26
ropav_ left03:26
ghostpl_ joined03:27
highcup joined03:27
MLM joined03:28
schlumpi left03:28
Literphor left03:28
schlumpi joined03:29
rpg joined03:30
ashokrajar left03:31
jgardella joined03:31
darkbasic left03:31
Bruno__ joined03:32
highcup left03:32
rpg left03:32
darkbasic joined03:32
rpg joined03:32
epifanio_ left03:32
ghostpl_ left03:32
teufelChiCoder joined03:33
duderonomy left03:33
tmager joined03:33
stylica left03:33
SirRetnuh joined03:35
Bruno_ left03:35
rubyonrailed joined03:35
linuxmint left03:37
linuxmint joined03:40
Es0teric left03:40
jeromelanteri joined03:41
jeromelanteri hello, is it possible to create a sub git repository ?03:42
clarkpan left03:42
pacbard left03:42
jeromelanteri for exemple, i have on my local machine, a directory for all my projects for Qt, an other one for my porjects from djang, an other one for projects for Rails... and then, in git, i would like to have QT5 repository, Rails and Django repository, and inside each, sub-repositories for each little ptest projects... is it possible and how to do that ?03:43
milki jeromelanteri: !subrepo03:43
gitinfo jeromelanteri: [!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.03:43
clarkpan joined03:46
JR____ joined03:46
cagedwisdom joined03:46
jeromelanteri gitinfo and milki: thanks for answer and information, also, i'm newbie user of git... i see on web site that there is not simple way to add subrepo... but by terminal, for exemple, i'm on the local directory of one of my own QT5 project... and i want to create a subreop of my git QT5 repo... and push the project inside this git supbrepo...03:46
gitinfo jeromelanteri: you're welcome, but please note that I'm a bot. I'm not programmed to care.03:46
jeromelanteri how to do it simple for exemple ?03:46
alysson left03:47
adamben_ left03:47
jeromelanteri ok milki, i go for search around subrepo command use. thanks03:47
githogori_ joined03:48
githogori_ left03:48
helgikrs left03:49
pacbard joined03:49
mueslo_ joined03:51
helgikrs joined03:51
rubyonrailed left03:51
ropav joined03:52
unomystEz left03:52
drodger joined03:53
joeyDB joined03:54
mueslo left03:54
schlumpi left03:57
jeromelanteri ok, i read this, if i well understand, there is no real subrepository, but virtual ones with organisation by a "submodule file" added to the repository... and then, for exemple, after that you can not mount them easily by QtCreator for exmple... because this change the command line for access the subrepository, because the real https adress suberpository not exist. right ?03:57
so, if i understand, it is not possible to have a real sub repository.03:57
Segfault_ joined03:58
schlumpi joined03:59
das_beard joined03:59
CKyle joined03:59
joeyDB left03:59
rpg left04:01
UndeadElbowMacar left04:01
ghoti joined04:01
dreiss joined04:02
jgardella left04:02
m0viefreak left04:02
macabre left04:02
daito joined04:03
SirRetnuh left04:04
Dougie187 left04:04
viscera left04:05
ghoti left04:06
lys left04:06
jottr left04:09
ghoti joined04:10
dreiss left04:12
tmager left04:13
kadoban left04:15
ghoti left04:15
mezod left04:17
fiajo left04:18
madewokherd left04:19
Guest98427 joined04:19
leolrrj left04:20
kermit joined04:21
jontmorehouse left04:21
stymo left04:23
Bruno_ joined04:25
Mobutils joined04:25
kukks left04:26
Bruno__ left04:28
kyb3r_ joined04:29
ozialien joined04:29
thomas left04:30
druidd left04:31
toothrot left04:31
JanC left04:32
thomas joined04:32
lindenle left04:33
MattMaker joined04:33
dmarr if i have an upstream and want to check it out to a new branch how would i?04:33
co -b upstream/foo localfoo # didnt work i guess because i dont have a localfoo branch?04:34
milki swap your arguemtns and read man git checkout04:34
gitinfo the git-checkout manpage is available at http://jk.gs/git-checkout.html04:34
dmarr ah that makes more sense04:35
startpoint would be the upstream04:35
fatalhalt joined04:35
JanC joined04:36
DolphinDream left04:36
BuenGenio joined04:37
ropav_ joined04:38
saint_ left04:38
specious joined04:38
MattMaker left04:39
lpmulligan joined04:39
jeromelanteri milki: that i think about sub-repo is correct or not ?04:39
GODDOG joined04:40
ropav left04:40
autochthon joined04:41
milki 6i dont know what a "real" sub repository means04:42
and i have no clue about your !gui04:42
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.04:42
Consuela joined04:42
stymo joined04:43
stymo left04:43
beautifulmind joined04:44
diegoaguilar_ joined04:44
diegoaguilar_ left04:45
RaceCondition joined04:46
curiousmansi joined04:46
CKyle left04:47
lindenle joined04:47
jaznow joined04:49
stacks_ joined04:51
Xethron joined04:52
stacks_ the nsa has their hands in everything. Very informative and powerful documentary about Edward Snowden called Citizenfour http://weshare.me/e33be3d590f32460/Citizenfour_(2014)_-_The_Edward_Snowden_Story.mp404:53
stacks_ left04:53
m0ltar left04:53
jaznow left04:53
beautifulmind left04:53
beautifulmind joined04:54
pacbard left04:55
iamjarvo left04:56
jeffmjack joined04:57
Vadimus joined04:57
lpmulligan left04:58
milki ...04:58
irqq joined04:58
milki 21:00 [freenode] -!- p 0 staff members05:00
no ops are available -.-05:00
lindenle left05:00
BackEndCoder joined05:00
lindenle joined05:01
The_Phoenix joined05:01
BackEndCoder hi, i am trying to change authour on a single commit (it was a root fresh install)05:01
The_Phoenix left05:01
BackEndCoder problem is, when a rebase, it says its mid cherry pick05:01
so i can't set an author05:01
and finish the rebase05:01
but sad cause it makes the contributors look werid on github :(05:02
milki "it says its mid cherry pick"05:02
a !repro would be good05:02
gitinfo [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://gist.github.com/2415442 ) of your terminal session.05:02
Xethron left05:03
The_Phoenix joined05:03
BackEndCoder and also, the commit i want to edit, happens to be one that moves loads of files around05:03
The_Phoenix left05:03
The_Phoenix joined05:03
Xethron joined05:03
The_Phoenix left05:04
dmarr is that correct syntax? git ls-remote -h [email@hidden.address] HEAD05:04
SirRetnuh joined05:04
milki "correct" for what?05:05
and !tias05:05
gitinfo Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://gitolite.com/tias.html may help with git-specific TIAS.05:05
subhojit777 joined05:05
milki dmarr: also man git ls-remote05:06
gitinfo dmarr: the git-ls-remote manpage is available at http://jk.gs/git-ls-remote.html05:06
BackEndCoder https://gist.github.com/BackEndCoder/c98ced32e076cd643cb305:06
lindenle left05:06
BackEndCoder i didn't get as fafter as the cherry pick this time05:06
GODDOG left05:06
BackEndCoder the rebase line gave me a file, i changed the commit i wanted to change the author to 'edit form pick'05:06
robbyoconnor left05:06
dmarr jenkins git plugin is saying it couldnt connect, so i tried over https, and I don't get any errors but i also don't see any output05:06
MattMaker joined05:07
milki BackEndCoder: why are you talking about a cherry pick if you are showing a rebase?05:07
BackEndCoder: have you done things before this rebase?05:07
BackEndCoder cause i didn't do a cherry pick05:07
no, it was a clean pull05:08
dmarr milki: i see -h Limit to only refs/heads and refs/tags, respectively.05:08
BackEndCoder no attempt at a cherry pick05:08
dmarr but i'm not clear what that is for05:08
lidaaa joined05:08
milki BackEndCoder: o, by file ,you mean thing the pick, edit lines05:08
dmarr refs/heads?05:08
BackEndCoder yes milki05:09
ozialien left05:09
milki BackEndCoder: if you only do picsk and edits, this shouldnt have happened05:09
Vadimus left05:09
BackEndCoder i've done this before05:09
milki unless you have an explicit empty commit05:09
BackEndCoder hence why i came here to ask05:09
SirRetnuh left05:09
jontmorehouse joined05:09
BackEndCoder i did try it a different way, the last commit is a empty commit05:10
is that why its breaking ? i can do a revert ?05:10
milki if this is intentional, then its safe to git rebase --skip05:10
autochthon left05:10
Polyatomic joined05:10
BackEndCoder ok, so i did that command05:11
but i'm worried that its pulled back my old .gitignore05:11
so its asking me to commit a load of files i wanted ignored05:12
irqq_ joined05:12
milki BackEndCoder: a rebase will not add or delete any extra files that werent made in the commits05:12
it will only do what the commits told it to do05:13
beautifulmind left05:13
irqq left05:13
irqq_irqq05:13
BackEndCoder my new improved .gitignore might be in a later commit05:13
i'm in danger of trying to upload 1000 images to github05:14
milki sure. gitignore will not apply retroactively05:14
Raging_Hog joined05:14
milki and it doesnt apply to tracked files05:14
you need to fix that yourself05:14
and itll probably be difficult to fix05:14
there might be ways with filter-branch, but im not going to try to figure it out05:15
the internets might have a decent example05:15
beneggett left05:16
ghostpl_ joined05:16
BackEndCoder yeah when i try and ammend the authour at this stage05:17
it thinks i'm mid cherry pick05:18
figures05:18
cromero joined05:18
BackEndCoder thanks for your help05:18
jeromelanteri milki: my question is not around GUi or not (definitly not), but about the fact of something i maybe not understand: the subrepo sommand create a REAL (check the definition of the word if you not understand what is REAL) "sub repository" that can show a link to a representative url or just an artifice to make a simulation of a sub repository ?05:19
jim BackEndCoder, you're not in any danger, you have full control of everything... nothing gets sent to github that's not in a local commit, nothing gets in a local commit without being added and then committed05:19
BackEndCoder but when i try to amend the authour, it thinks i'm mid cherry pick05:20
so it just fails anyway05:20
ahr3n left05:20
jim does git status show clean?05:20
jeromelanteri for exemple (to illustrate my question), if i use subrepo command, does i have an url like: https://github.com/my_name/my_repo/my_sub_repo or not ?05:21
otter768 joined05:21
Literphor joined05:21
ghostpl_ left05:21
milki jeromelanteri: no, sub repos are normal repos that live somewhere else05:22
daito left05:22
milki jeromelanteri: github.com/your_name/your_sub_repo05:22
jeromelanteri: they must exist as independent sub repos05:23
er05:23
independent repos05:23
daito joined05:23
jim is this true: "a subrepo is just a repo and it follows all the same rules"?05:23
milki but you can "link" them05:23
beautifulmind joined05:23
jeromelanteri so it is not a REAL su_repo. ok , thanks milki05:23
milki what are teh "same rules"05:23
daito left05:23
GT4066 joined05:23
jim all the things that apply to a plain ol regular repo05:23
hahuang65 joined05:24
milki yes, they all apply05:24
they are repos05:24
pacbard joined05:24
daito joined05:24
milki you[Bthey have a .git repo in themdirectory in them05:24
jeromelanteri so there is not too much sens to do a (strange) sub_repos (ther is some, but very limited)05:24
milki if you sbscribe to the workflow they are trying to solve, then they are useful05:25
iveqy jeromelanteri: we are talking about git subrepo here and not git submodules right?05:25
milki otherwise, if you have no idea what you are trying to do with them, its a bad idea (tm)05:25
jim it seems to just be a structure surrounding a group of repos05:25
ahmetalpbalkan left05:25
otter768 left05:25
jeromelanteri iveqy: i don't know... yes... i'm new for use git and would just like to have some sub repos to use inside repos.05:25
milki if you think you want a sub repo, you probably dont need one05:26
jeromelanteri milki: i can not undertsand the sens of your form of answer...05:26
iveqy jeromelanteri: then you should use git submodule.05:26
jeromelanteri: !submodules05:26
gitinfo jeromelanteri: [!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-Submodules05:26
milki but if you dont know anything about Makefiles and scripts, then its a quickfix05:26
jeromelanteri: _why_ do you want repos inside repos?05:27
jeromelanteri iveqy: i read about submodeul too... but in fact, that i understand (and maybe bad), is that after do that, you will have some special commands to access tem...05:27
milki: i explain my idea again (like i do just one hour ago):05:27
jim in my case the subrepos or submodules or subtrees might be plugins05:28
iveqy jeromelanteri: no you wont. You will have special commands to handle them, but not to access them05:28
jeromelanteri i have many differents projects: some of them from Qt5, some other from Rails, some other from Django05:28
and then, i want to have repos for type of projects (one for Rails, one for Django, one for QT5)05:28
inside each of them, i would like to have sub-repo for each project05:28
netj left05:29
jeromelanteri and then, handle them like a normal repo05:29
possible or not ?05:29
iveqy jeromelanteri: so say that you've 2 Qt5 projects05:29
milki ok, that doenst explain much still. " i would like to have sub-repo for each project05:29
"05:29
jim but really the plugin repos are just subdirs which happen to have .git and which have remotes05:29
milki why do you want that?05:29
jeromelanteri iveqy: yes05:29
netj joined05:29
jeromelanteri milki: why not ? (i like organisation)05:30
ahr3n joined05:30
iveqy jeromelanteri: named a and b. Project A is version 1 and project B is version 1. Now you develop project B to version 2. How does this effect project A? Is it so that project A might need adjustments to handle a new version of B?05:30
jeromelanteri why am i lik ethis or like that ? it is because it is like that.05:30
iveqy: i follow you, thanks...05:30
iveqy: no05:31
project A and B are totaly separate thinks in my situation05:31
iveqy jeromelanteri: then you've no need to keep track of the versions between two repositories and hence you should keep them apart and not as submodules. Submodules are when you have a relation between your repositories05:31
jeromelanteri iveqy: ok, i understand the idea around this choice.05:32
iveqy (of course you could use git submodule, but it would just be extra work)05:32
irqq left05:32
jeromelanteri so for be able to have some organisation seprattion between langegs use for projects, i need to create different account... right ?05:33
milki if its _just_ organization, you dont need anything special05:33
like !subrepo says, just put your repo there05:33
gitinfo [!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.05:33
iveqy using git submodule each child repo is like a normal (almost) git repo, and you work inside that repo as you normally do. It's just when you update the parent repo you use git submodule commands05:33
jeromelanteri or give them a specific name and all of them are in the basket in "bordel"...05:33
J1G|Anon126 left05:33
milki iveqy has this. my itnernet is lagging out -.-05:33
thiago joined05:34
jeromelanteri ok huys, i better understand what i can do or not with git now. My solution have to open different account for separate projects coding style.05:35
guys05:35
thanks05:35
lindenle joined05:36
ashokrajar joined05:37
ashokrajar left05:38
lindenle left05:38
ashokrajar joined05:38
egray_ joined05:38
beautifulmind left05:38
beautifulmind joined05:39
wethu left05:40
knownasilya left05:41
beautifulmind left05:41
thiago left05:41
beautifulmind joined05:42
JR____ left05:42
joeyDB joined05:43
jongravois left05:44
thiago joined05:44
in3xes left05:44
jongravois joined05:44
in3xes joined05:45
Parsecti_ left05:46
ParsectiX joined05:46
devoldmx left05:47
bb010g joined05:49
jongravois left05:49
joeyDB left05:49
devoldmx joined05:51
mennea joined05:51
Tommy[D]_ joined05:52
beautifulmind left05:53
clarkpan left05:53
egray_ left05:53
tpollard left05:54
beautifulmind joined05:54
Tommy[D] left05:56
ahr3n left05:56
zamabe left05:57
clarkpan joined05:58
The-Compiler left05:58
nnyk_ left05:59
echo-area left05:59
echo-area joined05:59
ashokrajar left06:00
ashokrajar joined06:01
RaceCondition left06:02
boombatower joined06:03
boombatower left06:03
boombatower joined06:03
gyeates left06:04
beautifulmind left06:06
jonmorehouse joined06:06
jontmorehouse left06:06
barduck joined06:07
ParsectiX left06:09
zoso joined06:10
iveqy jeromelanteri: accounts are in now way a part of git. Git doesn't do access control06:11
mennea left06:11
clarkpan left06:11
nnyk_ joined06:13
specious left06:14
beautifulmind joined06:15
pantsman- joined06:15
beautifulmind left06:15
settermjd joined06:16
SirRetnuh joined06:16
cromero left06:17
highcup joined06:17
Xiti left06:18
Xiti joined06:18
Bruno_ left06:19
devoldmx3 joined06:20
settermjd left06:20
Guest98427 left06:21
highcup left06:21
lqi joined06:22
Ioa joined06:22
zivester left06:23
devoldmx left06:23
MechtiIde joined06:28
Goplat left06:28
clarkpan joined06:29
Xeago joined06:29
arup_r joined06:29
pierre1_ left06:30
curvv joined06:30
nnyk_ left06:33
pantsman- left06:36
jaznow joined06:37
aviraldg joined06:37
dreiss joined06:38
aviraldg left06:38
lindenle joined06:38
aviraldg joined06:39
aviraldg left06:39
aviraldg joined06:40
aviraldg left06:40
[aviraldg] joined06:41
Osi joined06:41
Osi left06:41
SirCmpwn left06:41
[aviraldg] left06:41
aesinv left06:41
jaznow left06:42
aviraldg joined06:42
Ioa left06:42
TomyLobo joined06:42
aviraldg left06:42
clarkpan left06:43
lindenle left06:43
hvxgr left06:43
ghoti joined06:43
sinkensabe joined06:43
das_beard left06:44
beautifulmind joined06:45
boombatower left06:45
beautifulmind left06:46
SirCmpwn joined06:48
starkhalo left06:48
ghoti left06:48
wachterjohannes joined06:49
ThomasLocke joined06:49
thebrush joined06:49
Eeuq joined06:49
Eeuq left06:49
thebrush left06:50
thebrush joined06:50
crestbook joined06:50
jeromelanteri iveqy: good... i will go by this way: an account for each code style project. It is ok for me like that.06:51
Xeago left06:51
Hih joined06:52
Hih left06:52
ome left06:53
jargon joined06:53
Vqeg joined06:54
Vqeg left06:54
sinkensabe left06:55
linuxmint left06:56
mkaesz joined06:56
crestbook left06:56
beautifulmind joined06:57
PCatinean joined06:58
Silmarilion joined06:58
Guest25837 joined06:59
aerth left07:00
aerth joined07:00
Consuela left07:00
SirRetnuh left07:01
arup_r_ joined07:01
ErKa left07:02
Consuela joined07:02
Consuela left07:03
Consuela joined07:03
arup_r left07:05
MechtiIde left07:05
pm90_ joined07:05
ghostpl_ joined07:05
polyzen left07:06
watabou left07:06
nagromlt left07:07
Macaveli joined07:08
mskaesz joined07:08
Macaveli left07:08
Macaveli joined07:09
mkaesz left07:09
Literphor left07:10
serengeor joined07:10
ciampix joined07:10
ghostpl_ left07:10
freimatz joined07:11
aesinv joined07:12
opdavies joined07:12
mennea joined07:13
hvxgr joined07:13
veebers left07:14
hahuang65 left07:16
curiousmansi left07:17
MLM left07:17
acolson joined07:18
aesinv left07:19
ghoti joined07:19
aswen joined07:19
roelmonnens joined07:20
kermit left07:21
jeffmjack left07:21
mroach left07:21
otter768 joined07:22
metastableB left07:22
tyreld left07:22
jceb joined07:23
pcypher joined07:23
thms joined07:25
gsingh93 left07:25
thms Hi everyone. I am freelancing and some guy asked me to add all files to bitbuck.07:25
Turns out the thing is 109G.07:25
I ran git add origin, and git add . (it took hours alrady)07:26
I'm doing commit -am "first commit" which runs for 25mins already.. too.07:26
skorgon left07:26
thms I would like to clean the shit and do another repo, but how will git commit behave if I start removing files at this point ?07:26
otter768 left07:26
sinkensabe joined07:27
SirCmpwn left07:28
wethu joined07:28
NosBit joined07:29
leolrrj joined07:30
zpr left07:30
ghoti left07:30
Corey84 joined07:31
ghoti joined07:31
paulweb515 left07:31
cwillu_at_work left07:32
jongravois joined07:32
paulweb515 joined07:32
ende joined07:32
joeyDB joined07:33
kotopies joined07:34
kotopies left07:34
SirCmpwn joined07:35
bremner thms: !large07:35
gitinfo thms: [!large_files] Git isn't yet great at large files(larger than RAM). Look at !annex for solutions. You can find them (after gc) with: git verify-pack -v .git/objects/pack/pack-*.idx | grep blob | sort -k3nr | head | while read s x b x; do git rev-list --all --objects | grep $s | awk '{print "'"$b"'",$0;}'; done07:35
NosBit left07:35
sinkensabe left07:35
sinkensabe joined07:35
pcypher left07:36
dodobrain left07:36
bremner if the files are already in a commit, then you will have to rewrite history to get rid of them. The git-filter-branch man page has examples.07:36
but then you face the hazards of !rewrite07:36
gitinfo Rewriting public history is not recommended. Everyone who has pulled the old history have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push -f <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum07:36
jongravois left07:37
jim a way to remove files (without rewriting history): use git rm, then commit07:37
digitalextremist joined07:37
joeyDB left07:38
jaznow joined07:38
dreiss left07:38
sinkensabe left07:38
sinkensabe joined07:39
eto bremner: bot says: "isn't yet great" does it mean this thing is planned to get eventyualy fixed, without annex?07:40
digitalextremist left07:40
jaznow left07:42
beautifulmind left07:43
gopar left07:43
Seveas eto: there is nothing concrete (or even abstract) going on to fix this.07:44
ska-fan joined07:44
khurram joined07:44
khurram i have given access to one of my collegue to upload files , wondering if there is any utility / tool through which i can get a log what he uploaded with datentime and what he downloaded etc , im on debian wheezy ?07:44
TomyLobo left07:44
Seveas khurram: that doesn't seem to be git-related....07:44
khurram Seveas: the developer is doing FTP to the location where git is installed and git doesn't track direct FTP upload changes to the file07:45
Seveas khurram: check your ftp server's documentation07:45
Gamecubic left07:46
jim khurram, yeah, that seems to be a problem that git is not said to handle07:47
thiago left07:48
mennea left07:48
jim is this someone you trust?07:49
khurram jim: yes he is my collegue07:49
Error404NotFound joined07:49
khurram jim: i have added his account on my server using adduser command on linux , is there a specific log per user on linux ? through which we can track the activities user did ?07:50
Trudko joined07:51
jim want to control what he does? don't give him shell access... so, I'm getting conflicting messages from you (which is fine by me; I don't know either one of you): one message says: "I trust this user", the other says "how can I watch everything he does"07:53
eto Seveas: that is what i wanted to know07:54
robbyoconnor joined07:54
robbyoconnor left07:54
r0bby_ joined07:54
jim probably you want to resolve in yourself these messages... trust? watch? how do they go together? what do you really want?07:55
what's the problem?07:55
eto jim: maybe he just wants audit07:55
r0bby_ left07:55
eto khurram: what server ? ftp is very vague, more i over i wouldn't use ftp for that07:56
khurram: ssh comes with sftp builtin and it works with major clients07:56
Error404NotFound left07:56
c0ded left07:56
eto khurram: seeing what he pushed up, is matter of watching logs of given ftp/sftp server software07:57
jnavila joined07:57
jim I'd still ask "why"... it's still conflicting, and I'd still want to know what he actually wants, and what problem he actually wants to solve...07:57
having said all that...07:57
wethu left07:57
jim it's all good07:57
jagob joined07:58
eto jim: roger07:59
Raging_Hog left08:00
irqq joined08:01
ende left08:01
Seveas khurram: have a look at auditd08:01
d4ryus_ joined08:01
Guest25837 left08:03
c0ded joined08:03
fnma joined08:03
khurram Seveas: nopes doing it now...08:04
fnma left08:04
jim and it's not just him... if the user is doing anything besides contributing to a repository, it's either something he specifically allows, or it's a violation of the trust (insofar as it's unexpected)08:04
d4ryus left08:05
ska-fan left08:05
ghostpl_ joined08:06
Literphor joined08:07
thms I have a git commit -am running for hours, htop used to show some moves, but now it doesnt08:07
darkbasic_ joined08:08
thms how can I check it still runs ?08:08
darkbasic left08:08
grawity thms: attach strace to it08:10
thms: sudo strace -p <pid>08:10
diegoaguilar left08:11
ghostpl_ left08:11
grawity (sudo may be optional depending on distro)08:11
osse and quality of life08:11
ska-fan joined08:11
ScioMin joined08:11
thms grawity: thanks08:12
Seveas thms: how in the world did you do this? Committing a complete filesystem?08:12
rath joined08:12
thms Seveas: accepting a freelance from someone not very smart.08:12
I don't have strace installed on his system but lsof shows some kind of activity08:13
Seveas thms: ls -la /proc/$(pidof git)/fd08:13
hebz0rl joined08:13
Raging_Hog joined08:13
Seveas stupid commit hook perhaps (ps auxf should help see if there's one running)08:14
Xauz joined08:14
Xauz left08:14
osse thms: it sounds a bit like you commited binary artifacts also08:14
109 GB of original content is pretty good08:14
das_beard joined08:15
thms Seveas: returns:08:16
lr-x------ 1 helidirect-ssh clp 64 Feb 25 00:09 6 -> /home/cloudpanel/htdocs/www.helidirect.com/.git/objects/pack/pack-988a576312dc6106ff48a6c7431b125499ca0f67.pack08:16
pcypher joined08:17
thms but lsof |grep git shows me it still runs.08:17
Seveas ooh fun, it's packing. That can take a while if you have stupid things in the repo08:17
(like large binary things)08:17
wicope joined08:17
thms Seveas: there probably is :D08:17
aqhv joined08:18
das_beard left08:20
moritz_moritz08:22
oldWelff joined08:22
tuor joined08:22
ska-fan left08:23
TomyWork joined08:23
Raging_Hog left08:23
ska-fan joined08:26
Hounddog joined08:26
drodger left08:26
workerbeetwo joined08:27
lindenle joined08:28
Dudi joined08:30
lindenle left08:32
jaznow joined08:33
lb1a joined08:33
ki0 joined08:35
cvanball joined08:35
CheckDavid joined08:36
The_Phoenix joined08:36
The_Phoenix left08:36
ska-fan left08:36
The_Phoenix joined08:37
The_Phoenix left08:38
robinsrobinsmidsrod08:38
netj left08:39
netj joined08:39
devll joined08:39
aidalgol joined08:40
The_Phoenix joined08:40
rivarun left08:40
rivarun joined08:40
mennea joined08:42
pretodor joined08:44
pcypher left08:46
darkbasic joined08:46
darkbasic_ left08:47
lidaaa left08:48
vurma joined08:48
hebz0rl left08:49
arup_r_ left08:49
xk_id left08:49
Literphor left08:50
Rhonda left08:54
Raging_Hog joined08:55
yxejamir joined08:55
ska-fan joined08:57
PCatinean left08:57
benibadboy joined08:58
benibadboy git-tree08:58
petersr joined09:01
bvi joined09:01
Corey84 left09:02
ende joined09:02
thms left09:02
mikecmpbll joined09:02
zumba_addict left09:03
Takle joined09:04
rkmylo joined09:06
ghostpl_ joined09:07
ende left09:07
osse git-forest09:07
nnyk_ joined09:09
zxd joined09:09
jonmorehouse left09:10
osse git-f0rest09:11
ghostpl_ left09:11
fooforge joined09:11
BuenGenio left09:12
random-user-name joined09:12
rkmylo hi all, i have a staging branch that's has some key differences from master. when a new feature is to be developed, i branch out from staging, then i merge the feature branch to staging and test. finally, all changes that took place in the feature branch are also merged to master. the problem is that i have branch that has been --ff merged to staging and then deleted. as a result, i tried to cherry-pick the change but i'm getting an09:13
error "Commit ... is a merge but no -m option was given.". what should be my approach in order to merge the changes of the feature branch to master?09:13
leolrrj left09:14
pm90_ left09:14
Rhonda joined09:14
osse rkmylo: sounds like it wasn't ff'ed since there is a merge commit involved09:14
Cust0sL1men joined09:14
osse !lol might help to see what is going on09:14
gitinfo A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all09:14
aesinv joined09:15
rkmylo @osse: i think it was. i basically merged with no --ff switch specified but the resulting network shows it was an -ff09:15
mlechner joined09:16
das_beard joined09:16
curiousmansi joined09:16
Trudko_ joined09:16
arup_r joined09:17
osse rkmylo: you can do git merge abd234 . that works just like git merge <somename>09:17
curiousmansi guys i want to know the complete history of the file on github like some file xyz.js is present in the branch i am working on09:17
how can i know the complete history of it ?09:18
rkmylo @osse: so this will have the same effect as `git cherry-pick abd234` in a sense, right?09:18
leolrrj joined09:18
osse rkmylo: no09:18
tvw joined09:18
hans_s joined09:18
Arsonide joined09:18
curiousmansi tell me both the command line and github.com approach09:19
ranchodev left09:19
daito left09:19
osse curiousmansi: git log -- filename09:19
rkmylo @osse: so..? what will merge do?09:19
osse curiousmansi: in github, navigate to the file and click history09:19
howlymowly joined09:19
Trudko left09:20
Trudko_Trudko09:20
daito joined09:20
osse rkmylo: hmm, it sounded to me like you were comfortable with merging.09:20
daito left09:20
aesinv left09:20
das_beard left09:20
michael_mbp left09:20
rivarun suppose i have branch A, from which i branched to B and made 10 commits. then from B i branched to C and made 1 more commit. in reality i wanted to branch from A, so now i have 11 commits instead of 1 in C. what's the easiest way to amend this? can i ask git to intersect the branches in order to resolve this for me?09:20
daito joined09:20
osse rivarun: git checkout C; git rebase --onto=A B09:21
rkmylo @osse: i can't understand the effect to --ff merging tbh, and when cherry-pick required me to specify the parent for merging i was confused!09:21
jongravois joined09:21
curiousmansi not fetching me anything09:21
michael_mbp joined09:22
osse rkmylo: it sounds like it's cherry-pick you don't understand and not merge. cherrypick makes a duplicate commit that introduces the same changes as the commit you specify. but when you specify a merge then there are two sets of changes that are associated with that commit and you have to decide which one09:22
curiousmansi i gave like git log -- 'xyz.js'09:22
joeyDB joined09:22
curiousmansi no result no error nothing09:22
otter768 joined09:23
osse then you're on a branch where that file has never existed09:23
rivarun osse: awesome and fantastic. thank you09:23
osse rivarun: pretty pictures (not really): https://raw.githubusercontent.com/Osse/git-stuff/master/rebase-onto.txt09:24
settermjd joined09:24
osse rivarun: TL;DR: --onto equals transplant surgery09:24
rkmylo @osse: well, it seems like merge did what i was expecting. it merged all changes that exist in the staging branch into master. however, i want only the changes of the feature branch.09:25
rivarun osse: that's very helpful graphic for remembering the order of the A and B arguments, because 'onto' doesn't speak to me09:25
marcogmonteiro joined09:25
osse rivarun: then merge only the feature branch09:25
mennea_ joined09:25
osse rivarun: but since that doesn't exist anymore, find the commit that once was the tip of the feature branch and merge that09:26
rivarun another question; what if i've forgotten which branch i branched from?09:26
rkmylo @osse: the feature branch has been --ff merged and deleted!09:26
osse oops, all of that was for rkmylo09:26
jongravois left09:26
osse rkmylo: doesn't matter09:26
xk_id joined09:26
settermjd left09:26
harish_ left09:26
joeyDB left09:27
ome joined09:27
arez joined09:27
otter768 left09:28
osse rivarun: then you're screwed. best way is to eyeball it with !lol09:28
gitinfo rivarun: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all09:28
rkmylo @osse: how can i find the tip of the feature branch?09:28
mennea left09:29
osse rkmylo: you have to look at the log and figure it out09:29
rkmylo: maybe 'git reflog feature' can help09:29
eletuchy left09:30
rkmylo @osse: when i specify the name09:30
rivarun osse: cool, that's good enough for me09:30
rkmylo @osse: of the feature branch in reflog it returns "fatal: ambiguous argument"09:30
darkbasic_ joined09:30
darkbasic left09:30
rkmylo @osse: unknown revision or path not in the working tree09:30
osse rkmylo: then you don't have the reflog for it. in other words: you don't have a log of where that name has pointed before.09:31
unless you gave it the wrong name. could it be origin/feature instead of feature, for example?09:32
rkmylo @osse: oops! yes, you are right, i was missed origin. it gave me: "f23f364 refs/remotes/origin/feature@{0}: update by push"09:34
wethu joined09:34
osse then presumable f23f364 is where the feature was before it was deleted09:34
rkmylo @osse: this is the i commit that when merged into master, brought all changes from staging09:35
osse rkmylo: what about the commit before it09:36
or was that the only output?09:37
kyb3r_ left09:37
rkmylo @osse: it was the only output09:37
geomyidae_ left09:38
BuenGenio joined09:38
rkmylo @osse: i found those: http://pastie.org/9980751 on `git reflog`. f23f364 is the commit shown in `git reflog origin/feature`09:39
Junior left09:39
osse then that has to be the tip of the feature branch. nothing else makes sense09:39
dannymichel left09:39
osse f23f364 I mean09:39
intellix joined09:39
osse because the line above it is "moving from feature to staging"09:40
inamoriti joined09:40
osse If f23f364 also contains a lot of crap you don't want then that's a different problem. the feature branch was created in the wrong place09:40
rkmylo @osse: so assuming this was the tip, then `git merge f23f364` shouldn't merge the staging files09:41
@osse: right?09:41
osse I don't know09:41
Junior joined09:42
mostlybadfly left09:42
osse it should merge exactly as if there was a branch there. *What* is merged depends a bit on where you merge into09:42
FreezingCold left09:43
ranchodev joined09:43
rkmylo @osse: the feature branch (fortunately) contains only 3 changed files so it will be easy to cross-check the effect of the merge09:43
leeN joined09:43
rkmylo @osse: and i also know the sha1's for all commits in the feature branch, could that be of any help?09:44
crestbook joined09:44
osse hmmmmmmmmmm09:45
you said feature FF'ed into staging right?09:45
michael_mbp left09:45
rkmylo @osse: right, it was me and the network that claim this fact!09:45
osse rkmylo: that means that even before that happened feature contained all of staging. meaning that even then merging feature would in effect also merge all of staging09:46
BuenGenio left09:46
osse the only way that could happen is if the feature branch was created off staging in the first place09:46
sinkensabe left09:47
rkmylo @osse: true! initially i stated "when a new feature is to be developed, i branch out from staging"09:47
osse then I don't see what the problem is.09:47
FreezingCold joined09:48
michael_mbp joined09:48
darkbasic_ left09:50
rkmylo @osse: the problem is that staging is different from master, and i only merge in staging to test the feature. then i want to merge the changeset of the feature into master.09:50
eletuchy joined09:50
Gizburdt joined09:50
rkmylo @osse: assume that no feature modifies the files that make the staging branch differ from master.09:51
darkbasic joined09:51
tomog9991tomog99909:51
osse rkmylo: "i only merge in staging to test the feature". what do you mean here?09:52
skullcrasher joined09:53
rkmylo @osse: i explained the reason behind the existence of staging. i think all problems started because the feature was --ff merged and then deleted.09:53
sinkensabe joined09:54
dannymichel joined09:54
s8321414 joined09:54
t4nk643 joined09:54
t4nk643 left09:54
Matt_ joined09:54
wethu left09:55
Matt_Guest6445009:55
sparetire left09:55
osse rkmylo: no, that wouldn't have helped09:56
rkmylo: the only way to get feature *and only feature* into master is to cherry-pick/rebase09:56
rkmylo: you said you know all the hashes, in that case: git checkout master; git cherry-pick hash1 hash2 hash3... etc.09:57
mskaesz left09:58
benibadboy left09:59
rkmylo @osse: all those commits (from feature) have the same parent (35ff267). what if i use `git cherry-pick f23f364 -m 35ff267`09:59
?09:59
darkbasic left10:00
vla joined10:00
barmaglot joined10:00
darkbasic joined10:00
myyst joined10:00
Guest64450 hello, how can I get all the branches of a remote repo on to my local machine?10:01
osse all commits have the same parent? that's not possible10:01
rkmylo @osse: weirdly enough, all sha1's from the feature show the same changeset and cherry-picking i don't think will help10:01
myystmyst10:01
osse because then gitly speaking they would all be separate branches10:01
rkmylo @osse: it it possible that this is the effect of deleting the branch?10:01
eijk_ joined10:01
lqi Guest64450: http://stackoverflow.com/questions/67699/clone-all-remote-branches-with-git ?10:02
osse rkmylo: I'm confused and suddenly realize I have NO IDEA what your log looks like. You need to show me !lol10:02
gitinfo rkmylo: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all10:02
osse deleting a branch does nothign10:02
maybe you're looking at previous "versions" of the same commit10:02
that have been rebased10:02
PeterBooker joined10:03
Guest64450 lqi: thank you!10:03
jim making a branch is creating a named pointer that knows how to move to the next commit...10:03
wethu joined10:03
ende joined10:03
lqi Guest64450: please try google at first, thanks10:03
wethu left10:03
wethu joined10:03
jim deleting a branch is deleting the pointer, and NOTHING else10:03
cdown joined10:03
nettoweb joined10:04
Guest64450 lqi: sure, I did, but used the wrong terms. point taken though.10:04
ghostpl_ joined10:04
lqi Guest64450: ok, I just tried "checkout all remote branches git"10:05
rkmylo @osse: here is the graph: http://pastie.org/998079710:05
osse 35ff267 isn't shown here.10:06
jonmorehouse joined10:07
rkmylo @osse: i know, but it is shown in the ui! btw, master tip is pointing to: 934f66a10:07
osse "the ui" ?10:08
rkmylo @osse: yup, i'm using gitlab10:08
osse if this is s3cret stuff that's fine, but it would be helpful to see the stuff that --decorate generates. in fact, that's the only interesting thing10:08
rkmylo @osse: you mean the commit messages? it wouldn't be a problem to show them but i tried to make it a bit abstract!10:09
osse rkmylo: no I mean the (HEAD, staging, origin/staging) stuff10:09
King_Hual joined10:09
rkmylo @osse: i can provide all details you need but i don't understand what you are asking for now!10:10
@osse: oops! i got it, give me a moment10:11
cdown left10:11
jonmorehouse left10:11
pretodor left10:11
twoface88 joined10:13
ende left10:13
rkmylo @osse: http://pastie.org/998082410:13
mikecmpb_ joined10:15
rkmylo @osse: is that what you asked for?10:15
osse now we're talkin!10:15
filcab: so I suppose this feature you want in master is feature-B ?10:16
shit10:16
rkmylo: that was for you, and I meant feature-A10:16
leeN left10:16
rkmylo @osse: i want feature-A10:16
das_beard joined10:16
aesinv joined10:16
daito left10:17
rkmylo @osse: further down the line i'm going to merge feature-B too, but i thikn rebase will easily do for the feature-B case10:17
twoface88 left10:17
daito joined10:17
osse rkmylo: the principle behind a merge (eg. git checkout master; git merge feature) is to take the effects of all commits reachable from feature and not from master, then stick them into master.10:17
mikecmpbll left10:18
rkmylo @osse: but merging f23f364 will also bring all staging changes10:18
osse rkmylo: in this case we can tell from the "topology" that those commits are all the commits on lines 21-3310:18
mikecmpb_ left10:18
jagob left10:18
rkmylo @osse: that't why i will go with rebase for feature-B that has been --no-ff merged10:18
osse rkmylo: and you don't want that => merge is not the right tool for the job10:18
Solid1 joined10:19
mikecmpbll joined10:19
Jetchisel left10:19
rkmylo @osse: the commits in lines 21-33 are the commits that exist only in staging and i want to avoid merging them into master!10:20
osse yes I know10:20
leeN joined10:20
osse I presume you want only the commits on lines 21-24 or 25 or something like that?10:20
Takle left10:20
rkmylo @osse: i want only f23f36410:21
aesinv left10:21
osse rkmylo: the only way to get that commit into master is to cherry-pick it.10:21
rkmylo: git checkout master; git cherr-pick f23f36410:21
daito left10:21
das_beard left10:21
rkmylo @osse: but cherry-pick requires me to specify the parent with the -m switch!10:22
i have no clue what to specify for the parent10:22
osse bullshit10:22
then you're not showing me the complete graph10:22
rkmylo @osse: i promise i do!!!!10:22
osse because there's no indication that f23f364 is a merge commit (ie. it has more than one parent)10:22
teran left10:22
daito joined10:23
teadrop__ left10:23
osse rkmylo: what's the first line of git show --parents f23f36410:23
Takle_ joined10:23
rkmylo @osse: "commit f23f36417e0e56b89f842754a39cce29b340dc8b 65dc6c8f4ec6f8bdf1bedff0238ca4d77cbf765e"10:24
dougsland joined10:24
mkaesz joined10:24
osse then it only has one parent10:24
and that is 65dc6c8f4ec6f8bdf1bedff0238ca4d77cbf765e10:24
beautifulmind joined10:24
rkmylo @osse: so if i run `git cherry-pick f23f364 -m 65dc6c6` wouldn't this bring all staging changes?10:25
mikecmpbll left10:25
zadock joined10:25
osse rkmylo: no, just git cherry-pick f23f36410:25
rkmylo @osse: i can't believe it worked!!!10:27
drathir left10:27
Gama11 joined10:27
IIT joined10:27
osse :-)10:28
PCatinean joined10:28
rkmylo @osse: however, when i push the graph is screwed10:28
@osse: master tip is pointing ahead of last staging commit (6463b92)10:29
mikecmpbll joined10:30
aidalgol left10:31
drag0nius joined10:32
drag0nius can i create patch that can be applied without access to repo?10:32
osse rkmylo: isn't there a loooooooooooooong line leading straight down to 934f66a ?10:32
drag0nius like in: 1. first time client gets zipped sources without repo, 2+. client gets .patch file to apply to their code10:33
osse rkmylo: if yes, then there's no problem. it's just that your new commit has the most recent timestamp. if no, then I've no idea :O brb lunch10:34
rkmylo @osse: exactly,10:34
tobiasvl drag0nius: sure, git can both create patch files that can be applied with the regular patch command, and git can also apply patches if the client wants to make some10:34
rkmylo @osse: cool. thanks a lot!!!!10:34
cllamas joined10:35
daito left10:36
hyperair left10:36
daito joined10:36
catsup left10:37
catsup joined10:37
cllamas does anybody know how to delete a concrete commit in the middle of more commits?10:37
darkbasic left10:37
catsup left10:37
danjordan joined10:37
darkbasic joined10:37
Junior left10:37
cllamas_ joined10:39
settermjd joined10:39
teran joined10:39
h4ml3t joined10:40
jadne joined10:40
random-user-name cllamas: as far as I know you can use git rebase -i, but that would rewrite history; maybe you want git revert10:40
IIT left10:41
daito left10:41
RaceCondition joined10:41
cllamas left10:41
Guest58291 left10:42
harish_ joined10:42
drathir joined10:44
teran left10:44
gccostabr joined10:44
gv joined10:45
arez left10:45
gvGuest5441110:45
Kulrak joined10:45
Kulrak left10:45
Kulrak joined10:45
darkbasic left10:45
darkbasic joined10:45
rkmylo left10:48
darkbasic_ joined10:50
cllamas_ left10:51
darkbasic left10:51
timini joined10:51
m8 joined10:52
fatalhalt left10:52
tobiasvl good bye cllamas10:52
ThomasLocke left10:52
basiclaser joined10:52
timini Hey I have 2 branched b1 and b2, I want to merge one into the other, how does git choose which commits to prioritise? Is it by time stamp?10:52
canton7 "which commits to prioritise" <-- explain what you mean by that10:53
govg left10:53
Takle_ left10:53
govg joined10:53
EminenceHC joined10:53
bremner how to resolve conflicts I guess.10:53
random-user-name my guess is that question was about the destination branch for merging (and your current branch is the destination)10:54
jazzzu joined10:55
settermjd left10:56
kukks joined10:56
kukks left10:56
kukks joined10:56
timini OK so i want my merge to mostly look like b1 but when i merge b2 into b1 i get10:56
"already at newest change"10:56
Syzygy_ joined10:56
timini already up-to-date I mean10:56
settermjd joined10:56
random-user-name maybe the branches were not diverged at all? (they pointed to the same commit)10:57
FreezingCold left10:58
random-user-name you could have forgotten commit your changes or switch to the newly created branch10:58
before commiting10:58
EminenceHC left10:58
Syzygy__ joined10:59
zumba_addict joined11:01
settermjd left11:01
interrobangd joined11:01
Syzygy_ left11:03
net2014 joined11:03
net2014 hello11:04
gitinfo net2014: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.11:04
Aune joined11:04
Solid1 left11:04
net2014 suppose I have a local directory with packages that I want available from a remote repository11:04
I create a git in each package, then I create a git for each package in repote repository11:05
darkbasic_ left11:05
NBhosting left11:05
zadock left11:05
Gitzilla left11:05
net2014 that I way, I can push to remote repository and then use composer(php) to install packages?11:06
LotR joined11:06
gluten_hell joined11:06
net2014 compose downloads/installs packages from git repositories11:06
*composer11:06
michael_mbp left11:06
LotR left11:06
darkbasic joined11:06
net2014 I am wondering if the above scenario is correct11:07
Gizburdt left11:07
drag0nius left11:08
zadock joined11:08
michael_mbp joined11:08
ende joined11:09
encod3 joined11:09
jongravois joined11:10
settermjd joined11:11
t0th_-_ joined11:11
joeyDB joined11:11
Takle joined11:11
jds joined11:12
ende left11:14
teran joined11:14
jongravois left11:14
joeyDB left11:15
settermjd left11:16
eletuchy left11:16
eletuchy joined11:16
aesinv joined11:17
das_beard joined11:17
Nizumzen joined11:17
rt joined11:18
teran_ joined11:18
gluten_hell left11:19
teran left11:19
sarri left11:19
random-user-name left11:19
arup_r left11:20
sarri joined11:20
cvanball left11:21
Entomo left11:21
drager_ left11:22
drager_ joined11:22
das_beard left11:22
drager_drager11:23
arup_r joined11:23
rnsanchez joined11:23
leolrrj left11:23
otter768 joined11:24
khurram left11:24
cvanball joined11:24
aesinv left11:24
settermjd joined11:24
otter768 left11:28
paulweb515 left11:28
bitkiller joined11:28
FreezingCold joined11:28
euyc joined11:29
settermjd left11:29
euyc left11:29
tvnuz joined11:30
aqhv left11:32
ap0c left11:32
Syzygy_ joined11:32
Syzygy__ left11:34
jagob joined11:36
cavallari joined11:37
Gizburdt joined11:39
warthog9 left11:40
jagob left11:42
jongravois joined11:43
lidaaa joined11:44
Milk_weed left11:45
jongravois left11:45
jongravois joined11:46
twoface88 joined11:46
jim net2014, separating out any php piece (as I choose to not go in that direction)...11:46
Polyatomic left11:46
darkbasic_ joined11:46
jim you can have separate repos per project, and have each of those repos have a separate remote11:47
the compose/php thing, I have no idea for11:47
opdavies left11:47
darkbasic left11:47
_ikke_ .version11:48
gitinfo changed the topic to: Welcome to #git, the place for git help and existentialism | Current stable version: 2.3.1 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | What we push in life echoes in eternity11:48
daedeloth joined11:48
settermjd joined11:48
lidaaa left11:49
jim when did that happen11:49
mkoskar left11:49
Joost` for a uni project, people now use redmine to track hours on issues - everything else has been migrated to github already11:50
does anyone here know if there's a nice way tocombine hour tracking with github?11:50
Gizburdt left11:51
Joost` (I realise it's offtopic but figured you might be the crowd to know)11:51
Sleepy63 left11:51
jottr joined11:51
linuxmint joined11:51
Gizburdt joined11:52
Jetchisel joined11:52
Takle left11:52
net2014 jim thanks11:53
Takle joined11:53
rkmylo joined11:53
jonmorehouse joined11:55
intellix left11:56
neanderslob left11:57
JR____ joined11:57
JR_____ joined11:58
ropav_ left11:58
alekks joined12:00
jonmorehouse left12:00
JR____ left12:01
cagedwisdom left12:02
Raging_Hog left12:03
tonyj left12:03
tvnuz left12:03
Sleepy63 joined12:04
IIT joined12:04
dpcu joined12:04
dpcu left12:04
alekks left12:05
lindenle joined12:05
Hcin joined12:06
bitonic joined12:06
wicope left12:06
iamjarvo joined12:07
iamjarvo left12:07
bernalex left12:09
bernalex joined12:09
lindenle left12:10
timini left12:11
nfk joined12:11
arup_r left12:12
h4ml3t left12:12
send joined12:13
wethu left12:13
tonyj joined12:15
mizu_no_oto joined12:15
drodger joined12:16
eijk_ left12:16
danguafer joined12:17
das_beard joined12:18
mojibake joined12:19
aesinv joined12:20
BuenGenio joined12:21
wethu joined12:21
settermjd left12:21
kcj left12:22
das_beard left12:23
aesinv left12:25
Raging_Hog joined12:26
mroach joined12:27
FreezingCold left12:27
FreezingCold joined12:28
Takle left12:29
net2014 left12:30
arup_r joined12:32
darkbasic_ left12:32
darkbasic joined12:33
in3xes left12:34
linuxmint left12:34
rivarun left12:36
Raging_Hog left12:36
opdavies joined12:36
settermjd joined12:36
jantje left12:37
darkbasic_ joined12:37
rivarun joined12:37
Syzygy_ left12:38
darkbasic left12:38
dv^laptop joined12:39
strehi_ joined12:40
warthog9 joined12:40
paulweb515 joined12:41
Corey84 joined12:41
jagob joined12:41
fstd left12:42
subhojit777 left12:42
EminenceHC joined12:42
stymo joined12:42
eletuchy left12:43
m8 left12:43
eletuchy joined12:43
timini joined12:44
elementalest left12:44
timini Hey I have 2 branches b1 and b2, I want b1 to look exactly like b2, how can I make this so?12:44
Bruno_ joined12:45
timini I guess i could just delet the remote branch b1 and then recreate it as b212:45
paulweb515 left12:46
elementalest joined12:46
elementalest left12:46
elementalest joined12:46
tyll_ joined12:46
timini the problem is whenever i try to merge b2 into b1, git tells me 'already up-to-date'12:46
EminenceHC left12:47
timini I guess this means that b1 is ahead of b2. But this is not the way I want, I want b1 to be where b2 is12:47
I guess I just check which commit b2 is at then revert b1 to that commit12:47
jantje joined12:48
timini confused12:48
fstd joined12:48
in3xes joined12:48
eletuchy left12:48
tobiasvl timini: !lol12:48
gitinfo timini: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all12:48
tobiasvl and !repro12:48
gitinfo [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://gist.github.com/2415442 ) of your terminal session.12:48
fstd left12:50
darkbasic joined12:50
tobiasvl if you mean you want the branches to look exactly the same with the same commit hashes and everything, then I'd delete b1 and make a new branch b1 off b2, yes. if you only mean the end working directory state (since you're merging) then paste us the output of git log above and we can have a look.12:50
osse timini: while on b1 git reset --hard b212:50
timini: or if on b2 git branch -f b112:51
darkbasic_ left12:51
jnavila left12:52
jantje left12:52
timini http://ur1.ca/jsrgy12:53
jwhisnant left12:53
netj left12:53
timini i want develop to be at b168acc (transition) tidy12:53
netj joined12:54
mizu_no_oto left12:54
osse git branch -f develop b168acc12:54
shruggar joined12:54
tobiasvl aha, so basically reverting the merge. then `git reset --hard b168acc` or `git branch -f develop b168acc`12:54
jnavila joined12:55
subhojit777 joined12:55
timini OK problem is I've already pushed to remote, so i can reset to b168acc but i cannot push12:56
mtakkman joined12:56
osse push -f12:57
!rewrite > timini12:57
gitinfo Rewriting public history is not recommended. Everyone who has pulled the old history have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push -f <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum12:57
timini I have done >>(develop) git reset --hard transitoin12:57
fstd joined12:57
wethu left12:57
timini then git push is rejected12:57
tjm_jimmy joined12:58
ende joined12:58
fstd left12:59
cdown joined12:59
joeyDB joined13:00
paulweb515 joined13:00
fstd joined13:00
timini so does push -f rewire the history?13:00
tobiasvl yes13:00
paolooo joined13:01
iamjarvo joined13:01
fstd left13:01
osse it rewrites it on the remote. the local rewrite has already happened13:01
iamjarvo left13:01
fstd joined13:01
intellix joined13:01
subhojit777 left13:01
iamjarvo joined13:02
darkbasic_ joined13:02
mezod joined13:02
dsdeiz left13:03
ende left13:03
darkbasic left13:03
Takle joined13:03
fstd left13:03
Asiajey joined13:04
JR_____ left13:04
joeyDB left13:05
ferr joined13:05
Xethron_ joined13:05
Zupoman joined13:05
ScioMin left13:07
ScioMin joined13:07
CKyle joined13:07
ScioMin left13:07
ScioMin_ joined13:07
Xethron left13:07
ScioMin_ left13:08
mizu_no_oto joined13:09
Raging_Hog joined13:10
darkbasic_ left13:10
ScioMin joined13:11
Takle left13:11
freestyl3r joined13:12
fstd joined13:12
darkbasic joined13:12
Takle joined13:13
IIT left13:13
ghoti left13:16
BSaboia_ joined13:16
jazzzu left13:18
das_beard joined13:19
encod3 left13:19
BSaboia left13:19
aesinv joined13:20
ScioMin_ joined13:20
settermjd left13:21
settermjd joined13:21
mtakkman left13:21
opdavies left13:21
ScioMin left13:23
das_beard left13:23
rt left13:24
eijk_ joined13:24
otter768 joined13:24
ScioMin_ left13:25
ScioMin joined13:25
aesinv left13:25
barduck left13:26
BlaXpirit joined13:28
settermjd left13:28
hardenedapple joined13:28
dsdeiz joined13:28
otter768 left13:29
m0ltar joined13:30
zarac joined13:30
zarac Yo!13:30
Why is .git/config sometimes u+x ?13:30
any guesses? : )13:31
toothrot joined13:31
zarac i've come across it a few times now..13:31
knownasilya joined13:31
tobiasvl umask?13:32
jagob left13:32
moritz my umask is standard 022, and it still made it executable for me13:32
KRV joined13:32
adhawkins left13:33
nettoweb_ joined13:34
nettoweb_ left13:34
Asiajey left13:34
adhawkins joined13:35
zarac 022 now..13:35
adamben joined13:35
adamben left13:35
adamben joined13:35
ScioMin left13:35
KRV_ joined13:36
nettoweb left13:36
tmager joined13:36
Asiajey joined13:36
tmager left13:37
taru left13:39
cavallari left13:40
freimatz left13:40
leolrrj joined13:41
h4ml3t joined13:42
Sarco joined13:42
tristanp joined13:42
settermjd joined13:42
KRV_ left13:43
KRV left13:43
mizu_no_oto left13:43
gyeates joined13:43
t0th_-_ left13:43
eletuchy joined13:44
jonmorehouse joined13:44
dstarh joined13:44
Sarco what is going wrong here? http://paste.pound-python.org/show/W3J3ylNT5C6NTa9qUnIP/ can somebody help me?13:44
t0th_-_ joined13:44
iamjarvo left13:44
taru joined13:44
leolrrj left13:45
adhawkins Does bitbucket use an SSH key to push? Is the SSH key of that user accepted by bitbucket?13:46
Bruno__ joined13:46
Zuton joined13:47
opdavies joined13:47
cdown left13:47
mellernoia joined13:47
Sarco how do I check that? I added an ssh key in bitbucket and everything looked fine13:47
jast Sarco: you've got an empty repository with no commits in it. what exactly are you expecting push to do?13:47
Zuton left13:47
ScioMin joined13:48
teufelChiCoder left13:48
cdown joined13:48
tier joined13:48
Sarco jast: moment let me check13:48
Bruno_ left13:49
jonmorehouse left13:49
jast why check? you literally pushed after doing a 'git init' that said "Initialized empty Git repository" :)13:49
eletuchy left13:49
Sarco http://paste.pound-python.org/show/2Pysr8iXEmBAAbHkBxMn/13:50
I tried git commit, I am pretty new to all this stuff13:50
tobiasvl you need to add the file, it's untracked13:50
Sarco aah13:50
jast you haven't told git to care about index.html yet: git add index.html13:50
whenever you want to mark something for git to add to the next commit, use 'git add' on it13:50
druidd joined13:50
adhawkins !book13:50
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 !parable13:50
darkbasic left13:50
Sarco thanks, it works now :)13:51
darkbasic joined13:51
Sarco in bitbucket you can click I have an existing project, so I took it from there and did not think about adding and committing13:52
arez joined13:52
settermjd left13:53
bitkiller left13:53
danjordan_ joined13:54
leolrrj joined13:54
lindenle joined13:54
settermjd joined13:54
rkmylo left13:54
danjordan left13:54
danjordan_danjordan13:54
random-user-name joined13:55
cavallari joined13:56
h4ml3t left13:56
jagob joined13:56
metastableB joined13:57
mkoskar joined13:57
Bruno_ joined13:58
dvl- joined13:58
lindenle left13:58
antispaceman left13:59
Hcin left13:59
HoMM joined13:59
mostlybadfly joined14:00
darkbasic_ joined14:00
dvl_ joined14:01
dvl_ left14:01
dvl_ joined14:01
gmt joined14:01
h4ml3t joined14:01
antispaceman joined14:01
darkbasic left14:01
Bruno__ left14:01
gmt left14:02
bsanford left14:02
lqi left14:02
mistertim left14:02
King_Hual left14:03
hmyw joined14:03
Dudi left14:03
dvl- left14:04
hmyw left14:04
netcarver left14:04
Dorf joined14:04
vrok joined14:05
Bpit joined14:05
sburgess joined14:05
vrok left14:05
Vadimus joined14:06
freestyl3r left14:06
cjwilburn joined14:06
ruediger Is it a good or bad idea to make the first commit in a git repo an empty commit? (git commit --allow-empty -m "Initial commit")14:06
iamjarvo joined14:06
Tfdu joined14:07
s8321414 left14:07
jargon left14:07
Tfdu left14:07
aesinv joined14:07
tanzim joined14:08
zumba_addict left14:08
osse ruediger: I don't see what's bad about it. But I don't see what's good about it either.14:08
uuei joined14:08
shruggar left14:09
osse what can an empty commit represent that a nonempty initial commit cannot?14:09
NosBit joined14:10
druidd left14:10
arup_r left14:10
ruediger osse: I currently only have a messy design document and some sample code. It feels ugly having that as the initial commit :)14:10
BlaXpirit left14:11
paolooo left14:11
Consuela left14:12
beckyconning_ joined14:13
twoface88 left14:14
das_beard joined14:15
twoface88 joined14:15
vla left14:15
druidd joined14:15
bsanford joined14:15
jerius joined14:16
opdavies left14:17
MarkyC joined14:18
Guest64450 left14:18
JR_____ joined14:18
hebz0rl joined14:19
das_beard left14:19
ErKa joined14:22
shruggar joined14:23
eijk joined14:23
denete joined14:24
denete left14:24
Dorf left14:24
BackEndCoder left14:24
Dorf joined14:24
zxd left14:25
denete joined14:25
denete left14:26
BackEndCoder joined14:26
denete joined14:26
roelmonn_ joined14:26
Bass10 joined14:26
eijk_ left14:26
arez left14:27
subhojit777 joined14:27
Gizburdt left14:28
tier_ joined14:28
jantje joined14:28
KennyRay left14:29
zarac left14:29
roelmonnens left14:29
EminenceHC joined14:31
iamjarvo left14:31
cavallari left14:31
tier left14:31
timini hey does anyone have a tool to help manage changes between branches?14:32
iamjarvo joined14:32
SiddhantT joined14:32
timini Were trying a branching model like git flow but having a lot of problems with merging the branches14:32
jantje left14:32
zivester joined14:32
zxd joined14:33
tobiasvl what kind of problems?14:34
Dougie187 joined14:34
iamjarvo left14:35
cbreak timini: maybe you're doing it wrong :)14:35
or you work on the wrong kind of content14:35
EminenceHC left14:35
cbreak git works best with code in text form14:35
paolooo joined14:35
timini workflow seems to go in two ways at the minute14:35
cbreak it can't handle image conflicts on its own14:35
zumba_addict joined14:36
jtPretzel80 joined14:36
settermjd left14:38
settermjd joined14:39
B1n4r10 joined14:39
MarkyC left14:39
kukks left14:39
JR_____ left14:40
darkbasic_ left14:40
darkbasic joined14:40
msonntag left14:41
wicope joined14:41
Bass10 left14:41
im8bit joined14:41
B1n4r10 left14:42
macabre joined14:42
livingstn joined14:43
roelmonn_ left14:44
roelmonnens joined14:44
joeyDB joined14:45
beautifulmind left14:46
bannakaffalatta left14:46
chitopunk joined14:47
dvl_ left14:47
ende joined14:47
B1n4r10 joined14:48
druidd left14:48
iveqy timini: could you elaborate?14:48
devoldmx joined14:49
joeyDB left14:50
zumba_addict left14:50
hcc23 joined14:50
carif joined14:50
zumba_addict joined14:50
zenith_ joined14:50
zumba_addict left14:50
uuei left14:52
ende left14:52
Bpit left14:52
zumba_addict joined14:52
strehi_ left14:52
oeex joined14:52
aesinv left14:53
devoldmx3 left14:53
jottr left14:53
aesinv joined14:53
neonalpine joined14:53
epifanio_ joined14:54
roelmonn_ joined14:54
oeex left14:54
jottr joined14:54
roelmonnens left14:55
SiddhantT left14:55
lsiv568 joined14:55
kuxm joined14:55
IrishPrime joined14:56
zenith_ left14:57
Nash joined14:57
TinkerTyper joined14:57
BuenGenio left14:57
Nash how can I download an archive from a specific remote repository?14:57
bsanford left14:58
cbreak Nash: man git-archive14:58
gitinfo Nash: the git-archive manpage is available at http://jk.gs/git-archive.html14:58
cbreak but the remote has to support this14:58
roelmonnens joined14:58
aesinv left14:58
cbreak many probably don't14:58
oldWelff left14:59
jagob left14:59
jost joined14:59
aesinv joined14:59
MissionCritical left15:00
Bruno_ left15:00
epifanio_epifanio15:00
BSaboia joined15:01
JR_____ joined15:01
tjm_jimmy left15:01
thiago joined15:01
roelmonn_ left15:01
druidd joined15:01
aesinv left15:01
tjm_jimmy joined15:02
crestbook left15:02
teufelChiCoder joined15:02
aesinv joined15:03
jgornick left15:03
jgornick joined15:04
aesinv left15:04
AaronMT joined15:04
NosBit left15:05
rchavik left15:05
lindenle joined15:05
ghoti joined15:06
IIT joined15:06
tjm_jimmy left15:06
gargola joined15:06
gyeates left15:06
KennyRay joined15:07
star114 joined15:07
DavidA joined15:07
gargola_ joined15:08
michael_mbp left15:08
DavidA left15:08
Ahmed90 joined15:09
gargola_ left15:09
star114 left15:09
devoldmx left15:09
michael_mbp joined15:09
tevfik joined15:09
lsiv568 left15:10
gargola_ joined15:10
lindenle left15:10
joeyDB joined15:10
Mission-Critical joined15:10
gargola left15:11
ghoti left15:11
aesinv joined15:12
arez joined15:12
Ahmed90 left15:12
devoldmx joined15:13
zumba_addict left15:14
zumba_addict joined15:14
kuxm left15:14
Nash left15:15
eletuchy joined15:15
iamjarvo joined15:16
shinnya joined15:16
subhojit777 left15:18
devoldmx left15:18
eletuchy left15:19
serengeor left15:20
Spacew00t joined15:20
devoldmx joined15:20
Mission-CriticalMissionCritical15:21
mizu_no_oto joined15:21
vla joined15:23
lqi joined15:23
highcup joined15:24
gyeates joined15:24
net2014 joined15:24
net2014 hello15:24
devoldmx left15:24
settermjd left15:25
net2014 if I have a git repository, want to call it v.1 and use a tag15:25
lucianangelus joined15:25
Corey84 left15:25
darkbasic_ joined15:25
net2014 and then I change code and call it v.2 with a tag15:25
otter768 joined15:25
darkbasic left15:25
net2014 how would I change/execute the data of v.1?15:26
devoldmx joined15:26
kevwil joined15:26
chitopunk net2014: I have something similar and I do, git checkout tags/v.115:26
amcgee7 joined15:27
jim a tag is similar to a branch in that it has a name and points at a commit but unlike a branch in that it can't be moved15:27
net2014 chitopunk: so, basically I switch to old version and then I can access the files, as I would access a normal directory?15:27
chitopunk net2014: yes that is correct15:28
zivester left15:28
ehynds joined15:28
rath left15:28
net2014 ok15:28
thanks15:28
jim you use a tag to point at the commit you want to be the version to release as that tag (like: v1.0)15:28
so you don't name the whole repo to be the version, you tag it15:29
net2014 when I use branches, I always assume that I want to merge differences, right?15:29
paolooo left15:30
net2014 while tags can live independently?15:30
otter768 left15:30
harish_ left15:30
jim you can check out a tag, but since it's not a branch, you usually go into separated HEAD state15:30
subhojit777 joined15:31
osse net2014: branches can live independently as well15:31
net2014 ok15:31
subhojit777 left15:31
DolphinDream joined15:31
subhojit777 joined15:32
mkaesz left15:32
jadne left15:32
mkaesz joined15:32
Gizburdt joined15:32
random-user-name net2014: and you have to use —tags flag to push tags into some remote (this doesn’t happen automagically)15:33
jonmorehouse joined15:33
zeepr joined15:33
random-user-name left15:33
hyperair joined15:33
dsdeiz left15:33
random-user-name joined15:33
net2014 thanks15:33
darkbasic_ left15:35
uncx joined15:35
nettoweb joined15:35
dreiss joined15:35
darkbasic joined15:35
MLM joined15:36
uncx left15:36
Technocrat7 joined15:36
Takle left15:36
Gamecubic joined15:36
subhojit777 left15:37
zeepr hello all. i have a production website using a git workflow, and a post deploy hook runs fetch and merge/branch. i have been using this for weeks with no problem. i'm not sure why but on the live webserver (which i am SSH'ing into), git status says my branch is ahead of origin/branch by 150 commits, and recommending i push my changes. strange thing is, i have never made any commits on this machine, only pulled from the remote repository.15:37
Junior joined15:37
devoldmx left15:37
mkaesz left15:37
pcypher joined15:37
jonmorehouse left15:38
devoldmx joined15:38
zeepr i don't want to push the changes upstream because i dont know what they are, and i dont want to reset them (.. because i dont know what they are and this is a live website currently being used)15:38
jceb left15:39
barduck joined15:39
jim then you have two repos that are like 150 commits out of sync, and you don't want to fix that because you don't know what will happen...15:40
ok15:40
Topcat joined15:40
zumba_ad_ joined15:40
jim one thing you can do is back up the whole repo15:40
on both sides15:40
tanzim left15:41
Topcat can I edit my last commit to take a like out. Say lines 1 -10 should have been 1-4, 7-1015:41
jim then you can try things that you're otherwise a little uncomfortable since it's the unknown15:41
zumba_addict left15:41
Shusshu joined15:41
timini left15:42
jwhisnant joined15:42
d10n-work joined15:42
m0ltar left15:42
zeepr jim: well, i believe this happened when i checked out the production branch on the staging server, to test it. then merged the branch (probably should have done this elsewhere), and re-checked out the staging branch.15:42
Technocrat7 left15:42
zeepr because if i checkout the production branch on that server, it says i'm up-to-date. and those branches should be in sync at this point15:42
Technocrat7 joined15:43
HDL joined15:43
jim so are you on staging or production branch?15:43
HDL left15:44
Ankhers joined15:44
mizu_no_oto left15:44
zeepr the staging server is on the staging branch, and the production server is on the production branch15:44
jim I think that means your production and the remote version (origin/production) match15:44
TheRealHDL joined15:44
zeepr its a fairly reasonable workflow other than my slight fuckup15:44
Trudko left15:44
Takle joined15:44
zumba_addict joined15:44
zumba_ad_ left15:44
lamppid left15:44
zeepr yes, they do15:44
MarkyC joined15:45
darkbasic_ joined15:45
lamppid joined15:45
zeepr and my local box's staging branch is up to date with origin/staging as well15:45
jim how many developers?15:45
zeepr i am pushing changes on my local staging onto my staging server, which does fetch and merge15:45
of the staging branch15:45
however suddenly i am getting the "please explain why this merge is necessary" prompt.. which i can dismiss and it recursively merges fine.. but its strange this is happening at all15:46
just me for now15:46
sonthonax joined15:46
darkbasic left15:46
sonthonax left15:47
TheRealHDL Hello all, I’d looking for help with compiling. I get this error: https://www.dropbox.com/s/98ier16dd1p0m1j/Git%20Output?dl=015:47
harish_ joined15:48
moritz TheRealHDL: looks like you need some (more up-to-date maybe) iconv libraries?15:48
zeepr i think the 150 commits are just a merge of the production branch15:48
jim so -maybe- rewriting history is sorta ok since it's just you viewing and using that history15:49
zumba_ad_ joined15:49
zumba_addict left15:49
zeepr jim: i may have accidentally checked out staging and merged origin/production, or vice versa on this server15:49
CKyle left15:49
sonthonax joined15:49
sonthonax left15:49
smccarthy joined15:49
jim do you think that's the last thing you did?15:49
TheRealHDL I just installed all the dependencies from source so it should be up-to-date.15:50
sonthonax joined15:50
starkhalo joined15:50
zenith_ joined15:50
zeepr jim: so are you saying I should push the changes, pull them on my local machine, inspect the gitk log, and either revert or re-commit correctly and push back to server?15:50
jim: yes, i definitely did one or the other.15:50
nnyk joined15:51
jim well I think you should back up first15:51
tyreld joined15:51
jim on both sides (your local repo and the remote, your web service)15:51
nnyk_ left15:51
sonthonax_ joined15:51
zeepr the repo itself or the working tree you mean?15:51
jim both15:51
sonthonax_ I have a question about best practice/personal-preference.15:52
jim i.e., the working tree which has the repo in it15:52
zeepr this is thousands of files many gigs large, is there anyway to see which files have been affected by the commits?15:52
jim on both sides15:52
sonthonax_ If you’ve made a few changes, and they’re kind of seperate.15:52
iveqy TheRealHDL: does git support clang? Have you tried with gcc?15:52
jim then try to restore it and see if you can do it again15:52
on both sides15:52
sonthonax_ Should you selectively commit each group of files?15:52
zeepr jim: sorry, restore it?15:52
jim we're talking about backing up your repo15:53
moritz zeepr: git log --stat or git diff --stat rev1..rev215:53
jim if you are to feel comfortable experimenting with your production server, you probably must back up all the time anyway15:54
bvi left15:54
sonthonax left15:54
sonthonax_sonthonax15:54
TheRealHDL iveqy: gcc is my default. Not sure if git supports clang, haven’t tried compiling it before now.15:54
zeepr yes, i have numerous backups, of course.15:54
noobsie joined15:54
jim and that backup includes the .git?15:55
Bootinbull joined15:55
noobsie basic question, but how can I look up what commands means in git? I want to for example know what "git -m" means? git help is not helping15:55
iveqy TheRealHDL: you're using clang15:55
zenith_ left15:55
jim git --help15:55
or man git15:56
gitinfo the git manpage is available at http://jk.gs/git.html15:56
zeepr jim,moritz: in looking through these commits, i dont see anything that was actually done on this machine... in fact, the problem is surely more fundamental... i am 100% sure "git commit" has never been run on this server, so how coudl there be 150 commits ahead of the remote branch?15:56
bremner merges?15:56
Eue joined15:56
iveqy TheRealHDL: or rather, your configure script says gcc but the error code is from clang clang: error: linker command failed with exit code 1 (use -v to see invocation)15:56
SumDude joined15:56
zeepr bremner: indeed, but how?15:56
zumba_ad_ left15:56
Eue left15:56
FreezingCold left15:56
MasterPiece joined15:56
zumba_addict joined15:56
Technocrat7 left15:57
jottr left15:57
Ugop joined15:57
net2014 left15:57
bremner from the pulls?15:57
sorry, I have15:58
not followed closely.15:58
zumba_addict left15:58
Ugop left15:58
TheRealHDL iveqy: I see, how do I force it to use gcc then?15:58
jim if you have a backup of the repo and the .git (on both sides) then you can try merging or pulling to see if it will work and restore from your backup if it doesn't15:59
zeepr jim, bremner: i pinpointed the issue by replicating it on my local machine :P i checked out the staging branch ,and merged in the production branch15:59
sinkensabe left15:59
zeepr now its reporting my staging branch is ahead by 151 commits15:59
(locally)15:59
and i have a list of files affected by the merge15:59
zoi joined15:59
iveqy TheRealHDL: I've no idea. It seems like you're using gcc as compiler and then clang as a linker15:59
iamjarvo left16:00
random-user-name TheRealHDL: you should use “make all” instead of “make”16:00
acolson left16:00
random-user-name clang works ok, btw16:00
zoi left16:00
danguafer left16:01
Bruno_ joined16:01
Silmarilion left16:01
DrShoggoth left16:01
Ztrio joined16:01
interrobangd left16:01
b00^wk2 joined16:01
Gizburdt left16:02
pm90_ joined16:02
lsiv568 joined16:02
b00^wk2 hello, i have 'detached HEAD', because i've reset to a previous revision , hard reset it. How can i now go back to my latest HEAD? dumping everything, and no more detached heads16:02
:)16:02
is it also git --reset hard ?16:02
offby1 b00^wk2: !reflog16:02
gitinfo b00^wk2: The git reflog (`git log -g`) records the SHAs of your HEADs for 2+ weeks. `git checkout -b myrestore OLDSHA` and `git reset --hard OLDSHA` will relink to that state via a new and current branch respectively, see http://sethrobertson.github.com/GitFixUm/ for full details. WARNING: reset --hard will trash any uncommitted changes! Visualize with: gitk --all --date-order `git log -g --pretty=%H`16:02
pm90_ left16:03
pm90_ joined16:03
paulweb515 left16:04
mennea_ left16:04
wachterjohannes left16:04
editshare-ericf joined16:04
shinnya left16:04
BSaboia left16:04
roelmonnens left16:04
opdavies joined16:04
b00^wk2 gees, what are all these heads log -g shows ..16:04
Noldorin joined16:05
mizu_no_oto joined16:05
noobsie left16:05
iamjarvo joined16:06
EminenceHC joined16:07
TheRealHDL random-user-name: Tried ./configure CC=/usr/bin/clang and got the same error.16:07
b00^wk2 offby1, i don't think i need to do the -b part16:07
i don't want to branch16:07
Ztrio left16:09
kermit joined16:09
b00^wk2 ok, i did hard reset again to latest,16:10
but why do i still have HEAD detached message ?16:10
thiago b00^wk2: git checkout <branchname>16:11
joo-_ joined16:11
b00^wk2 there is no branch16:11
just head16:11
thiago b00^wk2: that's the cause of your message then16:12
settermjd joined16:12
b00^wk2 thiago, why do i need a branch? i wanted to go back to head16:12
thiago b00^wk2: you are on HEAD16:12
b00^wk2: by definition of HEAD, you're always on it16:12
b00^wk2: you don't need a branch. But you're asking about the message that is given when you're not on a branch.16:13
steele joined16:13
thiago b00^wk2: if you don't want a branch, live with the message.16:13
b00^wk2 ok, but how can i go to <branchname> , where there is no name16:13
thiago b00^wk2: if you want to get rid of the message, switch to a branch16:13
b00^wk2 ok, but i don't think i had such message before ..16:13
thiago you must never have been on a detached HEAD before16:13
b00^wk2 today i reverted to few days revision, right, with hard reset16:13
thiago b00^wk2: that was not the cause16:14
b00^wk2 then i got that message. then , after checking stuff, i hard reset back to latest16:14
and then i got it16:14
random-user-name b00^wk2: this is DAG (directed acyclic graph) - all the links between your commits are directed and you can’t go backwards16:14
thiago b00^wk2: have you tried to rebase recently?16:14
b00^wk2 thiago, no16:15
thiago b00^wk2: you did something else that caused a detached HEAD16:15
b00^wk2: the two operations that result in that are rebase and checkout16:15
b00^wk2 git branch -a16:15
* (detached from 2f10978)16:15
master16:15
nusom16:15
DrShoggoth joined16:15
Technocrat7 joined16:16
eletuchy joined16:16
zoso left16:16
TheRealHDL Seems like I avoid the compile error if I simply don’t use the configure script.16:16
b00^wk2 i want to go back to latest 'nusom'16:16
PerlJam b00^wk2: git checkout nusom16:16
Oombn joined16:16
das_beard joined16:16
Oombn left16:16
b00^wk2 PerlJam, nice band, ok :)16:16
tevfik left16:16
sinkensabe joined16:17
pcypher left16:17
unv joined16:17
naftilos76 joined16:18
m0ltar joined16:18
sinkensabe left16:19
random-user-name TheRealHDL: that is strange because I’ve built git from sources on OSX10.10 without any errors using just the recipe from the INSTALL file (and I installed gnu libraries previously via homebrew)16:19
DrShoggoth left16:19
iveqy TheRealHDL: I'm glad you solved your problem but it's not quite good that there was a problem from the beginning. If you manage to find it, feel free to send a patch to !list16:19
gitinfo TheRealHDL: [!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#git (git@vger.kernel.org, subscription optional)16:19
b00^wk2 thiago, was really really confusing. That detached head revision is on branch numsom.16:19
wrk joined16:19
PerlJam b00^wk2: you mean "commit", not "branch"16:20
b00^wk2 yes16:20
intransit joined16:20
eletuchy left16:20
b00^wk2 and that was the latest commit , all i wanted was: 1) go back a few commites, and then 2) go back to latest, on that same branch16:20
i did not switch it16:20
iliv joined16:20
PerlJam why did you want to "go back a few commits"?16:20
b00^wk2 but now the messgge is gone16:20
:D16:20
DrShoggoth joined16:20
b00^wk2 thiago, no more detached heads16:21
das_beard left16:21
b00^wk2 PerlJam, because something got broken i thought with latest ones16:21
Ahmed90 joined16:21
intransit left16:21
Ahmed90 left16:21
Technocrat7 left16:21
Ahmed90 joined16:22
MarkyC_ joined16:22
iliv when I'm on branch blah and viewing "git diff stable" (stable is another branch name) what "-" and "+" indicate? That deletions and additions are going to happen in stable branch of committed?16:22
if committed *16:22
osse iliv: the lines with - are replaced with the lines with +16:22
zenith_ joined16:22
thiago iliv: git config diff.mnemonicprefix=true16:22
then it will show "c" and "w" instead of "a" and "b"16:23
"c" for commit and "w" for working dir16:23
unv left16:23
iliv osse, that is obvious, but in which of the two branches those changes are going to happen?16:23
SiddhantT joined16:23
zeepr for posterity: merging the changes locally allowed me to see the files, i reset the merge, backed up the files, merged, push upstream, and the conflict was resolved. $ git diff origin/develop..HEAD helped as well16:24
toothrot left16:24
thiago iliv: sorry, with a space instead of =16:24
osse iliv: the question itself is flawed. git diff foo bar calculates the difference *from* foo *to* bar.16:24
b00^wk2 thiago, and yes, i did a checkout to beging with ... as per here :http://stackoverflow.com/questions/4114095/revert-to-a-previous-git-commit16:25
thiago, so that was the detached head problem ?16:25
osse iliv: 'git diff stable' is the same as 'git diff stable blah' in this case16:25
tritone joined16:25
FunkyAss left16:25
MarkyC left16:25
b00^wk2 PerlJam, if i want to go back a few revisions, i always have to checkout , right? and then I get a detached head16:25
:P16:25
thiago b00^wk2: yes, that was the cause16:25
b00^wk2 phew,16:25
devll left16:25
ciampix left16:26
random-user-name iliv: git diff blah stable16:26
iliv osse, in other words, "-" and "+" show what will be removed and added to bar (based on differences between foo and bar, with foo content appearing in bar eventually, if committed)?16:27
osse iliv: the total difference you see is probably a combination of the effects of many different commits. some of them on one branch, some on the other.16:27
iliv ah16:27
MarkyC joined16:27
osse iliv: do you have any uncommited changes?16:27
iliv not that simple16:27
random-user-name iliv: your current branch is the base for diffing16:27
Gamecubic left16:27
jaznow left16:27
osse random-user-name: not if you give exactly one branch as argument. then that branch becomes the base.16:27
and it diffs against the working dir.16:28
MarkyC_ left16:28
IIT left16:28
gsingh93 joined16:29
aspiers just made a new demo video! easy backporting using git-deps: http://youtu.be/DVksJMXxVIM16:29
joo-_ left16:29
random-user-name osse: yes you are right16:29
hebz0rl left16:30
Topcat left16:32
axl_ joined16:32
MechtiIde joined16:32
tevfik joined16:32
Gamecubic joined16:34
ParsectiX joined16:34
iamjarvo left16:35
joo-_ joined16:36
CEnnis91 joined16:36
faheem_ can I get just the 'debian' directory here -> https://github.com/agx/icedove/tree/master/debian ?16:36
If so, how?16:36
pecg joined16:36
faheem_ get -> clone16:36
paulweb515 joined16:37
iveqy faheem_: no16:37
faheem_ iveqy: bummer. I thought git had a partial clone thingy. or is that shallow clone?16:38
zumba_addict joined16:38
iveqy faheem_: it's shallow clone, and that make you to only get a part of the history, you still get the whole worktree16:38
kukks joined16:38
jazzzu joined16:38
subhojit777 joined16:39
petersr left16:39
faheem_ iveqy: ok. can I get just the last rev then? That might not be too bad.16:40
iliv osse, you said against the working dir.. not the committed state of both branches? To answer your question, my branches are actually in divergent state.16:40
subhojit777 left16:40
pcypher joined16:40
subhojit777 joined16:40
zadock left16:41
polyzen joined16:41
subhojit777 left16:41
iamjarvo joined16:42
bsanford joined16:42
mlechner left16:42
diegoaguilar joined16:42
_ikke_ iliv: git diff with only one arguments diffs that commit against the working tree16:42
subhojit777 joined16:42
_ikke_ if you want to diff two branches, you have to provide them btoh16:42
both*16:42
skorgon joined16:42
jaznow joined16:43
jaznow left16:43
SiddhantT left16:43
gerep joined16:43
gerep Hello lords!16:43
I'm creating a pre-commit script to deal with the following situation:16:44
iveqy faheem_: yes, see man git clone look for shallow16:44
gitinfo faheem_: the git-clone manpage is available at http://jk.gs/git-clone.html16:44
iveqy faheem_: sorry, I meant --depth16:44
gerep I have some new commits but before allowing it to be pushed, I need to test it first16:44
faheem_ iveqy: ok16:44
gerep Is it possible, in the pre-commit, to get the new commits?16:44
bgerber left16:45
thiss joined16:45
petersr joined16:45
Aeterne joined16:45
gerep I had this script in the post-commit script but I was having trouble with broken builds, that's why I want to check the new commits in the pre-commit phase16:45
bgerber joined16:46
FreezingCold joined16:46
lb1a left16:46
pcypher left16:47
Cust0sL1men left16:47
b00^wk2 left16:47
iliv _ikke_, sing my initial example, if I'm on blah and doing git diff stable I'm actually comparing latest blah commit (or working directory?) to the most recent commit of stable or working tree/directory of stable?16:47
druidd left16:47
Bruno_ left16:47
_ikke_ iliv: you are comparing the latest commit on stable against your current working tree16:47
daedeloth left16:48
Kicer86 joined16:48
jonmorehouse joined16:48
pcypher joined16:50
jadne joined16:51
skorgon left16:52
Ahmed90 left16:52
akushner joined16:52
gerep left16:52
ToTheInternet joined16:52
lqi left16:52
jottr joined16:53
lqi joined16:53
ToTheInternet I corrected a single line in a commit and therefore i want to ammend the change to the latest commit. However, I already pushed the lastest commit to remote. Can I still use ammend?16:53
GT4066 left16:53
milki ToTheInternet: that depends on if you care about !public16:54
gitinfo ToTheInternet: [!rewrite] Rewriting public history is not recommended. Everyone who has pulled the old history have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push -f <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum16:54
pcypher left16:54
ToTheInternet milki: what will the people that have pulled have to do?16:54
(assuming they simply pulled but have not yet done any changes based on that commit)16:55
pecg left16:55
jonmorehouse left16:55
jorj left16:56
jagob joined16:56
Trudko joined16:56
Raverix_ left16:57
milki if they know what they are doing, they'll want to rebase16:57
pheaver joined16:57
milki if not, they'll have wierd merges or complain16:57
dunpeal joined16:57
JR_____ left16:57
dunpeal So gitlab basically competes against Gitorious?16:57
jottr left16:58
milki !gitorious16:58
gitinfo Gitorious is a free code-hosting website for open-source projects. The software powering it is also available for you to self-host repos. https://gitorious.org/16:58
milki o16:58
dunpeal it looks vastly superior16:58
milki right16:58
ToTheInternet milki: ok, moving on as suggested... thanks16:58
milki that thing16:58
HG` joined16:58
Macaveli left16:58
hans_s left16:59
lsiv568 left16:59
gdrc joined17:00
bb010g left17:00
MarkyC left17:00
jnavila left17:00
aldodelgado joined17:01
dunpeal yeah17:01
basically trying to figure out Github vs Gitorious vs Gitlab17:02
TMess_ joined17:02
TMess_ hey guys17:02
gitinfo TMess_: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.17:02
stylica joined17:03
ToTheInternet !backup17:03
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:03
dunpeal Basically, seems like Github is really about hosting the code on their servers17:03
smccarthysmccarthy117:03
HG` left17:03
Seveas dunpeal: or giving them lots of money for something on-prem17:03
TMess_ I can't seem to find repopick anywere.... Can someone help me out???17:03
Gizburdt joined17:04
dunpeal Seveas: yeah, the basic free account isn't really useful, especially not for any kind of non-public repo17:04
ToTheInternet dunpeal: i don't know gitorious but we have used gitlab for a few months and i really like it so far. haven't used a lot of its features so far though17:04
dyce left17:04
nmz787_i joined17:04
Seveas dunpeal: there's also bitbucket if you want hosted private repos17:04
dunpeal Gitorious and Gitlab seems like they're more about allowing you to host your own instance.17:04
thiago left17:04
intransi_ joined17:04
dunpeal Seveas: right, as far as I can tell, Gitlab also supports unlimited private repos on the free account.17:04
dreiss left17:05
Seveas dunpeal: correct17:05
yxejamir If considering Gitorious, may also be worth considering Gitolite.17:05
ToTheInternet left17:05
smccarthy1smccarthy17:05
dunpeal honestly, both should be more popular than Github, which I guess just has popularity and network effects working for it17:05
tevfik left17:05
dunpeal yxejamir: Gitlab looks the most impressive so far17:06
TMess_ guys?17:06
dunpeal so I'm considering using that.17:06
daedeloth joined17:06
rom1504 there's gitlab.com too now dunpeal17:06
kukks left17:06
rom1504 which is a public instance, kind of like github17:07
Seveas TMess_: I've necer even heard of it17:07
dunpeal TMess_: this repopick? https://gitorious.org/replicant/build/source/3e39ecabad250118c613b71e01738bb4c7a4d51c:tools/repopick.py17:07
(first result on google search)17:07
TMess_ unable to get that to work17:07
dunpeal TMess_: that's unfortunate, but probably OT17:08
TMess_ http://wiki.cyanogenmod.org/w/Doc:_using_gerrit#Retrieving_and_building_a_patch_submission_already_on_Gerrit17:08
aesinv left17:08
TMess_ here they use it as a command17:08
I don't think they are running a py script ... are they?17:08
dunpeal TMess_: I'm guessing it's somewhere in the Gerrit toolchain then17:08
it is a Python script.17:08
zeepr left17:09
jfbarthe left17:09
imachuchu joined17:09
dunpeal rom1504: I am using Gitlab.com for my personal projects, and it works great. My friend needs a local deployment, so I'm going to recommend Gitlab17:09
Seeing the main options are Gitorious or Gitlab, and Gitlab seems vastly superior.17:10
Sasazuka joined17:10
TMess_ are they using a python script in the wiki?17:10
ende joined17:10
dunpeal yxejamir: Gitolite seems a little less featureful than he'd like.17:10
ScioMin left17:10
freestyl3r joined17:11
rom1504 yeah gitlab is much better17:11
jadne left17:12
iamjarvo left17:12
SFLimey joined17:12
jast afaik gitlab still crashes when viewing repositories with empty trees17:13
:}17:13
TMess_ guys can you walk me through running that repopick.py script? .... I think I maybe doing something wrong17:13
yxejamir left17:14
Ankhers left17:14
aesinv joined17:14
dunpeal jast: did you submit a bug report? sounds like an easy bug to fix...17:15
CKyle joined17:15
jast the bug is actually in rugged (a gem used by gitlab)17:15
and, in turn, in the version of libgit2 they're using17:15
Ankhers joined17:15
jast it's fixed in a beta version of rugged IIRC17:15
arez left17:15
Sasazuka left17:15
jast hard to work around outside of rugged17:15
das_beard joined17:16
thiago joined17:16
rom1504 jast: just tested, I got a 404 that's all17:16
no crash17:16
jast on your own install?17:16
rom1504 yes17:16
TMess_ got it to work17:17
thanks17:17
jast and you've got a commit with an empty tree?17:17
TMess_ left17:17
rom1504 oh no, no commit17:17
cromero joined17:17
rom1504 how do you do a commit with an empty tree ?17:17
jast git commit --allow-empty17:17
cvanball left17:17
rom1504 let's try17:17
Una joined17:17
jottr joined17:17
rom1504 40417:18
jast interesting. I get a 500.17:18
anyway, gotta go, no time to dig deeper17:19
rom1504 what version ? I got 7.7.017:19
inamoriti left17:19
jast 7.6.217:19
rom1504 maybe they fixed it in 7.7 then17:19
irqq left17:19
jast fun, 7.6.2 isn't even in the changelog17:20
gyeates left17:20
osse 7.62 mm NATO17:20
rom1504 I can't see anything about that in the changelog of 7.7.017:20
weird17:20
irqq joined17:21
daedeloth_ joined17:21
FunkyAss joined17:21
kukks joined17:21
kukks left17:21
kukks joined17:21
random-user-name osse: AK-47 also has that gauge17:21
lsiv568 joined17:22
git-man joined17:22
zoso joined17:22
metastableB left17:22
git-man Hi! How do I search using git grep for a match of two lines? ( 'def test.*\n"""' ) makes it match upto n and not the newline... any help would be awesome17:23
osse random-user-name: nope17:23
daedeloth left17:23
osse random-user-name: that diameter, yes. that exact round, no17:23
hmm, maybe that's what gauge means17:23
ciss joined17:23
shruggar left17:23
random-user-name osse: i think it is17:24
osse git-man: git grep -A1 line1 | grep line217:24
dunpeal jast: why is it so hard to work around? can't they just catch an exception?17:24
mennea joined17:24
git-man osse: thanks! I'll try that :)17:24
lindenle joined17:24
dvl left17:24
TomyWork left17:25
EvilPenguin joined17:25
ciss hi, i'm trying to merge a repo into another repo, inside a sub directory (in order to delete the merged repo), while keeping the history. i've read several references to read-tree, which in my tests didn't keep the history. do i have to use filter-branch for this?17:25
Takle left17:26
zenith_ left17:26
stylica left17:26
git-man osse: That works! thanks ;) ( btw I assume -A1 flag returns the next line too? )17:26
ende left17:26
milki ciss: filter-branch would be good for the repo going to a subdir17:26
scottschecter left17:26
ende joined17:26
otter768 joined17:26
milki hmm17:26
stylica joined17:26
milki though its usually the other way around...17:26
osse git-man: oui. -A == --after17:27
git-man: -B = --before and -C = --context (just -A and -B combined)17:27
milki ciss: maybe --tree-filter will let you move everything into a subdir17:27
git-man osse: thanks a lot :)17:27
milki then you can treat the remote repo as just a bunch of branches and do regular merges17:27
osse git-man: grep itself has the exact same options17:27
git-man Are there any specific advantages to using git grep over grep directly?17:28
The_Phoenix left17:28
intransi_ left17:28
epifanio left17:29
PerlWebDev probably not, unless you're on a system that lacks grep (Windows)17:29
git-man osse: Sorry I should have googled that up - http://stackoverflow.com/a/17558278 :)17:29
osse git-man: speed. both in the literal searching sense (I *think*, not sure), but most importantly it automatically avoids files that are not part of the repo (ie. binary build artifacts, temp files, etc.)17:29
git-man hmm thanks for the response!!17:30
osse but git grep doesn't have -o, which can be useful17:30
hardenedapple left17:30
osse (not all actual greps have it either, but that's a different story)17:30
danjordan left17:30
ende_ joined17:30
stylica left17:30
stylica joined17:30
veganista left17:30
git-man left17:30
ki0 left17:31
danjordan joined17:31
otter768 left17:31
tango_ left17:32
MMukherjee left17:32
zenith_ joined17:33
devoldmx left17:33
ende left17:33
teufelChiCoder left17:33
tango_ joined17:34
Pookz left17:34
basiclaser left17:34
cjwilburn left17:34
SirRetnuh joined17:34
MMukherjee joined17:34
zenith_ left17:34
cjwilburn joined17:34
mikecmpbll left17:34
zenith_ joined17:35
ciss milki: thanks, looking into it now. i guess i won't get around doing some reading to understand how filter-tree is supposed to be applied17:35
ojacobson joined17:35
metastableB joined17:36
cbonobo left17:36
cbonobo joined17:36
incredible joined17:37
The_Phoenix joined17:37
The_Phoenix left17:37
Gizburdt left17:37
milki you want to move everyone in the repo into a subdir _before_ you do the merging17:39
cjwilburn left17:39
Pookz joined17:39
dannymic_ joined17:39
dannymichel left17:39
shruggar joined17:40
xampel joined17:40
dannymic_ left17:40
MMukherjee left17:41
King_Hual joined17:41
dannymichel joined17:41
MMukherjee joined17:42
achadwick left17:42
ome left17:43
jaznow joined17:43
gopar joined17:44
Una left17:45
random-user-name left17:45
Walex left17:46
Walex2 joined17:46
ciss milki: i think i got it now. from what i understand the idea is to move the files of a commit via tree-filter while filter-branch processes the commit, and expect git to automatically detect that the files have been moved. correct?17:46
Asiajey left17:47
msonntag joined17:48
iamjarvo joined17:48
dv^laptop left17:48
jaznow left17:48
xampel left17:49
random-user-name joined17:49
veebers joined17:49
zenith_ left17:49
hiironymus left17:50
workerbeetwo left17:50
random-user-name left17:51
Aune left17:51
milki that sounds wierd o.O17:52
pcypher joined17:52
milki use use filter-branch --tree-filter to pretend for every commit, you actualy committed everything in a subdir17:52
dreiss joined17:53
milki o wait17:53
ya, if you want the history to look right we want to do this... maybe17:53
otherwise, just git mv everything in a new commit17:53
and then merge17:53
mennea_ joined17:53
ciss nope, need to keep the history17:54
milki ya history will be there17:54
SimonNa joined17:54
milki you just have to recognize whoever moved the files will be blamed at that commit17:54
govg left17:54
milki history across renames is not easy17:54
irqq left17:54
jonmorehouse joined17:54
ashokrajar left17:55
ska-fan left17:55
mennea left17:57
hahuang65 joined17:57
TomyLobo joined17:58
aswen left17:58
vishal left17:59
mikecmpbll joined18:00
tevfik joined18:00
cromero left18:00
jerius left18:00
kadoban joined18:01
jerius joined18:01
Trudko left18:01
howlymowly left18:01
stylica left18:02
ELFrederich joined18:02
stylica joined18:02
vurma left18:03
MissionCritical left18:04
iamjarvo left18:04
eletuchy joined18:04
mizu_no_oto left18:05
jadne joined18:07
intellix left18:07
barduck left18:07
neurot1k joined18:07
bb010g joined18:08
netj left18:09
eletuchy left18:09
netj joined18:09
pcypher_ joined18:09
tieTYT2 joined18:09
erichf joined18:10
pcypher_ left18:10
pcypher left18:10
pcypher joined18:10
erichf Hello, what is the term for referring to the companies that host git repositories i.e. bitbucket and github? What are these companies called?18:10
ashokrajar joined18:11
CKyle left18:11
wrk left18:11
_rgn saas git repo host?18:12
shinnya joined18:12
kukks left18:12
subhojit777 left18:13
upeb joined18:13
MissionCritical joined18:13
upeb left18:13
iamjarvo joined18:14
joeyDB left18:14
ujo joined18:14
joki left18:15
Una joined18:16
random-user-name joined18:16
jonmorehouse left18:16
erichf _rgn, yea, I think that's a good description -- ty18:16
mkaesz joined18:16
ujo left18:16
ashokrajar left18:17
EvilPeng1 joined18:17
EvilPeng1 left18:17
Mii joined18:18
intransit joined18:18
dreiss left18:18
joo-_ left18:18
EvilPeng1 joined18:18
ranchodev left18:19
intransit left18:19
EvilPeng1 left18:19
EvilPenguin left18:19
m0ltar left18:19
cjwilburn joined18:19
nnyk left18:20
mennea joined18:20
Ahmed90 joined18:20
joki joined18:20
pcypher left18:20
Una left18:20
ItSANgo left18:20
sinkensabe joined18:20
shruggar left18:21
EvilPenguin joined18:21
tevfik left18:21
sinkensabe left18:21
mennea_ left18:22
pcypher joined18:22
Una joined18:23
ashokrajar joined18:23
jonmorehouse joined18:24
zoso left18:25
m0ltar joined18:25
_cmosguy_ joined18:25
gitinfo set mode: +v18:26
OnkelTem left18:26
pm90_ left18:26
send left18:26
thiago left18:26
amcgee7 left18:27
neurot1k left18:27
dstarh left18:27
OnkelTem joined18:27
_cmosguy_ hello, i have a git directory called /foo, which has a repo on gitbub foo, but i want to create a sub-directory, /foo/bar, where bar goes to another repository bar, is this possible?18:27
ghostpl_ left18:27
cdown left18:27
Una left18:27
zenith_ joined18:27
nnyk joined18:28
Ahmed90 left18:28
qsuscs _cmosguy_: !subrepo18:28
gitinfo _cmosguy_: [!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.18:28
SirRetnuh left18:29
hiironymus joined18:29
dreiss joined18:29
_cmosguy_ ok18:29
thank18:29
x18:29
Mii left18:29
mihaicris joined18:30
iamjarvo left18:30
tvw left18:31
sparetire joined18:31
mmitchell joined18:31
phantombeta left18:32
nettoweb left18:32
SirRetnu_ joined18:32
Aeterne left18:33
MasterPiece left18:33
cdown joined18:34
nnyk left18:34
marcogmonteiro left18:34
MasterPiece joined18:35
skullcrasher left18:35
jtPretzel80 left18:35
Squelos joined18:36
Squelos hi18:36
gitinfo Squelos: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.18:36
aard_ joined18:36
mkaesz left18:36
flaguy48 left18:37
B1n4r10 left18:37
Takle joined18:37
mellernoia left18:37
tsnow left18:37
jost left18:37
phantombeta joined18:37
intransit joined18:38
Squelos I was wondering if my workflow is totally wrong or I just dont know which commands to do : I develop mainly on my master branch, but also on some other branches (related to features, or versions running on different runtimes). But sometimes some branches get left behind. Whats the best way to bring them up to date with the master ?18:38
Vile left18:38
BSaboia___ joined18:39
d10n-work left18:39
thebrush left18:39
Squelos (note: i mainly rebase in order to pull changes from my feature branches into the master, i rarely merge)18:39
imachuchu Squelos: has anyone else pulled from those branches? Use either rebase of merge18:39
Literphor joined18:40
imachuchu Squelos: rebase is fine. Also realize that if you develop on a branch and then wish to bring it back in to master, if master is a direct ancestor of the branch then you can just merge it in (an ff-merge)18:40
oriba joined18:40
jerius left18:41
leolrrj left18:41
Squelos ok, so just rebase, and maybe do a hard reset if i want to remove the top commits that dont make any sense anymore (because either i already done some equivalent fix/change or some other reason)18:41
jottr left18:41
BSaboia_ left18:42
adamben left18:42
Squelos yeah, but its often a 3 way merge because the other devs only push to the master so ill nearly always end up with a merge commit and i want to avoid the "useles" merge commit.18:42
skylite joined18:42
jerius joined18:43
Squelos thanks imachuchu, i got the answer I was looking for.18:43
petersr left18:44
chiemseesurfer joined18:44
Squelos other question, what tools do you people use ? Im on windows, and as is, I use Git extensions and git bash (when I dont know what exactly git extensions is going to do, I rather just type the command)18:44
teran joined18:45
leolrrj joined18:45
baweaver joined18:45
highcup left18:45
phantombeta left18:46
mennea left18:46
kadoban I just use plain git, and gitk for visualization occasionally. Other than that…just gitolite. I don't like GUIs and helpers and such, they tend to be more limiting/annoying than helpful.18:46
phantombeta joined18:47
teran_ left18:47
jonmorehouse left18:47
imachuchu Squelos: I use tig all of the time (it's a console based history viewer). Mirroring kadoban I think the command line is the best for manipulating the repo with another tool to view it18:48
phantombeta left18:48
mennea joined18:48
phantombeta joined18:48
Aeterne joined18:48
barduck joined18:48
MattMaker kadoban: I'd say the one exception is for when you are preparing a commit by staging changes of only certain parts of many files18:48
thiago joined18:49
kadoban I just use add -p for that. Is there actually a tool that helps greatly?18:49
Squelos MattMaker: yeah, havent yet gotten into such "advanced" things.18:49
MattMaker kadoban: is that the one where git asks me line-by-line which lines I want to add to staging?18:50
sinkensabe joined18:50
Squelos And do you people usually squash commit/ do an interactive rebase in order to clean up stuff before pushing (with the correct work items marked in the comments etc ... )18:50
Raging_Hog left18:50
kadoban MattMaker: It asks piece by piece, not for each line, but yeah.18:50
nmz787_i left18:51
gebjgd joined18:51
gebjgd left18:51
gebjgd joined18:51
MattMaker kadoban: then yes, that's exactly the use case that visual tools make realistic for using routinely18:51
teran left18:52
MattMaker kadoban: piece by piece, I'd never be able to know if I'd gotten all the pieces I wanted18:52
_cmosguy_ !submodule18:52
gitinfo 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-Submodules18:52
chiemseesurfer left18:52
kadoban MattMaker: What visual tool even helps for that? I'm curious what interface it could even have that'd help.18:53
joeyDB joined18:53
ciss how can i pass a variable into the shell run by filter-tree?18:53
MattMaker kadoban: Not everyone's workflow needs the sort of intense "deinterlacing" that I do constantly, but I find that's because it would be painful to do as hundreds of yes/no prompts18:53
kukks joined18:54
ParsectiX left18:54
Literphor left18:54
MattMaker kadoban: I use Sourcetree to visualize preparing a complex selection of parts of many files across many folders18:54
ParsectiX joined18:54
AndroidLoverInSF joined18:55
MattMaker kadoban: also, your short-term memory may be better than mine :)18:55
ParsectiX left18:55
incredible left18:55
ParsectiX joined18:55
zenith_ left18:56
konr joined18:56
bckea joined18:57
kadoban I probably just don't use that kind of thing as often or extensively as you. Not sure either is better, heh. I tend to commit /really/ often, so it doesn't come up unless I forget momentarily and then have to go back and commit what I should have.18:57
I'll check out how it does it, maybe it'll be an improvement even so.18:57
Aeterne left18:57
bckea left18:57
Squelos kadoban : how many initial commits a day ?18:57
(per work day)18:57
eletuchy joined18:58
cbonobo left18:58
kadoban I don't know, never counted. Several per hour for sure, when I'm actually doing raw coding.18:58
ciss the commands i'm trying to run are these: http://privatepaste.com/27910857fd18:58
jonmorehouse joined18:58
Ibo joined18:58
MattMaker kadoban: I tried to make a screenshot that summarizes the power that it gives you, but it'd take a half hour to really build a good example. But the two or three people that I have shown it to in person has found it a useful addition to their flow. (of course, they are doing similar work as me)18:59
Hounddog left18:59
ciss unfortunately something goes terribly wrong, resulting in several errors, the first being: Rewrite 0cc4a75bee65f81a9e002b6b24c12a3893b3b841 (1/17)/usr/lib/git-core/git-filter-branch: 2: eval: ./fonts: not found18:59
B1n4r10 joined18:59
kadoban Ya no worries, I'll try it out sometime.18:59
jaznow joined19:00
Una joined19:00
kukks left19:00
The_Phoenix joined19:00
ciss the working dir is supposed to be the current git root, if i've read the docs correctly19:00
The_Phoenix left19:00
B1n4r10 left19:00
ciss i've made sure that the commands themselves work, before i passed them on to tree-filter19:01
Squelos MattMaker: so you use sourcetree ?19:01
zadock joined19:01
The_Phoenix joined19:01
Milkweed joined19:01
eto left19:01
The_Phoenix left19:01
thiago left19:01
The_Phoenix joined19:02
MattMaker Squelos: I do. It bogs down a little sometimes, but I like the "bird's eye view" that it gives me, and the nice UI around the concept of "staging"19:02
The_Phoenix left19:03
cbonobo joined19:03
TheRealHDL left19:03
m8 joined19:03
Literphor joined19:03
The_Phoenix joined19:03
The_Phoenix left19:04
jaznow left19:04
kadoban ciss: Well, is there a fonts file, or anything named like that?19:04
tvw joined19:04
MattMaker I also tend to have a dozen copies of my repo checked out side by side, some pointed at different branches, and with notes about what I was doing in it; multiple working copies lets me use visual folder diff apps to figure out what I'm doing19:05
The_Phoenix joined19:05
cbonobo left19:05
The_Phoenix left19:05
ciss kadoban: yes, but apparently it's being looked for in the wrong directory19:05
Aeterne joined19:06
The_Phoenix joined19:06
tg left19:06
javaJake joined19:06
jceb_ joined19:06
tevfik joined19:08
steele left19:08
PCatinean left19:09
steele joined19:09
cbonobo joined19:09
ciss kadoban: nvm, just found a script that actually _does_ what i'm still trying to achieve: https://gist.github.com/x3ro/6242017 x_x19:10
Ibo left19:10
Aeterne left19:10
AeterneBygones joined19:11
kadoban Ah, I didn't realize that that was the goal, heh.19:11
JustinMac joined19:11
metastableB left19:11
Hqlr joined19:12
PCatinean joined19:12
einmalfel joined19:12
The_Phoenix left19:12
Aeterne joined19:13
ciss would have loved to find that piece of gold hours ago. very bad seo … :]19:13
hahuang65 left19:13
andlabs joined19:14
andlabs okay here's a question that may strike some of you as odd:19:14
ciss apparently i'm not the only one: starred counter just jumped up by two :D19:14
Hqlr left19:14
chiemseesurfer joined19:14
andlabs is there a way I can create a new repo by takinga ll the commits from one repo that affected files in a specific directory and creating a new repo out of that?19:14
tevfik left19:15
osse andlabs: oh god that question is so perfect19:15
andlabs I know right19:15
AeterneBygones left19:15
osse andlabs: git filter-branch --subdirectory-filter19:15
baweaver left19:15
ciss andlabs: atlassian has a post on that. hold on ...19:15
andlabs: http://blogs.atlassian.com/2014/04/tear-apart-repository-git-way/19:15
osse andlabs: it's like you're a teacher reading through the git manual pages trying to come up with a question for each paragraph :p19:16
jason237 left19:16
sovt joined19:16
andlabs lol19:16
in my case I don't intend on scrubbing the commmits from the first repo19:16
osse make a copy of it first19:17
andlabs I should have made this side component on a separate repo from the start but then integrating it with the main library would be more difficult19:17
osse the copy will be your new repo19:17
mizu_no_oto joined19:17
steele left19:17
ciss … interesting. the script i mentioned above actually modifies the index. i only found it after i dumped the idea of using tree-filter and looked for ways to directly rewrite the paths19:18
mennea_ joined19:18
andlabs I'll try this later I guess19:19
but glad to know it's possible19:19
thanks19:19
steele joined19:19
ril joined19:19
cbonobo left19:20
Aeterne left19:20
zxd left19:20
osse andlabs: make a copy of your repo and in that copy run git filter-branch --subdirectory-filter thediryouwanttokeep -- --all.19:20
leolrrj-alt joined19:20
osse if you have any tags you need to add --tag-name-filter cat for some reason19:21
leolrrj left19:21
osse prolly want --prune-empty too, although I wouldn't be surprised if that is implied by --subdirectory-filter19:21
steele left19:21
mennea left19:21
jantje joined19:23
sonthonax left19:23
gopar left19:23
nettoweb joined19:25
andlabs okay, thanks19:25
ropav joined19:26
steele_ joined19:26
ciss left19:26
leolrrj-alt left19:26
leolrrj joined19:27
osse de nada19:27
joel_falcou joined19:27
otter768 joined19:27
pcypher left19:28
vrishab joined19:28
nmz787_i joined19:29
diego1 joined19:29
vrishab left19:29
pcypher joined19:30
teran joined19:30
otter768 left19:32
ska-fan joined19:33
philwantsfish joined19:33
stylica left19:34
stylica joined19:34
philwantsfish is forking a repo a git concept or a platform that uses git concept?19:34
leolrrj-alt joined19:35
mskaesz joined19:35
Shusshu left19:35
osse philwantsfish: on the fundamental level there is no difference between a fork and a clone19:35
mskaesz left19:35
leolrrj left19:35
baweaver joined19:35
osse philwantsfish: git itself has no fork command and I'm not sure how often that word is used in the official docs.19:35
aswen joined19:36
mskaesz joined19:36
Vgr left19:36
philwantsfish thanks osse19:36
inigomontoya joined19:36
BSaboia_ joined19:37
osse philwantsfish: when hosting solutions use "fork" they usually mean create a clone on the server itself, which you in turn can clone/push to19:37
deltab one match in https://www.kernel.org/pub/software/scm/git/docs/user-manual.html ("the latest commit in your current branch since their histories forked")19:37
metastableB joined19:37
BSaboia___ left19:37
gebjgd left19:38
_cmosguy_ left19:38
osse philwantsfish: TL;DR: it's not a git concept19:39
rubyonrailed joined19:40
inigomontoya left19:41
inigomontoya joined19:41
dspirito joined19:42
Vgr joined19:42
iamjarvo joined19:42
inigomontoya left19:42
ende_ left19:42
inigomontoya joined19:42
ende_ joined19:43
lsiv568 left19:44
thiago joined19:44
settermjd left19:44
gebjgd joined19:46
gebjgd left19:47
gebjgd joined19:47
lsiv568 joined19:47
Omnissions joined19:48
PCatinean left19:48
Omnissions left19:48
mennea_ left19:48
nattyrice joined19:51
dev_ joined19:51
mennea joined19:51
KennyRay_ joined19:51
dev_ left19:51
Nizumzen left19:51
KennyRay left19:51
gsingh93 left19:52
jceb_ left19:52
nattyrice testing testing19:53
ok good19:53
i wasn't sure if it identified me properly19:53
feeling pumped!19:53
highcup joined19:53
nattyrice just aced my last set of CDC's19:53
WaReZ joined19:53
settermjd joined19:54
nattyrice time to slam some more energy drinks and learn some vim19:54
blr joined19:54
nattyrice woops wrong window, meant to put that in vim haha19:55
pandeiro left19:55
Gama11_ joined19:56
Gama11 left19:57
pcypher left19:57
CKyle joined19:58
vrishab joined19:59
Eugene nattyrice - git is the multiplayer mode for vim19:59
vrishab left19:59
jantje left19:59
Newls joined20:00
jeffmjack joined20:00
looper_ joined20:01
Xz joined20:01
nattyrice haha20:01
Xz hi there, I clonned a git repo that I want to 'ungit' now. Is rm .git/ -rf enough?20:02
mojibake left20:02
Eugene Yes, git stores all of its info inside of .git/20:02
Depending upon your goal, you may have been better served by a tarball instead of a clone.... man git-archive will tell you how you can obtain one from a git:// remote if the original source doesn't provide a .tgz20:03
gitinfo the git-archive manpage is available at http://jk.gs/git-archive.html20:03
Newls I'd just 'rm -fr .git' instead of rm .git/ -rf20:03
but it's personal20:03
ghostpl_ joined20:03
sq-one joined20:03
looper_ left20:03
Eugene I always put -rf last on my `rm`, because what happens if you have a file named .gi and push <enter> too soon? ;-)20:03
beckyconning_ left20:03
looper_ joined20:04
Newls don't you <tab> Eugene ?20:04
nnyk joined20:04
Newls like rm -fr .gi<TAB> (while avoiding ENTER before you thought twice20:04
Eugene Of course I do, but the danger still exists20:04
Technocrat7 joined20:05
Eugene Put the most dangerous thing at the end, not the beginning20:05
Newls I agree that's an interesting point of view20:05
Xz Eugene: I'm doing a tarball eventually, but I couple that with some other stuff I need to cvs/wget20:05
Newls I just go with the fact that options are generally syntactically correct before arguments20:05
Eugene Yeah, totally. This is the exception-proving-the-rule20:05
Newls and sometimes, are not syntactically correct on some commands20:05
ghostpl_ left20:05
Xz Newls: that's a good spot20:05
aswen left20:06
Newls Thank you Xz :)20:06
HSaka left20:06
Newls my sentence wasn't complete20:07
iamjarvo left20:07
Newls 'and sometimes, are not syntactically correct after arguments'20:07
ska-fan left20:07
ska-fan joined20:08
KennyRay_ left20:08
arez joined20:08
pecg joined20:08
ahr3n joined20:08
HSaka joined20:08
thiago left20:09
baweaver left20:09
duckydan left20:11
osfd joined20:11
eletuchy left20:12
Cust0sL1men joined20:13
intransi_ joined20:13
jonmorehouse left20:13
tevfik joined20:14
jonmorehouse joined20:15
c355E3B joined20:16
EminenceHC left20:16
sovt left20:17
intransit left20:17
mennea_ joined20:18
Utic joined20:18
dvl- joined20:19
Utic left20:19
duckydan joined20:20
Ervzf joined20:20
lsiv568 left20:21
m0viefreak joined20:21
gsingh93 joined20:21
dvl- Anyone have a working Kerberos auth for git? I'm getting prompted for credentials even with a valid Kerberos ticket.20:21
mennea left20:22
jottr_ joined20:22
iliv will "git checkout master" ever create a remote tracking branch? I'm not entirely sure but I think there was no master before I had run "git checkout master" and as a result of that I got this informational message from git: Branch master set up to track remote branch master from origin. ...20:23
... Switched to a new branch 'master'20:23
I thought -b is required, or git branch20:23
KennyRay joined20:23
baweaver joined20:23
sgen_ joined20:24
kevwil left20:25
jds left20:25
pcypher joined20:25
_ikke_ iliv: It's a so called "do what I mean" feature20:25
tevfik left20:26
iamjarvo joined20:26
_ikke_ iliv: Note that the tracking branch was already there, git only added tracking information20:26
iliv you mean the remote origin/master?20:27
okay how do I remove this new master branch20:27
_ikke_ iliv: the remote is called origin. origin/master is a remote tracking branch20:27
iliv correct20:27
that what I mean too :)20:27
that's *20:27
doener left20:28
_ikke_ iliv: Just to make it clear20:28
iliv: Is it a problem that master is there?20:28
ghostpl_ joined20:28
srcerer joined20:28
cbonobo joined20:28
iliv well.. it wasn't there before I ran "git checkout master" and I rather keep things that way.. We're trying to make sense of this git setup so.. it is not going to help to complicate things by adding extra branches etc.20:29
nettoweb left20:29
_ikke_ ok20:29
checkout another branch, and then git branch -D master20:30
KennyRay left20:30
cagedwisdom joined20:31
jaznow joined20:31
intransi_ left20:31
naftilos76 left20:31
ams__ joined20:31
tevfik joined20:31
pandeiro joined20:31
eletuchy joined20:32
pm90_ joined20:32
MattMaker left20:32
intransit joined20:32
pm90_ left20:33
pm90_ joined20:33
diego1diegoviola20:34
nnyk left20:34
jaznow left20:35
nrsk joined20:35
ghostpl_ left20:35
jottr_ left20:35
nnyk joined20:35
andlabs osse, ciss - all right, done (result https://github.com/andlabs/wintable)20:37
sinkensabe left20:37
thebrush joined20:37
lsiv568 joined20:37
tjm_jimmy joined20:38
hgl left20:40
MattMaker joined20:41
hgl joined20:41
jaznow joined20:41
Ervzf left20:41
random-user-name left20:42
ghostpl_ joined20:42
oriba_ joined20:43
aesinv left20:44
LBV_User joined20:44
aesinv joined20:44
jason237 joined20:44
chiemseesurfer left20:45
iamjarvo left20:46
oriba left20:46
ItSANgo joined20:48
mennea joined20:48
akiva joined20:48
mennea_ left20:52
His joined20:53
diego1 joined20:53
settermjd left20:53
His left20:53
rnsanchez left20:53
einmalfel left20:54
devoldmx joined20:54
ghostpl_ left20:54
diegoviola left20:54
nnir joined20:55
MasterPiece left20:55
KennyRay joined20:55
Corey84 joined20:55
ril left20:55
ghostpl_ joined20:56
Ahmed90 joined20:56
Ahmed90 left20:56
Ahmed90 joined20:56
ferr left20:57
nnir left20:57
Ahmed90 left20:57
Ahmed90 joined20:57
MasterPiece joined20:57
Ahmed90 left20:57
Ahmed90 joined20:58
Ahmed90 left20:58
Ahmed90 joined20:59
geomyidae_ joined20:59
Ahmed90 left20:59
dvl- left20:59
KennyRay_ joined20:59
mykespb joined21:00
diego1 left21:00
diego1 joined21:00
diego1diegoviola21:00
KennyRay left21:00
iliv _ikke_, thanks!21:00
dsdeiz joined21:01
m0ltar left21:01
pcypher_ joined21:02
pcypher_ left21:02
IrishPrime left21:02
tvw left21:03
pcypher_ joined21:03
thiago_ joined21:04
CKyle left21:04
metastableB left21:04
zxd joined21:04
pcypher left21:05
ashnur left21:06
nrsk left21:06
Acidnerd joined21:06
tg joined21:06
intransit left21:06
leolrrj joined21:07
leolrrj-alt left21:08
pcypher_ left21:09
tg left21:09
BSaboia_ left21:09
jason237 left21:09
tg joined21:10
pierre1_ joined21:10
iamjarvo joined21:10
leolrrj-alt joined21:10
leolrrj left21:11
Xethron_ left21:13
random-user-name joined21:13
jason237 joined21:13
EminenceHC joined21:15
konradb left21:15
zapb_ left21:15
JEEB left21:17
mizu_no_oto left21:17
ELFrederich left21:17
mennea left21:18
osse looks up ciss21:18
mennea joined21:18
osse andlabs: uhhhh?21:18
thiago joined21:19
scientes joined21:19
scientes left21:19
scientes joined21:19
dougsland left21:20
zapb_ joined21:20
sgen_ left21:22
linuxmint joined21:23
thiago_ left21:23
qsuscs osse: you found http://www.urbandictionary.com/define.php?term=Ciss (nsfw)?21:23
konr left21:23
osse lol21:24
MechtiIde left21:24
lsiv568 left21:25
sinkensabe joined21:25
Es0teric joined21:25
scientes left21:26
Sasa100 joined21:26
Sasa100 hello21:26
gitinfo Sasa100: 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.21:26
Sasa100 I'm trying to figure out git... heres what i figured so far....21:27
LBV_User left21:27
andlabs osse: I did the repository split now21:27
inigomontoya left21:27
osse yeah I got that part21:27
isifreek joined21:27
marienz left21:28
imachuchu Sasa100: it might also help to read some !books21:28
gitinfo Sasa100: [!book] There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable21:28
dougsland joined21:28
Sasa100 ... so i joined github, i have an account, a made a repo.... but thats it.... what i don't get is, i know its like a version control system but is it like a server- a place where you store all your files you code?21:28
otter768 joined21:28
tobiasvl Sasa100: github is a server, git is the underlying version control system21:28
Sasa100 yes, i tried all that.. i need some professional help... :)21:28
imachuchu Sasa100: no, in matter of fact you can use git just fine without ever leaving your box21:29
Sasa100 thanks tobiasv121:29
isifreek i have a repo in github, and i want to clone it to another github. last time i tried this, i botched it real nice. how can i do this cleanly? i curreently have a clean locl working dir, and that's it. i tried to push to github2, but i get remote repo not found (because it doesnt exist)21:29
Sasa100 yes but i don't think i've got the idea of git properly....21:29
freestyl3r left21:29
rvandam joined21:29
tritone_ joined21:29
TomyLobo left21:29
Sasa100 like I'm used to creating html files and working on them on my computer then i upload them to my linux server....21:30
so, like i said I'm really new to git...21:30
moritz isifreek: you need to create the second repo in the github web UI21:30
tobiasvl isifreek: what's "another github"? another account/organization? if so, click "fork". if it's the same account, create the repo in github and then push to it21:30
kadoban isifreek: You can do that just with the github interface. It's called "fork" there I believe.21:30
Sasa100 i managed to create a repo but i can't seem to add the files21:30
moritz isifreek: and then 'git remote add github2 <repourl>'21:30
isifreek: then you can push to github221:30
Sasa100 they are existing files on my computer21:30
moritz git add path/to/file21:30
isifreek Sasa100: you'd revise that to: "I usually work on the files on my computer then i commit and push them to github."21:30
m0ltar joined21:30
moritz git commit21:31
isifreek tobiasvl: enterprise github21:31
tobiasvl ah ok.21:31
Sasa100 ahhh21:31
zapb_ left21:31
isifreek kadoban: diff github21:31
govg joined21:31
tritone left21:31
joel_falcou left21:31
Sasa100 so basically i have a folder now called test and i ran git from the command line21:31
isifreek Sasa100: i do that with my personal blog, then i log into my host's server and git pull21:31
Sasa100 but when i try to git add . it does nothing21:31
eletuchy left21:32
isifreek Sasa100: did you do git init?21:32
Sasa100 and says its on the branch master or something21:32
yes i did21:32
isifreek Sasa100: is . empty?21:32
bramgg left21:32
Sasa100 umm how do i check that?21:32
moritz 'ls -a'21:33
isifreek Sasa100: ls -la21:33
Sasa100 i have a folder called test which has a bunch of files and folders within it21:33
otter768 left21:33
intransit joined21:33
tobiasvl are you inside test, and is that where you did git init?21:33
Sasa100 and i tried to add that after i ran git init21:33
isifreek Sasa100: so . has one folder called test. you run git init, then git add test21:33
stylica left21:34
SirRetnu_ left21:34
Sasa100 sorry one sec21:34
das_beard left21:34
isifreek nice, everythin works fine as long as you dont init your repo on github w a readme or gitignore :)21:35
andlabs osse: so what are you asking about?21:35
lucianangelus left21:35
eletuchy joined21:36
beckyconning_ joined21:36
lsiv568 joined21:36
dougsland left21:36
irqq joined21:36
Qzie joined21:37
zapb_ joined21:37
SirRetnuh joined21:37
stylica joined21:37
Qzie left21:38
osse andlabs: what 'ciss' means21:38
andlabs oh21:38
Sasa100 so i ran git init in the directory21:38
it says21:38
reinitialiased21:38
andlabs ciss was here earlier and also answered the question21:38
osse oh right21:38
andlabs not atm though :/21:38
Sasa100 reinitialiased exising git repository21:38
andlabs *not here21:38
ufi joined21:38
osse unfortunate nick given qsuscs's link. oh well21:38
or maybe that's the point21:39
ttt_fff joined21:39
barduck left21:39
ttt_fff ping21:39
AaronMT left21:39
Corey84 left21:39
osse tennis21:39
isifreek Sasa100: heh, never done that before21:39
pong21:39
Es0teric left21:39
ttt_fff anyone else feel, when using vim, that they wish "/" was bound to "git grep" instead of "search this local file" ?21:39
Una left21:39
AndroidLoverInSF left21:39
isifreek nope21:39
kadoban left21:39
neanderslob joined21:39
ttt_fff so often I am searching for something, but I want to search my entire repo, not just the current file21:39
AndroidLoverInSF joined21:40
osse ttt_fff: Get fugitive, nnoremap / :Ggrep <space>21:40
stylica left21:40
stylica joined21:40
osse you're welcome21:40
ttt_fff osse: you deserve the +21:40
dspirito left21:40
dougsland joined21:40
ChanServ set mode: +o21:41
osse set mode: -v21:41
osse set mode: -o21:41
osse say whaaaat21:41
tristanp left21:41
ChanServ set mode: +v21:41
Sasa100 back, so when i type git status i get : On branch master nothing to commit, working directory clean21:41
this has me stumped.....21:41
any ideas, why....?21:41
tristanp joined21:41
carif left21:42
wethu joined21:42
carif joined21:42
osse maybe you've created a commit21:42
run git log21:42
Sasa100 ok21:42
tcurdt joined21:42
Sasa100 yes it says commit ...blahblah, author, blahblah.... date etc21:43
what does that mean21:43
oojacoboo left21:43
Una joined21:44
nettoweb joined21:44
qsuscs Sasa100: read the !book.21:44
gitinfo Sasa100: 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 !parable21:44
ttt_fff left21:44
osse Sasa100: it means you've created a commit.21:44
Sasa100: git log shows the log (history) of the repo21:44
Sasa100 like i've said a few times... i looked at everything i don't get it, thats why i've come here21:44
if you can't help me, just say, pls don't refer me to stuff I've already done21:45
iamjarvo left21:45
Es0teric joined21:45
Sasa100 um whats !cs etc?21:46
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 !bottomup21:46
ufi left21:46
osse Sasa100: triggers for the bot (Hi, gitinfo)21:46
Sasa100 unfortunately I'm not a computer scientist21:46
osse !snack21:46
gitinfo [!botsnack] Om nom nom21:46
osse Sasa100: I answered your latest question. Feel free to ask more.21:47
Sasa100 I'm actually one of those people who knows nothing but would like to know something, so I'm trying to figure it out...21:47
dodobrain joined21:47
Sasa100 oh thanks osse21:47
mennea left21:47
Sasa100 !cs21:48
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 !bottomup21:48
Sasa100 !bottomup21:48
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)21:48
Sasa100 osse, thanks v much21:48
mennea joined21:48
Sasa100 !designers21:48
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/21:48
Sasa100 cool, thats more my thing...21:48
Dreamer3 left21:49
sinkensabe left21:49
Sasa100 appreciate the help guys21:49
osse hmm, that's 6 years old.21:49
HoMM left21:49
osse Ah, probably doesn't matter. The basics are all the same.21:49
ropav left21:49
qsuscs the output has slightly changed21:49
looper_ left21:49
qsuscs no ^#21:49
and rewording probably21:50
ropav joined21:50
zumba_addict left21:50
zumba_addict joined21:51
pcypher joined21:51
iamjarvo joined21:52
HoMM joined21:52
Aeterne joined21:52
iamjarvo left21:52
ska-fan left21:52
iamjarvo joined21:52
tristanp left21:53
dsdeiz left21:53
osfd left21:53
davidfetter_fbn joined21:53
Sasa100 me again21:53
davidfetter_fbn hi21:53
Sasa100 so i scanned a doc...21:53
popl Hi. I've currently got a branch checked out that I've committed some changes to. I did git pull --rebase HEAD from the production repo (what I normally do before I push my changes to our QA machine) and after doing a git diff master on my machine I see changes to some file that I did not make.21:54
ropav_ joined21:54
Sasa100 now my question is , is there such a thing as being able to 'upload' files you've already created to a github repository?21:54
Technocrat7 left21:54
popl How do I determine where those changes came from, and how can I get rid of them? If I send this to QA it will cause a conflict. :/21:54
Sasa100 or... does it only do that if you make a change to the files?21:54
tobiasvl Sasa100: adding a file is also a change.21:54
t0th_-_ left21:55
Sasa100 why do you think its not adding my files?21:55
riceandbeans joined21:55
Sasa100 i tried git add .21:55
ska-fan joined21:55
Sasa100 i tried git add *.c21:55
random-user-name left21:55
Sasa100 nothing...21:55
th3fallen left21:55
tobiasvl Sasa100: !repro21:55
gitinfo Sasa100: [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://gist.github.com/2415442 ) of your terminal session.21:55
popl nothing? surely there's a message.21:55
thiago left21:55
riceandbeans have any of you converted a mercurial or cvs to git and if so, how difficult is it / how long does it take / can it fail?21:55
tpollard joined21:56
t0th_-_ joined21:56
Nugget cvs to git is a breeze, it's well-exercised code, and doesn't take long21:56
tobiasvl I've done both, it's not difficult21:56
qsuscs riceandbeans: mercurial is okay. branch information gets lost (mercurial records the branch a commit was made on, which git does not support), but it’s reasonably okay.21:57
riceandbeans: but i’d recommend doing it the other way round, i.e. hg --config hgext.hg-git= push git://…21:57
Sasa100 um tobias did you just send me to a link that tells me how to copy and paste?21:57
riceandbeans qsuscs: I don't follow21:57
ropav left21:58
tobiasvl Sasa100: no, I told you how you can show us the output of the commands you ran...21:58
tevfik left21:58
qsuscs riceandbeans: don’t use git-remote-hg to clone a hg repo from git, use hg and hg-git to push to a git repo from hg21:58
sq-one left21:59
cdown_ joined21:59
riceandbeans ok21:59
isifreek Sasa100: git add -A if you want to add everything21:59
riceandbeans qsuscs: is there much work past that one initial command?22:00
rpg joined22:00
diegoviola left22:00
tier_ left22:01
qsuscs riceandbeans: to import subsequent commits? no22:01
ehynds left22:02
qsuscs riceandbeans: if you intend to work on a hg repo with git (instead of a one-time conversion), you’d probably be better of with git-remote-hg (or simply hg itself, it’s not that bad)22:02
cdown left22:02
alekks joined22:02
ivan_on_trac joined22:02
riceandbeans qsuscs: no, I just need to convert a cvs and a hg to git, one time, one way22:03
diegoviola joined22:04
Spacew00t left22:04
nettoweb left22:05
ivan_on_trac The pull, only updates if I'm within the current branch?22:05
Technocrat7 joined22:05
FreezingCold left22:05
kadoban joined22:06
alekks left22:06
Sasa100 git push -u origin master Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.22:07
what could i be doing wrong?22:07
rvandam left22:07
mennea left22:07
tevfik joined22:08
DrShoggoth left22:08
mihaicris left22:08
gebjgd left22:08
Aeterne left22:08
popl Sasa100: Do you have access to the remote machine?22:09
vreo__ joined22:09
Sasa100 the remote machine should be my github account i think22:09
how do i check I'm.... connected?22:09
popl make sure you've got your ssl certs configured correctly. there should be a howto on github for that iirc.22:10
Sasa100 (I would like to apologise if i sound like one of the dumbest people ever in here... :S )22:10
adamben joined22:10
Sasa100 wow, sounds like i still have a lot more to learn... i though it would be straight forward22:10
ende__ joined22:11
konr joined22:11
isifreek Sasa100: it is straightforward. i prefer using SSH to HTTP(S). log onto github, click the gear in the upper right, select ssh keys, copy yours (yours should be in ~/.ssh/id_*.pub), then you can push without having to type your password.22:12
helgikrs left22:13
Jetchisel left22:13
vreo__vreo22:13
clarkpan joined22:13
ende_ left22:14
FreezingCold joined22:14
lrae joined22:14
helgikrs joined22:14
aesinv left22:14
aesinv joined22:14
ropav_ left22:15
Sasa100 does it look like [email@hidden.address]22:15
Corey84 joined22:15
isifreek Sasa100: was that @ me?22:15
lrae left22:15
Sasa100 yes isifreek22:16
i looked in the ssh keys bit, i have nothing there22:16
do i need to create one?22:16
isifreek Sasa100: if you type `git remote -v` and see remotes prefixed with [email@hidden.address] then that means you are telling (local) git to use ssh to connect to github, yes.22:17
rqzp joined22:17
isifreek Sasa100: if you dont have an ssh key, create one with `ssh-keygen`22:17
RaceCondition left22:17
zumba_addict left22:17
isifreek (press enter until the command exits)22:17
Sasa100 well i did the first git remote -v and is has come up with the right [email@hidden.address] thing22:18
fetch and push22:18
rqzp left22:18
Sasa100 umm what the ssh-keygen?22:18
cdown_ left22:18
dsdeiz joined22:19
Wtjw joined22:19
isifreek Sasa100: does `which ssh-keygen` produce any output?22:19
Sasa100: what OS are you on?22:19
lsiv568 left22:20
HoMM_ joined22:20
dunpeal left22:20
thiago joined22:20
Sasa100 apple22:20
chiemseesurfer joined22:20
rvandam joined22:20
isifreek Sasa100: oh, do you have fink or homebrew? (you need openssh)22:20
pcypher left22:20
plsk left22:20
Sasa100 I'm using the regular terminal22:20
pcypher joined22:21
cdown joined22:21
Sasa100 but do i need to do the keygen thing if i already get the thing connecting to it?22:21
Wtjw left22:21
noise98 joined22:22
isifreek Sasa100: what do you mean "already connecting"? are you saying that your local git is able to push/pull to/from github?22:22
Una_ joined22:22
Una left22:22
Sasa100 it says fetch and push22:22
s8321414 joined22:22
Sasa100 so i guess so22:22
irqq left22:22
nnyk left22:22
isifreek Sasa100: that's NOT what that means...22:22
svteoi joined22:23
AndroidLoverInSF left22:23
clarkpan left22:23
aesinv left22:23
HoMM left22:23
isifreek Sasa100: those are the links git will use when it tries to push/pull, but that doesnt mean the server will give you what you want. you must authenticate to the server usually via https or ssh22:23
Vadimus left22:23
isifreek with https, it asks you for your password on the terminal everytime22:24
tmager joined22:24
Sasa100 isifreek: yup.... because now i get permission denied publicly fatal could not read from remote repository... please make sure you have the correct access rights and the repository exists22:24
ottanta so, I want to take a commit I just made to a branch, say 'foo', and check it out as a branch bar, then rewind the foo branch to the commit before the one I made22:24
isifreek Sasa100: exactly, so you're connecting just fine, you just arent authenticating22:24
teran_ joined22:25
Sasa100 isifreek: ohhh22:25
isifreek Sasa100: does `which ssh-keygen` produce any output when you type it?22:25
Sasa100 so how do i authenticate22:25
AndroidLoverInSF joined22:25
c355E3B Sasa100, ensure your public key is on the server you are trying to ssh to22:25
Sasa100 isifreek: when i do ssh-keygen i get /usr/bin/ssh-keygen22:25
akiva left22:25
ottanta so all I do is like, git branch -m right22:25
isifreek Sasa100: oh perfect22:25
Sasa100 isifreek: how/where do i get a public key?22:26
is that my ip address kind of thing?22:26
qsuscs ottanta: git checkout foo; git branch bar; git reset --hard @^ # but you are still on foo22:26
isifreek Sasa100: type this: `ssh-keygen` <-- generates a public key and a corresponding private key22:26
thiago left22:26
isifreek Sasa100: it will ask you some Questions... ignore them all by pressing enter22:26
riceandbeans left22:26
isifreek Sasa100: when you're done with tht tell me22:27
Sasa100 its asking me to enter file to save the key?22:27
isifreek enter22:27
teran left22:27
teran__ joined22:27
Sasa100 cool done22:27
baweaver left22:27
ottanta qsuscs you mean I'll end up on foo? or I'll still be on where foo was pointing before22:28
Sasa100 isifreek: all done22:28
isifreek: what do i do with the key?22:28
isifreek Sasa100: it automatically put them in ~/.ssh/id_rsa*.... so type `less ~/.ssh/id_rsa.pub`22:28
mroach left22:28
isifreek Sasa100: that will show you your public key22:28
Sasa100: copy it22:28
(everything you see)22:28
qsuscs ottanta: you’ll end up on foo, but the commit before the one it used to be22:28
Sasa100 isifreek: what do i do with the copied key?22:29
ottanta qsuscs that's what I want, then, I can just git checkout bar at the end anyway22:29
chiemseesurfer left22:29
isifreek Sasa100: then you'll paste it to github > settings (gear in the upper right) > ssh keys22:29
ottanta I just didn't want to overthink it and do non-porcelain commands, thank you22:29
isifreek Sasa100: looks like this: https://help.github.com/assets/images/help/settings/ssh-key-paste.png22:29
ottanta :D22:29
teran_ left22:29
Sasa100 isifreek: got it22:30
thiago joined22:30
isifreek Sasa100: as soon as you save, you can push/pull22:30
Sasa100: press 'q' to return to your termianl btw (idk if you're familiar with `less`)22:31
Sasa100 isifreek: my key does not end with a email address....22:31
jagob left22:32
isifreek Sasa100: should be ok. usually it is the username of the user that made the key @ the host where the key was made22:32
nfk left22:32
Sasa100 isifreek: ok all done now i got back to the terminal and...22:32
isifreek Sasa100: afaik, it doent matter what is there as long as you have the corresponding private key.22:32
khisanth_ joined22:33
isifreek Sasa100: back on the terminal, press 'q', then try to push22:33
clarkpan joined22:34
denete left22:34
queuetip joined22:34
daedeloth_ left22:34
Khisanth left22:35
queuetip hi, i have a file that git status shows i have local changes, i commit it, but when i try to push it says up to date, i can't checkout another branch because it says i have local modifications, i even do a git checkout file but still the same thing22:35
what causes that?22:35
Sasa100 isifreek: i have this on the end of my key is it ok? /.ssh/id_rsa.pub (END)22:35
isifreek: i tried to push , but same prob22:35
isifreek Sasa100: yes, that is the public key, that's the one you should give to github (or everyone)22:36
intransi_ joined22:36
ParsectiX left22:36
queuetip the changes are already pushed to origin, so i could probably git reset the file but i want to know what the cause is22:36
isifreek Sasa100: ok, that means there may not yet be a corresponding repo on github to read (which makes sense since you havent pushed this repo before)22:36
Sasa100 isifreek: git push master fatal: 'master' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.22:36
tonyj left22:36
Xovu joined22:36
jerius left22:36
Ahmed90 joined22:36
AndroidLoverInSF left22:37
ParsectiX joined22:37
queuetip Sasa100: git push origin master?22:37
isifreek Sasa100: on github, create a new completely empty git repo (plus in the upper right, uncheck license, uncheck readme, gitignore none)22:37
Xovu left22:37
isifreek queuetip: that wont work22:37
queuetip: there is nothing to push to yet22:37
tonyj joined22:37
Sasa100 queuetip: yay!22:37
AndroidLoverInSF joined22:37
isifreek wow, rly?22:37
queuetip isifreek: ah i see, sorry i came into the conversation late, i had my own question haha22:38
Sasa100 isifreek: yup22:38
queuetip well cool ;) glad i could help22:38
isifreek Sasa100: magic lol22:38
you should be able to do git push now22:38
Sasa100 isifreek: :) so how do i check now if it did it22:38
Una_ left22:38
isifreek Sasa100: it will say already up to date now22:38
hvo joined22:38
ParsectiX left22:38
isifreek Sasa100: github.com/user/repo.git22:38
queuetip Sasa100: look on origin, if origin is github, check that22:38
ParsectiX joined22:38
clarkpan left22:39
hvo left22:39
intransit left22:39
Sasa100 OhMG!!!!!22:39
jason237 left22:39
jazzzu left22:39
Sasa100 yay!!22:39
queuetip Sasa100: origin though could be whatever you want it to be, it could be a deploy repo on your own computer even22:39
Sasa100 thank you so much22:39
no, i just could not figure out how to get my files uploaded to git and now its all done!22:39
cdown left22:40
queuetip Sasa100: it's a good habit to always specify what you're pulling from and to, and what your pushing from and to, rather than leave git to try to figure it out22:40
ooeoj joined22:40
Sasa100 queuetip: thanks for the tip22:40
isifreek Sasa100: now you're rolling... i often find it easier to create the repo on github first, then clone.22:40
(personal pref tho)22:40
nadirvardar joined22:40
cvanball joined22:40
Sasa100 queuetip: when u say look on origin... you mean check my github account right?22:41
queuetip Sasa100: in your case, yes22:41
ende__ left22:41
jeffmjack left22:41
Sasa100 I've been trying all some tutorials on the mean stack22:41
queuetip Sasa100: but "origin" there could be whatever, you could create an empty repo on an AWS instance and then that could be your origin22:41
Sasa100 and i just wanted to get them up there22:41
ende__ joined22:41
Sasa100 its so confusing.... at the start....22:41
queuetip Sasa100: git isn't meant to be user friendly, but it sure is maintainer friendly :D22:42
c355E3B Everything always is22:42
queuetip so, on to my question! lol what causes a file to show as needing to be committed when it's committed and pushed, and git won't let me checkout another branch even if i've checked out the file that git is complaning has local modifications22:43
Sasa100 queuetip: I'm just trying to get into the flow of it, i know once i've done it a few times i'll be fine... it just seems a bit daunting... i got so far with it but then i just hit a wall.... so i came here and voilé its done22:43
c355E3B queuetip, when you modify or delete the file22:43
queuetip Sasa100: checkout git flow22:43
c355E3B: it's not modified or deleted22:44
Sasa100 whats git flow?22:44
texasmynsted joined22:44
c355E3B queuetip, you sure?22:44
queuetip c355E3B: i mean i did modify it but then i committed and pushed it, it's pushed22:44
c355E3B: yes: even after doing a git checkout file22:44
c355E3B: it still shows as locally modified22:44
sinkensabe joined22:44
queuetip c355E3B: when i try to push, git says up to date22:44
c355E3B what does git status say?22:44
queuetip c355E3B: it says that that file has local modifications22:44
texasmynsted There is no way to somehow mark a set of commits in branch "B" to never be merged into branch "A", right?22:44
queuetip c355E3B: although git log shows my commit, git show shows my changes22:45
editshare-ericf left22:45
jim you can push commits, you can't push local mods22:45
nda_ joined22:45
texasmynsted I know there is a way to say for file xyz take "ours".22:45
queuetip jim: i've committed the file 4 times already22:45
jim: there's nothing more to commit22:45
Consuela joined22:45
c355E3B queuetip, have you checked that the remote has your file?22:45
queuetip c355E3B: yes, and it does22:46
jim did you add it first? :)22:46
queuetip jim: yes, the file has been there for like 2 years too22:46
c355E3B try adding it first then recommiting22:46
aard_ left22:46
jim no I mean "git add thatfile"22:46
c355E3B but you can always reset origin/master22:46
queuetip c355E3B: i've never needed to do that before except when resolving a conflict or when adding a new file22:46
thiss left22:46
queuetip c355E3B: i know i can git reset --hard HEAD on that file... but i want to know what causes this22:46
c355E3B can you git diff the file agasint its last revision?22:47
jim yeah I'm curious too22:47
queuetip jim: the last, last msg was meant for you22:47
sinkensabe left22:47
queuetip c355E3B: yes and the "changes" that i've committed 4 times show up22:47
ap0c joined22:47
c355E3B does the name show up in git status?22:48
steele_ left22:48
nda_ I should have had a submodule as I do have the files and an entry in .gitmodules; yet, Git apparently has no knowledge of the submodule. "git submodule status --recursive" doesn't list the submodule either. Is there a good way to fix this, or should I manually remove the entry in .gitmodules as well as the submodule folder, then add it again?22:48
queuetip c355E3B: yes22:48
jim as what?22:48
queuetip jim: as the right name of the file22:48
c355E3B can you pastebin the terminal output somewhere?22:48
queuetip c355E3B: yes22:48
jim yeah I'd like to see that too22:48
tmager left22:48
ams__ left22:49
steele joined22:49
lsiv568 joined22:50
jim queuetip, git has a slightly different workflow... before you can commit, you have to "git add ..."22:50
jottr_ joined22:51
adamben left22:51
jim it sounds like you've been working with this project awhile... how long has it been under git?22:51
aesinv joined22:51
kermit left22:52
nda_ As for my problem, I now see that the folder referred to in the .git file of the submodule doesn't exist in .git\modules.. Somehow, Git still knows that the submodule is a different repository without having its own ".git" folder. :S22:52
chitopunk left22:52
kermit joined22:53
aesinv left22:53
nda_ Sorry, I said something wrong. .git\modules\* exists after all.22:53
mskaesz left22:54
hahuang65 joined22:54
lsiv568 left22:55
Ankhers left22:55
jottr_ left22:55
texasmynsted So anybody have a neat way to identify a set of commits that you want to ensure never get pulled into another branch?22:57
m0ltar left22:57
kadoban texasmynsted: Don't commit them? What's in them exactly?22:58
texasmynsted Just shell scripts that help with testing22:58
ende___ joined22:58
mkaesz joined22:58
texasmynsted I do not want to lose them for the branch they exist on, and it would be useful to manage them is git, but they should not leave the branch22:59
I thought about git notes22:59
intransi_ left22:59
ivan_on_trac left22:59
queuetip jim: i've actually never had to add before a commit22:59
jim: c355E3B: http://pastie.org/998268222:59
clarkpan joined22:59
texasmynsted but I am not sure that is great. I could search for all notes with content like NOMOVE or something.22:59
queuetip jim: unless it's to add a new file or ot resolve a conflict22:59
aldodelgado left22:59
kadoban texasmynsted: Are they on a branch that's commonly merge into other places or something? If not…doesn't seem like a problem. I mean just…don't merge them in.23:00
c355E3B texasmynsted, you can amend the commit messages of the commits and stick a DONTMERGE at the front of them23:00
lsiv568 joined23:00
baweaver joined23:00
sburgess left23:00
texasmynsted It is on a branch that is common to merge into the dev branch23:00
c355E3B queuetip, you need to say git commit23:00
kadoban texasmynsted: If they are for some reason. I dunno, I guess you could merge them in and then immediately revert the merge. That way they won't get merged in again unless someone reverts the revert.23:00
HoMM_ left23:01
jazzzu joined23:01
kadoban That's kinda gross, but…I guess it does what you're asking for, technically…kinda.23:01
texasmynsted Hmm, that is an interesting idea23:01
ende__ left23:01
queuetip c355E3B: what do you mean?23:02
texasmynsted I would like something more like notes maybe.23:02
Sasa100 thanks for your help guys, bye bye23:02
texasmynsted merge then revert seems . . .23:02
Sasa100 left23:02
kadoban texasmynsted: If it was me, I'd probably just move them to a different branch, one that's not commonly merged in.23:02
c355E3B queuetip, every time you edit then add a file in git23:02
jim howbout if you do the commit without specifying the path? (just: git commit)23:02
c355E3B you need to run the `git commit` command to tell git to accept the changes23:02
queuetip c355E3B: i do, i pasted a pasties above23:03
mkaesz left23:03
intransit joined23:03
queuetip c355E3B: you can see the workflow23:03
jim: i've never had to do that before23:03
jim: i always commit my files one at a time, so i always specify the path23:03
thiago left23:03
tonyj left23:03
pm90_ left23:03
c355E3B queuetip, just do `git commit -m 'message'`23:03
jim so the file is definitely added23:03
Es0teric left23:04
queuetip jim: the file is definitely there23:04
c355E3B: why?23:04
jim to see if it works, and to commit the file23:04
texasmynsted If I move them to a different branch then I kind of have the same problem because every time I need to merge into the branch I need to identify the patches to leave out.23:04
Technocrat7 left23:04
queuetip jim: is that the same as git commit . -m 'message'23:04
zumba_addict joined23:05
texasmynsted I am starting to like the idea of NOMERGE at the start of the commit message23:05
jim yes (except it fires up an editor into which you type the -m message)23:05
tonyj joined23:05
texasmynsted It would be easy to see in the log, could be grepped23:05
zxd left23:05
texasmynsted etc23:05
kadoban texasmynsted: Hmm? Never merge the branch with the scripts in anywhere. Just rebase it on top of what you want to test or something. NOMERGE…I dunno how that helps. You're still likely to do it accidentally.23:05
texasmynsted Might be better than notes23:05
c355E3B There isnt really a good way to keep it from happening23:06
jim so, either "git commit" or "git commit -m 'some message'"23:06
c355E3B but its a bit more visiable than a note23:06
texasmynsted kadoban: hmm yes, you are right23:06
cjwilburn left23:06
kadoban It's not like when you merge, it asks you to okay each commit.23:06
wicope left23:06
Vgr left23:07
jim it looks like the arg you were passing to git commit caused it to not do the commit23:07
SirRetnuh left23:07
viscera joined23:07
texasmynsted I need a way to put some commits into a special status that makes them ineligible for merge.23:08
clarkpan left23:08
Vgr joined23:08
lqi left23:08
Literphor left23:08
Jetchisel joined23:08
clarkpan joined23:09
intransit left23:09
texasmynsted hmm submodules kind of work like that..23:09
nadirvardar left23:10
texasmynsted submodule not a viable solution23:12
AndroidLoverInSF left23:12
c355E3B left23:12
SirRetnuh joined23:12
SirRetnuh left23:13
SirRetnuh joined23:13
AndroidLoverInSF joined23:13
JanC left23:13
iamjarvo left23:13
btree_ left23:13
queuetip i ended up doing a git reset --hard HEAD and that fixed my issue just fine,but i do have another question, i've never used git add or git commit -am when just modifying a file that already exists in the repo, i just make my changes and then git commit file -m 'msg', then push, it's always worked just fine without issue23:15
Acidnerd left23:15
queuetip i'm trying to find any documentation online to support this,but all documentation points to having to add first after modify23:15
does git just do it for you if you don't? i've literally never had to23:15
akiva joined23:16
thebrush left23:16
AaronMT joined23:16
nadirvardar joined23:17
queuetip here's the workflow and it works just fine: http://pastie.org/998272623:17
no git add or -am needed23:17
texasmynsted Need a merge strategy of never23:18
http://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes23:18
svteoi left23:18
Technocrat7 joined23:18
clarkpan left23:18
queuetip texasmynsted: you can probably write a hook script if you need to check certain files, but that's way out of my range23:18
ooeoj left23:19
PeterBooker left23:19
texasmynsted I think I would like to create a custom merge strategy of ignore.23:19
oojacoboo joined23:19
m0ltar joined23:19
texasmynsted anybody have any urls that might be helpful for this heh?23:20
unomystEz joined23:20
texasmynsted then I could set the merge strategy in .gitattributes, to ignore23:20
Literphor joined23:20
Sarco left23:21
Vampire0_ left23:21
zumba_addict left23:21
Corey84 left23:21
Gama11_ left23:21
steele left23:22
drfoo joined23:22
zumba_addict joined23:22
queuetip texasmynsted: i think writing a custom strategy and recompiling git would be far more complicated than writing a hook script to do what you need, IMO, i really don't know though23:22
_Atom_ joined23:23
texasmynsted oh, yeah.23:23
gopar joined23:23
ani joined23:23
baweaver left23:23
mroach joined23:24
ani left23:24
tevfik left23:24
clarkpan joined23:25
davidfetter_fbn left23:25
Acnao joined23:25
texasmynsted hmm. http://stackoverflow.com/questions/23140240/git-how-do-i-add-a-custom-merge-strategy23:25
kadoban left23:25
macabre left23:25
texasmynsted I guess what I was thinking of would be a merge driver and would only be used in conflict23:25
so not going to work23:26
Ahmed90 left23:26
jottr_ joined23:26
Acnao left23:26
steele joined23:26
texasmynsted So I guess the answer is there is no way, or maybe some kind of hook23:26
whitby joined23:27
JanC joined23:27
Ecaa joined23:28
HelloShitty joined23:28
Gianormagantrous left23:28
ParsectiX left23:28
Vampire0 joined23:29
ParsectiX joined23:29
otter768 joined23:29
h4ml3t left23:29
stymo left23:30
cbonobo left23:30
Gianormagantrous joined23:30
danzilio joined23:32
otter768 left23:34
btree joined23:35
btree left23:35
pcypher left23:36
leolrrj-alt left23:37
t0th_-_ left23:37
Dougie187 left23:37
ap0c left23:37
t0th_-_ joined23:38
bgerber left23:38
kadoban joined23:38
carif left23:38
scientes joined23:38
scientes left23:38
scientes joined23:38
neonalpine left23:39
ska-fan left23:39
h4ml3t joined23:40
fooforge left23:40
mikecmpbll left23:41
SirRetnuh left23:41
ap0c joined23:41
axl_ left23:42
phix joined23:42
Vile joined23:42
baweaver joined23:42
phix hi, can I remove commits? My use case is I applied an update to a website that is under git, I commited it and a few other things, now I want to removed a few commits as it contains useless and incorrect data that I dont want to keeop the history of. my questions are 1) Is this possible? 2) which git commands should I read up on to perform this task?23:44
scientes left23:44
soerenb !fixup23:44
gitinfo So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!23:44
phix cheers23:44
hahuang65 left23:44
eijk left23:44
phix That was a quick response, how many cups of coffee have you had today? :)23:45
soerenb none, i prefer tea23:45
just had a minute to relax and checked in on irc23:45
s8321414_ joined23:45
s8321414 left23:45
danzilio left23:45
tritone_ left23:46
Zupoman left23:46
phix nice, good timing then :)23:46
s8321414_s832141423:47
queuetip phix: git rebase -i will allow you to remove certain commits, and reapply the rest, but it is rewriting git history, so be careful23:47
undecim joined23:48
phix that is fine, basically what I did was apply an update, reverted update plus added more stuff, now I want to apply an update. I want to remove the first update (there are a few commits) as it was a failure.23:48
davidfetter_fbn joined23:48
danzilio joined23:49
danzilio left23:49
queuetip phix: sure, git rebase is good for that, which is also mentioned in the above pasted article on github. just know that rewriting history is a complicated thing, and other users of this repo may be adversely affected23:49
Takle left23:50
phix I have done that a few times so I would like to remove a bunch of commits in the middle of my commit log or what ever you would call it23:50
undecim I'm a git noob. I just cloned a repo (took about 5 min to download 0.5G), and there's nothing there (except .git). I was expecting some source code (git clone git://git.omapzoom.org/kernel/exynos.git)23:50
queuetip phix: git rebase -i then :)23:50
phix queuetip: only one user, me, I use it to keep track of changed files on a website, and easily restore files if a user messess it up (yes I do backups as well, but git checkout is alot easier :))23:51
h4ml3t left23:51
queuetip phix: easy mode then and consider yourself lucky!23:51
oojacoboo left23:51
phix woooooo!23:51
oh I have two repos though, local and origin (a server that I am the only user / admin on)23:52
steele left23:52
Technocrat7 left23:53
undecim I just clone'd and downloaded ~500MB, but there is nothing in the tree. What did I just download 500MB of? (git clone git://git.omapzoom.org/kernel/exynos.git)23:53
jorj joined23:54
kadoban left23:55
madewokherd joined23:55
dodobrain undecim, check git log23:55
maybe someone accidentally pushed a delete all commit23:55
or something weird like that23:55
undecim Shows 1 commit "empty commit"23:55
dodobrain what?23:55
SirRetnuh joined23:55
dodobrain maybe dot files?23:55
undecim no, just .git23:55
rpg_ joined23:56
akiva left23:56
vreo left23:56
rpg_ left23:56
scientes joined23:56
scientes left23:56
scientes joined23:56
jgardella joined23:56
nmz787_i left23:56
jgardella left23:57
undecim How can I revert to before that commit?23:57
Or can I even do that, since there is no commit before?23:57
tjm_jimmy left23:58
joeyDB left23:58
oriba_ left23:59

Logs Search ←Prev date Next date→ Channels Documentation