IRCloggy #git 2013-11-23

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.

2013-11-23

rhombus left00:00
m0viefreak in a 'script' file00:00
and then run00:00
canton7 you can - rebase -i and change each line to 'edit'. filter-branch should work, though, and it'll be a lot easier00:00
damccull hmm. as a script huh?00:00
m0viefreak git filter-branch -f --tree-filter "./script"00:00
just to make sure there is no character escaping issue00:00
mmlac-bv joined00:00
warthog9 left00:00
damccull brb and then i'll try it00:00
canton7 ^^ I'd also write the script long-hand... if [ -e ... ]; then \n sed ... \n fi \n exit 000:01
kermit joined00:02
damccull ok thanks. will let you know00:02
do i need like a #!bin/bash or similar at the top?00:02
tang^ left00:03
canton7 yeah00:03
and chmod +x it00:03
m0viefreak #!/bin/bash00:03
canton7 make sure you can ./script in isolation, and it'll work00:04
ravigehlot left00:04
gasbakid_ left00:05
Admin_ left00:05
diphtherial joined00:06
damccull left00:07
el3ctron joined00:07
regreddit left00:07
TomyLobo left00:08
eletuchy left00:09
eletuchy joined00:09
decotii left00:09
infynyxx joined00:10
johnkevinmbasco joined00:10
Droolio joined00:11
Kayra left00:13
eletuchy left00:13
mightyiam left00:14
jimi_ left00:14
jason237 left00:14
noyb left00:15
diphtherial left00:15
arvind_khadri joined00:15
arvind_khadri left00:16
AWinterman joined00:16
bamj0rb left00:17
leeN left00:19
Squarism2 left00:19
dhruvasagar joined00:19
psyl0n left00:20
whunt left00:20
psyl0n joined00:20
boombatower left00:20
kwmiebach joined00:21
el3ctron left00:22
jimi_ joined00:23
el3ctron joined00:24
Mars` left00:24
primitive left00:25
Mars` joined00:25
hwrd|work joined00:25
Mars` left00:25
sbeyer joined00:25
Mars` joined00:25
infynyxx left00:26
dkpi joined00:26
RaceCondition joined00:27
noyb joined00:29
ajm203 joined00:29
MattStratton joined00:30
zhost left00:30
decotii joined00:32
maxorator left00:32
MattStratton left00:32
h0rrorvacui joined00:33
codeman joined00:33
mr_red left00:34
RaceCondition left00:34
arvind_khadri joined00:34
maxorator joined00:35
arvind_khadri left00:35
CAP5158 left00:35
arvind_khadri joined00:35
arvind_khadri left00:36
sgambino joined00:36
Kayra joined00:37
jkline left00:37
AWinterman left00:38
AWinterman joined00:38
AWinterman left00:39
AWinterman joined00:40
treaki__ joined00:41
bwreilly left00:42
treaki_ left00:43
dwgill joined00:44
hwrd|work left00:44
beepbeep_ left00:44
breck7 joined00:44
alp82 left00:45
hwrd|work joined00:45
donmichelangelo left00:45
donmichelangelo joined00:46
canoon left00:46
grzesag left00:46
AWinterman left00:46
AWinterman joined00:47
bwreilly joined00:47
PaulCapestany left00:48
AWinterm_ joined00:48
AWinterman left00:48
AWinterm_ left00:48
sayanee joined00:48
AWinterman joined00:49
halu joined00:49
Zarthus left00:49
thelorax123 left00:49
dwgill left00:49
hwrd|work left00:49
AWinterman left00:50
AWinterman joined00:50
tvw left00:51
thelorax123 joined00:51
arvind_khadri joined00:52
arvind_khadri left00:53
Lancien joined00:53
dsdeiz joined00:54
beastd left00:55
canoon joined00:56
pbrobst left01:00
ajm203 left01:01
ajm203 joined01:02
ErKa left01:02
halu left01:02
King_Hual left01:02
FernandosFernandos_away01:03
jkline joined01:04
raonyguimaraes joined01:04
raonyguimaraes left01:04
BiggFREE left01:05
refried_ joined01:06
Brmm left01:08
mmlac-bv left01:08
sbeyer left01:09
nephyrin left01:09
sohail left01:09
arvind_khadri joined01:10
eletuchy joined01:10
sohail joined01:10
arvind_khadri left01:10
Katafalkas joined01:10
jason237 joined01:11
boombatower joined01:11
decotii left01:15
Katafalkas left01:17
Katafalkas joined01:17
jimi_ left01:18
Katafalkas left01:19
eletuchy left01:19
john2x joined01:21
johnkevinmbasco left01:22
shinnya joined01:23
kadoban joined01:24
nnyk_ left01:24
AWinterman left01:25
AWinterman joined01:25
arvind_khadri joined01:26
leandrosansilva_ joined01:27
arvind_khadri left01:27
leandrosansilva left01:27
DonRichie left01:27
DonRichie joined01:28
jkline left01:28
lolmaus How do i create an empty branch? So that it does not inherit any commits and code?01:29
rjhunter lolmaus: --orphan01:30
lolmaus rjhunter, git branch --orphan? git --checkout --orphan?01:30
oops01:30
ehmatthes left01:30
sohail left01:30
m_ke left01:30
grawity lolmaus: the latter01:30
lolmaus grawity rjhunter, thank you01:31
nnyk_ joined01:31
Naoe-Kanno left01:32
refried_ left01:33
karavanjo__ joined01:34
lolmaus I did `git checkout --orphan branchname` but there are still master's files. I tried `git reset --hard` and `git clean -f -d -x`, but they didn't work. How do gracefully remove the files and folders from the other branch?01:34
karavanjo_ left01:35
breck7 left01:35
ajm203 left01:35
lolmaus Git makes me feel miserable like no other piece of software does. :( Every step other than add/commit/push is a pain, and cryptic documentation is of little help. :(01:35
lite_ joined01:36
Admin_ joined01:36
dhruvasagar left01:36
grawity well, it /was/ written by kernel developers for themselves01:37
so it's going to take a while to fix the odd places in the interface01:37
jkline joined01:37
lolmaus grawity, do you know how to gracefully remove code of the old branch after `git checkout --orphan newbranch`?01:38
osse pimping your shell prompt and getting proper completion goes a long way01:38
robbyoconnor joined01:38
grawity lolmaus: well, `git reset --hard` did it for me01:39
corygibbons left01:39
lolmaus grawity, it says that there's not ref to reset to. The branch is orphaned, remember?01:39
glebihan_ left01:39
Gavrisimo left01:39
rouf_ left01:40
grawity lolmaus: yep http://sprunge.us/EjVa01:40
rouf_ joined01:40
grawity maybe it was fixed in one of the newer releases.01:40
kwmiebach left01:40
lolmaus osse, it's not a matter of command autocompletion. If cars were like git then people would set themselves on fire, get chewed into the engine and locked out all the time.01:41
grawity, $ git reset --hard01:41
fatal: Failed to resolve 'HEAD' as a valid ref.01:41
kwmiebach joined01:41
jimi_ joined01:41
thiago left01:42
osse lolmaus: my point was merely that an informative prompt and command completion makes the whole experience less painful01:42
grawity yeah, it's like adding a dashboard to a car =)01:42
Mars` left01:42
grawity so anyway, which version of git do you have?01:42
osse lolmaus: and I don't refer to thing specific situation (or any other), just in general01:43
Mars` joined01:43
lolmaus grawity 1.8.101:43
osse and it sounds a bit to me that you want a seperate repo. you can combine them later01:43
SocalNick left01:44
arvind_khadri joined01:44
AWinterman left01:44
ehmatthes joined01:44
lolmaus osse, nope, i need the same repo. I'm trying to build my project and publish it on Github Pages.01:44
grawity yeah, looks like this was fixed in 1.8.2, and the commit message says `git rm -r --cached .` was the previous way01:44
arvind_khadri left01:44
AWinterman joined01:44
lolmaus grawity, thx01:44
grawity https://github.com/gitster/git/commit/166ec2e96e31bac913f44823dadd6c732d35317201:44
osse lolmaus: hmm I see. Carry on, then01:45
nerdfiles joined01:45
eletuchy joined01:46
lolmaus osse, thx. :) :P01:47
pheaver joined01:47
lavaman left01:47
Mars` left01:48
KK4MGV left01:48
teran left01:48
teran joined01:49
AWinterman left01:49
hahuang65 left01:50
psyl0n left01:50
asQuirreL left01:51
guampa left01:52
KK4MGV joined01:52
abelsiqueira left01:53
teran left01:53
glebihan_ joined01:53
Pullphinger left01:53
hellopat joined01:54
eletuchy left01:56
angelsl joined01:57
Kayra left01:58
Kayra joined01:59
DrShoggoth left02:00
arvind_khadri joined02:02
bwreilly left02:02
arvind_khadri left02:03
ws2k33 left02:03
pheaver left02:04
motto left02:04
penguin42 left02:05
PaulCapestany joined02:05
oojacoboo joined02:07
dkpi left02:09
leandrosansilva_ left02:11
leandrosansilva joined02:11
k4rtik joined02:12
paolooo joined02:14
Vampire0 left02:14
ItSANgo left02:15
nicedice left02:16
karavanjo joined02:17
karavanjo left02:17
kpreid joined02:18
aberrant left02:20
arvind_khadri joined02:20
phipes joined02:21
arvind_khadri left02:21
eletuchy joined02:23
KK4MGV left02:24
SpNg left02:26
looper left02:26
Bombe left02:27
bitkiller left02:27
fangismfangism-ctrl-Z02:27
looper joined02:28
Vampire0 joined02:30
KK4MGV joined02:30
maqr left02:32
jaimef left02:32
chrisss404 left02:33
eletuchy left02:33
Goplat joined02:33
canooon joined02:34
jimi_ left02:36
jaimef joined02:37
ewnd9 joined02:37
Bombe joined02:38
Bombe left02:38
Bombe joined02:38
arvind_khadri joined02:38
Admin_ left02:40
cenuij left02:41
chrisss404 joined02:42
JSharpe joined02:43
JSharpe_ left02:46
Georg3 joined02:47
npnp joined02:48
npnp left02:48
npnp joined02:48
npnp left02:48
teran joined02:49
npnp joined02:49
Kayra left02:49
npnp left02:49
npnp joined02:49
jkline left02:50
npnp left02:50
nicedice joined02:50
Skrypter left02:51
MattMaker left02:52
setmeaway joined02:52
JSharpe_ joined02:53
JSharpe left02:53
Mars` joined02:54
JSharpe joined02:55
noyb left02:56
teran left02:56
JSharpe__ joined02:56
dsdeiz left02:56
JSharpe left02:57
Mars` left02:58
tefnut left02:58
JSharpe joined02:58
JSharpe_ left02:58
eletuchy joined03:00
HicksD_ joined03:00
HicksD left03:00
robbyoconnor left03:01
silviof2 joined03:01
robbyoconnor joined03:02
JSharpe__ left03:02
dreiss left03:03
hahuang65 joined03:04
silviof1 left03:04
rjhunter left03:08
bwreilly joined03:08
ItSANgo joined03:09
eletuchy left03:09
nicedice left03:13
bwreilly left03:13
thiago joined03:14
Fandekasp left03:16
guns left03:17
Davey joined03:18
Fandekasp joined03:18
ajm203 joined03:20
ewnd9 left03:21
nicedice joined03:22
kpreid left03:22
kpreid joined03:22
thelorax123 left03:23
amortimer_mbp joined03:24
Pyrogerg joined03:24
joelm left03:25
thelorax123 joined03:25
codeman_ joined03:27
CheckDavid left03:28
m0viefreak left03:28
codeman left03:31
beautifulmind joined03:32
JSharpe left03:33
dsdeiz joined03:33
eletuchy joined03:36
eletuchy left03:36
Watabou joined03:36
shinnya left03:36
eletuchy joined03:36
alvaro_o left03:38
maqr joined03:38
Exdaix left03:40
kukks left03:41
Exdaix joined03:41
Argure left03:42
maqr left03:44
robbyoconnor left03:44
eletuchy left03:45
kwmiebach left03:46
ezekielnoob3 joined03:46
pheaver joined03:46
eletuchy joined03:46
eletuchy left03:46
eletuchy joined03:47
mribeirodantas left03:48
mfulz left03:49
mdiers left03:50
carbon2 joined03:51
carbon2 left03:51
nhmood joined03:55
ewnd9 joined03:55
arvind_khadri left03:55
fflush joined03:56
revyd joined03:56
AWinterman joined03:56
mino left03:57
roflin left03:57
Tectu left03:57
AWinterman left03:57
mino joined03:57
mino left03:57
mino joined03:57
AWinterman joined03:57
roflin joined03:58
FrodoTheHobbit left03:58
Tectu joined03:58
richwestcoast left04:00
AWinterman left04:02
pheaver left04:04
roflin left04:05
jason237 left04:05
preflex left04:05
preflex joined04:07
sayanee left04:07
beautifulmind left04:08
rjhunter joined04:09
roflin joined04:11
rjhunter left04:14
damccull joined04:14
damccull canton7: i fixed it finally :D had to write this script like you guys suggested https://gist.github.com/damccull/51b4fc82a650a4376eb504:15
although now that I look at it again, I don't think I needed the if04:15
Entomo joined04:16
misterpink joined04:17
Fandekasp left04:17
rjhunter joined04:17
Fandekasp joined04:19
codeman_ left04:19
pheaver joined04:20
sayanee joined04:20
codeman_ joined04:20
rjhunter left04:22
FrodoTheHobbit joined04:26
luxgeek left04:27
revyd left04:31
Balliad joined04:31
KeiKun_ joined04:32
KeiKun_ how to deal with this?04:32
missing blob 36a90d305a337302f4c689a8189a9120334e04d604:32
FrodoTheHobbit left04:32
ErKa joined04:32
KeiKun_ fatal: unable to read 36a90d305a337302f4c689a8189a9120334e04d604:33
Dougie2187 left04:34
Dougie2187 joined04:34
paolooo left04:35
arvind_khadri joined04:36
arvind_khadri left04:36
krisp1 joined04:37
paolooo joined04:38
rchavik joined04:40
FrodoTheHobbit joined04:42
FrodoTheHobbit left04:42
FrodoTheHobbit joined04:42
revyd joined04:45
sohail joined04:48
sohail left04:48
sohail joined04:48
sam113101 joined04:48
wlemuel joined04:48
Dougie187 left04:48
wlemuel left04:48
Dougie2187 left04:49
bgerber left04:49
bgerber joined04:50
dort joined04:51
axfcampos left04:51
nhmood Does anyone know how I can change the tab width (in spaces) to the files in my repo and then commit the tab width size change?04:52
codeman_ left04:52
arvind_khadri joined04:53
ajm203 left04:54
arvind_khadri left04:54
dravidan joined04:54
h0rrorvacui left04:55
Balliad left04:56
dort left04:56
amortimer_mbp left04:58
aberrant joined04:58
DrNick left04:58
aberrant left04:59
sgambino left04:59
donmichelangelo left05:00
subhojit777 joined05:00
donmichelangelo joined05:01
Davey left05:03
emmajane[emmajane]05:03
Davey joined05:03
phipes left05:05
jaseemabid joined05:05
kesha joined05:07
oojacoboo left05:07
krisp1 left05:10
arvind_khadri joined05:11
arvind_khadri left05:12
arvind_khadri joined05:12
irqq joined05:12
imachuchu left05:13
arvind_khadri left05:13
nnyk_ left05:14
DrNick joined05:14
ewnd9 left05:15
KeiKun joined05:15
nnyk_ joined05:16
ewnd9 joined05:16
jkline joined05:17
rjhunter joined05:18
KeiKun_ left05:19
dreiss joined05:21
el3ctron left05:21
robbyoconnor joined05:22
rjhunter left05:23
master_j joined05:26
AWinterman joined05:28
arvind_khadri joined05:30
arvind_khadri left05:30
arvind_khadri joined05:31
arvind_khadri left05:32
hobodave joined05:32
amjam joined05:32
arvind_khadri joined05:32
nnyk_ left05:32
arvind_khadri left05:33
arvind_khadri joined05:33
arvind_khadri left05:34
Davey left05:34
arvind_khadri joined05:35
arvind_khadri left05:36
ErKa left05:36
AWinterman left05:36
Tommy[D] left05:36
User458764 joined05:37
sohail left05:38
sohail joined05:39
sohail left05:39
sohail joined05:39
revyd left05:39
k4rtik left05:45
revyd joined05:45
GT4066 joined05:47
robbyoconnor left05:47
beautifulmind joined05:49
User458764 left05:49
karavanjo__ left05:49
karavanjo_ joined05:49
sam113101 left05:51
Tommy[D] joined05:51
arvind_khadri joined05:52
arvind_khadri left05:53
hobodave left05:53
arvind_khadri joined05:53
kerrick left05:54
arvind_khadri left05:54
offby1 nhmood:05:58
nhmood: I think there's a common tool called "expand" what will convert spaces to tabs, and vice-versa05:59
the Emacs editor will do it too05:59
warthog9 joined06:01
Garen left06:02
AWinterman joined06:03
PaulCapestany left06:04
Garen joined06:05
arietis joined06:08
KeiKun left06:10
arvind_khadri joined06:11
arvind_khadri left06:11
arvind_khadri joined06:12
breck7 joined06:12
arvind_khadri left06:12
_Vi left06:13
AWinterman left06:13
hellopat left06:18
the_cybersphinx left06:18
hellopat joined06:19
rjhunter joined06:19
el3ctron_ joined06:22
hellopat left06:23
rjhunter left06:24
kesha left06:25
codeFiend left06:26
pilgrum joined06:26
pilgrum left06:27
seanz left06:27
Grant484 left06:28
hugo_dc joined06:28
seanz joined06:29
dsdeiz_ joined06:30
arvind_khadri joined06:30
arvind_khadri left06:30
dsdeiz left06:31
arvind_khadri joined06:31
freestyl3r joined06:31
arvind_khadri left06:32
kerrick joined06:32
beautifulmind left06:34
k4rtik joined06:34
paolooo left06:35
andref_dias joined06:35
paulweb515 left06:38
wrouesnel joined06:39
pantsman joined06:39
snow_ru joined06:39
snow_ru hi all06:39
AWinterman joined06:39
EugeneKay Welcome, to zombocom06:39
snow_ru Hi All ?06:39
zobocome ?06:39
dreiss left06:40
EugeneKay YOu can do anything at zombocom06:40
arjun_ joined06:40
arietis left06:42
Gamecubic left06:43
ErKa joined06:45
Lancien left06:45
rjhunter joined06:45
Lancien joined06:45
sayanee left06:45
snow_ru anyone here code for git ?06:46
i feel that this code is silly06:46
int main(int argc, char **av)06:47
{06:47
const char **argv = (const char **) av;06:47
const char *cmd;06:47
int main(int argc, char **av)06:47
{06:47
const char **argv = (const char **) av;06:47
KK4MGV left06:48
bdavenport left06:48
KK4MGV joined06:48
KK4MGV left06:49
wrouesnel1 joined06:49
wereHamster left06:49
arietis joined06:49
bgerber left06:50
arvind_khadri joined06:50
ErKa left06:50
wrouesnel left06:50
Nevik nothing better than a double paste06:50
arvind_khadri left06:50
Lancien left06:50
AWinterman left06:52
revyd left06:52
Goplat left06:52
Bucciarati left06:52
bdavenport joined06:52
wereHamster joined06:53
bgerber joined06:54
Bucciarati joined06:54
warthog9 left06:55
kesha joined06:55
paulweb515 joined06:56
rjhunter snow_ru: is your question about re-assigning argv to a const after accepting it without const?06:56
snow_ru yes06:56
Bucciarati left06:56
snow_ru rjhunter,06:57
rjhunter snow_ru: I don't know the true answer but I imagine it's to get consistent const behaviour across platforms.06:57
kerrick left06:57
rjhunter snow_ru: I wouldn't be surprised if some compilers didn't like a const argument to main06:58
ruby|angry_hamst joined06:59
rjhunter snow_ru: why don't you check the history of that line in the codebase? see if it was added after the fact, and what the commit message says06:59
hellopat joined06:59
rjhunter i find that's always a good step to take when i find some seemingly non-sensical code07:00
toordog joined07:00
pantsman left07:00
nnyk_ joined07:00
Exio4 left07:01
toordog Hi, I'm new to git and i face an issue where i git init a new repository and on my client, i try to create a new file, I stage it and when i try to commit and push it, the remote repository return an error : Not all ref have been pushed. master rejected non fast forward07:01
what I did wrong?07:01
I did a git clone from the remote repository to create my local repository and I did a pull also after07:02
marthinal joined07:03
thelorax123 left07:03
compact left07:04
hyperair joined07:04
compact joined07:04
rjhunter snow_ru: yep, it's a compiler compatibility thing -- see commit 84d32bf7678259c08406571cd6ce4b7a6724dcba07:04
hellopat left07:04
thelorax123 joined07:05
Bucciarati joined07:05
wlemuel joined07:06
evangeline joined07:06
kesha left07:06
arvind_khadri joined07:06
wlemuel left07:06
rjhunter toordog: "master rejected non-fast-forward" means that the commits you're pushing don't form a straight line on top of what the server already has07:07
bryan-boyan-lin joined07:07
arvind_khadri left07:07
rjhunter toordog: the main reason for that is if 1) someone else has pushed since the last time you pulled07:07
Exio4 joined07:07
rjhunter toordog: or 2) someone has re-written history inconsistently (possibly using rebase)07:08
toordog when i did a pull i did a rebase as it was suggested option07:08
that would be my problem?07:08
wlemuel joined07:09
wlemuel left07:09
breck7 left07:09
rjhunter toordog: not necessarily -- rebase is a perfectly reasonable option a lot of the time, as long as you know what's happening07:09
toordog: first step of diagnosis -- try pulling again07:09
toordog: (for the record, "pull" is just a shortcut for "fetch" and either "merge" or "rebase" depending on configuration)07:10
shoshin joined07:10
john2x_ joined07:11
pheaver left07:13
robbyoconnor joined07:14
shoshinBlueOrg07:14
kcm1700 left07:14
toordog i did pull07:14
but a push would return the error again07:14
john2x left07:15
toordog it's like it's been commited local but i cannot push it07:15
breck7 joined07:15
rjhunter toordog: OK, let's go a little bit deeper07:15
HelloComputer15 joined07:15
rjhunter toordog: I mentioned that "pull" is a shortcut for "fetch" + "merge"... let's just do "fetch" on its own to see where the remote repository is07:16
snow_ru rjhunter, ok thanks07:17
need to talk to pclouds07:17
Moult i use git-cola as a convenient way to quickly switch between diffs of multiple files. is there a native git command which can provide similar funtionality? git diff foo is too slow. perhaps something similar to git add -i ?07:18
AWinterman joined07:18
rjhunter toordog: and then you can see what it has that you don't with something like `git log origin/master..master` (if your local branch is called "master" and the remote you're pushing to is called "origin")07:18
Gooder joined07:19
Curtisbeef joined07:20
ewnd9 left07:21
andref_dias left07:21
ewnd9 joined07:21
rjhunter toordog: sorry, i meant the other way around. what origin/master has that your local master doesn' have yet: `git log master..origin/master`07:22
toordog on the git repository server, i run git log origin *i get an error : unknown revision ...07:22
when i do git log master i get my last commit log07:22
ok07:22
nilg left07:22
rjhunter toordog: the dots and slashes are important07:22
toordog same error *the only thing i removed was the ' ' *07:22
` ` i meant07:23
rjhunter toordog: perhaps the names are wrong? see what `git branch -a` calls them07:23
toordog it returns master07:24
Bass10 left07:24
rjhunter toordog: it doesn't mention any remotes?07:24
toordog that server is suppose to be my git repository server on which my client connect to07:25
i cloned on my client that repository07:25
rjhunter toordog: in that case I'd expect to see branches like "remotes/origin/master" (as well as your local "master")07:27
toordog: does anything show up in `git remote -v` ?07:27
toordog is a simple git init would created that?07:27
nothing07:27
SamB toordog: are you looking at a clone?07:27
rjhunter toordog: `git clone` usually creates a remote called "origin" pointing back to whatever you cloned07:28
Kicer86 joined07:29
CreativeEmbassy joined07:29
rjhunter i gotta go, but I'm sure someone else will help you figure out what's happening07:29
back later07:29
toordog thanks rjhunter :)07:29
SamB On my server, I created a new repository from which my client will connect to for a new project. On the server, I did a git init07:30
and I commited a README file07:30
eletuchy_ joined07:30
Fernandos_awayFernandos07:30
toordog after, i got on my laptop *client* and I cloned the server repository07:30
SamB you should really have created a bare repository07:30
toordog i can always redo it07:30
if you explain me how07:31
dsdeiz joined07:31
dsdeiz_ left07:31
Fernandos left07:31
AWinterman left07:32
breck7 left07:32
SamB "git init --bare"07:32
master_j left07:32
CreativeEmbassy left07:33
h0bbit_ joined07:33
toordog ha ok, i got more files now :)07:34
eletuchy left07:34
neal__ left07:35
eletuchy_ left07:35
toordog ok, so i connected my client to it07:35
*using clone*07:35
creating a file local and commiting/pushing return the same error :(07:37
did a pull/merge, try to push again, still the error07:37
Forkk left07:38
Forkk joined07:38
neal__ joined07:39
mitz joined07:40
rjhunter left07:41
kerrick joined07:41
harobed_ joined07:42
harobed_ left07:42
a-l-e joined07:43
harobed_ joined07:43
toordog realized that i didn't empty the directory correctly before doing git init --bare.07:44
my fold .git was still there from previous initisalization07:44
dsdeiz_ joined07:44
dsdeiz left07:46
Grum left07:50
Grum joined07:50
lc0dd0cl left07:51
Shusshu joined07:52
Shusshu left07:53
asQuirreL joined07:56
AWinterman joined07:58
el3ctron_ left07:59
dreiss joined08:00
john2x joined08:01
el3ctron joined08:01
trout is sad at how slow git is being :(08:04
john2x_ left08:04
BlueOrg left08:05
AWinterman left08:08
AWinterman joined08:08
rjhunter joined08:11
harobed_ left08:11
asQuirreL left08:11
teran joined08:13
maleknet joined08:13
trout load: 0.89 cmd: git 74577 [zio->io_cv] 68.15r 0.03u 0.30s 0% 30908k08:13
trout said08:13
AWinterman left08:13
HelloComputer15 left08:13
trout * sad08:13
toordog damn git make folder disapear :(08:16
git clone init --bare .git ../currentfolder and boom disapear08:16
milki i dont even know what thats supposed to do .O08:18
Mmike left08:20
subhojit777 left08:21
Zarthus joined08:22
halu joined08:24
cff joined08:24
hyperair left08:30
lite_ left08:31
sabgenton joined08:31
lite_ joined08:32
przemkovv left08:32
n111234n joined08:32
sabgenton is there a command that reports clean or dirty? It'd be cool to have something like that to substitute into $PS1 (like you can with __git_ps1)08:33
subhojit777 joined08:34
Watabou left08:36
danicampa901 joined08:36
tadasZ joined08:39
tadasZ left08:40
hoschi joined08:40
nilg joined08:40
terminalRepeat left08:45
thiago left08:45
ngladitz joined08:46
ngladitz left08:46
ngladitz joined08:46
carbon2 joined08:46
bgerber left08:48
bgerber joined08:48
fairuz left08:49
frgtn left08:50
carbon2 left08:52
nnyk_ left08:53
rjhunter sabgenton: GIT_PS1_SHOWDIRTYSTATE=yesplease08:53
teran left08:53
Ozch joined08:54
takamichi joined08:54
rjhunter sabgenton: or if colour-coding is enough GIT_PS1_SHOWCOLORHINTS=yeahawesome08:55
sabgenton left08:57
axrfnu joined08:57
sabgenton joined08:57
sabgenton nickserv identify sabgenton08:58
sabgenton woops lol08:58
valgrind joined08:58
sabgenton /msg NickServ help commands08:59
moritz another password dead08:59
sabgenton :S .. :P09:00
Georg3 left09:00
leeN joined09:01
Rob___ left09:02
sabgenton moritz: first time I ever changed password!09:03
lite_ left09:04
sabgenton moral of story is don't try typing in passwords whilst 3 year old daughter pulls arm ...09:04
and preferably not in a channel ..09:04
jaseemabid left09:04
lite_ joined09:04
bitkid joined09:05
halu left09:05
moritz can relate09:06
Rob___ joined09:06
john2x left09:06
nerdfiles left09:07
halu joined09:07
sabgenton rjhunter: exporting that didn't work does it have to be in bashrc ?09:08
john2x joined09:08
sabgenton or where you just having me on ...09:09
Luke-Jr any way to set the rename-detection limit lower for git cherry-pick? :/09:11
rjhunter sabgenton: I was reading from the documentation in git-prompt.sh (also available in HTML git-prompt_sh.html somewhere)09:12
tvw joined09:12
rjhunter was looking for a nice link to the HTML doc but couldn't find one.09:12
dc5ala joined09:13
sabgenton I'm on windows I'll go find a real *nix shell09:14
Jackneill joined09:14
bryan-boyan-lin left09:15
sohail left09:16
rjhunter it works for me -- removing a tracked file shows up with a * in the prompt. Touching an untracked file doesn't show up unless you have GIT_PS1_SHOWUNTRACKEDFILES set to something non-empty09:16
sundjango joined09:17
jaseemabid joined09:17
lite_ left09:18
rjhunter Luke-Jr: git diff has a `--no-renames` option, but I don't think cherry-pick works that way09:19
Luke-Jr rjhunter: that's the opposite..09:20
HelloShitty joined09:20
Luke-Jr wishes git just tracked renames, sigh09:20
nnyk_ joined09:21
grzesag joined09:21
rurufufuss joined09:22
rjhunter Luke-Jr: git diff (and more to the point, git format-patch) also know `--find-renames=90%`09:23
dreiss left09:24
sabgenton rjhunter: ah lol I was trying with touched new files09:24
rjhunter Luke-Jr: `git format-patch --stdin | git am` can be used in a roughly equivalent way to `git cherry-pick`09:24
lite_ joined09:25
dravidan left09:28
dsdeiz_ left09:28
sabgenton rjhunter: yeah I have seen https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh before I should have thought, thanks I got dirty and untracked on now :D09:30
Guest28802 joined09:31
evangeline left09:31
jkline left09:31
arjun_ left09:33
demiurgo joined09:34
Skrypter joined09:36
axrfnu left09:36
noname001__ joined09:37
Admin__ joined09:37
ThomasKaufmann left09:37
Ozch left09:38
axrfnu joined09:38
gitinfo set mode: +v09:39
bdavenport left09:40
jnavila joined09:42
Admin__ left09:43
cilly joined09:44
bdavenport joined09:44
ThomasKaufmann joined09:46
arjun_ joined09:46
Vampire0_ joined09:50
Vampire0 left09:50
cilly left09:51
evangeline joined09:51
lmwood joined09:52
evangeline left09:59
zivester joined10:00
donmichelangelo left10:00
evangeline joined10:00
donmichelangelo joined10:00
bambams never should have drank 500 ml of Red Bull...10:04
bekks Now you feel like a gummy bear :>10:06
Balliad joined10:08
Lancien joined10:10
looper left10:12
sabgenton_ joined10:12
sabgenton left10:13
sabgenton_sabgenton10:13
leandrosansilva left10:13
aChatir joined10:14
dc5ala left10:14
sabgenton left10:14
leandrosansilva joined10:14
Sendoushi joined10:15
cff left10:16
mloskot joined10:18
fairuz joined10:18
hyperair joined10:19
Skrypter left10:20
aChatir left10:22
kriks joined10:25
maslowbeer_ left10:25
Balliad left10:27
zumba_addict left10:32
grzesag left10:34
hellopat joined10:36
irqq_ joined10:38
irqq left10:40
irqq_irqq10:40
hellopat left10:41
subhojit777 left10:41
liamkeily joined10:43
kriks left10:44
abelsiqueira joined10:44
hyperair left10:48
n111234n left10:49
joelrobichaud left10:53
raonyguimaraes joined10:55
User458764 joined10:55
m0ltar joined10:58
nnyk_ left11:00
mdiers joined11:02
Acidnerd joined11:06
HicksD_ left11:07
mitz left11:10
pheaver joined11:12
teran joined11:13
evangeline left11:13
mishok13 joined11:14
evangeline joined11:15
liamkeily left11:15
eletuchy joined11:17
m0ltar left11:18
znode joined11:19
mmlac-bv joined11:21
jaseemabid left11:21
shinnya joined11:22
zivester left11:22
jaseemabid joined11:23
liamkeily joined11:23
donmichelangelo left11:25
donmichelangelo joined11:26
leflaw joined11:26
CheckDavid joined11:27
codeFiend joined11:28
zhost joined11:29
the_cybersphinx joined11:31
ruby|angry_hamst left11:33
Sendoushi left11:36
SHyx0rmZ joined11:36
teran left11:37
teran joined11:37
mmlac-bv left11:37
zivester joined11:38
User458764 left11:39
hvoigt joined11:39
snow_ru left11:40
canton7 damccull, no, you didn't need that if :P glad you got it working!11:40
zivester left11:40
bryan-boyan-lin joined11:41
tadasZ joined11:41
zivester joined11:41
tvw left11:42
Zero-G joined11:43
maleknet left11:45
bryan-boyan-lin left11:46
mmlac-bv joined11:48
teran left11:48
teran joined11:49
Josh1986 joined11:51
halu left11:51
Kicer86 left11:51
Acidnerd left11:52
teran left11:53
ewnd9 left11:55
k4rtik left11:57
k4rtik joined11:58
tadasZ left11:58
Ivo joined11:59
Acidnerd joined11:59
Zero-G left12:00
zivester left12:01
SASDOE joined12:03
SASDOE hi all12:03
gitinfo SASDOE: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.12:03
rjhunter left12:03
Kicer86 joined12:04
SASDOE i am looking to have my pc automatically backup all code inside a given directory, containg various projects. i need versionning and was wondering if git was the best tool for this12:04
backup to a remote server12:05
pheaver left12:05
canton7 git is a version control system, not a backup tool. if you use git as part of your development, you'll get code backups for free. don't just try and add all existing projects to git repos, and commit automatically, though12:05
saying that, !etckeeper is a thing12:06
gitinfo etckeeper is a collection of tools to let /etc be stored in a git, mercurial, darcs, or bzr repository. It hooks into various package managers. http://kitenet.net/~joey/code/etckeeper/12:06
SASDOE from what i get git is more a project oriented tool rather than a backup prog, but tools like rsync dont seem to offer the same versionning12:06
canton7 There's duplicity which does incrementals12:06
though I got sick of that, discovered that tar also does incrementals, and wrote a little wrapper around it to backup to s3 - https://github.com/canton7/s3-tar-backup if you're interested12:06
SASDOE what are incrementals? sorry..!12:07
zivester joined12:07
canton7 an incremental backup starts with a full snapshot, then each day it figures out what's changed, and saves that12:07
SASDOE excatly what i need12:07
canton7 so you can construct a snapshot of your backed up dir for every day, without saving a full snapshot for every day12:08
arjun_ left12:08
SASDOE and how do you backup to your s3? rsync?12:08
if so a cron tar rsync combo might be better than a git solution12:08
canton7 the caveat is if one part of the chain of incrementals since the snapshot gets corrupted, that's it. so you still have to make full snapshots every now and again12:08
zivester left12:08
_Vi joined12:08
canton7 erm, I used the ruby AWS API12:08
shoshin joined12:08
Burer left12:08
shoshin left12:08
kcj left12:09
Burer joined12:09
SASDOE ok not the same server "topology" but i guess rsync should work12:09
canton7 I got royally pissed off with Duplicity (slow POS), but it might be worth taking a look12:09
johu joined12:09
SASDOE i'll give both a look cheers12:09
canton7 yeah, it's pretty easy to get tar generating incrementals. the slightly tricky bit is managing them, so you get an easy way of restoring a particular day, or removing stale snapshots12:10
zivester joined12:10
ncd|leeN joined12:11
ncd|leeN left12:12
Kayra joined12:12
akersof left12:12
penguin42 joined12:13
_iron joined12:14
Burer left12:14
leeN left12:15
Burer joined12:15
akersof joined12:17
jaseemabid left12:18
leeN joined12:19
maleknet joined12:19
Cromulent joined12:22
raonyguimaraes left12:23
hellopat joined12:25
freestyl1 joined12:25
freestyl1 left12:25
Xethron joined12:26
Xethron left12:26
Xethron joined12:26
freestyl3r left12:28
Argure joined12:28
hellopat left12:30
fairuz left12:30
kriks joined12:31
whitby joined12:32
freestyl3r joined12:34
pfFredd joined12:35
arjun_ joined12:37
pfFred joined12:39
pfFredd left12:41
BiggFREE joined12:41
zivester left12:43
mmlac-bv left12:44
teran joined12:45
rchavik_ joined12:46
bitkiller joined12:46
dbuch joined12:47
zivester joined12:47
Gavrisimo joined12:48
TomyLobo joined12:49
dort joined12:49
rchavik left12:49
teran left12:49
zivester left12:50
zivester joined12:50
canooon left12:51
dbuch left12:52
eijk joined12:53
Cap_J_L_Picard left12:53
Katafalkas joined12:54
tadasZ joined12:54
HicksD joined12:55
canoon left12:56
dbuch joined12:56
Cap_J_L_Picard joined12:57
mfulz joined12:59
rhombus joined12:59
Katafalkas left13:00
Katafalkas joined13:00
ws2k33 joined13:01
fairuz joined13:01
Katafalkas left13:02
Gavrisimo left13:02
ewnd9 joined13:02
Gavrisimo joined13:03
eijk left13:04
timthelion joined13:05
Cassiel joined13:06
JSharpe joined13:07
Gavrisimo left13:07
pengunix joined13:08
hyperair joined13:08
lite__ joined13:09
lite_ left13:09
boombatower left13:10
lite__ left13:10
lite_ joined13:11
m0ltar joined13:11
pengunix left13:11
lite_ left13:14
pengunix joined13:15
ewnd9 left13:18
fairuz left13:20
frgtn joined13:21
Kayra left13:21
Droolio left13:22
fairuz joined13:22
BiggFREE left13:23
Josh1986 left13:23
Cromulent left13:23
przemkovv joined13:25
pfFreddd joined13:28
Sonderblade left13:29
pfFred left13:29
m0viefreak joined13:29
ajm203 joined13:29
Gavrisimo joined13:31
conan left13:33
rchavik_ left13:33
Gavrisimo left13:34
Gavrisimo joined13:35
frgtn left13:35
alp82 joined13:36
jason237 joined13:38
Gavrisimo left13:40
ajm203 left13:40
angrysiamese left13:41
sgambino joined13:42
angrysiamese joined13:43
amjam_ joined13:43
timthelion left13:43
amjam left13:47
frgtn joined13:47
Davey joined13:48
ajm203 joined13:49
ewnd9 joined13:50
frgtn left13:51
arjun_ left13:52
eletuchy left13:52
eletuchy joined13:53
Josh1986 joined13:53
kwmiebach joined13:54
CheckDavid left13:56
Sendoushi joined13:57
eletuchy left13:57
ValicekB left13:57
el3ctron left13:58
Josh1986 left13:58
kriks left13:58
kriks joined13:59
m0ltar left13:59
Sendoushi left14:00
pantsman joined14:01
znode left14:01
Josh1986 joined14:02
znode joined14:02
CheckDavid joined14:04
compact left14:04
compact joined14:04
Bass10 joined14:04
ValicekB joined14:05
liamkeily left14:06
Burer left14:07
zivester left14:08
nerocrux joined14:09
nerocrux left14:09
wlemuel joined14:09
mikecmpbll joined14:11
leflaw left14:13
hellopat joined14:13
VictorCL joined14:14
carbon2 joined14:14
znode left14:15
Droolio joined14:15
znode joined14:15
Fandekasp left14:16
kriks left14:17
hellopat left14:18
sohail joined14:18
sohail left14:18
sohail joined14:18
kriks joined14:18
liamkeily joined14:19
dkpi joined14:19
thierryp joined14:19
frgtn joined14:21
valgrind left14:23
eletuchy joined14:24
kwmiebach left14:25
kwmiebach joined14:25
Goplat joined14:26
lithiumn joined14:31
lithiumn left14:31
King_Hual joined14:33
mikecmpbll left14:34
BuuGhost joined14:34
Zarthus left14:34
mikecmpbll joined14:34
mikecmpbll left14:35
frgtn left14:36
mikecmpbll joined14:36
mikecmpbll left14:36
mikecmpbll joined14:38
mikecmpbll left14:38
mikecmpbll joined14:39
pfFred joined14:39
sq-one joined14:39
pfFreddd left14:40
dort left14:41
asQuirreL joined14:41
Kronuz joined14:43
h0bbit_ left14:45
kriks left14:45
kriks joined14:46
Lekensteyn left14:48
Norm_ joined14:49
axfcampos joined14:52
frgtn joined14:54
k4rtik left14:55
runa1 left14:55
lc0dd0cl joined14:56
k4rtik joined14:57
blahdodo joined14:59
Kronuz left15:00
m0ltar joined15:01
kenyon left15:01
tadasZ left15:01
kenyon joined15:02
tadasZ joined15:06
timthelion joined15:07
thierryp left15:09
tadasZ left15:10
timthelion left15:11
paolooo joined15:12
raonyguimaraes joined15:14
kriks left15:14
kriks joined15:15
znode_ joined15:16
yacks left15:16
liamkeily left15:16
liamkeily joined15:16
znode left15:18
rasto left15:19
richwestcoast joined15:20
tadasZ joined15:21
groglogic joined15:21
mitz joined15:23
frgtn left15:23
koda joined15:24
koda left15:24
JSharpe left15:25
kukks joined15:26
kukks left15:26
kukks joined15:26
valgrind joined15:26
donmichelangelo left15:30
mitz left15:31
donmichelangelo joined15:31
thelorax123 left15:31
rasto joined15:32
Roots47 joined15:33
thelorax123 joined15:33
mitz joined15:33
liamkeily left15:34
guns joined15:34
liamkeily joined15:34
sundjango left15:34
King_Hual` joined15:34
tadasZ left15:35
leflaw joined15:35
librerak joined15:35
shoshin joined15:36
King_Hual left15:36
john2x left15:38
amjam_ left15:38
Dougie187 joined15:39
rainbowdash`Mapley15:40
Mapleyrainbowdash`15:40
Gamecubic joined15:40
arjun_ joined15:42
m0ltar left15:43
Roots47 left15:46
librerak left15:47
tadasZ joined15:47
leflaw left15:48
Katafalkas joined15:48
demiurgo left15:48
Balliad joined15:49
closures999 joined15:50
aartist left15:50
Ronald_Reagan joined15:51
mikecmpbll left15:51
tadasZ left15:51
cads joined15:51
maleknet left15:52
frgtn joined15:52
amjam joined15:52
arjun_ left15:52
Droolio left15:53
Ronald_Reagan I'm a dev on a ~7 year old project. We have used SVN for the majority of that time. We are now switching to github because we were on SF (finally). We have a couple team members who are converting the repo, and we are at a loss of what to put down for inactive devs (who we have no way to contact) to tie git identities properly.15:54
cbreak Ronald_Reagan: git doesn't care about identities15:55
you can give them invalid addresses if you want.15:55
aard joined15:55
mikecmpbll joined15:56
Ronald_Reagan Alright, how easy would it be to add them back into the project if by some magical way they came back to the project?15:56
cbreak technically easy15:56
but you'd rewrite history15:56
so every single person on the project has to throw away his or her repository and start fresh15:56
(after manually transfering their local changes)15:57
so it's a pain in the ass to actually do in bigger projects15:57
moritz Ronald_Reagan: well, you can give them commit access without rewriting the meta data15:57
cmn you can use a .mailmap data15:57
moritz Ronald_Reagan: which would mean that only their new commits have the correct email address15:57
cmn but the only time where it'd be an issue is where you'd want to do stats, and your tool doesn't understand mappings15:58
snow_ru joined15:58
cmn for anything else, it's not an issue15:58
moritz so, odon't worry too much right now15:58
*don't15:58
Ronald_Reagan Awesome, thanks :)15:59
kriks left15:59
kriks joined16:00
liamkeily left16:01
hellopat joined16:01
liamkeily joined16:01
hellopat left16:04
juliohm joined16:05
danslo joined16:05
CodeShark left16:05
danslo can I revert a change to a specific file in a specific commit? ex. git revert --in 82c614eed3377d52d77f6cd9432c9f532fabbaef^ some_file.c16:05
ChanSavr joined16:06
mikecmpbll left16:06
ChanSavr how do I rebase all my commits on top of the latest upstream commits?16:06
danslo or perhaps, reverse a diff16:06
ChanSavr, I prefer doing a fetch, then git rebase FETCH_HEAD16:07
disregard my question above, I'll just 'git diff -R' and apply it16:07
osse danslo: diff the commit against it sfsscdsv16:08
that was what I was going to suggest :P16:08
The only real downside is that you have to write the commit message yourself. But imho. reverts require some extra explanation than the default message anyway16:08
alindeman You could probably `git revert --no-commit` and checkout the changes you don't want16:08
ChanSavr danslo: FETCH_HEAD or master ?16:09
danslo osse, that was fine, I had to rewrite history anyway... so I just made a tmp commit and fixup it during an interactive rebase16:09
ChanSavr, just 'git fetch some_remote some_branch', then 'git rebase FETCH_HEAD'16:10
pfFred left16:11
psyl0n joined16:11
psyl0n left16:11
psyl0n joined16:11
kriks left16:12
pfFred joined16:12
kriks joined16:12
danslo ChanSavr, I believe you can also just 'git pull --rebase', but it gives you a little less control imo (you'd have to check which remote your current branch is tracking etc)16:14
ChanSavr I have a merge conflict I need to sort out16:15
alindeman If your upstream is set correctly, that should work, yah16:15
AWinterman joined16:15
Pullphinger joined16:19
khaije|io joined16:20
SASDOE left16:21
a-l-e left16:21
khaije|io is there a way to checkout/merge content from one branch to another, but into a particular subdirectory?16:21
cenuij joined16:21
cenuij left16:21
cenuij joined16:21
khaije|io i'm trying to consolidate a bunch of mini-project branches that all use very similar formating without clobbering what is in place each time16:22
halu joined16:23
valgrind left16:23
angelsl left16:24
cbreak khaije|io: git has subtree merging capabilities16:24
but you should REALLY not put several projects into the same repo16:24
khaije|io these are all documentation/testing branches w/ different subtopics of the same topic, but I get what you mean16:26
madewokherd joined16:26
Dougie187 left16:26
angelsl joined16:26
Grant484 joined16:27
cbreak if they are different temporal state, then merge them normaly16:27
khaije|io cbreak: were you suggesting the subtree strategy for merging? when i read about it i couldn't tell16:28
takamichi left16:28
khaije|io nope, different subtopics, not temporally correlated16:28
dbuch left16:28
wrouesnel1 left16:28
cbreak subtree is for merging different spatial things (other projects) into a subdirectory16:28
takamichi joined16:28
rhombus left16:29
cbreak khaije|io: if it's the same topic, then merge normally16:29
johu left16:29
Norm_ left16:29
Norm_ joined16:29
nerdfiles joined16:30
cagedwisdom left16:31
VictorCL left16:31
mizu_no_oto joined16:32
Ozch joined16:34
thiago joined16:35
marthinal left16:35
khaije|io cbreak: a normal merge won't work in this case, but thank you I'll read up more on subtree and read-tree16:36
pfFreddd joined16:36
pfFred left16:38
cenuij left16:38
frgtn left16:40
kriks left16:41
kriks joined16:41
eletuchy left16:43
eletuchy joined16:43
frgtn joined16:44
paolooo left16:47
kukks left16:47
mklappstuhl joined16:47
danicampa901 left16:48
eijk joined16:48
FrodoTheHobbit1 joined16:49
liamkeily left16:50
guardian left16:51
liamkeily joined16:51
FrodoTheHobbit left16:52
ciampix joined16:52
ciampix left16:52
angelsl left16:53
relipse2 joined16:54
relipse2 How do i change my last commit message16:54
takamichi left16:54
ChanSavr left16:54
mikecmpbll joined16:54
osse relipse2: commit --amend16:55
angelsl joined16:55
relipse2 k thanks16:55
angelsl left16:55
sonOfRa left16:55
BtbN left16:55
angelsl joined16:55
dreiss joined16:57
ciampix joined16:57
takamichi joined16:57
BtbN joined16:57
sonOfRa joined16:57
snow_ru left16:59
liamkeily left16:59
liamkeily joined17:00
tadasZ joined17:01
Gavrisimo joined17:01
kwmiebach left17:02
Ronald_Reagan left17:03
Josh1986 left17:03
ezekielnoob3 left17:03
liamkeily left17:04
frgtn left17:04
liamkeily joined17:04
rurufufuss left17:04
tadasZ left17:05
snuffeluffegus joined17:05
Norm_ left17:06
tadasZ joined17:06
mikecmpbll left17:07
demiurgo joined17:08
tadasZ left17:08
lc0dd0cl2 joined17:08
amjam left17:09
Balliad left17:10
ciampix left17:11
Gavrisimo left17:11
Gavrisimo joined17:11
lc0dd0cl left17:11
angelsl left17:12
nedbat joined17:12
ciampix joined17:12
dort joined17:13
nedbat when using "add -p" i may have a chunk of 12 contiguous lines changed in a file, but I only want to add the first 4. The "s" command just shows me the same 12-line chunk again. Is there a way to make chunk splitting more aggressive?17:13
abelsiqueira left17:13
kukks joined17:14
kukks left17:14
kukks joined17:14
angelsl joined17:14
thiago nedbat: no17:14
luto not a cli-answer but I like git-cola for this17:15
thiago nedbat: they need to be separated by non-changed lines17:15
luto nedbat --^17:15
nedbat thiago: what would you do in that situation?17:15
thiago nedbat: e17:15
nedbat thiago: to do what? unchange half the lines?17:15
thiago yes17:15
remove the lines with +17:15
change the lines with - to space17:15
luto sounds painfull :P17:16
thiago luto: it can be worse17:16
try using e when doing git reset -p17:16
I've never successfully managed it, to date!17:16
Gavrisimo left17:16
nedbat thiago: so that's editing the patch, essentially? The file keeps all the changes?17:17
cn28h left17:17
osse nedbat: yes17:17
thiago nedbat: yes17:17
_rgn yes17:17
liamkeily left17:17
nedbat I see, I was thinking e was editing the file, makes sense, thanks!17:17
liamkeily joined17:18
jason237 left17:18
osse thiago: I once spent about an hour fiddling with patches and stuff just to create "atomic commits". I had discovered several bugs at the same time and ended up mini-refactoring. I almost threw my computer out the window.17:18
pheaver joined17:18
d2dchat joined17:20
kriks left17:20
thiago osse: bugs in git or bugs in your code?17:21
kriks joined17:21
pheaver left17:21
tadasZ joined17:21
osse thiago: my own code.17:21
pheaver joined17:22
osse I would app -p, fail to apply, edit, fail to apply, reset. add -p, fail to apply, edit, apply! commit! add -p, fail to apply......17:22
liamkeily left17:23
k4rtik left17:24
kriks left17:25
tadasZ left17:25
kriks joined17:25
thiago sometimes it's easier to modify in the editor, save, undo, commit, then save in the editor17:26
parcs left17:26
osse I may have done that at some point too. I can't remember, it's all a blur :P17:27
demiurgo left17:27
k4rtik joined17:28
maestrojed joined17:28
wlemuel left17:31
parcs joined17:32
jason237 joined17:32
noyb joined17:32
k4rtik left17:34
_iron left17:35
mklappstuhl left17:38
warthog9 joined17:39
mikecmpbll joined17:40
Pullphinger left17:40
mklappstuhl joined17:41
mitz left17:43
snow_ru joined17:44
d2dchat left17:44
eletuchy left17:44
eletuchy joined17:45
eletuchy left17:45
mklappstuhl left17:45
tadasZ joined17:46
Guest28802 left17:47
d2dchat joined17:49
d2dchat left17:49
hellopat joined17:50
daito joined17:50
bgerber left17:51
_rgn someone mentioned git-cola. finally installed after compiling qt for ages.17:52
what are some good uses?17:52
revyd joined17:53
sgambino left17:54
hellopat left17:55
mikecmpbll left17:56
Gamecubic left17:56
bgerber joined17:57
RaceCondition joined17:57
daito left17:59
kukks left17:59
conan_ joined18:00
ewnd9 left18:00
shoshin left18:00
nnyk_ joined18:02
jnavila left18:02
jnavila_ joined18:02
jnavila_jnavila18:02
RaceCondition left18:03
pheaver left18:03
PaulCapestany joined18:05
AWinterman left18:05
tadasZ left18:06
wooy left18:06
tadasZ joined18:07
zackiv31 left18:07
tadasZ left18:07
kriks left18:08
kriks joined18:09
dreiss left18:10
wooy joined18:10
raonyguimaraes left18:12
aard__ joined18:14
Cromulent joined18:15
sq-one left18:15
rath joined18:17
aard left18:17
nnyk_ left18:18
AWinterman joined18:18
revyd left18:19
codeFiend left18:21
matanya joined18:22
matanya left18:22
psyl0n left18:22
pheaver joined18:22
matanya joined18:23
groglogic left18:23
hobodave joined18:24
evangeline left18:24
matanya left18:24
ErKa joined18:25
pfFredd joined18:26
noyb left18:26
snow_ru hi all18:26
pheaver left18:27
pfFreddd left18:27
pheaver joined18:29
Georg3 joined18:29
hellopat joined18:29
mizu_no_oto left18:31
shinnya left18:33
h0bbit_ joined18:33
lb snow_ru: !hi18:34
gitinfo snow_ru: [!welcome] Welcome to #git, a place full of helpful gits. If you have a question, feel free to just go ahead and ask—somebody should answer shortly. For more info on this channel, see http://jk.gs/git/ Take backups (type !backup to learn how) before taking advice.18:34
hellopat left18:34
angrysiamese left18:35
snow_ru hmm18:35
angrysiamese joined18:36
hellopat joined18:36
hvoigt left18:37
matanya joined18:41
misterpink left18:42
relipse2 left18:45
thelorax123 left18:45
thelorax123 joined18:47
mribeirodantas joined18:48
angrysiamese left18:49
rath left18:49
lc0dd0cl2 left18:49
angrysiamese joined18:49
lc0dd0cl joined18:50
jkline joined18:50
silviof3 joined18:51
raonyguimaraes joined18:52
do0ob joined18:52
Katafalkas left18:53
wfq joined18:53
Katafalkas joined18:53
wfq hi guys18:53
gitinfo wfq: 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:53
frgtn joined18:53
do0ob hi18:53
gitinfo do0ob: 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:53
do0ob I want to put all my config files on github, so if i make another git hub repo a submodule in my repo, if that repo is deleted will mine still remain?18:54
wfq is there any robust web interface to manage a git repository? Anything that allows to do nearly everything you can do in the command line. There are a few of them such gitweb, git-php etc... but I'd like to have your opinion please18:55
mikecmpbll joined18:55
silviof2 left18:55
matanya left18:55
bdavenport left18:55
do0ob wfq: what are you trying to do?18:55
wfq Obviously we'd like to have our own source code hosted on our servers18:55
psyl0n joined18:56
psyl0n left18:56
psyl0n joined18:56
do0ob !backup18:56
gitinfo Worried about your data while trying out stuff in your repo? To back up commit history on all branches/tags: `git clone --mirror`. To backup everything, including work tree and staging area: `tar cf repo-backup.tar repodir`. Or do your experiment in a throwaway clone instead. See also http://sethrobertson.github.com/GitBestPractices/#backups18:56
wfq do0ob, well I need someone who is not extremely technical to take care of our source code and want to introduce him git. I have no time to learn this and he is not very skillfl on Linux18:56
cenuij joined18:57
cenuij left18:57
cenuij joined18:57
do0ob oh god18:57
osse wfq: there are several github-like solutions out there (including github itself, but it's expensive)18:57
wfq: gitlab, gitorious18:57
matanya joined18:57
rednaks joined18:57
Davey left18:57
osse but you need to be technical etc to set them up18:57
Katafalkas left18:58
do0ob wfq: take care? as in audit?18:58
wfq osse, weill I am. I can do this one-off but need to set up this so that another person can do everything on the web and leave me alone |:)18:58
do0ob, well not. If we need to branch out the code that he can do it. If we need to revert back he can do it. He is clueless about linux console18:59
do0ob so it doesn't have to be a web interface does it?19:00
_Vi left19:00
wfq do0ob not necessarily as long as there is a sort of interface that allows him to handle what he should have to do on a console19:01
pfFredd left19:01
wfq any desktop app that can connect remotely?19:01
osse, gitorious is hosted19:02
_Vi joined19:02
osse I think it would be easier to make the person "clueful" about the CLI than to find an app like that19:02
wfq: you can run a local install too19:03
asQuirreL left19:03
osse but that also costs a lot of money I think19:03
AWinterman left19:04
do0ob CLI isn't that hard, surely a developer could learn it very quickly19:04
osse never mind, you can get it for free too: https://gitorious.org/gitorious/pages/Installation19:04
JesseC joined19:04
AWinterman joined19:04
jkline left19:04
tadasZ joined19:05
wfq osse, looking at it19:06
thank you19:06
do0ob what about an IDE plugin?19:07
mikecmpbll left19:08
kinExtRa joined19:08
Skrypter joined19:08
maestrojed left19:08
Skrypter left19:08
_ikke_ do0ob: Nice, but not enough19:09
AWinterman left19:09
_ikke_ not enoug on it's own*19:09
Skrypter joined19:09
Skrypter left19:09
Skrypter joined19:10
do0ob I spent a week with eclipse and it wasn't too bad, then cli+komodo, then vim, now i'm going to try emacs19:10
pfFredd joined19:11
drager left19:11
drager joined19:11
moppersmurf joined19:11
_ikke_ I hear good things about magit19:12
(for emacs)19:12
dalias joined19:12
matanya left19:13
do0ob wfq: what if you put them in front of kde, with dolphin as the text editor and open the nested terminal window? then it'd get an understanding of cd, and could explore the folder as they've done before, but then run git commands in the terminal, you could setup difftool to meld and that should go a long way19:13
dalias hi. what's the proper way to transition from having code in a non-bare repo (checked-out) to bare repo?19:14
kriks left19:14
do0ob the only thing they'd really need to learn are the git commands19:14
hyperair left19:14
_ikke_ dalias: git clone --bare path/to/non-bare-repository19:14
kriks joined19:15
matanya joined19:15
dalias if people have checked-out clones from the old non-bare repo (exposed via read-only git://) can i just drop the new bare repo in its place and have things keep working?19:15
Cromulent left19:16
osse yes19:16
hyperair joined19:16
j416 dalias: clones are not checkouts, they are clones :)19:17
_ikke_ dalias: note that when doing a bare clone, git appends .git to the dir name19:17
angrysiamese left19:17
j416 dalias: the only connection a clone has to what it was cloned from, is a link. You can see it in .git/config19:17
SHyx0rmZ left19:17
angrysiamese joined19:17
_ikke_ or git remote show -n <remote-name>19:18
dalias j416, yes. so if i replace the non-bare repo with a bare one, it should just keep working for everyone?19:18
(e.g. if they pull from it)19:18
j416 dalias: if the link is the same.19:18
dalias *nod*19:18
matanya left19:19
dalias and is there a way to update the original tree to treat it as a clone of the bare one, so i can push to the bare one?19:19
or do i just have to make a new clone to do that?19:19
j416 you can simply add the remote19:19
or just clone the bare repo anew if you prefer that19:20
same same19:20
runa1 joined19:20
maestrojed joined19:20
axfcampos left19:20
_ikke_ dalias: yeah, just add the new repo as a remote: git remote add <name> <path>19:21
or url instead of path if you prefer19:21
matanya joined19:21
dalias how to make it the default one, so plain "git push" pushes to it?19:21
corygibbons joined19:22
_ikke_ dalias: It's a per branch setting19:23
dalias for master?19:23
_ikke_ dalias: Easiest is to use git push -u <remote> <branch> once19:24
SHyx0rmZ joined19:25
matanya left19:25
AWinterman joined19:26
zarubin left19:27
matanya joined19:27
mribeirodantas left19:28
mattattaque_ joined19:29
dalias _ikke_, btw does git actually use the directory extension of .git to make decisions about how to process the tree, or is it just a convention?19:29
mattattaque joined19:30
mattattaque_ left19:30
_ikke_ the latter19:30
halu left19:31
sohail left19:31
kukks joined19:32
kukks left19:32
kukks joined19:32
pheaver left19:33
ErKa left19:33
amjam joined19:33
toordog back to fight to create a clean repo that works without issue. Stand 219:33
jas4711 joined19:34
toordog yesterday i tried to create a git init and commit af ile and to clone this repository to my local computer. But I couldn't push without having error.19:34
snuffeluffegus left19:34
tureba left19:34
_ikke_ toordog: Do you use smartgit/19:34
toordog i've been advised to create a git init --bare on my server instead, but my push were accepted, but I couldn't see my file on the server which probably mean my code is not backed up on the server.19:34
on the client side I use smartgit hg19:35
on the server, i use the native git19:35
pfFred joined19:35
_ikke_ right19:35
toordog my code is mostly web and i just want to have the dev.domain updated with the latest code i do locally19:35
grawity if you cannot see the files, it does *not* mean they aren't there19:35
_ikke_ toordog: What is the exact error you get (not the smartgit one, but from the remote)19:36
toordog: Something like this? http://stackoverflow.com/questions/16394209/not-all-refs-have-been-pushed-error-in-smartgit19:36
toordog ok this is counter intuitive i must admit. particularly that I've seen directory disapeared yesterday when I ran a git command and i couldn't retrieve it19:36
pfFredd left19:36
sagittarian joined19:36
toordog _ikke_ that's exactly it19:36
_ikke_ toordog: Right, it indeed means you are trying to push to a non-bare repository19:37
ibizaman joined19:37
_ikke_ toordog: read about !bare19:37
gitinfo toordog: an explanation of bare and non-bare repositories (and why pushing to a non-bare one causes problems) can be found here: http://bare-vs-nonbare.gitrecipes.de/19:37
toordog brb the time to read that19:37
VictorCL joined19:38
socksandsandals joined19:38
conan_ left19:38
angrysiamese left19:38
angrysiamese joined19:39
trusktr joined19:39
socksandsandals is there a way to find out when a branch was created, even if that branch has since been deleted?19:40
marthinal joined19:40
grawity you can try looking in HEAD's reflog, although it would only show when you checked out that branch, not merely when you created it19:41
ibizaman Hi, I'm following the SubmittingPatches document and I'm stuck at the sending of the email: I should cc the email to people referenced in git blame and git shortlog --no-merges but I don't see any email address, how can I cc an email to them ?19:41
zarubin joined19:41
grawity ibizaman: git shortlog --email19:41
maleknet joined19:42
ibizaman grawity: thanks19:42
toordog _ikke_ let me know if my understanding is correct. If I want to have a copy of my file visible and usable let say by a web server in a httpdocroot folder, I would need to create a bare git repository on my server *one project per website*, I would need to create a local repository *working space* and I would finally require to create a clone repository for each website inside the httpdocroot19:43
which would fetch only the file of the specific website project?19:43
cbreak toordog: no19:44
toordog: you don't need to involve git at all.19:44
you could rsync your page manually19:45
Bahman_Dool joined19:45
cbreak if you want to involve git, then there are plenty of ways to do that19:45
see !deploy19:45
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/the-list-and-irc/deploy.html19:45
Bahman_Dool who the git are you?19:45
amjam left19:45
pfFreddd joined19:45
cbreak for example, you could have one bare repository, which, when pushed to, will git archive | tar xf - the data into some directory and then change some symlink or what ever19:45
conan_ joined19:46
closures999 left19:46
amjam joined19:46
Bahman_Dool left19:47
toordog for me it was more like i just push a change and the website get update without having to do extra step.19:47
m0viefreak left19:47
pfFred left19:47
kriks left19:48
toordog doing a rsync is an extra step or raring ... my context is very simple by the way. i'm the only one coder and the only one sysadmin19:48
i'm basically a sysadmin and not a dev or web dev19:48
kriks joined19:48
cbreak toordog: then do what I said above19:48
just write the correct post-receive hook that does the deployment19:49
toordog i'm reading the link you suggested. *It says don't do use git as deploy tools lol * gonna check why now19:49
cbreak I'd do it with archive and tar, but you can use different methods19:49
PaulCapestany left19:49
_ikke_ I recently created something like that19:49
toordog ok19:49
Kayra joined19:49
liamkeily joined19:49
_ikke_ A hook that does a git merge --no-ff to a remote tracking branch I push to from the other repo19:50
Locally, I basically do: git push prod master:refs/remotes/staging/master19:50
cbreak merging in a hook? Now that sounds dumb.19:50
_ikke_ cbreak: no-ff merge19:50
trusktr left19:50
_ikke_ ff-only I mean19:51
bbloom left19:51
cbreak those can fail19:51
_ikke_ yes19:51
cbreak you designed your hook to fail?19:51
conan_ left19:51
_ikke_ I designed it to be fairly simple19:51
cbreak I'd use archive because it can not fail19:51
_ikke_ sure19:51
cbreak one could use a working dir and reset --hard or similar as well19:51
deanrock0_ left19:52
hobodave left19:52
deanrock0_ joined19:52
noname001__ left19:53
hahuang61 joined19:54
hyperair left19:54
deanrock0_ left19:55
noname001__ joined19:55
mikecmpbll joined19:56
deanrock joined19:56
hahuang65 left19:57
echo-area left19:57
wfq left19:57
carbon2 left19:58
petey joined19:59
conan_ joined19:59
zarubin left20:00
trusktr joined20:01
jas4711 left20:02
angrysiamese left20:04
sgambino joined20:05
socksandsandals left20:05
amjam left20:06
zarubin joined20:06
angrysiamese joined20:06
mikecmpbll left20:07
_ikke_ Normally I would opt for git-archive20:07
liamkeily left20:08
demiurgo joined20:08
_ikke_ But this is a simple situation with only me developping on it20:08
bbloom joined20:08
toordog i like the git_deploy project and seems good for all context rather than hacking something with high risk of issue.20:08
liamkeily joined20:09
toordog but the doc i just read is flacky, i guess it's intend to people willing to go read the source code.20:09
going to play with it if i can get somewhere20:10
BtbN Is there a reason github is no longer listing the git:// based clone-urls?20:10
only https and ssh20:11
they still seem to work20:11
_ikke_ I guess they don't really want to promote it anymore20:11
BtbN does it cause more server load/is less efficient than https://?20:12
Watabou joined20:13
_ikke_ I couldn't tell20:13
thelorax123 left20:13
zumba_addict joined20:13
thelorax123 joined20:15
VictorCL left20:17
kriks left20:18
kriks joined20:18
teran joined20:20
kinExtRa left20:20
khaije|io left20:22
Brmm joined20:22
mikecmpbll joined20:24
yacks joined20:27
VictorCL joined20:27
Watabou left20:27
avantgeek_ left20:28
ibizaman left20:28
hyperair joined20:28
AWinterman left20:28
axfcampos joined20:29
AWinterman joined20:29
avantgeek_ joined20:29
Kayra left20:30
cenuij left20:31
avantgeek_ left20:31
valgrind joined20:31
avantgeek_ joined20:32
budio joined20:32
joki left20:32
brian__ joined20:33
AWinterman left20:33
cenuij joined20:33
cenuij left20:33
cenuij joined20:33
zarubin left20:35
el3ctron_ joined20:36
budio left20:36
hellopat left20:37
hellopat joined20:37
apipkin joined20:38
joki joined20:38
zivester joined20:38
liamkeily left20:39
arietis left20:40
dkpi left20:40
Watabou joined20:41
skorgon left20:41
VictorCL left20:41
hellopat left20:41
joshbetz joined20:42
RaceCondition joined20:43
Kwpolska left20:43
RaceCondition left20:43
corygibbons left20:45
qsusOFFcsqsuscs20:45
snow_ru left20:45
moppersmurf left20:45
jkline joined20:48
jbrechtel joined20:48
Brmm left20:49
joshbetz left20:50
demiurgo left20:50
h0bbit_ left20:50
jkline left20:50
takamichi left20:51
pfFred joined20:52
conan_ left20:53
dkpi joined20:54
pfFreddd left20:54
liamkeily joined20:54
slut_tits joined20:54
kriks left20:54
kriks joined20:55
conan joined20:56
noyb joined20:56
valgrind left20:57
alp82 left20:59
mikecmpbll left20:59
maestrojed left21:01
brian__ left21:01
valgrind joined21:02
Jackneill left21:03
pfFreddd joined21:04
pfFred left21:04
MattMaker joined21:06
sagittarian left21:06
sagittarian joined21:07
jkline joined21:08
guns left21:08
Guest28802 joined21:09
aChatir joined21:09
RaceCondition joined21:11
noyb left21:11
mikecmpbll joined21:13
slassh joined21:13
redrocket left21:15
mikecmpbll left21:16
whitby left21:16
Kayra joined21:16
maleknet left21:17
Skrypter left21:18
asQuirreL joined21:19
BiggFREE joined21:19
SocalNick joined21:20
Xethron left21:21
Skrypter joined21:22
Davey joined21:22
trang joined21:23
slassh left21:23
rednaks left21:24
Mars` joined21:24
jkline left21:25
nedbat left21:25
trang i have removed some files. how do I remove them from git tracking also?21:25
SocalNick left21:26
trang currently when I do git add . i get "..path like x.png that are removed from working tree are ignored… what does that mean21:26
_ikke_ trang: git rm --cached <file>21:26
mizu_no_oto joined21:26
trang i want both my local git and remote git to reflect my dir21:26
leandrosansilva left21:26
leandrosansilva_ joined21:26
valgrind left21:26
axrfnu left21:26
atrus if git status says they're removed, you can just do a commit.21:26
then the history shows the file existing, and then being removed.21:27
then you can push that to the remote (or submit a pull request, or however your changes get to the remote).21:27
axrfnu joined21:28
Mars` left21:28
gitinfo set mode: +v21:28
Mars` joined21:29
atrus trang: does that help?21:29
trang left21:32
King_Hual` left21:33
frgtn left21:33
Davey left21:33
kukks left21:33
Mars` left21:34
SocalNick joined21:35
Ozch left21:36
conan left21:36
kermit left21:37
slut_tits hi21:37
gitinfo slut_tits: 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:37
Nicholas_Rishel joined21:38
pfFreddd left21:39
ErKa joined21:39
AWinterman joined21:39
Nicholas_Rishel left21:40
cenuij left21:40
joelrobichaud joined21:41
gitinfo set mode: +v21:41
pengunix left21:42
pheaver joined21:43
dreiss joined21:43
axrfnu slut_tits: your nicks are getting annoying. you already tried that somewhere else21:44
AWinterman left21:45
toordog is anybody using git-deploy project to deploy from git?21:45
https://github.com/git-deploy/git-deploy21:45
offby1 probably.21:45
toordog trying to figure out how to use it.21:45
offby1 something tells me they use it at Booking.Com.21:45
Just a crazy notion21:46
I remember looking at it and giving up on it because it was so complex.21:46
toordog ok i feel the same about it21:47
what did you end up with?21:47
offby1 toordog: "Ansible".21:47
first thing I found that I could actually understand :-|21:47
_ikke_ toordog: Weren't you also in #salt?21:47
offby1 (well, I understood "fabric" too but it's kinda underpowered)21:47
heh, I checked out salt as well.21:47
too complex.21:47
and puppet.21:47
and chef.21:47
_ikke_ lol21:48
toordog _ikke_ nope21:48
offby1 probably others.21:48
_ikke_ toordog: Oh, someone with a similar name then21:48
fobius_ joined21:48
hoschi left21:48
_ikke_ offby1: Usually people say salt is simpler than similar systems21:48
trang joined21:48
offby1 _ikke_: it probably is.21:48
toordog salt is newer21:48
offby1 _ikke_: but it still broke my "my brain hurts" threshold.21:48
_ikke_ yup21:48
toordog a grand grand children fork of cfengine21:48
WaffleCat left21:50
valgrind joined21:50
toordog i will probably end up with a git co; tar files; rm currentfolder; cp files.tgz; untar files.tgz; rm files.tgz;21:51
kind of annoying21:51
_ikke_ toordog: git archive21:51
pheaver left21:51
kermit joined21:52
VictorCL joined21:52
offby1 toordog: have you read !deploy ?21:52
gitinfo toordog: 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/the-list-and-irc/deploy.html21:52
bwreilly joined21:53
hellopat joined21:54
Fandekasp joined21:54
slut_tits axrfnu: what's your problem?21:54
juliohm left21:55
VictorCL left21:55
RaceCondition left21:57
toordog yep i read it21:58
still it's 6 simple solutions that aren't completed21:58
offby1 heh21:58
toordog but I just though something packaged already existed.21:58
Terabyte joined21:58
Terabyte hey21:58
offby1 deployment must be awfully hard since it's so rare to see it done well21:58
cmn those won't come from git, but from whatever your environment has21:58
hellopat left21:59
cmn deployment doesn't depend on the version control tool, but on everything else21:59
_ikke_ offby1: That's because there's no one-size-fits-all21:59
toordog that's waht i'm figuring out.21:59
offby1 _ikke_: sensible21:59
toordog on the angle i was seeing it, a clone of a git is kind of a deployment ... if you can just remove the .git after.21:59
dreiss left22:00
toordog a simple script could do it after the cloning22:00
offby1 sure22:00
_ikke_ toordog: Or use git-archive22:00
offby1 if it works for you, great22:00
toordog my goal at first was just to commit and this repo to be the website22:00
Terabyte i added *.bak to a .gitignore but a file located in schema/model.mwb.bak still shows up, have i dont something wrongh22:00
toordog git-archive seems to be the more best practice method22:00
demiurgo joined22:01
cmn Terabyte: remove it if you don't want it22:01
offby1 toordog: I've heard that if you project is just a PHP web site, then you really don't need to do anything other than "git pull"22:01
*your project22:01
Terabyte cmn it's auto generated22:01
i can remove it but it will come back later.22:01
_ikke_ toordog: git archive doesn't require you to clone the entire repo, you just get the code from a tree, which is what you need22:01
cmn Terabyte: no, because then it'll be ignored22:01
Terabyte yes it should be ignored.... like a binary file.22:02
cmn that's nothing to do with ignoring22:02
Terabyte i'm confused.22:02
cmn remove it from git if you don't want git to track it22:02
_ikke_ Terabyte: git doesn't ignore tracked files22:02
toordog _ikke_ i might only have one tree anyway, but having to archive rrequire more step than just a pull (which is from my local workspace is way easier than having to login on the server, create teh archive, move it clean up the old directory to replace with new files ...*22:02
cmn and add the ignore rule to prevent it from being added later by an overzealous command22:02
Terabyte _ikke_ oh, i see, you mean it's been commited before and so now it's tracked nomatter what i add.22:02
_ikke_ Terabyte: yes22:03
Terabyte ok so it needs to be removed before the .ignore takes effect.22:03
_ikke_ toordog: git archive works remotely22:03
Terabyte thanks that makes sense now22:03
toordog _ikke_ it still require to be extracted and manipulated no?22:03
_ikke_ You can just pipe it to tar22:03
matanya left22:03
Guest28802 left22:03
King_Hual joined22:04
_ikke_ toordog: man git archive has some examples22:04
gitinfo toordog: the git-archive manpage is available at http://jk.gs/git-archive.html22:04
toordog _ikke_ misunderstanding. what i mean, it is not a problem to create teh compressed archive, git-archive --format tar will do so. The thing is it's good to hve a tarfile.tgz but it requires after to deploy to take that .rar and to go to the website directory, to wipe out the current data and to extract the new data from tarfile.tgz ... compare to I just pull from my laptop and it's on the website.22:06
jkline joined22:06
jkline left22:06
_ikke_ toordog: Have you read the pitfalls for a git-pull based deployment?22:07
toordog but as i seen yesterday, i cannot do a pull on a workspace git because of how versioning is handled *file are not update, just the metadata*22:07
joelrobichaud left22:07
toordog so it doesn't really update the visible file on the remote repository in this kind of context.22:07
_ikke_ toordog: I use capistrano, which creates a new release directory for each release, and then switches a symlink22:08
That way, rollback is a matter of switching symlinks back22:08
joelrobichaud joined22:08
toordog that sound like a good idea22:08
can you create your release directory anywhere you want?22:09
_ikke_ sure22:09
toordog that could do it22:09
_ikke_ As long as your webserver can read from it ;-)22:09
toordog that's why the anywhere became important ;)22:09
my webserver user are chrooted22:09
hs366 joined22:10
_ikke_ I have a shared dir where things are put that need to persist between releases, and create symlinks to those items in the release dir22:10
toordog only drawback, it's a ruby&rail project :(22:11
require gems ...22:11
parcs left22:11
toordog i hate that thing22:11
_ikke_ I have set it up once22:12
and can use it any time22:12
slassh joined22:17
dort left22:17
angrysiamese left22:17
RaceCondition joined22:18
angrysiamese joined22:19
sagittarian left22:22
hs366 left22:23
sagittarian joined22:23
nerdfiles left22:23
jnavila left22:24
apipkin left22:25
thelorax123 left22:25
gordian joined22:25
RaceCondition left22:26
el3ctron_ left22:26
hobodave joined22:26
psyl0n left22:26
aChatir left22:26
thelorax123 joined22:27
el3ctron joined22:28
saorge_saorge22:29
_Vi Are there any good GUIs for `git rebase -i` where I can split a commit easily, with drag&drop of chunks and lines between commits?22:29
offby1 _Vi: This doesn't do _exactly_ that, and (given your nick) you might be hostile to the idea, but: the "magit" package for emacs makes rebasing fairly easy22:30
mloskot left22:31
_Vi offby1, How it helps splitting a commit?22:31
/* "_Vi" is as in "Vitaly", not as in "vi" the text editor, although I use it often. */22:31
valgrind left22:32
offby1 _Vi: it doesn't help all that much splitting commits, to be honest.22:32
dreiss joined22:32
offby1 although it does make it super-easy to interactively stage individual hunks; that might be good enough22:32
_Vi offby1, The main thing I want is dragging and dropping chunks and lines from commit to commit.22:32
Like "git gui", but even easier and more versatile.22:33
_ikke_ I don't think something like that exists yet22:34
offby1 _Vi: yeah, "magit" doesn't do drag-and-drop; and it only deals with the working tree and the index -- not actual commits22:35
If you're already comfortable with emacs, it's worth a try.22:35
if not, then it's probably not worth the learning curve22:35
_Vi "I don't think something like that exists yet" -> If it will appear, does it have a change to be useful?22:35
offby1 what an odd question.22:35
obviously _you'd_ find it useful.22:36
_Vi I mean will it be useful for many people?22:36
(I have already tried getting on well with Emacs several times, but not yet successfully)22:36
amjam joined22:37
offby1 _Vi: how on Earth would any of us know how useful a non-existent piece of software would be?22:37
That's like asking how many angels can dance on the head of a pin22:38
_Vi offby1, Sometimes there can be a clear answer like "It's unlikely that somebody will use such thing - the whole idea is weird".22:39
Mars` joined22:39
offby1 OK, the idea is perfectly reasonable; I'd certainly give such a thing a try, anyway.22:40
(Whether I actually used it depends on a million little details)22:40
demiurgo left22:40
offby1 also, I'm pleased to report that science is on the job re. the angel problem: http://www.improbable.com/airchives/paperair/volume7/v7i3/angels-7-3.htm22:41
sagittarian left22:42
lc0dd0cl left22:42
lc0dd0cl joined22:42
sagittarian joined22:42
Mars` left22:44
_Vi (Thinking about trying to implement `git rebase -i` wrapper in Qt with all features I want)22:44
Pullphinger joined22:45
Gavrisimo joined22:46
pantsman left22:46
lifelike joined22:46
slut_tits left22:47
kcj joined22:48
bgerber left22:49
amjam left22:52
lc0dd0cl left22:52
lc0dd0cl joined22:53
marthinal left22:53
Pengoo joined22:55
Kayra left22:55
ngladitz left22:56
arand joined22:57
themsay_ joined23:00
Watabou left23:00
eijk left23:01
bgerber joined23:02
qsuscsqsusOFFcs23:03
tadasZ left23:03
hahuang65 joined23:03
bgerber left23:04
bgerber joined23:04
setmeaway left23:05
hahuang61 left23:05
skorgon joined23:06
Watabou joined23:06
hahuang65 left23:08
SocalNick left23:09
rjhunter joined23:10
Brmm joined23:11
Kayra joined23:11
mishok13 left23:13
lc0dd0cl left23:14
lc0dd0cl joined23:14
slassh left23:15
skorgon left23:15
Exio4 left23:15
rainbowdash` left23:16
liamkeily left23:16
zhost left23:18
fobius_ left23:18
frgtn joined23:19
TheFuzzball left23:19
lc0dd0cl left23:19
King_Hual left23:20
lc0dd0cl joined23:21
dkpi left23:21
Mapley joined23:22
MapleyGuest6695123:22
dort joined23:23
redrocket joined23:25
mizu_no_oto left23:26
Guest66951 left23:26
Guest66951 joined23:26
Guest66951 left23:26
Guest66951 joined23:26
Guest66951Mapley23:26
frgtn left23:27
Brmm left23:28
takamichi joined23:29
smlgs joined23:30
aard__ left23:32
dort left23:32
dort joined23:34
skorgon joined23:38
sundjango joined23:38
codeman joined23:38
robbyoconnor left23:39
dort left23:39
john2x joined23:39
BiggFREE left23:40
dtrott joined23:40
pfFreddd joined23:40
psyl0n joined23:41
dtrott In a (github) remote repo why is there an origin/HEAD and an origin/master I understand what the master is but what is the HEAD in this context ?23:41
aharris6 joined23:42
hellopat joined23:42
cagedwisdom joined23:42
junkstuff joined23:43
dtrott apologies the great google answer it, its the default when you clone ....23:43
lmwood left23:44
sgambino_ joined23:46
junkstuff Would anyone happen to know how I prevent some files that were committed with CRLF line endings from always showing as modified, even after I checkout the file? I also tried removing the file and then hard resetting, but to no avail23:46
irqq left23:47
hellopat left23:47
aharris6 left23:47
slut_tits joined23:49
aharris6 joined23:49
sgambino left23:49
sgambino_sgambino23:49
Skrypter left23:51
Skrypter joined23:52
snow_ru joined23:52
junkstuff left23:52
offby1 !crlf23:55
gitinfo to fix problems with line endings on different platforms, check out http://line-endings.gitrecipes.de/23:55
offby1 lucky guess :)23:55
joelrobichaud left23:56
kukks joined23:56
kukks left23:56
kukks joined23:56
lc0dd0cl left23:58
lc0dd0cl joined23:58
Kayra left23:58
teran left23:59

Logs Search ←Prev date Next date→ Channels Documentation