IRCloggy #git 2014-10-04

Logs Search ←Prev date Next date→ Channels Documentation

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

2014-10-04

fstd left00:00
Lyqyd joined00:00
vocifer left00:00
fstd joined00:00
Sebtoast joined00:00
oojacoboo left00:02
baweaver joined00:02
imachuchu ozoness: looks like you broke something! It just means that the project won't build with the changes you commited00:03
ozoness: so you used git/github just fine, but the code you commited had a problem00:03
thumpba left00:03
Sebtoast left00:03
boombatower left00:03
Sebtoast joined00:04
aidalgol joined00:04
boombatower joined00:04
ozoness imachuchu: really? I just added a condition to an if statement, that's all ha. I wonder what's causing the problem, could I link you the PR so you can check? It's just a 20 char change...00:04
imachuchu: I added the changes to the development branch, could it be because of that? :S00:05
robzilla left00:06
babuloseo what's the parent number?00:06
Miesco joined00:07
decompiled joined00:07
Miesco Hi, in my .csproj file, git added a bunch of stuff like "<<<<<<< Updated upstream00:07
"00:07
At the very beginning00:07
baweaver left00:07
Miesco My partner can not open the project now in visual studio00:07
WHy would git add stuff to my files?00:08
baweaver joined00:08
imachuchu ozoness: if it wasn't 5 oclock I'd say sure, but I'm out (sorry!). It might also be failing an automated test. Try compiling it on your end and see if it's just Travis being wierd (which happens)00:08
babuloseo ^ his partner...should I just revert to a parent and hope .csproj doesn't get touched?00:08
ozoness imachuchu: thanks!00:09
St_Marx left00:09
madewokherd joined00:09
rdbell left00:09
in_deep_thought left00:09
imachuchu Miesco: just quick on my way out, that's not just git it's a diff issue. Most likely your merge had an error and the '<<<<<', '======', and '>>>>>>' show the difference between the heads that git is trying to merge. Look up git merge and maybe the diff program00:09
rdbell joined00:09
imachuchu left00:10
thibaultcha Miesco: you guys ran into a !conflict00:10
gitinfo Miesco: [!eekaconflict] Merge conflicts are a natural part of collaboration. When facing one, *don't panic*. Read "How to resolve conflicts" in man git-merge and http://git-scm.com/book/ch3-2.html#Basic-Merge-Conflicts then carefully go through the conflicts. Picking one side verbatim is not always the right choice! A nice video explaining merge conflicts: https://www.youtube.com/watch?v=zz7NuSCH6II00:10
ozoness imachuchu: last one: should I remove my forks after my PR gets accepted?00:10
babuloseo thibaultcha, so just revert? not sure how to fix the conflict :P00:10
ozoness hey guys, should I remove my forks after my PR gets accepted?00:11
CareBear\ why not00:11
thibaultcha babuloseo: Edit each file having conflicts and chose what part should be kept and what part should be diteched out. Watch the video from the bot's reply for a more detailed process maybe00:12
ozoness CareBear\: do you delete them?00:12
CareBear\ ozoness : I never use github00:12
ozoness CareBear\: ahhh ok00:12
acharlieh joined00:12
Miesco left00:13
ozoness left00:13
baweaver left00:13
thibaultcha babuloseo: Also the link to the git book.00:13
robzilla joined00:13
babuloseo haha..natural part of collaboration XD00:13
that bot cracks me up :P00:13
thibaultcha babuloseo: But don't panic, it happens, and it's not a big deal, you jsut have to choose which part of the code is valid because git cannot decide for you, since both of you (your partner and yourself) made changes to the same piece of code.00:14
rdbell left00:14
babuloseo yeah, we are gonna use patches >.>00:14
it's just that he made changes to .csproj, which doesn't happen usually00:14
I want to revert, but it keeps telling me that it expects a numberial value00:15
CareBear\ hbabuloseo : you made changes to .csproj too clearly, otherwise there would be no conflict00:15
thibaultcha ^00:16
CareBear\ babuloseo : it is of course possible that you have crappy tools which are making changes to some files without you really wanting them to00:16
git can not really help with that problem00:16
babuloseo yeah, I think that's on my partners end..who isn't using visual studio 2013 :P00:18
and using some next tool to build the .csproj..00:18
robzilla left00:18
kukks joined00:20
kukks left00:20
kukks joined00:20
toothrot left00:20
LLaurent left00:20
CareBear\ please listen00:22
you would not have a conflict in that file if you did not have changes in it in your commits00:22
you REALLY need to start reviewing what you are committing00:22
if you want to be able to collaborate with anyone00:22
SjB left00:23
justinmburrous left00:23
mribeirodantas joined00:25
babuloseo CareBear\, will check00:26
snuffeluffegus left00:27
netcarver left00:28
ussher_ joined00:30
SjB joined00:30
Goplat left00:30
jxpx777_ joined00:31
jxpx777 left00:31
Quevin left00:31
justinmburrous joined00:31
Miesco joined00:32
d10n-work left00:32
zanchoPa1sa left00:32
ussher_ Im trying to merge master branch with my dev branch but hitting an issue. The error is "error: Your local changes...would be overwritten by merge:" but the file it states does not exist in either branch. I tried git stash drop but still cant get it to merge. any ideas why?00:33
zanchoPansa joined00:33
ianbrandt left00:33
rpg_ left00:34
Miesco Hi, git added this to the beginning of my file: <<<<<<< Updated upstream00:34
And at the end: >>>>>>> Stashed changes00:35
ussher_ Got it sorted with reset --hard. Thanks.00:35
Miesco I can not find anything on google to why this happened or what to do.00:35
freeman42 left00:36
soerenb Miesco, those are the conflict markers git adds when it can't resolve the conflict on it's own. you have to resolve it manually now00:36
CareBear\ Miesco : did you miss what people just told you? !conflict00:36
gitinfo [!eekaconflict] Merge conflicts are a natural part of collaboration. When facing one, *don't panic*. Read "How to resolve conflicts" in man git-merge and http://git-scm.com/book/ch3-2.html#Basic-Merge-Conflicts then carefully go through the conflicts. Picking one side verbatim is not always the right choice! A nice video explaining merge conflicts: https://www.youtube.com/watch?v=zz7NuSCH6II00:36
thibaultcha Miesco: We explained to your partner 5 minutes ago, weren't you here?00:36
tchan left00:36
Miesco CareBear\: Sorry, I was on the bus and my session got cut out00:36
akiva left00:38
listochkin left00:39
Skapadapaduu left00:41
jottr left00:43
CKyle joined00:44
robustus|Off left00:44
EminenceHC joined00:45
osse .00:45
habanany joined00:46
maslowbeer left00:46
joeyDB joined00:46
maslowbeer joined00:47
robustus|Off joined00:47
robustus|Offrobustus00:47
Miesco left00:48
Sasazuka left00:49
EminenceHC left00:49
snuffeluffegus joined00:49
tchan joined00:51
salamanderrake left00:53
AKK9 left00:53
Sleepy63 left00:53
salamanderrake joined00:53
kukks left00:53
decompiled left00:54
ajustrun left00:54
oriba left00:54
Miesco joined00:54
seanmerron left00:57
xSmurf left00:57
kballou left00:58
ciampix left00:59
gfixler_gfixler01:01
eto left01:01
livingstn left01:01
justinmburrous left01:02
eto joined01:02
Segfault_ left01:03
Sadeukko left01:04
thumpba joined01:04
akushner_ joined01:04
phoenixz joined01:05
ra0 left01:06
m0viefreak joined01:06
Sleepy63 joined01:06
tbxyz joined01:07
justinmburrous joined01:08
akushner left01:08
kukks joined01:08
akushner_ left01:09
mribeirodantas left01:10
kopparam joined01:10
CKyle left01:10
kukks left01:12
chris_99 left01:13
shinnya left01:14
mnavratil joined01:15
acharlieh left01:15
maestrojed left01:15
acharlieh joined01:16
Tuna-Fish left01:17
kopparam left01:17
studmuf left01:17
Tuna-Fish joined01:18
desposo1 left01:18
studmuf joined01:18
punchagan joined01:18
hexagoxel_ left01:19
Celm left01:19
Celm joined01:20
mellernoia left01:22
jonr2219 joined01:22
studmuf left01:22
tgunr joined01:23
Celm left01:24
LeMike left01:25
knownasilya joined01:26
hebz0rl_ joined01:29
jonr2219 left01:29
cagedwisdom left01:32
hebz0rl left01:32
acharlieh left01:33
joelm left01:33
LucasTT left01:37
acharlieh joined01:38
justinmburrous left01:38
RaceCondition joined01:41
justinmburrous joined01:42
tmcmahon joined01:43
davispuh left01:46
rdbell joined01:47
Guest26075 left01:47
ariver joined01:48
ariverGuest3213501:49
acharlieh left01:49
Guest32135 left01:49
ferreum_ joined01:51
EminenceHC joined01:51
jpf_ joined01:52
tmcmahon left01:52
dreiss left01:52
ferreum left01:54
jpf left01:54
mizu_no_oto joined01:56
jpf_ left01:57
EminenceHC left01:57
Goplat joined01:57
mnavratil left01:57
darkbasic_ left01:59
darkbasic joined01:59
m0ltar joined02:01
Dougie187 joined02:01
AnujSharma joined02:02
bAnt left02:03
AnujSharma left02:04
nettoweb joined02:06
nettoweb left02:06
nettoweb joined02:07
nettoweb left02:07
nettoweb joined02:07
hstefan left02:07
kcm1700 left02:09
kcm1700 joined02:10
pbrobst_ left02:10
studmuf joined02:10
m0ltar left02:10
joeyDB left02:11
OneEyedWill joined02:14
studmuf left02:14
mueslo left02:14
justinmburrous left02:15
MutSbeta left02:18
Celm joined02:20
RaceCondition left02:24
juvenal joined02:24
Celm left02:25
Obi_obi_ left02:27
Obi_obi_ joined02:27
imkmf joined02:28
imkmf left02:29
snuffeluffegus left02:30
inoue joined02:32
nb_bez___ left02:33
maslowbeer left02:33
Literphor joined02:33
gmb2020 left02:33
justinmburrous joined02:33
tbxyz left02:34
wookienz_ left02:35
wookienz joined02:35
Celm joined02:37
ome joined02:37
surfperch joined02:37
CheckDavid left02:37
kaendfinger left02:38
jdhines left02:40
Gamecubic_ joined02:40
reim_ joined02:41
inoue left02:43
sorresse1n joined02:43
Cassiel joined02:43
Nevik_ joined02:43
bbloom joined02:43
jave_ joined02:43
rasto_ joined02:44
msonntag left02:44
jwr__ joined02:44
WaReZ joined02:44
nettoweb left02:44
bremner` joined02:44
bremner` left02:44
bremner` joined02:44
nicetry_ joined02:44
mizu_no_oto left02:44
jiyuu joined02:45
AccessGr1nted joined02:45
Orphis joined02:45
msonntag joined02:46
cite_ joined02:46
ariver joined02:46
rj11_ joined02:46
rs0 joined02:46
purpleid1a joined02:46
abrkn_ joined02:47
Literphor left02:47
rotorooter joined02:47
reim left02:47
maestrojed joined02:47
tpope_ joined02:47
kevin-brown left02:48
kevin-brown joined02:48
Neptu_ joined02:48
a joined02:48
granden_ joined02:48
qdii joined02:48
aGuest4262602:49
nettoweb joined02:49
nettoweb left02:49
niax_ joined02:49
a___ joined02:49
nettoweb joined02:49
Consuela_ joined02:49
nettoweb left02:49
thesquib_ joined02:50
nettoweb joined02:50
watabou joined02:50
SumDude joined02:50
Console` joined02:51
jtruckz_ joined02:51
Gamecubic_ left02:51
qsusxs joined02:52
SumDude left02:52
sokoll- joined02:52
Gamecubic_ joined02:52
shampine joined02:53
ojacobson joined02:53
EminenceHC joined02:56
NoNMaDDeN joined02:56
Celm left02:56
linduxed_ joined02:56
surfperch left02:56
habanany left02:56
Consuela left02:56
AccessGranted left02:56
Gamecubic left02:56
wakd left02:56
rasto left02:56
bbloom_ left02:56
jwmann left02:56
jave left02:56
synchronous left02:56
StolenToast left02:56
fuki left02:56
a_ left02:56
catsup left02:56
NfNitLoop left02:56
emacer left02:56
berndj left02:56
Orphis_ left02:56
sokoll left02:56
Neptu left02:56
granden left02:56
nicetry left02:56
SJS left02:56
roto left02:56
pooh22 left02:56
Nevik left02:56
Orginator left02:56
sorressean left02:56
abrkn__ left02:56
tpope left02:56
qdii_ left02:56
jwr___ left02:56
niax left02:56
rs0_ left02:56
linduxed left02:56
Consuela_Consuela02:56
Orginator_ joined02:56
Celm joined02:56
pooh22 joined02:58
habanany joined02:58
SJS joined02:58
emacer joined02:58
m0viefreak left02:58
StolenToast joined02:58
synchronous joined02:59
wakd joined02:59
EminenceHC left03:00
moritzs joined03:00
NfNitLoop joined03:00
home-pc_ joined03:01
SumDude joined03:01
SumDude left03:01
Celm left03:01
Celm joined03:03
_Atom_ joined03:03
skylite left03:03
babuloseo left03:04
toothrot joined03:05
Pyrogerg left03:05
madduck left03:05
xSmurf joined03:07
berndj-blackout joined03:07
Celm left03:07
jonmorehouse joined03:07
skylite joined03:08
skylite left03:09
pcypher joined03:10
hebz0rl_ left03:10
Goplat left03:11
jontmorehouse joined03:12
jonmorehouse left03:13
shawndumas joined03:13
maestrojed left03:13
home-pc__ joined03:15
jargon joined03:15
Pyrogerg joined03:16
maestrojed joined03:16
thepreacher joined03:16
home-pc_ left03:17
ojacobson left03:18
ajustrun joined03:19
moritzs left03:19
ojacobson joined03:19
c0ded left03:20
maestrojed left03:20
Noldorin left03:21
pcypher left03:24
skylite joined03:25
Celm joined03:27
diegoaguilar joined03:29
shampine left03:29
eliasr left03:32
Obi_obi_ left03:32
Celm left03:32
Obi_obi_ joined03:32
ajustrun left03:33
Obi_obi_ left03:33
Obi_obi_ joined03:34
wakd left03:34
Obi_obi_ left03:36
Obi_obi_ joined03:36
Obi_obi_ left03:36
shawndumas left03:37
Obi_obi_ joined03:38
Obi_obi_ left03:40
Obi_obi_ joined03:41
joeyDB joined03:41
Obi_obi_ left03:41
Obi_obi_ joined03:41
Obi_obi_ left03:42
Obi_obi_ joined03:42
amjam joined03:43
evildmp joined03:43
wakd joined03:43
otter768 joined03:44
Dougie187 left03:46
Consuela left03:46
lowkeyliesmyth joined03:48
Obi_obi_Obi_obi03:49
Jumblemuddle joined03:49
Jumblemuddle I have a remote git repo setup. When I attempt to 'git push' it, I get a ssh error 'failed to add the host to the list of known hosts'. However, when I use ssh to connect directly the the user it works fine. In what way does git use ssh when pushing to a remote repo?03:51
wookienz left03:51
jontmorehouse left03:51
ojacobson 'ssh (user@)hostname git upload-pack /path/to/repo'03:51
and likewise with git receive-pack03:51
(sometimes with options)03:51
wookienz joined03:52
phanlord left03:52
Jumblemuddle Hmm, any reason it'd be different, and not allow for the fingerprint already in ssh/known_hosts? I've already connected to this user on my server, so it's in the known_hosts file.03:53
The fingerprints show up as the same.03:53
ojacobson !repro03:54
gitinfo Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will raise the odds of getting your problem fixed from about 30% to about 90%.03:54
polyzen left03:54
ojacobson ideally both the git command + output and an ssh command + output03:54
thepreacher left03:54
a_le left03:56
Jumblemuddle http://sprunge.us/iPbW03:57
let me know if there is anything else I should show03:57
ojacobson do you have a services entry for a service named "~" ?03:58
n-st left03:58
surfperch joined03:58
ojacobson SSH _urls_ use : as a port separator, like every other URL.03:58
surfperchGuest7449303:59
ojacobson well, hostname and service separator.03:59
(normally the service is just a port number, most people seem to have forgotten that services can be named)03:59
Jumblemuddle No, I don't I was thinking it was linking to the $HOME folder.03:59
ojacobson Paths go after the slash after the authority.03:59
(protocol://authority/path)04:00
Mitchbones joined04:00
NoNMaDDeN left04:00
Guest74493 left04:00
ojacobson The alternate nfs-style syntax for SSH remotes (host:path) can't be freely combined with URL syntax; pick one or the other :)04:00
EminenceHC joined04:00
kossy joined04:00
Jumblemuddle So, I should `git remote add deploy ssh://user@something.com/blog.git`?04:01
ojacobson Is blog.git in the root directory on something.com ?04:01
You probably want /~/ instead of /04:01
(the URL-like syntax resolves from the filesystem root, because of reasons)04:01
Jumblemuddle Oh, gotcha! I understand now.04:01
NoNMaDDeN joined04:02
home-pc__ left04:02
Jumblemuddle How can I change the remote deploy?04:02
ojacobson git remote set-url, most likely :)04:02
home-pc_ joined04:03
Jumblemuddle Hmm, ok. I've changed it, but I'm still having the issue of ssh failing to add the host to the list of known hosts.04:03
jontmorehouse joined04:03
EminenceHC left04:05
Jumblemuddle I went ahead and used the full path: `git remote set-url deploy ssh://user@something.com/home/blog/blog.git`04:05
madewokherd left04:08
phoenixz left04:09
Jumblemuddle Most things online are saying ot change the permissions of the .ssh folder (~/cfg/ssh for me), but it's definitely owned by me. Also, ssh works fine. It's just when pushing with git that it fails.04:09
home-pc_ left04:09
Celm joined04:09
home joined04:09
home left04:09
home joined04:09
home-pc_ joined04:11
ojacobson Does the message literally say "Failed to add the host to the list of known hosts ($HOME/cfg/ssh/known_hosts)." with the string "$HOME" in it?04:11
Jumblemuddle ya, it does04:11
ojacobson that'd do it, then04:11
Jumblemuddle Maybe git doesn't parse $HOME?04:11
dsdeiz joined04:11
Jumblemuddle I hadn't thought of that.04:11
ojacobson git doesn't even look at authorized keys04:11
or known hosts04:11
git just invokes ssh04:11
lowkeyli_ joined04:12
ojacobson ssh, however, does _not_ do shell variable expansion in ssh_config or in ~/.ssh/config04:12
if you put "$HOME" there, that's exactly the path SSH will try to use :)04:12
Jumblemuddle That's strange that ssh on it's own doesn't have an issue though. I guess I'll take this over to an ssh channel. Thanks for your help. :) Sorry it wasn't really about git...04:13
ojacobson You can use strace to see how git's invoking ssh, if you're on linux04:13
that might help narrow down why the behaviour differs04:13
but I do suspect someone's out-clevered themselves and put what looks like a var in .ssh/config :)04:13
home left04:14
ojacobson gotta go for a mo', mac is losing its wee mind04:14
avoid Wind Mobile cellular data sticks; the driver software is terribad04:14
wakd left04:14
thibaultcha left04:15
Sleepy63 left04:15
Jumblemuddle Well, it's in /etc/ssh/ssh_config. Should I use ~ instead?04:15
For 'IdentityFile' and 'UserKnownHostsFile'04:15
EminenceHC joined04:15
lowkeyliesmyth left04:15
msankhala joined04:17
ojacobson Tilde appears consistent with `man ssh_config`04:17
OneEyedWill left04:18
lowkeyli_ left04:18
Jumblemuddle ... It works! :D I really wish this would be standardized... I've been trying to wrangle my .* files into some sort of scheme, but it's always hard to decide if I should use ~ or $HOME in configs.04:18
Anyhow, thanks so much for the help.04:18
lowkeyliesmyth joined04:19
EminenceHC left04:19
thiago joined04:20
ojacobson left04:20
skylite left04:20
alvaro_o left04:21
evildmp left04:21
Jumblemuddle left04:22
a_le joined04:22
armyriad left04:24
msankhala left04:24
Celm left04:24
a_le left04:25
Celm joined04:25
armyriad joined04:25
c0ded joined04:26
Celm left04:29
ntio left04:32
blubberbop joined04:33
armyriad left04:33
armyriad joined04:33
ntio joined04:34
Sleepy63 joined04:37
NoNMaDDeN left04:39
kpreid_ left04:39
kpreid joined04:40
listochkin joined04:40
jdhines joined04:41
a_le joined04:43
jdhines left04:45
listochkin left04:45
a_le left04:46
jargon left04:46
Toaster` joined04:48
blubberbop left04:48
diegoaguilar left04:50
thiago left04:50
Sebtoast left04:51
thiago joined04:52
irqq joined04:52
ajustrun joined04:52
Literphor joined04:53
a_le joined04:54
a_le left04:54
otter768 left04:55
mustafavelioglu joined04:57
mustafavelioglu left04:57
beautifulmind joined04:58
thiago_ joined04:58
cagedwisdom joined05:00
dauerschlaf joined05:00
dauerschlaf left05:01
thiago left05:01
dauerschlaf joined05:02
xSmurf left05:02
wookienz left05:03
EminenceHC joined05:03
UmbraMalison left05:04
unglid left05:04
sgen joined05:04
wookienz joined05:05
UmbraMalison joined05:05
jontmorehouse left05:06
jontmorehouse joined05:06
EminenceHC left05:08
unglid joined05:09
dsdeiz left05:10
xSmurf joined05:10
ecky--ptang-zoob left05:11
ecky--ptang-zoob joined05:11
nettoweb left05:11
subhojit777 joined05:14
blubberbop joined05:15
eletuchy_ joined05:20
shigosei joined05:21
amjam left05:22
Literphor left05:22
amjam joined05:23
irqq left05:23
eletuchy left05:24
a_le joined05:25
madduck joined05:25
toothrot left05:25
Celm joined05:25
mynameisbrian joined05:26
_Atom_ left05:27
mynameisbrian hey guys, how do I deal with dependencies on github? should I leave them out of the repo? My code by default has an import statement which is supposed to include a file. it cannot work by default without this file, but should it still stay out of my repo?05:27
amjam left05:27
offby1 mynameisbrian: hard to answer.05:28
boombatower left05:28
offby1 mynameisbrian: if that file is part of a widely-available open-source library, it might suffice to just include a README with the installation instructions05:28
mynameisbrian: if your code uses a lanaguage that has a packaging system, like Python, perhaps you can create the magic that automatically installs the file, using the packaging system05:29
Celm left05:30
a_le left05:30
offby1 another idea is to just copy it into the repository.05:30
mynameisbrian okay. it's just normalize, its a CSS reset stylesheet (kind of). but the import statement is in sass, and will fail to compile if they don't include it. but my repo is setup to work with the bower package manager, which auto installs this reset stylesheet. so it'd be weird to include it. but not everyone cares to use bower05:30
offby1 yikes05:30
Eugene If it's a lightweight dependency(a file or three) that you NEED to have there, and won't change often, I say just go for it, and put it under a libraries/ directory.05:31
offby1 I don't understand most of those technical terms :-) I myself have added jquery.min.js to a project once or twice.05:31
Eugene Eg, jquery or CSS things ^05:31
offby1 ^05:31
mynameisbrian okay Eugene. but isn't it redundant though, when I have it setup to work with a package manager? the package manager, if they use it (which a lot of people do) will then include it. so then there's two of the same file05:32
Eugene If it's a big project(like, standard C library headers or something) you want to use a dependency system of soem sort, possibly submodules, but more likely an entry in the README saying "yum install boost-devel; make; make install"05:32
offby1 this man, he speaks sense05:32
sohail` joined05:33
offby1 who is he? Where did he come from? What does he want?05:33
ChanServ set mode: +o05:33
xSmurf left05:33
offby1 cringes05:33
Eugene changed the topic to: Welcome to #git, the place for git help and authoritarian dictatorships | Current stable version: 2.1.2 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | git commit crim PUT DOWN THAT GUN AND HANDS UP IN THE AIR!05:33
Eugene kicked offby1 (TRAITOR TO THE CROWN!)05:33
offby1 joined05:34
offby1 *sigh*05:34
offby1 rubs the sore spot05:34
ajustrunajustrun|away05:34
mynameisbrian know what... ill leave it out. ill create separate files for people who download it from my site. for someone more "advanced", if they're downloading my files on github, they won't care about the inconvienence (sp) of having to download and include it. then for bower users, it'll auto download it for them.05:36
buffal0 joined05:37
jontmorehouse left05:37
Eugene Packaged release with all dependencies is also a valid approach, yup05:37
mynameisbrian I was typing: "marijuana, pizza, and coding, this is a good night." then literally 5 seconds later my cat threw up all over my new blanket and pillow05:38
FunkyAss joined05:39
offby1 the wages of weed is cat puke05:40
s/is/are/ ? Discuss05:40
mynameisbrian is. "wages of weed" is the subject, and that's more like, a concept. "wages" is plural, but not "wages of weed"05:41
buffal0 left05:41
mynameisbrian just a guess05:42
Fandekasp joined05:42
Eugene You must be sobering up05:42
shawndumas joined05:42
mynameisbrian no I dont think what I said made sense05:42
Eugene It's obviously "pot, pizza, programming"05:42
Geeze05:42
offby1 "Wine, women, song"05:42
mynameisbrian "the wages are cat puke", maybe cat puke is the subject05:43
offby1 if those were my wages, I'd go on strike05:43
Eugene changed the topic to: Welcome to #git, the place for git help and cat puke | Current stable version: 2.1.2 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | git rebase --onto toilet05:43
Eugene I've changed my mind for today's joke.05:43
Eugene set mode: -o05:43
xSmurf joined05:44
cannonball left05:45
blubberbop left05:47
sgen left05:48
eagles0513875 left05:48
eagles0513875 joined05:48
eagles0513875 left05:48
eagles0513875 joined05:48
subhojit777 left05:49
rs0 left05:49
mynameisbrian fucking cat, pisses me off so much.05:49
shawndumas left05:49
offby1 well, it doesn't stain if you clean it up quickly05:50
mynameisbrian lol @ Perljam05:50
I dont really care about it staining, but I dont want to wash blankets at 2am05:50
subhojit777 joined05:50
WaReZ left05:52
sohail` left05:53
sgen_ joined05:56
hplar_ left05:57
wookienz left05:59
kopparam joined06:01
ome left06:02
JohnBat26 joined06:03
hahuang65 left06:04
wookienz joined06:04
starkhalo left06:05
aswen joined06:06
kopparam left06:07
jontmorehouse joined06:09
jiskiras joined06:09
jiskiras left06:09
gfixler left06:09
pcypher joined06:12
dreiss joined06:12
pantsman- joined06:12
aswen left06:13
Cassiel left06:14
descala left06:14
SjB left06:20
descala joined06:20
lowkeyli_ joined06:21
alanwill joined06:22
xSmurf left06:24
lowkeyliesmyth left06:24
Celm joined06:26
wookienz left06:27
wookienz joined06:28
dreiss left06:29
xSmurf joined06:30
purak left06:30
irqq joined06:30
netcarver joined06:31
Celm left06:31
kyb3r_ left06:31
pcypher left06:31
punchagan left06:31
Nijikokun left06:33
Nijikokun joined06:35
netcarver left06:37
Mitchbones left06:38
hoijui joined06:38
home-pc_ left06:39
jdhines joined06:41
wookienz left06:42
joeyDB left06:43
Kicer86 joined06:44
atomx_ left06:45
atomx left06:45
sinkensabe joined06:45
atomx joined06:46
jdhines left06:46
wookienz joined06:47
joeyDB joined06:47
evildmp joined06:49
Gamecubic_ left06:49
Gamecubic_ joined06:49
jontmorehouse left06:52
irqq left06:55
DTSCode joined06:55
irqq joined06:55
a_le joined06:56
PinkSpecs joined06:59
a_le left07:00
hahuang61 joined07:02
on4k joined07:03
joeyDB left07:04
endiruna joined07:04
ehmatthes joined07:04
hahuang61 left07:07
rdbell left07:07
kriks joined07:09
arthurvr joined07:10
endiruna left07:11
aswen joined07:11
EminenceHC joined07:11
Advocation joined07:12
ELLIOTTCABLE Hey, all. How can I enable colour for a single command? (when piping.)07:14
I have it enabled as a configuration option, but that's ignored when stdout isn't a tty …07:14
psoo joined07:14
psoo left07:14
psoo joined07:15
punchagan joined07:16
watabou left07:17
bmcorser joined07:17
EminenceHC left07:17
Kwpolska ELLIOTTCABLE: --color=always07:18
Gamecubic_ left07:19
irqq left07:19
ELLIOTTCABLE “Unknown option: --color=always”07:19
but, scratch that anyway, I think I have it figured out …07:19
irqq joined07:20
niax_ left07:22
niax joined07:22
ELLIOTTCABLE yah:07:22
`git -c color.status=true status`07:22
works!07:22
blahdodo left07:23
enelar_ joined07:23
blahdodo joined07:24
LLaurent joined07:26
enelar left07:26
Celm joined07:26
lowkeyli_ left07:27
aswen left07:27
Nyoom left07:27
Kulrak left07:27
Kulrak joined07:27
mynameisbrian hey guys,w hat are releases on github exactly? just archives? I guess I don't get when we should create a release07:28
*what07:28
NBhosting left07:29
BuenGenio joined07:29
evildmp left07:30
punchagan left07:30
Celm left07:31
enelar__ joined07:33
eletuchy_ left07:34
eletuchy joined07:34
sinkensabe left07:34
burhan joined07:35
enelar_ left07:36
arand_ mynameisbrian: There's #github for specifics, but isn't it just a tag, and some automatically generated tree archives?07:39
burhan left07:40
burhan joined07:40
PEMapModder joined07:40
j416 joined07:41
PEMapModder left07:41
arand_ (And I would guess when to release is completely down to preference and what workflow you happen to be following...)07:41
bremner` right. IMHO "serious" projects have releases as snapshots considered relatively stable and usable for external users. But many people on github (and in general) don't care about this.07:42
justinmburrous left07:42
madduck left07:45
justinmburrous joined07:48
zapb_ joined07:49
Nyoom joined07:49
irqq left07:49
irqq joined07:50
psoo left07:50
ZoidbergWill joined07:51
beautifulmind left07:51
Ksg89 left07:52
Ksg89 joined07:52
mynameisbrian left07:53
kopparam joined07:55
johntramp_ joined07:55
felixjet__ joined07:56
felixjet_ left07:57
ColdKeyboard joined07:58
kopparam left07:59
danicampa901 joined08:03
ehmatthes left08:03
beautifulmind joined08:04
suffice_ left08:05
Advocation left08:08
efiop joined08:08
burhan left08:08
suffice joined08:09
suffice left08:09
suffice joined08:11
EminenceHC joined08:15
habanany left08:16
mennea joined08:16
Sleepy63 left08:16
mennea left08:17
punchagan joined08:17
LLaurent left08:18
mennea joined08:18
justinmburrous left08:19
justinmburrous joined08:19
EminenceHC left08:19
mennea left08:20
punchagan left08:21
Guest92566gfixler08:21
beautifulmind left08:23
shinnya joined08:23
justinmburrous left08:23
evildmp joined08:23
justinmburrous joined08:23
groolot joined08:24
evildmp left08:25
BlaXpirit joined08:26
Celm joined08:27
St_Marx joined08:27
jhermann joined08:27
Error404NotFound joined08:28
mennea joined08:28
Sleepy63 joined08:29
Celm left08:32
antispaceman left08:32
antispaceman joined08:33
tgunr left08:34
tgunr joined08:35
wrouesnel joined08:37
anddam joined08:37
NoNMaDDeN joined08:37
efiop left08:37
Wiz_KeeD joined08:37
anddam hi, I cloned a github repo and did a change to file, I want to submit and do a pull request. Should I be committing in a difference branch of my own or should I just commit in master?08:37
Seveas anddam: if you expect to file more than one pull request, I'd suggest doing one branch per pull request. If you're just doing a drive-by commit, master is good enough. But beware: if you add more commits to master later, and push those, they will be added to the pull request.08:39
on4k left08:39
groolot left08:40
anddam Seveas: thanks, I'm reading that again08:40
drive-by meaning one time only?08:40
one branch per PR it is08:41
do branches name stay in history?08:41
Seveas not necessarily, branch names are ephemeral and can be deleted after merging08:41
anddam also about the "if you add more commits to master later, and push those, they will be added to the pull request." part, that applies until the PR is merged in, is that correct?08:41
ok, I asked worried of "polluting" the project history08:42
Seveas anddam: I believe that that is correct, but am not 100% certain08:42
anddam thank you08:42
jdhines joined08:42
mikecmpbll joined08:45
anddam so, to recap: I now clone the project in GH, I change my local copy to use my own repo as remote, I create a new branch, commit there, push, the go GH and open a pull request toward the original project08:45
sounds right?08:45
I use git so seldom that I don't keep the worflow in mind08:45
suffice left08:46
suffice joined08:46
mennea left08:46
on4k joined08:46
mennea joined08:47
on4kGuest9813508:47
jdhines left08:47
anddam mm maybe I don't even need to change remote, I can use an explicit path when pushing, is that correct?08:48
Seveas I wouldn't even clone the original repo. After hitting 'fork' in the github ui, you can clone your own copy :)08:49
joki left08:49
Seveas other than that, your workflow is correct08:49
suffice left08:49
suffice joined08:49
anddam Seveas: but I've alread cloned and edited locally08:50
also, is the "origin" remote special?08:51
Seveas anddam: cloning and editing works just fine too, it's just more work and I'm lazy :-)08:51
anddam i.e. should I create "myremote" and then set "myremote" as default or should I rename "origin" to "project_original" then create a new "origin" remote to act as default?08:51
Seveas: I'm using this as a learning moment08:52
JosephFerano left08:52
Seveas 'origin' is the default remote in many operations. I'd set it to whatever you push to08:52
e.g. for github forks, I use 'origin' for my fork and 'upstream' for the repo I forked from08:52
anddam ok, can the default be set or is "origin" hardcoded?08:52
Guest98135 left08:52
freeman42 joined08:52
anddam that sounds good, I want to keep a track of the original project08:53
ajustrun|away left08:53
Seveas I think 'origin' is hardcoded in a few places, but have never found the desire to change it, so haven't investigated :)08:53
justinmburrous left08:53
justinmburrous joined08:54
anddam ok, I renamed origin to upstream and created a new remote with my gh url08:54
fetch and push url are already correct08:54
nice08:54
does it make sense to keep the fetch url from upstream?08:54
Seveas yes, as you'll want to fetch from it08:55
!sync08:55
gitinfo [!fork_sync] You can read a nice guide on how to update your fork with the upstream repository here: https://help.github.com/articles/syncing-a-fork08:55
joki joined08:55
anddam the only issue I can see with that is if I commit to my repo and fetch from upstream before my change is merged08:56
efiop joined08:56
anddam this would revert my local change, wouldn't it?08:56
kopparam joined08:56
Seveas it would not08:56
fetching from a repo only updates refs/remotes/remotename/*, local branches are unaffected08:57
you will need to merge or rebase those08:57
anddam thank you so much08:57
a_le joined08:57
justinmburrous left08:58
johntramp_ hi I am trying to clone a gitolite repo over a ssh tunnel with no success - it keeps asking for the git password even though I have added the ssh pubkey. any ideas what I may be doing wrong?08:59
Seveas johntramp_: !repro please. Also add the output of ssh-add -l08:59
gitinfo johntramp_: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will raise the odds of getting your problem fixed from about 30% to about 90%.08:59
justinmburrous joined08:59
arthurvr left08:59
arthurvr joined09:00
kopparam left09:01
anddam Seveas: mm I created branch A with first change, committed and pushed it, then created branch B, checked it out and did a different change09:01
commited this but the diff shows even the first09:02
I should have used A as base for B isntead09:02
johntramp_ !repro09:02
gitinfo Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will raise the odds of getting your problem fixed from about 30% to about 90%.09:02
a_le left09:02
anddam https://github.com/anddam/cdto/compare/jbtule:master...anddam:fix_developer_name?expand=109:02
I see the issue is that upstream master is still the same09:02
Seveas: should I get rid of the changes in plugins/iterm/CD2ITerm.m 14÷17 by checking out master and then reapplying?09:03
is it worth redoing a change?09:03
Seveas anddam: when createing branch B, you created it on top of A instead of upstream/master09:04
anddam yes, so now I'm going to checkout master while in B09:04
govg_ joined09:04
anddam commit09:04
Seveas that doesn't help09:04
anddam then reapply the change09:04
oh how so?09:04
I'm used to svn09:04
Seveas to create B on top of master: git checkout -b B upstream/master09:04
or checkout master first and then checkout -b B09:04
anddam (well not even used to, I just happen to use it often for my basic tasks)09:05
what about the commit in B I already did?09:05
I'll just checkout upstream/master and commit09:05
Seveas remember the sha1, then delete the branch09:05
anddam s/commit/write over it09:05
Seveas after recreating the branch, cherry-pick the sha109:05
anddam how do I list the checksums?09:05
log ?09:06
Seveas git log09:06
anddam k09:06
govg left09:06
govg_govg09:06
mutley89 left09:06
anddam out of curiosity what happens to github repo after I delete the branch?09:06
I already pushed09:06
randallsquared left09:06
Seveas you'll need to push the delete (git push origin --delete B)09:06
or after recreating, you can push -f to overwrite it09:07
hebz0rl joined09:07
eletuchy left09:07
anddam > git branch -d origin/fix_developer_name09:07
error: branch 'origin/fix_developer_name' not found.09:07
Seveas no origin/09:07
anddam how so?09:07
martinklepsch joined09:07
Seveas origin/fix_developer_name is the name of the remote branch. The local one is fix_developer_name09:07
anddam -d (lower case) should accept a remote branch name09:08
Seveas push copies fix_developer_name to the origin remote and then updates the origin/fix_developer_name ref09:08
anddam push origin --delete B did it09:08
Seveas I'm fairly sure branch -d only works on local branches (refs/heads/*)09:08
anddam I didn't delete anything locally, should I delete local branch and recreate it or can I checkout upstream/master and do it from there?09:09
oh the sha1 thing you said09:09
Seveas You'll need to delete the local branch before recreating it09:09
If you forgot to copy the sha1's, 'git reflog' is a nice backup to get them from :)09:10
randallsquared joined09:11
anddam I did it differently09:11
Seveas anyway, I need to run. Good luck!09:11
anddam git diff A B09:11
to ahve a patch of the diff I need09:11
thank you again09:11
Amandil joined09:14
psoo joined09:14
mennea left09:16
mennea joined09:17
linduxed_ left09:18
Dynetrekk left09:18
linduxed joined09:18
eletuchy joined09:19
stamina joined09:20
vire joined09:21
sinkensabe joined09:22
aidalgol left09:22
amjam joined09:23
punchagan joined09:24
martinklepsch left09:24
ussher_ left09:25
amjam left09:27
PinkSpecs left09:30
justinmburrous left09:30
PinkSpecs joined09:30
justinmburrous joined09:31
TheFuzzball joined09:31
sinkensabe left09:33
Guest94948 joined09:34
Guest94948 left09:35
markelite left09:35
justinmburrous left09:35
Guest94948 joined09:36
Guest94948 left09:37
aidalgol` joined09:38
alanwill left09:38
aidalgol` left09:39
aidalgol` joined09:39
aidalgol`aidalgol09:39
mustafavelioglu joined09:39
m8 joined09:40
JohnBat26 left09:41
petersr joined09:42
xjiujiu joined09:43
mihaicris joined09:44
mennea left09:46
mennea joined09:47
martinklepsch joined09:50
mikecmpbll left09:50
psoo left09:51
wookienz left09:51
justinmburrous joined09:52
hahuang61 joined09:54
mwoodson joined09:54
wookienz joined09:56
cite_ left09:57
cite joined09:57
WaReZ joined09:58
hahuang61 left09:59
martinklepsch left10:02
mustafavelioglu left10:02
habanany joined10:03
listochkin joined10:03
antispaceman left10:03
marklite joined10:04
punchagan left10:04
stfn left10:05
vire left10:05
stfn joined10:05
antispaceman joined10:06
punchagan joined10:08
mustafavelioglu joined10:08
ncd|leeN joined10:09
vire joined10:09
[diablo] joined10:09
kopparam joined10:10
mikecmpbll joined10:12
seanmerron joined10:14
irqq left10:14
israelpattison left10:14
israelpattison joined10:15
AKK9 joined10:15
irqq joined10:15
xjiujiu left10:15
CheckDavid joined10:16
kristofferR joined10:18
Segfault_ joined10:18
kristofferR left10:18
Lyqyd left10:19
kristofferR joined10:20
Jackneill joined10:20
madduck joined10:21
chux joined10:21
EminenceHC joined10:23
justinmburrous left10:23
justinmburrous joined10:27
EminenceHC left10:27
mennea left10:27
Celm joined10:28
mennea joined10:28
mueslo joined10:31
[gmi] joined10:31
Celm left10:32
King_Hual joined10:32
King_Hual left10:34
aidalgol left10:34
King_Hual joined10:35
ciampix joined10:36
punchagan left10:40
habanany left10:43
_Vi joined10:43
jdhines joined10:43
listochkin left10:43
jargon joined10:44
arthurvr left10:46
efiop left10:46
efiop joined10:46
ToBeFree joined10:48
jdhines left10:48
vire left10:49
wakd joined10:49
mikecmpbll left10:51
kiran joined10:51
chux left10:52
xSmurf left10:53
heftig joined10:53
mihaicris left10:53
kopparam left10:54
heftig git diff A...B will get me the diff from (the common parent of A and B) to B, right?10:54
beaky joined10:55
beaky hello10:55
how do i convince my mates to use git10:55
rather than emailing me random compressed archives of their work10:56
arthurvr joined10:57
justinmburrous left10:58
m0viefreak joined10:58
justinmburrous joined10:58
justinmburrous left11:03
justinmburrous joined11:04
atomx left11:07
atomx joined11:07
efiop left11:07
it0a joined11:08
xSmurf joined11:09
mustafavelioglu left11:09
kristofferR left11:10
efiop joined11:11
FreezingCold left11:12
cbreak heftig: "git diff A...B" is equivalent to "git diff $(git-merge-base A B) B"11:14
beaky: call them names?11:15
beaky: ask them what they changed?11:15
MutSbeta joined11:15
mikecmpbll joined11:18
danicampa901 left11:18
autochthon joined11:19
johtso joined11:20
Jupelius Is it possible to prevent my local git repository to work on master branch?11:21
efiop left11:21
Skapadapaduu joined11:22
c74d left11:24
skylite joined11:26
robustusrobustus|Off11:26
c74d joined11:26
skylite left11:27
wookienz left11:28
EminenceHC joined11:28
wookienz joined11:29
Tabmow joined11:32
heftig Jupelius: delete the master branch?11:33
[diablo] left11:33
EminenceHC left11:33
ockham joined11:34
justinmburrous left11:35
hyperair joined11:36
msankhala joined11:37
Tabmow left11:37
Tabmow joined11:38
mennea left11:39
mennea joined11:39
beaky is there a way to distribute changesets as standalone files11:39
which can be integrated to other repos11:40
mennea left11:40
mustafavelioglu joined11:40
mennea joined11:40
PinkSpecs left11:41
on4k joined11:42
mustafavelioglu left11:42
mustafavelioglu joined11:42
kcj left11:43
skylite joined11:44
mustafavelioglu left11:46
cbreak beaky: yes11:47
beaky: git format-patch or git bundle11:47
paul424 joined11:47
beaky ah thanks11:48
Nizumzen joined11:53
jargon left11:54
irqq left11:55
irqq joined11:55
mindlessdemon joined11:55
mindlessdemon left11:56
mindlessdemon joined11:56
mindlessdemon left11:56
mindlessdemon joined11:57
justinmburrous joined11:57
mezod joined11:57
mezod left11:57
mindlessdemon left11:57
netcarver joined11:58
mikecmpbll left11:58
mezod joined11:58
FilipNortic left11:59
fstd left12:00
xtrm joined12:00
xtrm hi12:00
gitinfo xtrm: 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:00
fstd joined12:01
xtrm I would like to know if its possible to track a javascript in a server using git, and automatically make a commit of new changes made to that script12:01
kristofferR joined12:01
xtrm something like rsync + git12:02
qsusxs left12:02
qsuscs joined12:03
jdhines joined12:04
cYmen I can't access ssh from work. What would you guys recommend to make repos on my server accessible via http?12:04
cbreak xtrm: automatically committing sounds like a terrible idea12:04
xtrm: your commit messages will suck12:05
xtrm: just do it yourself12:05
xtrm yes I dont midn about it, its a javascript made in an external server by one of our providers12:05
which nevers notifies us when it changes, and I need to track it12:05
just need to see the changes12:06
PinkSpecs joined12:06
cbreak can't you just nuke the changes?12:07
if they aren't worth to be notified about, they are probably pointless12:07
govg left12:07
efiop joined12:07
cbreak xtrm: you can of course commit in a cronjob, but as I said, it'd suck12:07
xtrm cbreak unnafortunnately we cant, its a product we dont have control over and its totally necessary for us to be up to date with it12:08
govg joined12:08
mennea left12:09
xtrm what about making a symlink to the file url, will git be able to see the changes?12:09
sgen_ left12:09
mennea joined12:09
moritzs joined12:11
King_Hual left12:11
King_Hual joined12:12
FilipNortic joined12:12
cbreak xtrm: git will track symlinks directly12:13
it won't follow them12:13
xtrm: you can git init the directory with the files, it'll become a git repository12:13
shruggar joined12:14
shruggar left12:14
devoldmx joined12:14
msankhala left12:14
paul424 left12:16
evildmp joined12:16
CheckDavid left12:17
nfk joined12:17
wrouesnel left12:18
kristofferR left12:18
moritzs left12:18
gitinfo set mode: +v12:19
Goplat joined12:20
kristofferR joined12:21
on4k left12:21
cherwin joined12:22
arthurvr left12:24
gccostabr left12:26
juvenal left12:26
stamina left12:27
m0ltar joined12:27
masak how do I filter a git log for every author except a given one?12:27
justinmburrous left12:28
devoldmx left12:28
justinmburrous joined12:28
antispaceman left12:29
Celm joined12:29
stiffi joined12:29
justinmburrous left12:29
justinmburrous joined12:29
wookienz left12:30
psoo joined12:30
javster left12:30
wookienz joined12:30
jrdavid joined12:31
cherwin left12:33
fr33domlover joined12:33
EminenceHC joined12:33
Celm left12:34
cbreak masak: --author=pattern12:34
dort joined12:34
cbreak masak: that'll filter out all but the given one12:34
Juzzika joined12:34
silence-simple joined12:35
silence-simple left12:36
devoldmx joined12:36
cherwin joined12:37
Noldorin joined12:37
zapb_ left12:37
masak cbreak: ok, let's say the author is "Bryan Cranston". what should the pattern be?12:39
EminenceHC left12:39
mennea left12:39
cbreak that will do as pattern12:39
mennea joined12:39
masak ah. let me rephrase the question, then.12:39
how do I filter out that particular author?12:39
mennea left12:39
moritzs joined12:40
dauerschlaf left12:40
masak i.e. show all other authors.12:40
cbreak hmm... :/12:40
mhi^ joined12:40
cbreak no idea, sorry12:40
masak I used --oneline and wc -l to find out how many such commits there are.12:40
but I know of no good way to use git alone to list the commits.12:41
mennea joined12:44
masak hm, `git rev-list --help` lists --author as a valid option, but the command itself doesn't accept it :/12:44
kristofferR left12:45
javster joined12:45
javster left12:46
moritzs left12:48
CheckDavid joined12:50
sleepee joined12:52
cYmen I can't access ssh from work. What would you guys recommend to make repos on my server accessible via http? <- anybody?12:54
psoo left12:55
jast man git-http-backend :)12:55
gitinfo the git-http-backend manpage is available at http://jk.gs/git-http-backend.html12:55
kristofferR joined12:56
qsuscs cYmen: a) talk to your admin b) … i guess this means read-write?12:56
cYmen qsuscs: Yes, writing would be necessary.12:56
qsuscs cYmen: i hope you enjoy pain. i’d really first try option a12:57
canton7 you can set up a read-write http server without too much hassle12:57
wookienz left12:57
cherwin left12:58
qsuscs canton7: using git-http-backend or something else?12:59
(i neither managed to find out how to setup grack)12:59
canton7 err let me find a doc12:59
yeah, git-http-backend12:59
the man page has a bunch of config12:59
cherwin joined12:59
msankhala joined13:00
justinmburrous left13:00
Tobbi joined13:02
m0ltar left13:02
Tobbi How can I get the .git file in a git instaweb installation? My mantis plugin requires the path to the .git project file.13:02
wookienz joined13:03
cYmen canton7: thanks13:05
evildmp left13:06
bAnt joined13:08
WaReZ left13:08
cbreak Tobbi: search for it13:09
Tobbi: it should be a directory13:09
find / -name ".git" -print13:09
or something like that13:09
Tobbi: but really, you should remember where you put your repositories :D13:09
teran left13:10
cbreak (if you have a bare repo, this won't find it, you'll have to use some other strategy, like searching for HEAD)13:10
Tobbi cbreak: Uhm, I know my repository URL and it shows it using port 80, but I have problems configuring this: http://www.nullpointer.at/wp-content/uploads/2011/10/mantisbt-sourceintegration-detail.png13:11
(this is Mantis by the way). My gitweb installation is at localhost:100013:11
os2538 joined13:12
kerrick left13:12
cbreak Tobbi: the URL is irrelevant13:12
Tobbi: .git is a directory in the filesystem13:12
gitweb is just a web interface13:12
(for looking at history and so on)13:12
Tobbi cbreak: Will Mantis find it if I put a regular filesystem URL there that's not accessible on port 80?13:12
Mitchbones joined13:12
cbreak I have no idea what mantis is13:13
so I don't know what it wants or does with git13:13
Tobbi cbreak: It's a bug tracker. And I just installed a git integration plugin.13:13
So, mantis runs on port 80, gitweb on port 100013:13
*port 10013:14
kristofferR left13:14
mindlessdemon joined13:14
msankhala left13:14
kristofferR joined13:15
kristofferR left13:15
sohail` joined13:15
cherwin left13:16
justinmburrous joined13:16
danicampa901 joined13:17
mikecmpbll joined13:18
hexagoxel joined13:19
Advocation joined13:20
mennea left13:20
mennea joined13:21
os2538 left13:21
os2538 joined13:21
os2538 left13:21
josef_roy joined13:22
fr33domlover left13:24
mhi^ left13:26
PinkSpecs left13:29
josef_roy left13:29
mhi^ joined13:29
gccostabr joined13:29
devoldmx left13:36
devoldmx joined13:37
wookienz left13:38
toothrot joined13:38
Advocation left13:38
martinklepsch joined13:42
wookienz joined13:43
ifmw_ left13:44
sleepee left13:45
RaceCondition joined13:47
justinmburrous left13:47
moritzs joined13:47
juvenal joined13:47
jagob joined13:48
mechanicalduck joined13:49
mennea left13:50
justinmburrous joined13:51
justinmburrous left13:51
Sijdesign joined13:51
mennea joined13:51
frankdogg joined13:51
frankdogg left13:51
justinmburrous joined13:51
efiop left13:52
Manny joined13:59
it0a left14:00
a_le joined14:01
smccarthy joined14:02
zivester joined14:03
mostlybadflyina_garten14:05
bandroidx left14:05
a_le left14:06
W0rmDr1nk joined14:06
atlantan joined14:10
n-st joined14:13
irqq left14:14
anddam left14:14
irqq joined14:15
ehmatthes joined14:16
dccc joined14:17
Sijdesign left14:19
Manny left14:19
Manny joined14:19
juvenal left14:20
mennea left14:20
Toaster` left14:21
Sebtoast joined14:21
justinmburrous left14:22
purak joined14:23
mennea joined14:24
jdhines left14:25
ideea joined14:25
hoijui left14:25
justinmb_ joined14:25
jdmf joined14:26
intellix joined14:26
ideea left14:29
home-pc_ joined14:29
Celm joined14:30
bandroidx joined14:30
subhojit777 I checked git hooks, there were no pre-merge or pre-checkout hooks. Is there any way to create a custom hook. Basically, I want to add a shell warning when user tries to checkout or merge master (stable) branch with a development branch14:31
AKK9_ joined14:32
knownasilya left14:33
pandeiro left14:33
Celm left14:34
AKK9 left14:35
IsNoSpoon joined14:35
mechanicalduck left14:37
Pyrogerg left14:38
moritzs left14:38
AKK9__ joined14:38
irqq left14:40
tiansial joined14:40
tiansial left14:40
AKK9_ left14:40
irqq joined14:40
tiansial joined14:41
Baluse left14:42
Malsasa joined14:43
Brivelt joined14:43
listochkin joined14:44
EminenceHC joined14:44
bsdevil joined14:45
_ikke_ subhojit777: The only way is to wrap git14:45
jprs joined14:45
subhojit777 what do you mean14:45
bsdevil left14:46
saidelike joined14:46
mikecmpbll left14:46
_ikke_ You can't create custom hooks, there is no way to tell git when to execute them. So what you do is you create a wrapper around git, which gets executed instead of git, and the wrapper does the checks, and then calls git14:46
ina_gartenmostlybadfly14:47
devoldmx left14:47
tuxy64 joined14:47
devoldmx joined14:47
amjam joined14:48
listochkin left14:48
EminenceHC left14:49
mennea left14:50
mutley89 joined14:50
Brivelt left14:50
subhojit777 _ikke_, so when I will do "git checkout master" or "git merge <develop into master>" then i will run some custom bash script. it does the checking, if something is wrong it will show an alert, otherwise will do the checkout or merge14:50
mennea joined14:51
subhojit777 is that what you mean14:51
zumba_addict left14:52
zumba_addict joined14:53
atlantan left14:53
_ikke_ yes14:53
The wrapper shadows the real git14:54
Oebele joined14:54
FrozenFire left14:54
hplar joined14:54
justinmb_ left14:55
Oebele if I merge a branch into master, then push to github, is the upstream stuff also merged properly?14:55
robustus|Offrobustus14:55
jprs left14:55
jprs joined14:55
_ikke_ Oebele: upstream stuff?14:56
bremner` Oebele: pushing doesn't merge14:56
AKK9_ joined14:56
dreiss joined14:56
justinmburrous joined14:57
justinmburrous left14:57
starkhalo joined14:57
justinmburrous joined14:57
Oebele okay, let me rephrase my question: I have merged a branch into master locally. What happens when I push? Do I have to do something with the upstream branches manually?14:59
Nizumzen left14:59
mikecmpbll joined14:59
AKK9__ left15:00
_ikke_ Oebele: You mean the remote tracking branches?15:00
BuenGenio left15:00
Oebele _ikke_: yes, I think so - I just don't understand what tracking means precisely15:01
_ikke_ Oebele: It's how the branches are called that are prefixed with the remote name (origin/master)15:01
It's used to keep track of the commits you have fetched from a remote15:02
Oebele okay15:02
_ikke_ But to answer your question, pushing updates those branches15:02
bAnt left15:04
Brivelt joined15:06
WaReZ joined15:06
vire joined15:07
_ikke__ joined15:08
Brivelt left15:09
polyzen joined15:09
_ikke_ left15:10
jdmf left15:10
vire left15:11
jprs Does anyone have a good guide for getting a pretty git aware bash prompt? My google skills are not turning up anything good.15:11
osse jprs: https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh#L6-L2615:11
Nizumzen joined15:12
jprs yeah, I got that far15:12
Gabriel_ joined15:12
_ikke__ but?15:12
robustusrobustus|Off15:13
jprs I found some great guide a while ago for setting PS1 and it could do tons of cool stuff15:13
but I forgot that .bashrc when I changed jobs15:13
meh15:13
_ikke__ left15:13
_ikke_ joined15:14
Gabriel_ left15:14
jprs Maybe I just need to fiddle around with it, PS1's make my eyes bleed, I'd rather just copy someone else's15:14
osse what I gave you will address the git-related aspect of it, but that's about it15:15
jprs ok, maybe I'll go ask in the bash channel15:15
thanks BTW15:15
I'm just a little frustrated because I found it before and now I can't15:15
quetz joined15:16
punchagan joined15:16
jargon joined15:16
acharlieh joined15:16
[gmi] left15:17
saidelike left15:17
jimmyy left15:18
marklitemarkelite15:20
osse jprs: two tips: 1) for colors, use red=$(tput setaf 1) and then PS1='foo \[$red\] bar'. That makes it slighly less of an eye sore. 2) You can do PS1=foo; PS1+=bar to "build up" your PS1 in chucks. hopefully that'll make it a little more readable.15:20
jenni_naiaretti joined15:20
osse *chunks15:20
jprs ok, thanks. That is a help, especially the chunking thing.15:21
danicampa901 left15:21
_ikke_ just uses zsh + oh-my-zsh with a theme :P15:21
osse oh-my-zsh is far from "just"15:22
:p15:22
jprs hmm, one of the guys I work with uses zsh15:22
PinkSpecs joined15:22
jprs I've never played with it, but I'll check that out too15:22
_ikke_ osse: For the end user, it's very easy to use15:23
osse it will change your life15:23
jprs wow, is that all15:23
Oebele thanks _ikke_15:23
_ikke_ Oebele: yw15:23
kopparam joined15:23
osse _ikke_: that might be the case. but it introduces a lot of bugs15:24
nettoweb joined15:24
rath joined15:24
subhojit777 left15:24
jpf joined15:25
UmbraMalison left15:25
_ikke_ osse: What kind of bugs?15:26
I barely run into bugs with zsh, and I update frequently15:26
devoldmx left15:27
devoldmx joined15:27
kopparam left15:28
justinmburrous left15:28
armyriad left15:29
UmbraMalison joined15:29
smccarthy left15:29
mikecmpbll left15:29
jprs left15:29
armyriad joined15:29
Celm joined15:30
evildmp joined15:30
markelite left15:31
nettoweb left15:31
dreiss left15:32
Oebele I did "git checkout master" and then "git merge my_branch" and now I just have a flat history - does this make sense? I expected to see the merge creating a new commit and 'my_branch' to reconnect to the master branch there15:32
skylite left15:33
darkbasic left15:33
Takumo joined15:33
_ikke_ !ff15:33
gitinfo A fast-forward merge occurs when you merge a commit which is a descendant of !HEAD. No new commit is created, instead the branch is simply moved forward. See http://sandofsky.com/images/fast_forward.pdf15:33
PinkSpecs left15:33
majoh joined15:34
darkbasic joined15:34
Celm left15:35
justinmburrous joined15:35
Gamecubic joined15:37
amjam left15:38
mikecmpbll joined15:38
saidelike joined15:38
amjam joined15:38
JosephFerano joined15:41
marklite joined15:42
amjam left15:43
stamina joined15:43
scarcry left15:43
Oebele _ikke_: ah okay. non-fast forwarding makes more sense to me, because then I can keep the master history more readable by summarizing the work in the branch in the commit message and keeping the details in the branch - but are there any downsides to doing that?15:44
jottr joined15:44
Goplat left15:44
studmuf joined15:45
studmuf left15:45
APerson_ joined15:45
studmuf joined15:46
JosephFerano left15:46
EminenceHC joined15:46
Toaster` joined15:47
dccc_ joined15:48
APerson_ left15:48
tiansial left15:49
Sebtoast left15:50
EminenceHC left15:51
dccc left15:51
madewokherd joined15:52
Segfault_ left15:53
darkbasic left15:53
martinklepsch left15:53
Segfault_ joined15:53
majoh left15:54
bremner`bremner15:54
michaelmcmillan left15:55
papna joined15:55
papna How would I do the equivalent of `git pull --rebase -s recursive -X ours` on 1.6.6?15:55
seanmerron left15:56
Mitchbones left15:58
papna I guess -s ours is close enough15:58
majoh joined15:59
myme joined15:59
scarcry joined16:00
tuxy64 left16:00
AKK9_ left16:00
tuxy64 joined16:00
eliasr joined16:00
tsr joined16:00
eliasr left16:00
eliasr joined16:00
osse papna: definitely not. read the description of -s ours16:01
tuxy64 left16:01
osse _ikke_: certain keys not working, errors in functions, etc. not bugs with zsh itself16:01
mennea left16:01
dreiss joined16:01
mennea joined16:02
shinnya left16:05
joeyDB joined16:05
justinmburrous left16:06
Cheaterman1 joined16:07
tsr left16:07
dreiss left16:07
justinmburrous joined16:07
smccarthy joined16:07
tsr joined16:07
tuxy64 joined16:08
Literphor joined16:09
JohnBat26 joined16:09
skylite joined16:10
jenni_naiaretti left16:11
justinmburrous left16:11
Jackneill it might sound stupid, but can i use git like a http transport service? like the repo would contain files across my whole fs, and the upstream repo would mimick it, (but i dont want to create a repo at /)16:11
sinkensabe joined16:12
mikecmpbll left16:12
sinkensabe left16:13
skylite left16:13
osse Jackneill: the repo itself (ie .git) can be located anywhere. Use the GIT_DIR environment variable or --git-dir16:13
Jackneill osse, thanks16:14
Malsasa left16:15
tsr left16:16
eletuchy left16:16
tsr joined16:16
tsr left16:17
thedodd joined16:17
osse Jackneill: hmm you need to set --work-tree=/ too then16:17
Jackneill i see16:18
jenni_naiaretti joined16:19
Manny left16:19
Manny_ joined16:19
tsr_dev joined16:21
stamina left16:22
axl_ left16:24
Ornacia left16:24
zhangxaochen left16:25
sohail` left16:25
justinmburrous joined16:26
zhangxaochen joined16:26
tuxy64 left16:27
tsr_dev left16:28
joeyDB left16:28
pheaver joined16:29
jenni_naiaretti left16:29
hahuang61 joined16:29
jenni_naiaretti joined16:30
mikecmpbll joined16:30
ncd|leeN left16:31
mennea left16:31
mennea joined16:32
CraigyDavi`` joined16:32
mennea left16:32
Danglo joined16:33
mennea joined16:33
it0a joined16:33
jargon left16:33
Danglo left16:33
kopparam joined16:34
revolve left16:34
CraigyDavi` left16:35
leeN joined16:36
DanMAbraham joined16:36
Sonderblade joined16:37
ehmatthes left16:37
PinkSpecs joined16:38
listochkin joined16:38
kopparam left16:38
rvsjoen left16:38
rvsjoen joined16:38
rvsjoen left16:38
rvsjoen joined16:38
bosCage joined16:39
bosCage left16:39
jontmorehouse joined16:39
nnyk_ joined16:40
thiago_thiago16:40
Ornacia joined16:40
marvinpinto left16:41
marvinpinto joined16:41
Literphor left16:43
SjB joined16:43
revolve joined16:44
IsNoSpoon left16:44
jontmorehouse left16:45
joeyDB joined16:45
DanMAbraham left16:46
xrogaan joined16:46
robustus|Offrobustus16:46
Literphor joined16:49
cannonball joined16:50
EminenceHC joined16:50
iamjarvo joined16:50
pheaver left16:52
papna osse: Oh, thanks16:52
osse: I found that out the hard way already. :)16:52
pcypher joined16:52
papna osse: But I appreciate the response. :)16:53
rshetty joined16:53
EminenceHC left16:55
justinmburrous left16:56
justinmburrous joined16:57
CheckDavid left16:57
Advocation joined16:58
LucasTT joined16:58
thabersack joined16:59
thabersack Hello everyone!16:59
gitinfo thabersack: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.16:59
PinkSpecs left16:59
Literphor left16:59
cannonball left17:00
PinkSpecs joined17:00
JosephFerano joined17:00
thedodd left17:00
pcypher left17:01
Gizburdt joined17:01
ncd|leeN joined17:01
justinmburrous left17:01
jargon joined17:01
mennea left17:01
thabersack Question: I have an open source repo and I need to make my custom self-hosted version of it; will basically mean editing a few index files to have different verbage. I've been trying to think of a flow that would work for this (separate branches, separate repos) but I can't come up with a solution that wouldn't overwrite me edited index files when merging from the updated raw OS repo. How have other people handled this17:01
situation?17:01
JosephFerano left17:02
MutSbeta left17:02
justinmburrous joined17:02
stiffi left17:02
leeN left17:02
studmuf left17:03
mennea_ joined17:03
jgardella joined17:03
hauron_ joined17:03
studmuf joined17:03
mechanicalduck joined17:04
mechanicalduck left17:05
purak left17:05
mechanicalduck joined17:05
robustusrobustus|Off17:05
variable left17:05
mechanicalduck left17:06
King_Hual left17:06
FreezingCold joined17:06
hahuang61 left17:06
mechanicalduck joined17:06
mechanicalduck left17:06
MutSbeta joined17:07
studmuf left17:08
gitinfo set mode: +v17:08
Gizburdt left17:08
Kulrak left17:08
Gizburdt joined17:08
bremner thabersack: maybe !config has some hints17:08
gitinfo thabersack: [!configfiles] It is recommended to store local configuration data in a file which is not tracked by git, but certain deployment scenarios(such as Heroku) may require otherwise. See https://gist.github.com/1423106 for some ideas17:08
Zupoman joined17:09
Zupoman left17:09
Zupoman joined17:09
Peuc2 joined17:09
thabersack bremner: Many thanks I will check that out17:09
Peuc left17:09
Peuc2Peuc17:09
Caius left17:09
jenni_naiaretti left17:09
Caius joined17:10
mikecmpbll left17:11
ojacobson joined17:11
variable joined17:12
thedodd joined17:12
marklitemarkelite17:12
a_le joined17:13
Goplat joined17:14
mennea_ left17:14
jceb joined17:14
King_Hual joined17:16
blaman joined17:17
blaman a17:17
saidelike left17:18
hoijui joined17:18
a_le left17:18
DTSCode left17:18
joeyDB left17:18
saidelike joined17:20
Amandil left17:20
Kulrak joined17:21
home-pc_ left17:22
AKK9_ joined17:22
jpf left17:22
jceb left17:23
blaman hi there, I have a bit of a special situation here...17:25
iamjarvo left17:25
Error404NotFound left17:25
DTSCode joined17:25
mennea joined17:26
Aikar !backup17:26
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:26
Aikar oh, I was expecting something magical17:26
codeman joined17:26
blaman Aikar: I would change the message to say "tar the directory first or waste the next hour copying small files around."17:28
JohnBat26 left17:28
dccc_ left17:29
jceb joined17:31
thedodd left17:31
Literphor joined17:31
joeyDB joined17:32
Advocation left17:32
pcypher joined17:33
justinmburrous left17:34
mindlessdemon left17:34
nanga left17:35
AKK9_ left17:35
blaman so, er, say I want Git to keep track of stuff in the writable branch of a unionfs filesystem on an embedded device, /root.dev/w.17:35
AKK9 joined17:36
Yomi left17:36
jottr left17:36
blaman I could put the git repo there, but unionfs likes to create .wh__dir_opaque files inside directories for its own purposes, and presumably things will break if they are not there.17:37
so I can't really do checkouts and merges and pulls and stuff from /root.dev/w directly.17:37
justinmburrous joined17:38
pcypher left17:38
blaman now, /root.dev/w is where writes to / go, so I could keep track of /, and directories would get created properly on pulls.17:38
but this is an embedded device, and there's 10x times more files in / than in /root.dev/w, so any git operations are extremely slow if I track /.17:39
is there any way to trick/tell git to track /root.dev/w but do things from / ?17:40
it0a left17:41
Literphor left17:41
shigosei left17:42
ciampix left17:42
sdrfnord1 joined17:42
kpreid left17:44
daito joined17:44
pheaver joined17:44
pcypher joined17:44
kpreid joined17:44
nanga joined17:44
pcypher left17:45
NBhosting joined17:45
rshetty left17:45
CraigyDavi``CraigyDavi17:45
Yomi joined17:46
pheaver left17:49
osse blaman: try with git --work-tree=foo --git-dir=bar cmd17:50
jerius joined17:51
jerius left17:51
CheckDavid joined17:52
daito left17:52
mennea left17:54
pcypher joined17:54
EminenceHC joined17:54
mennea joined17:54
stamina joined17:57
stamina left17:57
EminenceHC left17:58
Mixologic left18:00
jottr joined18:03
listochkin left18:06
listochkin joined18:07
pcypher left18:07
bmcorser left18:09
dionisis_ joined18:09
jottr left18:09
Nizumzen left18:10
listochkin left18:11
jdav_gone left18:13
cagedwisdom left18:16
listochkin joined18:17
zquad joined18:18
acharlieh left18:18
a_le joined18:19
acharlieh joined18:19
Manny_ left18:19
Manny joined18:19
Gizburdt left18:20
Orginator_ left18:20
Orginator joined18:20
ojacobson left18:21
a_le left18:23
knownasilya joined18:24
mennea left18:24
mennea joined18:24
DolphinDream joined18:25
pcypher joined18:27
LeMike joined18:27
Juxtapositional joined18:29
joeyDB left18:29
jdav_gone joined18:30
eburcat left18:30
Celelibi Can I give a name to a stash once it have been created?18:30
angelsl left18:30
_ikke_ Celelibi: no18:30
Celelibi ok18:30
evildmp left18:31
Celelibi So I should checkout the commit this stash is based on, pop it and restash it with a name?18:31
intellix left18:31
ribasushi left18:32
cannonball joined18:33
evildmp joined18:33
Advocation joined18:34
heftig Celelibi: try checking out the stash@{num} commit and amending it18:34
shinnya joined18:34
evildmp left18:34
acharlieh left18:34
Celelibi I'll try this later.18:35
heftig You'll need to alter the stash file to contain the new commit ID as well18:35
dsdeiz joined18:35
ribasushi joined18:36
Juxtapositional left18:38
jdav_gone left18:38
joeyDB joined18:39
pcypher left18:39
darkbasic joined18:39
_Atom_ joined18:41
EminenceHC joined18:43
mostlybadflyina_garten18:43
Oebele left18:43
ina_gartenmostlybadfly18:44
zquad left18:45
jottr joined18:47
pcypher joined18:48
m0ltar joined18:48
EminenceHC left18:48
mnavratil joined18:52
beastd joined18:53
_Atom_ left18:54
mennea left18:54
mennea joined18:54
mennea left18:55
mennea joined18:55
StanAccy joined18:55
StanAccy left18:55
StanAccy joined18:55
StanAccy Ive got two separate repos of the same code base. One is forked from a parent repo. The other is a simple source copy. Can I reconfigure the second repo, to start tracking the first (which in turn tracks the parent) ?18:56
shinnya left18:57
studmuf joined18:58
thiago yes18:58
do they share the Git history?18:58
tener joined18:59
jpf joined18:59
gfixler left19:00
StanAccy thiago: Yes, to a point19:00
Advocation left19:00
StanAccy and by "a point" I mean about 2 days worth of changes, so nothing significant19:00
ehmatthes joined19:00
StanAccy we want to be able to pull changes made to Repo A (which tracks the parent) in to Repo B19:00
pcypher left19:00
thiago ok19:01
jxpx777 joined19:01
Transfusion left19:02
jontmorehouse joined19:02
zanchoPansa left19:03
Kabaka left19:03
graphitemaster left19:03
jxpx777_ left19:03
toothrot left19:03
\toothrot joined19:04
dionisis_ left19:04
smccarthy left19:04
zanchoPansa joined19:04
robinsmidsrod left19:04
graphitemaster joined19:04
aidalgol joined19:04
mizu_no_oto joined19:04
robinsmidsrod joined19:04
Brando753 joined19:05
hidekin joined19:05
devoldmx3 joined19:05
Advocation joined19:05
devoldmx left19:07
jiyuu left19:07
Transfusion joined19:07
lowkeyliesmyth joined19:08
kayloos joined19:09
DolphinDream left19:11
pwnz0r joined19:12
eburcat joined19:13
studmuf left19:13
studmuf joined19:14
watabou joined19:15
DolphinDream joined19:15
devoldmx3 left19:16
punchagan1 joined19:18
punchagan left19:18
mechanicalduck joined19:18
hauron_ left19:18
studmuf left19:18
Kabaka joined19:18
Kitt3n left19:20
doener left19:20
hidekin left19:21
UmbraMalison left19:23
ethan1341 left19:23
armyriad left19:24
LLaurent joined19:25
thiago left19:25
UmbraMalison joined19:26
mechanicalduck left19:27
mechanicalduck joined19:27
RaceCondition left19:28
mechanicalduck left19:28
xolubi joined19:29
mechanicalduck joined19:29
teran joined19:29
thiago joined19:29
irqq left19:29
Advocation left19:29
lws joined19:30
jdav_gone joined19:30
irqq joined19:30
cannonball left19:31
mizu_no_oto left19:31
hidekin joined19:32
Goplat left19:32
dreiss joined19:32
Celm joined19:32
lws git seems to be stripping the newline on the last line of my file I'm trying to submit a PR for. Any idea how to prevent that?19:33
xolubi left19:34
osse how can you tell?19:35
pcypher joined19:35
lws it's missing from the diff?19:35
pcypher left19:36
thiago how did you generate the diff?19:36
quetz left19:37
Celm left19:37
osse lws: note that different editors and webpages and so on have different ways of shiwing the last newline19:37
aswen joined19:37
osse if you cat fil.py, is there an empty line before the next prompt?19:38
hidekin left19:38
cherwin joined19:38
mennea left19:38
amjam joined19:38
ruukasu joined19:40
Neozonz joined19:40
kyb3r_ joined19:40
watabou left19:41
amjam left19:43
kerrick joined19:44
Celelibi Where are all my stash in my git log --all?19:44
pcypher joined19:45
osse nowhere. that'' only only show the newest stash19:45
sohail` joined19:46
Cassiel joined19:47
heftig lws: terminating newline is the default case19:49
lws Okay. Hmm, maybe it has one then19:49
github might not be showing it19:49
heftig lws: if the diff adds or removes it or the context touches the file end of such a file, you'd see a line containing "\ No newline at end of file"19:50
lws Ahah19:50
mizu_no_oto joined19:50
heftig Try it and see what happens19:50
nnyk_ left19:51
netameta left19:51
fatalhalt joined19:52
mikecmpbll joined19:52
Cer3bus joined19:53
mennea joined19:54
MutSbeta left19:54
UmbraMalison left19:54
UmbraMalison joined19:56
justinmburrous left19:57
justinmburrous joined19:57
xtrm left19:58
EminenceHC joined19:59
kcj joined19:59
lws You guys are correct20:00
hidekin joined20:00
skylite joined20:01
studmuf joined20:01
justinmburrous left20:02
jiskiras joined20:02
jiskiras left20:03
pcypher left20:03
paul424 joined20:04
mizu_no_oto left20:04
JanC left20:04
justinmburrous joined20:04
ruukasu left20:04
EminenceHC left20:05
jiskiras joined20:06
kiran left20:06
cherwin left20:06
mattstratton joined20:07
cherwin joined20:08
pcypher joined20:08
ruukasu joined20:08
pcypher left20:08
UmbraMalison left20:10
Goplat joined20:10
fatalhalt left20:11
jontmorehouse left20:12
UmbraMalison joined20:13
Mobutils joined20:14
jceb left20:14
oriba joined20:14
jontmorehouse joined20:15
moritzs joined20:16
mechanicalduck left20:16
FreezingCold left20:16
pwnz0r left20:16
tener left20:16
mechanicalduck joined20:16
Manny left20:17
petersr left20:17
justinmburrous left20:17
mechanicalduck left20:17
jiskiras left20:17
mechanicalduck joined20:17
justinmburrous joined20:17
babilen joined20:18
Manny joined20:18
JanC joined20:18
Manny left20:19
jiskiras joined20:19
jiskiras left20:19
Neozonz left20:19
Manny joined20:19
listochkin left20:19
listochkin joined20:20
pcypher joined20:20
lws left20:22
dsdeiz left20:23
hidekin left20:23
mennea left20:23
dsdeiz joined20:24
mennea joined20:24
PinkSpecs left20:24
listochkin left20:24
listochkin joined20:25
ruukasuu joined20:25
qsuscs !botsnack20:25
gitinfo Om nom nom20:25
jontmorehouse left20:25
ojacobson joined20:25
pcypher left20:25
punchagan1 left20:26
ehmatthes left20:26
ruukasu left20:27
PinkSpecs joined20:27
ruukasuu left20:27
Jackneill left20:28
dsdeiz left20:28
ruukasu joined20:28
dsdeiz joined20:29
eburcat left20:29
mulinux joined20:30
WaReZ left20:31
mulinux left20:31
mulinux joined20:31
FreezingCold joined20:31
jon-mac joined20:32
D-Boy left20:32
netameta joined20:32
Celm joined20:32
mechanicalduck left20:32
wereHams1er joined20:33
wereHams1er left20:34
wereHams1er joined20:34
legend1029 left20:34
bipolar left20:34
pcypher joined20:34
legend1029 joined20:34
evil-twin joined20:34
mulinux left20:34
pcypher left20:35
wereHams1erwereSheep20:35
wereSheepwereHam20:35
mattstratton left20:35
dsdeiz left20:36
Celm left20:37
jiskiras joined20:37
jiskiras left20:37
wereHamwereHamster20:39
CEnnis91 left20:39
_Atom_ joined20:40
_Atom_ left20:40
StanAccy left20:40
ruukasuu joined20:41
dreiss left20:42
thibaultcha joined20:42
govg_ joined20:42
kaendfinger joined20:42
govg left20:43
govg_govg20:43
ruukasu left20:43
kaendfinger left20:44
ruukasuu left20:44
ruukasu joined20:44
metts joined20:44
fedeisas joined20:46
kaendfinger joined20:47
thabersack left20:47
lowkeyli_ joined20:49
dsdeiz joined20:49
danemacmillan joined20:49
lowkeyli_ left20:50
bipolar joined20:50
mattstratton joined20:51
skylite_ joined20:51
aswen left20:52
lowkeyliesmyth left20:52
cherwin left20:53
aidalgol left20:53
skylite left20:54
jiskiras joined20:55
D-Boy joined20:56
dsdeiz left20:56
dsdeiz joined20:56
dccc_ joined20:57
dreiss joined20:57
fedeisas Hi guys. I just did a push --force on the company's main repo. Instead of overwriting my branch (doing a rebase), it overwrote a bunch of my coleagues commits on master.20:58
is there any way to undo a git push --force?20:58
I'm getting fired if not20:58
thanks :-(20:58
alanwill joined20:59
cmosguy joined20:59
qsuscs fedeisas: man git reflog on the server21:00
gitinfo fedeisas: the git-reflog manpage is available at http://jk.gs/git-reflog.html21:00
hoijui left21:00
phantombeta left21:00
skylite_ left21:00
wereHamster fedeisas: or find out who pushed last before you and ask them to push --force21:01
ojacobson "I just did a push --force on the company's main repo. " You're that guy21:01
you're actually that guy21:01
anyways, server-side reflog is the best way to fix it21:01
phantombeta joined21:02
qsuscs tbh if you push --force on you company’s repo, maybe you deserve to be fired21:02
ojacobson failing that, if you have a local reflog for refs/remotes/origin/master ('git reflog <ref>' will tell you) you can use that, too21:02
qsuscs or the admin for not implementing access controll21:02
cmosguy hey all, so i just want to make sure about something, i have a bunch of files checked out and and am editing adding new ones. can i do a branch create while they are all edit so that I can just check into the new branch?21:02
fedeisas ojacobson yeah, I'm not proud. I was on my branch. I thought git push only made changes on MY branch, right?21:02
ojacobson no21:02
not by default, until git 2.x21:02
(upgrade, or set push.default to simple if you're in 1.8.x)21:02
by default, unqualified 'git push' in 1.x does something kind of complicated21:03
1. it identifies the remote upstream of the checked-out branch (so if your branch tracks origin/master, then the remote is "origin")21:03
2. it matches up local branches with branches on that remote _by name_21:03
3. it pushes the local branch of any match.21:03
to the matching remote branch.21:03
namewise matching is dumb, and pushing lots of branches by default is dumb, so in 2.x the default behaviour ('simple') is much easier to grok21:04
rath left21:04
wereHamster how's my favourite channel on freenode doing? Anybody around who can still remember me?21:04
ojacobson 'git push' with no args will push the checked out branch to its upstream remote if and only if the upstream branch name is the same as the local branch name21:04
milki wereHamster: i remember you21:05
wereHamster: does does !stats21:05
gitinfo wereHamster: [!irclog] Public logs of #git are kept at: http://colabti.org/irclogger/irclogger_log/git or look at stats for the last 30 days: http://itvends.com/irc/git.html or since Jan 1, 2012: http://itvends.com/irc/git-all.html21:05
pcypher joined21:05
pcypher left21:06
devoldmx joined21:06
jpf left21:06
fedeisas ojacobson so I can set git push.default to current branch only to prevent this from happening again?21:06
ruukasu left21:06
souther left21:06
qsuscs fedeisas: do not push --force.21:07
irqq left21:07
jpf joined21:07
qsuscs fedeisas: and maybe propose the admin to implement some sort of access control, e.g. !gitolite21:07
gitinfo fedeisas: Gitolite is a tool to host git repos on a server. It features fine-grained access control, custom hooks, and can be installed without root. Download: https://github.com/sitaramc/gitolite Docs: http://gitolite.com/gitolite/21:07
fedeisas qsucs and how do you push a rebase if not with force?21:07
ojacobson fedeisas: I would recommend setting push.default to 'simple'21:07
not 'current' (still uses the name-matching behaviour) or 'upstream' (not sufficiently paranoid)21:07
and spell most pushes out in full21:07
pantsman- left21:07
ojacobson (I have aliases for the common cases: 'git publish' for me is 'git push --force owen HEAD21:08
fedeisas git config --get push.default: tracking21:08
ojacobson and I always have a remote 'owen' for publishing to that's not the "main" repo. Forks are good.)21:08
kaendfinger left21:08
ruukasu joined21:09
listochkin left21:09
jiskiras left21:10
listochkin joined21:10
jpf left21:11
mikecmpbll left21:11
listochk_ joined21:12
listochkin left21:12
fedeisas ojacobson I just configured push.default to current21:13
Wiz_KeeD left21:14
ncd|leeN left21:14
souther joined21:15
Goplat left21:15
ruukasu left21:16
jontmorehouse joined21:18
Gizburdt joined21:21
justinmburrous left21:22
knownasilya left21:23
mennea left21:23
DTSCode left21:24
mennea joined21:24
babilen left21:25
Gamecubic left21:25
Gizburdt left21:25
babilen joined21:25
madewokherd left21:25
Gamecubic joined21:25
nkouevda joined21:25
shampine joined21:27
mennea left21:27
listochk_ left21:27
aswen joined21:27
xender joined21:27
mikecmpbll joined21:33
Celm joined21:33
zumba_addict left21:33
zumba_addict joined21:34
johtso left21:35
Cer3bus left21:37
stiffi joined21:37
Kabaka left21:37
ruukasu joined21:38
Celm left21:38
listochkin joined21:38
dsdeiz left21:38
dsdeiz joined21:38
hahuang61 joined21:39
King_Hual left21:39
Kabaka joined21:40
ruukasu left21:41
alanwill left21:41
zumba_addict left21:42
boombatower joined21:43
boombatower left21:43
boombatower joined21:43
zumba_addict joined21:43
prince250000 joined21:43
otter768 joined21:44
metts left21:44
legend1029 left21:45
ruukasu joined21:46
Peuc2 joined21:48
Peuc left21:49
Peuc2Peuc21:49
otter768 left21:49
thibaultcha left21:49
jagob left21:49
pcypher joined21:50
bdavenport left21:50
paul424 left21:51
prince250000 left21:52
mattstratton left21:55
bdavenport joined21:56
Kicer86 left21:58
tmcmahon joined21:58
PinkSpecs left21:59
fatalhalt joined22:00
m8 left22:00
fedeisas left22:00
pandeiro joined22:00
fedeisas joined22:01
Mixologic joined22:02
Zifre_ left22:02
tmcmahon left22:03
fedeisas left22:05
otter768 joined22:06
Nizumzen joined22:06
Mitchbones joined22:06
Amandil joined22:06
pcypher left22:07
pandeiro left22:07
nnyk_ joined22:07
_welff joined22:07
fatalhalt left22:08
EminenceHC joined22:09
aswen left22:10
_welff left22:13
EminenceHC left22:14
Amandil left22:15
Literphor joined22:16
mhi^ left22:16
bdavenport left22:17
Mr_Psmith joined22:17
otter768 left22:17
dsdeiz left22:17
dsdeiz joined22:17
mindlessdemon joined22:18
kriks left22:18
Manny left22:19
Manny joined22:19
mindlessdemon left22:19
_Vi left22:19
Literphor left22:20
Segfault_ left22:22
mellernoia joined22:24
martinklepsch joined22:24
martinklepsch left22:25
zivester left22:25
bdavenport joined22:25
wbdecker joined22:25
zivester joined22:26
thibaultcha joined22:26
mennea joined22:26
mennea left22:27
danemacmillan left22:28
MattMaker left22:30
mindlessdemon joined22:32
Mr_Psmith I was able to back up a branch to a previous commit on my local machine, but is there a way to back it up on the origin? No one else has pulled it yet, so it would be safe22:35
madewokherd joined22:35
mizu_no_oto joined22:37
zumba_addict left22:37
ockham left22:37
zumba_addict joined22:37
JosephFerano joined22:37
boombatower left22:38
bdavenport left22:39
CosmicLogick joined22:40
osse Mr_Psmith: push it22:42
Mr_Psmith osse: Naive question, how can I force the remote to accept it, since it’s not a fast forward and the remote ‘dev’ branch is ahead22:43
Manny left22:43
osse Mr_Psmith: search in the man page for 'force'22:44
fedeisas joined22:44
Mr_Psmith I see -f in the git-push manpage, but didn’t want to F* up origin22:44
Thanks22:44
osse Mr_Psmith: you can push it under a different name, then22:44
Mr_Psmith: git push origin branch:newname22:45
Mr_Psmith Thank you - Wish I had learned git sooner22:45
AKK9 left22:46
FunkyAss left22:46
mikecmpbll left22:46
jargon left22:46
JosephFerano left22:47
JosephFerano joined22:47
bdavenport joined22:47
JosephFerano left22:47
sysvalve joined22:47
fedeisas left22:48
jargon joined22:48
Barcollo joined22:49
ciampix joined22:49
Barcollo left22:49
knownasilya joined22:50
jab416171 joined22:54
kaendfinger joined22:54
TheFuzzball left22:54
TheFuzzball joined22:55
LeMike left22:56
Tobbi left22:56
oldWelff joined22:57
MutSbeta joined23:00
ciampix left23:03
moritzs left23:03
moritzs joined23:04
_Atom_ joined23:05
devoldmx left23:05
devoldmx3 joined23:05
madewokherd left23:08
ojacobson left23:08
nnyk_ left23:12
aidalgol joined23:12
dsdeiz left23:13
Mirubiri joined23:14
cagedwisdom joined23:14
dreiss left23:15
m0ltar left23:16
a_le joined23:16
home-pc_ joined23:16
listochkin left23:16
ojacobson joined23:16
listochkin joined23:16
dsdeiz joined23:19
evildmp joined23:20
listochkin left23:20
mennea joined23:21
mennea left23:21
_Atom_ left23:21
a_le left23:22
bdavenport left23:22
mennea joined23:23
mennea left23:23
evildmp left23:25
Zupoman left23:25
hays left23:27
oldWelff left23:27
bdavenport joined23:27
fedeisas joined23:28
mizu_no_oto left23:28
otter768 joined23:28
BlaXpirit left23:29
hays joined23:29
nnyk_ joined23:30
joeyDB what happens if you add git-tracked directories to dropbox or google drive?23:31
cyphase_cyphase23:32
joeyDB a quick google search told me. nevermind23:33
dreiss joined23:33
hexagoxel_ joined23:33
ColdKeyboard left23:34
m0ltar joined23:34
hexagoxel left23:37
nnyk_ left23:37
joeyDB_ left23:38
home-pc_ left23:39
NoNMaDDeN left23:41
dreiss left23:41
PsionTheory joined23:41
dreiss joined23:41
mindlessdemon left23:42
bdavenport left23:44
jgardella left23:46
kaendfinger left23:47
punchagan joined23:56
jontmorehouse left23:56
APerson_ joined23:56
jargon left23:56
PsionTheory left23:57
punchagan left23:58
Mr_Psmith left23:58

Logs Search ←Prev date Next date→ Channels Documentation