IRCloggy #git 2014-11-27

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-11-27

offby1 Life. https://www.youtube.com/watch?v=W8GRQHsAVjI00:00
delboy1978uk how do i try that then?00:00
teran left00:01
teran joined00:01
Eugene kicked Eugene (Eugene)00:02
Eugene joined00:02
RTG` left00:02
pheaver left00:03
howitdo joined00:03
Technocrat7 left00:03
martinklepsch left00:03
przemoc left00:05
HelloShitty left00:07
msmith_ left00:07
rnsanchez left00:08
steele joined00:08
aard_ left00:09
rnsanchez joined00:09
heroux left00:09
jtrag left00:10
Nechradile left00:11
mattcen looks quizzically...00:11
mattcen "Eugene was kicked from #git by Eugene"... who would do that?00:11
St_Marx_ joined00:11
a_le left00:11
King_Hual left00:11
steele left00:12
rnsanchez_ joined00:13
xtriz left00:13
St_Marx left00:13
Eugene Eugene.00:14
I'm totally not gaming the !stats00:14
gitinfo [!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.html00:14
mattcen Ah. of course....00:14
rnsanchez left00:15
sarri left00:15
jamesheston left00:15
SheCalledMePaul joined00:16
SheCalledMePaul whats the most stable git client for mac?00:16
sarri joined00:17
_rnsanchez_ joined00:17
hgl left00:17
przemoc joined00:18
amikiri joined00:18
listochkin left00:18
knownasilya left00:19
rnsanchez_ left00:19
thekkid left00:20
listochkin joined00:20
msmith_ joined00:20
SheCalledMePaul left00:20
thekkid joined00:21
whomp left00:22
_rnsanchez_ left00:22
das_beard joined00:22
Takle left00:23
a_le joined00:24
pandeiro left00:24
maestrojed left00:26
Smirnov left00:26
das_beard left00:26
heroux joined00:27
jrn git is, I suppose.00:27
peachriot joined00:28
SheCalledMePaul joined00:28
SheCalledMePaul left00:29
freenux left00:30
tang^ left00:30
SheCalledMePaul joined00:30
SheCalledMePaul cant open anything in my github repository it doesnt open00:30
[19:29:22] <SheCalledMePaul> using github on mac00:30
dialeth left00:31
dialeth joined00:31
msmith_ left00:31
jrn SheCalledMePaul: are you using the commandline or a gui?00:32
SheCalledMePaul: my recommendation is to use git from the commandline in Terminal.app00:33
hgl joined00:33
SheCalledMePaul my school requires to use the gui00:33
offby1 pity00:33
jrn SheCalledMePaul: ah, ok. Then I'd get help from other people in your class00:33
e.g. TA00:33
offby1 if you used the command line it'd be easy to get help00:33
WaReZ left00:34
jrn there are several GUIs out there and some of them are even okay, but there's no clear winner00:34
and some of the better ones are not open source00:34
corni left00:34
jrn which means there's no obvious path to one of them becoming the clear winner either :/00:34
fairuz joined00:35
reaverb joined00:36
shingetsu so with some progress, my make line is now " make BLK_SHA1=y NO_SYMLINK_HEAD=y NEED_CRYPTO_WITH_SSL=yes NEED_SSL_WITH_CRYP00:36
O=yes NEEDS_SSL_WITH_CURL=yes NO_R_TO_GCC_LINKER=yes OPENSSLDIR=/usr/local/ssl00:36
CURLDIR=/usr/local prefix=/usr/local all -j6", but I'm getting undefined references in libssl towards crypto00:36
however, I DO have NEED_CRYPTO_WITH_SSL defined, so not sure what's wrong there00:36
listochkin left00:38
joelm left00:40
safinaskar joined00:40
sgen_ joined00:41
javster_ joined00:41
leeN left00:42
joelm joined00:42
javster left00:43
Technocrat7 joined00:44
beneggett left00:48
listochkin joined00:48
s8321414 left00:49
steele joined00:49
d10n-work left00:52
phy1729 Eugene: I THINK I SHOULD GAME THE STATS TOO00:52
offby1 SHOUTING WILL GET YOU NOWHERE00:53
phy1729 O RLY? I THINK IT WILL GET ME ON THE STATS00:54
ChanServ set mode: +o00:54
Eugene kicked phy1729 (Stats++)00:54
phy1729 joined00:54
Eugene kicked Eugene (Op abuse)00:54
Eugene joined00:54
offby1 apparently there's a who-kicks-the-most competition amongst the channel bosses00:54
phy1729 LOL00:55
Eugene God no, this is "how often was I kicked"00:55
Kicking others is incidental00:55
phy1729 Eugene wasn't very popular, getting kicked 17 times!00:55
owen1 i did 'git clone --mirror foo' how to checkout different branch (i am in master)?00:55
phy1729 git checkout <branch name>00:56
madewokherd joined00:56
owen1 phy1729: a00:56
fatal: This operation must be run in a work tree00:56
kadoban left00:56
owen1 http://stackoverflow.com/questions/9262801/fatal-this-operation-must-be-run-in-a-work-tree00:57
harish_ left00:58
SheCalledMePaul left00:58
dsantiago joined00:58
Milo- joined01:00
fstd_ joined01:00
owen1 i tried cloning it using git clone <path to folder> but 'git branch' only show me master.01:01
adamw git branch -r shows you remote branches.01:01
Milo- Hey.. Umm, if I do 'git checkout -b NAKKI', when should git add 'ref/heads/NAKKI' to .git/info/refs? Or should it?01:02
owen1 adamw: thanks!01:03
Sasazuka I went into a feature branch and merged master into it, committed, but not pushed - how do I reset my feature back to its original state before my merge?01:03
dimm left01:03
Sasazuka it's saying the branch has diverged :<01:04
fstd left01:04
fstd_fstd01:04
adamw Sasazuka: i'd find the commit ID right before the merge and 'git reset --hard (commit)'.01:04
no warranties offered.01:04
Sasazuka the commit id of origin/feature/XXX ?01:05
adamw whatever commit comes right before the merge of master, on the feature branch.01:06
checkit left01:06
Sasazuka http://stackoverflow.com/questions/2358643/git-discard-all-changes-on-a-diverged-local-branch or maybe this?01:06
lando23 joined01:06
Milo- or more precisely, on a filesystem level, where does git hold local branch names, if not .git/info/refs?01:06
offby1 Milo-: I would expect it to store the refs there -- except for those in "packed-refs"01:06
we're not supposed to worry our pretty little heads about those sorts of details01:07
Milo- offby1 if I want bash-completion to work on those, I need to worry about those heads :)01:07
adamw Sasazuka: well, that's something a bit different, i'm not gonna offer any more advice as i'm not sure i entirely understand your situation, but good luck :P01:07
offby1 Milo-: does bash completion actually grovel around in .git/refs, as opposed to asking git to list them?01:08
the latter seems far more reliable01:08
lando23 hello. I have a fork of a repo that I committed a bug fix, but the upstream repo fixed the bug and added some other things. I would like to revert my (pushed) commit and re-sync with the upstream repo. Is this possible?01:08
kadoban joined01:09
weiyang joined01:09
Milo- offby1 can't get git to tell me nicely about remote branches (origin/branch_name to show up as branch_name).. __git_refs works for some, but not for all..01:10
M-ou-se left01:10
msmith_ joined01:10
mribeirodantas joined01:11
shingetsu oh kewl, hi Milo-01:11
lando23 is it possible to "unpush" a commit?01:11
Milo- and now I decided to try doing this through filesystem (allows me not to changedir each time I switch between repo)01:11
ManikM left01:11
phy1729 lando23: yes but it's a bad idea01:11
Manny joined01:11
phy1729 !rewriting public history01:12
lando23 phy1729: I have a fork of a repo that I committed a bug fix, but the upstream repo fixed the bug and added some other things. I would like to revert my (pushed) commit and re-sync with the upstream repo01:12
gitinfo [!rewrite] Rewriting public history is not recommended. Everyone who has pulled the old history have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push -f <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum01:12
Milo- I'm handling a command that goes through multiple repositories that share common branch names..01:12
hey shingetsu o/01:12
lando23 FWIW no-one is looking at my fork01:12
bitonic joined01:12
shingetsu Milo-: can you help me with compile stuff? (once your issue's done)01:12
phy1729 lando23: if you are absolutly sure *noone* is using your fork, you can force push01:12
bitonic is there a way to `git merge -s ours' but keeping new files added by the other branch?01:12
a_le left01:12
lando23 phy1729: I am absolutely sure01:12
Milo- shingetsu maybe :)01:13
shingetsu Milo-: just PM me when ready <301:13
fairuz left01:13
Milo- I'm thinking about leaving these local branches as a "known feature" :P01:13
a_le joined01:13
Milo- offby1 but as for packed-refs.. grep can't find any matches for the word NAKKI in .git/01:14
arnaud___ left01:14
Milo- but git branch obviously knows about it.. so the data must be stored somewhere01:15
scriptThis joined01:15
MattMaker left01:16
Milo- also... for repo in $repos ; do cd $repo ; git branch -a | style_it_nicely | cd - ... ; done # doesn't seem sensible to me :)01:16
EminenceHC left01:17
M-ou-se joined01:17
robustus left01:18
hatzopoulos joined01:18
johnkevinmbasco joined01:18
Sasazuka sorry went afk -- basically what it's telling me is that I'm 12 ahead and 3 behind - so I think in the middle of merging master into the feature branch, someone else committed - I just want to get rid of my changes so I can do the merge from master again01:18
hatzopoulos sup everyone.01:18
offby1 dine everyone01:18
jamesheston joined01:20
robustus joined01:20
msmith_ left01:20
hatzopoulos you could reset soft if you want or hard.01:20
Sasazuka: how important are your changes01:20
?01:20
example: git reset --soft HEAD~301:21
Sasazuka not important since I plan on just re-doing them01:21
hatzopoulos i think sould do it01:21
it will put all the stuff on the 'stage'01:22
then you can reset01:22
if you like01:22
or w/e01:22
commit again.01:22
stash, rebase/merge , etc01:22
Sasazuka ok let me try it out01:22
Technocrat7 left01:22
joelm left01:23
hatzopoulos i told you to go back 301:23
but i think you want to go back 12 commits01:23
so you might have to repeat until your at01:24
..01:24
another way01:24
is to use `git reflog`01:24
find your spot you want to go back to01:24
and git reset --hard HEAD{n}01:24
safinaskar left01:24
hatzopoulos where n is your reflog moment01:24
number01:24
Sasazuka this git graph are too scary for me01:25
hatzopoulos git graph?01:25
Sasazuka the transit map thing01:25
with the dots01:25
hatzopoulos where do u see this?01:25
alanwill left01:25
livingstn left01:26
Takle joined01:26
tjm_jimmy left01:26
s00pcan left01:26
hatzopoulos sorry i have no idea what you speak of.01:27
k_sze[work] joined01:27
steele left01:28
gfixler left01:28
steele joined01:29
Sasazuka er let me find a picture01:31
Takle left01:31
bitonic left01:31
Sasazuka https://www.atlassian.com/wac/software/sourcetree/overview/overviewHero/imageBinary/ProductOverview_SourceTree_Hero.png01:31
hatzopoulos ahh01:32
those are very helpful if you ask me01:32
offby1 nods01:32
hatzopoulos especially if your new to git01:32
offby1 but then I always liked subway maps01:32
hatzopoulos yeah me too, i live in montreal01:32
offby1 Sasazuka: I'm not sure about that particular program, but with gitk, at least, the map is pretty simple01:33
dots are commits, of course01:33
eletuchy joined01:33
offby1 the lines show the parent-child relationship01:33
steele left01:33
offby1 that's pretty much all you need to know01:33
hatzopoulos sourcetree is very nice, i use it all day long01:33
Sasazuka and it doesn't look like a transit map to you?01:33
offby1 I'm deeply suspicious of anything from Atlassian, although I will confess that HipChat works well01:33
Sasazuka You need the premium features so you can retain your history01:34
hatzopoulos it works well, they update it, its 100% free so far.01:34
Sasazuka otherwise I would suspect IRC with bots would be better01:34
and free01:34
hatzopoulos it can do all operations well with customizations.01:34
but i like that i can just jump to terminal01:34
and do it by hand01:34
and it picks up on what i did quickly01:34
Sasazuka I'm trying to transition more into terminal01:34
hatzopoulos (auto refreshes)01:34
a_le left01:35
hatzopoulos good for you.01:35
its not hard01:35
sohail joined01:35
hatzopoulos ease in with a cooler prompt and some nice aliases.01:36
something like https://github.com/mathiasbynens/dotfiles01:36
offby1 Sasazuka: terminal is good for a few reasons, in particular: it's easier to get help here if you use it01:37
Sasazuka oh I'm still using SourceTree, some things are easier to see there but for actual changes I try to stick to the terminal01:37
gfixler joined01:37
offby1 people like me will demand to see a transcript, and with the terminal, you've got it right there01:37
Sasazuka I miss the ease of SVN sometimes01:37
hatzopoulos are you on windows Sasazuka?01:38
Sasazuka but I don't think I'll get sympathy in this channel hahah01:38
mac01:38
hatzopoulos what ease did you like with subversion?01:39
i'm curious01:39
drupald joined01:39
hatzopoulos i use subversion everyday as well.01:39
Sasazuka I guess my previous workplace had a real simple workflow albeit very perverse01:39
hatzopoulos (as git)01:39
dadada left01:40
hatzopoulos your leading me into thinking your current company's workflow with git is not to your liking.01:41
a_le joined01:41
hatzopoulos you can recreate workflows.01:41
and improve them01:41
kadoban left01:42
hatzopoulos !git-workflows01:42
!workflows01:42
gitinfo [!workflow] Finding the right workflow for you is critical for the success of any SCM project. Git is very flexible with respect to workflow. See http://sethrobertson.github.com/GitBestPractices/#workflow for a list of references about choosing branching and distributed workflows.01:42
hatzopoulos [thats the one]01:42
mercurial seems also nice from what i read, although i have never used it for a real project.01:43
nice in that it sets some stricter standards that someone from subversion might appreciate01:44
but it is very much like git01:44
otter768 joined01:45
dtrott joined01:45
hatzopoulos for example it won't let you rebase something it is 'aware' exists in the remote(s)01:45
where as in git we can do what ever we want01:45
Sasazuka I think I just don't understand all the various terminology well enough01:46
hatzopoulos it is what you want it to be.01:46
Sasazuka again my previous workplace's perverse SVN workflow has spoiled me I suppose01:46
hatzopoulos perverse doesnt sound appealing to me.01:46
kukks left01:46
jb55 left01:46
Sasazuka we didn't tag, we didn't branch, everything committed to trunk, for deploy we just too everything from master and had the developer who made the change resolve any conflicts01:47
hatzopoulos to me that sounds horribly annoying01:47
Sasazuka *took01:47
hatzopoulos whats the "took" process look like ?01:47
fatalhalt joined01:47
Sasazuka so it's incredibly easy and straightforward but perverse01:47
hatzopoulos versuses what do you have now?01:47
Sasazuka now we have legitimate git "workflow"01:48
I'm not qualified to judge it01:48
hatzopoulos using what "workflow"01:48
Sasazuka let me rephrase, I'm not qualified to explain it01:48
hatzopoulos this one? http://nvie.com/posts/a-successful-git-branching-model/01:48
which onr?01:48
Sasazuka yes I think01:49
dtrott Sasazuka: Just checking you are qualified to judge it, but not qualified to explain it ;-)01:49
otter768 left01:49
Sasazuka if I can't explain it, I don't think I should judge it01:49
hatzopoulos ok i see, sasazuka01:49
your kinda having a bit of source control shell shock01:50
dtrott Sasazuka: My point is the fact that dev’s can’t explain it is judgement enough .....01:50
Sasazuka I suppose, it's my first real exposure to source control01:51
hatzopoulos Sasazuka,, is this going into a public place like for example a private github repo?01:51
EminenceHC joined01:51
marshall joined01:52
hatzopoulos i'll tell you this. don't stress out01:52
marshall hey git. is there a command to download the source of a specific commit from a remote repo without cloning the whole thing?01:52
Sasazuka I think it's hosted internally ?01:52
hatzopoulos or better yet. "don't panic"01:53
Sasazuka oh I'm not stressed...I just don't want to break things :D01:53
hatzopoulos make a !backup01:53
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/#backups01:53
phy1729 marshall: no but you can do a shallow clone iirc01:53
hatzopoulos and then never push anything while your trying stuff out01:53
marshall phy1729: shallow clone01:53
Nijikokun left01:54
marshall phy1729: can i do a shallow clone from a specific commit?01:55
with --depth 1?01:55
harish_ joined01:55
phy1729 don't think so01:55
marshall ok01:55
wxg4irc joined01:55
shinnya left01:56
phy1729 could always see if there's something in man git-clone that I don't know about01:56
gitinfo the git-clone manpage is available at http://jk.gs/git-clone.html01:56
Marcus___ left01:56
lando23 left01:56
hatzopoulos using rsync, sync a backup to a location: $ rsync -vah --delete ~/your_repo ~/my_repo_backups_location/01:56
kukks joined01:56
kukks left01:56
kukks joined01:56
EminenceHC left01:56
hatzopoulos the --delete will make sure the destination files that dont exist from source are removed.01:57
so you can run it sequaentially01:57
like in a cron01:57
Sasazuka: i am super excited our company is moving to git soon. (from svn) .01:59
good ridance.01:59
Sasazuka oh I'm at a new company and they are using git hence my issue01:59
hatzopoulos the transition has been so fucking long02:00
Sasazuka previous company used SVN02:00
hatzopoulos its great too. dont get me wrong.02:00
but not for what i need it for.02:01
if nothing else, git outputs colors!02:02
sohail left02:02
hatzopoulos on the prompt02:02
in the shell w/e02:02
Foldager left02:03
BiggFREE joined02:06
sgen_ left02:07
J1G|Anon126 joined02:08
dtrott left02:09
russt left02:09
Sasazuka left02:12
palcu joined02:12
Vampire0 joined02:13
thiago marshall: you can only shallow-clone a specific commit if that commit is the tipo of a branch or it is tagged02:13
marshall: is it either of those?02:13
lando23 joined02:14
marshall probs not02:14
i'm just using `git submodule`02:14
nnyk left02:14
marshall i wanted to get a specific commit for a dockerfile command, but i'm just going to add it as a submodule then do `ADD`02:15
andrew__ joined02:16
Vampire0_ left02:16
palcu left02:17
gccostabr joined02:18
mribeirodantas left02:18
mark-mark02:18
tyreld left02:18
markGuest7490502:19
watabou left02:20
kballou left02:20
Gues480631 joined02:21
tekkbuzz left02:22
dtrott joined02:22
nnyk joined02:23
tekkbuzz joined02:23
bb010g joined02:23
fatalhalt does git track file permssions when you commit and push to a repo? e.g if you chmod file to be 664 will it checkout as 644 or 664?02:26
Goplat joined02:26
t0th_-_ left02:27
moparisthebest left02:27
steele joined02:29
TDJACR left02:30
ryez joined02:30
hatzopoulos fatalhalt: nope02:31
LucasTT left02:31
DolpheenDream joined02:32
hatzopoulos for some workarounds: http://stackoverflow.com/questions/3207728/retaining-file-permissions-with-git02:33
shingetsu hi all (again), I'm having trouble compiling git on cygwin, with http(s) support02:33
my current status:02:33
openssl (including crypto) is compiled and installed in /usr/local/ssl02:33
curl is compiled and installed in /usr/local02:33
moparisthebest joined02:33
shingetsu this is the GCC invocation: http://pastebin.com/kpaYymN302:33
it gives me a ton of undefined references in libssl.a (like undefined reference to SHA512_Transform)02:33
my make line is: http://pastebin.com/LGt2gc4d02:33
steele left02:34
fatalhalt hatzopoulos: you sure, i think it does, i committed and pushed a fil... nevermind, git does track the x/executable bit, which what i'm seeing, makes sense now02:34
hatzopoulos only the neccessary for usage02:35
aka exec02:35
dmnd joined02:35
Xiti left02:35
rchavik joined02:35
hatzopoulos fatalhalt: well what does your $ git config core.filemode02:36
say02:36
fatalhalt hatzopoulos: filemode = true02:36
daito joined02:37
dmnd when I do `git status`, it says I am 3 commits ahead and a lot behind. Then I do `git pull --rebase` and expect still be 3 ahead, but no longer any behind. But when I do `git pull --rebase`, I end up exactly where my remote branch is - none ahead, none behind. I looked at a file I had edited before the rebase and it wasn't up to date. I must be doing02:37
something wrong, but I can't think what it is.02:37
does that sequence of events make sense to anyone?02:37
peachriot_ joined02:38
dmnd what would cause my "outgoing" commits to vanish after a rebase?02:38
peachriot left02:38
hatzopoulos fatalhalt: http://stackoverflow.com/questions/10516201/updating-file-permissions-only-in-git02:38
TDJACR joined02:38
NoNMaDDeN joined02:39
hatzopoulos i'm not expert but that says your ok.02:39
did you add/commit?02:39
perhaps you need to change the files some how02:39
fatalhalt hatzopoulos: thanks, i'm good, learned something new02:39
hatzopoulos $ touch <file>02:39
Xiti joined02:41
johtso_ left02:41
hatzopoulos has anyone used github to create one repo with a shit load of orphan branches?02:41
nkouevda joined02:41
at0mat left02:42
hatzopoulos for the purpose of a simple showcase... what will happen i wonder.02:42
macrover-3 joined02:42
fab87 joined02:42
hatzopoulos i forked a private repo02:42
and the budget is tight02:43
the private repo is a sandbox repo02:43
so then i made several orhan branches02:44
and i plan to push them to my fork later on, in maybe a month.02:44
is it all 'kosher' ?02:44
i never done that shit.02:44
it should work fine.02:45
moritzs left02:45
hatzopoulos me thinks02:45
BiggFREE left02:45
hatzopoulos just why would github alow such a loop hole?02:45
ferr left02:45
GT4066 joined02:45
hatzopoulos they dont care eh02:46
..02:46
meh02:46
moritzs joined02:48
ryez shingetsu: not sure if it helps, these are all the deps needed to build git on centos: curl-devel openssl-devel expat-devel gettext-devel zlib-devel asciidoc docbook2x perl-ExtUtils-MakeMaker xmlto02:49
kini left02:49
govg joined02:51
geomyidae_ left02:52
parski left02:52
lando23 left02:53
Gamecubic left02:54
MACscr left02:54
dreiss left02:55
Eugene hatzopoulos - do what now?02:55
EminenceHC joined02:56
Gamecubic joined02:56
fab87 left02:56
kini joined02:56
echo-area joined02:57
Bryzzle joined02:57
akiva left02:59
steele joined02:59
SwedFTP left03:00
EminenceHC left03:00
robbyoconnor joined03:02
reaverb1 joined03:03
Gitzilla joined03:04
reaverb left03:04
reaverb1reaverb03:04
darkbasic left03:04
darkbasic joined03:05
towski_ left03:06
diegoaguilar joined03:07
a_le left03:08
bhuvanaurora joined03:08
SwedFTP joined03:09
macrover-3 left03:09
bhuvanaurora left03:10
Manny left03:11
reaverb left03:11
ManikM joined03:11
moritzs left03:12
bhuvanaurora joined03:13
boombatower left03:13
delight left03:14
peachriot_ left03:15
Takle joined03:15
oojacoboo left03:16
dreiss joined03:16
ManikM left03:17
Noldorin left03:18
alanwill joined03:19
dsdeiz left03:20
Takle left03:20
hgl left03:22
kanzure joined03:27
dreiss left03:27
bhws joined03:28
wxg4irc left03:28
sohail joined03:32
hgl joined03:32
hglGuest9556603:32
listochkin left03:33
adamben left03:34
delboy1978uk left03:35
SwedFTP left03:37
a_le joined03:38
bhuvanaurora left03:39
fairuz joined03:40
a_le left03:45
otter768 joined03:45
diegoviola git compresses all the content right?03:46
also when cloning...03:46
CheckDavid left03:47
SwedFTP joined03:48
otter768 left03:50
owen1 left03:50
jaydubya left03:51
jaydubya joined03:52
tummy left03:52
maestrojed joined03:55
bhws left03:55
Xiti left03:55
SwedFTP left03:55
kcj joined03:55
akiva joined03:56
smccarthy joined03:56
jaydubya left03:56
bhuvanaurora joined03:57
Guest95566 left03:57
SwedFTP joined03:57
RTG` joined03:57
wookienz left03:58
amikiri left03:59
wookienz joined03:59
hatzopoulos left04:00
EminenceHC joined04:00
plato1 joined04:01
Rampages_afk joined04:03
vlovgr_ joined04:03
vlovgr_ left04:03
vlovgr_ joined04:03
Milkweed left04:03
plato left04:04
kaiza_ joined04:04
Virox_ joined04:05
Xiti joined04:05
harv_ joined04:05
offby1` joined04:05
EminenceHC left04:05
Tuna-Fish left04:06
_W joined04:06
Dreadnaught joined04:06
Dreadnaught left04:06
Dreadnaught joined04:06
Grum_ joined04:06
SwedFTP left04:06
Peuc2 joined04:06
mz|` joined04:07
_W_ left04:07
_W_W_04:07
thesquib_ joined04:08
Mercury_ joined04:08
drupald_ joined04:08
FabTG__ joined04:08
Zarthuss joined04:08
govg left04:08
Drool joined04:08
brainproxy_ joined04:09
offby1 left04:09
vladgh_ joined04:09
offby1`offby104:09
vlovgr left04:09
Rampages left04:09
kaiza left04:09
vlovgr_vlovgr04:09
Virox left04:09
harv left04:09
mz` left04:09
Peuc left04:09
Zarthus left04:09
Sp4rKy left04:09
thesquib left04:09
brainproxy left04:09
Grum left04:09
FabTG left04:09
Cork left04:09
SJS left04:09
drupald left04:09
albel727 left04:09
toydestroyer left04:09
brutal_lobster left04:09
Mercury left04:09
akushner left04:09
ciaranm left04:09
phy1729 left04:09
wbdecker left04:09
ap0c left04:09
vladgh left04:09
ben_alman left04:09
CentaurWarchief left04:09
ping-pong left04:09
Mogget left04:09
harv_harv04:09
Grum_Grum04:09
Peuc2Peuc04:09
offby1 left04:10
offby1 joined04:10
HerrK left04:10
akushner joined04:10
niax left04:10
tazle_ left04:10
fatalhalt left04:10
phyl729 joined04:10
kloeri left04:10
Mogget joined04:10
wbdecker joined04:10
phyl729Guest3764204:10
SwedFTP joined04:10
kloeri joined04:10
tokkee left04:10
SJS joined04:10
ciaranm joined04:10
ciaranm left04:10
ciaranm joined04:10
tokkee joined04:10
tazle_ joined04:10
Droolio left04:10
dmnd left04:10
niax joined04:11
dmnd joined04:11
ping-pong joined04:11
Guest37642 left04:11
maestrojed left04:11
CentaurWarchief joined04:11
albel727 joined04:11
ben_alman joined04:11
nardev joined04:11
toydestroyer joined04:11
phy1729 joined04:11
brutal_lobster joined04:12
Sp4rKy joined04:12
arnaud___ joined04:12
Cork joined04:12
shingetsu left04:13
NoNMaDDeN left04:13
msmith_ joined04:14
msmith_ left04:14
nkouevda left04:14
gccostabr left04:15
SwedFTP left04:15
dorkmafia left04:16
t0th_-_ joined04:16
Technocrat7 joined04:17
Consuela left04:18
Drool left04:20
t0th_-_ left04:20
Droolio joined04:20
hgl joined04:20
hglGuest2576404:20
subhojit777 joined04:21
zumba_addict joined04:22
Consuela joined04:22
SwedFTP joined04:23
m0viefreak left04:23
dialeth_ joined04:25
dialeth left04:25
daito left04:26
steele left04:28
Pyrogerg left04:28
steele joined04:28
angelsl joined04:29
nnyk left04:29
otter768 joined04:30
msm joined04:31
msm Is there a way to revert a git tag just pushed on HEAD?04:31
steele left04:33
MattMaker joined04:34
tang^ joined04:35
Dewi msm: you can replace the tag and push it again04:36
might need a couple of forces, and will be confusing to onlookers04:36
fishey left04:37
Bryzzle left04:37
msm Dewi: How can I replace the tag?04:37
Dewi msm: git tag --force [name]04:38
msm: git push --force --tags04:39
SwedFTP left04:39
Dewi not sure what you meant by "pushed on HEAD" tho04:39
that will replace a tag and push it to a remote04:39
gccostabr joined04:42
irqq joined04:43
SwedFTP joined04:44
Guest25764 left04:46
Guest25764 joined04:47
subhojit777 left04:47
NaStYdoG left04:49
otter768 left04:49
NaStYdoG joined04:49
poly left04:50
phantombeta left04:51
Bryzzle joined04:52
CEnnis91 left04:52
nardev left04:53
SumDude joined04:54
Guest25764 left04:54
hgl- joined04:54
Technocrat7 left04:55
hgl- left04:56
hgl- joined04:56
nardev joined04:58
skorgon joined04:58
skorgon left04:58
skorgon joined04:58
tristanp joined04:59
iamjarvo joined05:01
iamjarvo left05:02
Consuela left05:02
iamjarvo joined05:03
fishey joined05:03
Takle joined05:04
hgl- left05:04
EminenceHC joined05:04
subhojit777 joined05:04
hgl- joined05:04
cagedwisdom left05:07
Tuna-Fish joined05:07
Takle left05:09
EminenceHC left05:09
dreiss joined05:09
daito joined05:10
kyb3r_ joined05:10
gccostabr left05:11
MLM left05:13
kopparam joined05:13
raven-au left05:15
raven-au joined05:15
faylite joined05:17
The_Phoenix joined05:19
mennea joined05:20
raven-au left05:20
hgl-hgl05:21
raven-au joined05:21
bq joined05:22
beautifulmind joined05:22
bq how do i diff a file from working directory with the same file in another branch?05:22
Consuela joined05:22
devoldmx joined05:23
kopparam left05:23
dorkmafia joined05:24
irqq left05:24
arup_r joined05:24
J1G|Anon126 bq: git diff [branch] [file]05:26
raven-au left05:26
kopparam joined05:26
devoldmx left05:27
raven-au joined05:27
tekkbuzz left05:29
kopparam left05:29
kopparam joined05:29
smccarthy left05:29
Marcus joined05:30
mennea_ joined05:30
beautifulmind left05:31
mennea left05:31
Bryzzle left05:32
kopparam left05:33
SwedFTP left05:33
kadoban joined05:33
beautifulmind joined05:33
kopparam joined05:33
MLM joined05:35
The_Phoenix left05:36
harish_ left05:36
Tuna-Fish left05:37
The_Phoenix joined05:37
Tuna-Fish joined05:38
NoNMaDDeN joined05:38
EminenceHC joined05:39
jaydubya joined05:40
fling left05:42
steele joined05:42
madewokherd left05:43
qbann0p joined05:43
kadoban left05:43
EminenceHC left05:44
jaydubya left05:45
punchagan joined05:45
riceandbeans left05:46
k_sze[work] left05:46
punchagan left05:46
punchagan joined05:46
tekkbuzz joined05:47
Sasazuka joined05:48
steele left05:49
NightMonkey left05:49
k_sze[work] joined05:50
NightMonkey joined05:51
jazper_ joined05:51
jazper- left05:51
otter768 joined05:52
ManikM joined05:52
tpollard left05:54
kerrick joined05:54
SwedFTP joined05:55
tristanp left05:55
akagr joined05:56
tristanp joined05:56
raven-au left05:56
bb010g left05:57
Sasazuka left05:58
raven-au joined05:58
fling joined05:59
mennea_ left06:00
arup_r left06:00
mennea joined06:00
tristanp left06:01
tristanp joined06:01
devoldmx joined06:02
pheaver joined06:02
UmbraMalison left06:02
otter768 left06:02
ivan\ left06:02
ivan\ joined06:03
SumDude left06:04
SwedFTP left06:04
SumDude joined06:04
UmbraMalison joined06:04
geomyidae_ joined06:05
Takle joined06:05
t0th_-_ joined06:05
jave left06:05
SwedFTP joined06:06
tang^ left06:06
JohnBat26 joined06:07
jave joined06:07
wxg4irc joined06:08
bhuvanaurora left06:08
EminenceHC joined06:08
stellarhopper left06:09
Takle left06:09
t0th_-_ left06:09
rpg left06:09
marthinal joined06:10
qbann0p left06:12
Gamecubic left06:12
tristanp left06:12
Gamecubic joined06:13
tristanp joined06:13
superradish joined06:13
superradish howdy all, hoping to get some help clearing up some shit i screwed up over here with git...06:13
EminenceHC left06:14
J1G|Anon126 I'll try. What happened?06:14
nrsk joined06:14
akagr left06:14
J1G|Anon126 superradish06:15
peachriot_ joined06:16
superradish basically i'm trying to revert to an old commit and get rid of a bunch that aren't working right06:16
i had some conflicts and ended up reverting like 4 times in a row06:16
which has really messed crap out06:17
er up06:17
it's so bad the preposition is wrong06:17
J1G|Anon126 you can always reset to the last good commit06:17
git reset --hard [commit]06:17
this will destroy all your changes06:17
tristanp left06:17
ap0c joined06:18
dialeth_ left06:19
J1G|Anon126 superradish: so you can start over from the point before all the reverts06:20
n-st left06:20
peachriot_ left06:20
superradish let me give that a try06:22
BlaXpirit joined06:23
solrize left06:24
settermjd joined06:27
hgl left06:28
nrsk left06:29
mennea left06:30
hgl joined06:30
hglGuest6432906:30
qbann0p joined06:30
mennea joined06:30
mustika joined06:31
booboy left06:31
max joined06:32
maxGuest6360106:32
pheaver left06:32
Marcus left06:33
The_Phoenix1 joined06:33
Technocrat7 joined06:34
The_Phoenix left06:35
jazper_ left06:35
jazper- joined06:35
jazper- left06:35
jazper- joined06:35
Technocrat7 left06:39
KONIG joined06:40
sinkensabe joined06:41
iamjarvo left06:41
diegoviola left06:41
dreiss left06:41
nrsk joined06:43
stellarhopper joined06:43
stellarhopper left06:43
stellarhopper joined06:43
pantsman- joined06:43
NoNMaDDeN left06:44
ryez left06:44
valeriansaliou left06:46
nrsk left06:47
nrsk joined06:47
dorkmafia left06:48
KONIG left06:53
craigp joined06:54
Silmarilion joined06:55
tekkbuzz left06:57
bhuvanaurora joined06:58
mustika left06:59
Kicer86 joined06:59
Dreadnaught left07:00
pantsman- left07:00
steele joined07:01
SumDude left07:02
dreiss joined07:02
J1G|Anon126 left07:04
kopparam left07:04
The_Phoenix1 left07:04
steele left07:06
zumba_ad_ joined07:06
zumba_addict left07:06
veebers left07:06
zumba_addict joined07:06
veebers joined07:07
settermjd left07:08
govg joined07:09
tjm_jimmy joined07:09
ehmatthes joined07:09
zumba_ad_ left07:10
DolpheenDream left07:10
EminenceHC joined07:11
roelmonnens joined07:11
mennea left07:11
Takle joined07:11
Error404NotFound joined07:11
freimatz joined07:15
EminenceHC left07:16
AmR|EiSa joined07:17
Marcus joined07:17
nnyk joined07:18
plato1 left07:18
plato joined07:18
_0xAX joined07:19
sohail left07:19
NoNMaDDeN joined07:20
doev joined07:20
Lyqyd left07:22
plato left07:23
qbann0p left07:24
darkbasic left07:25
a_le joined07:25
DrSkyLizard joined07:25
Takle_ joined07:26
darkbasic joined07:26
Goplat left07:27
Takle left07:28
jaydubya joined07:29
nfk joined07:29
akiva left07:29
clauswitt joined07:30
a_le left07:30
tjm_jimm_ joined07:30
Gizburdt joined07:31
superradish ok07:32
so i reverted back to code and got the stupid build cooperating07:32
how do i delete a previous commit07:33
like i just want it gone07:33
Kulrak left07:33
tjm_jimmy left07:33
Macaveli joined07:34
jaydubya left07:34
beautifulmind left07:34
listochkin joined07:34
FunkyAss joined07:34
cyphase joined07:35
cyphase left07:35
cyphase joined07:35
bhuvanaurora left07:35
NoNMaDDeN left07:35
Lunatrius left07:35
Lunatrius joined07:36
Duikb00t joined07:37
rob_w joined07:37
jb55 joined07:37
Takle joined07:37
listochkin left07:38
roelmonn_ joined07:39
bhuvanaurora joined07:39
Takle_ left07:39
settermjd joined07:40
roelmonnens left07:42
MLM left07:43
gnfz joined07:44
delight joined07:44
kopparam joined07:44
veebers left07:44
drupald_drupald07:46
Kulrak joined07:46
Kulrak left07:46
Kulrak joined07:46
dreiss left07:47
saint-ron joined07:48
acolson joined07:49
carlosr left07:49
kcj left07:49
PCatinean joined07:50
settermjd left07:50
yzhang joined07:51
yzhang left07:51
Sleepy63 left07:51
yzhang joined07:51
ManikM left07:51
ManikM joined07:52
johnkevinmbasco left07:52
yzhang hi, I have a problem with git-svn, how can I ask it to ignore certain direction when I use git-svn rebase to get upstream updates07:52
tobiasvl superradish: as in, not the latest one?07:53
yzhang *directory07:53
tried .gitignore, doesn't seem to work for me07:53
kcj joined07:53
t0th_-_ joined07:53
King_Hual joined07:54
shpoont joined07:54
yzhang I added this entry to .gitignore: /tools07:54
superradish yes toias07:55
tobias07:55
shpoont left07:55
yzhang tools/CLAPACK/README.txt: needs update <--- got this when svn rebase07:55
samskiter joined07:55
tobiasvl superradish: man git-filter-branch07:55
gitinfo superradish: the git-filter-branch manpage is available at http://jk.gs/git-filter-branch.html07:55
Raging_Hog joined07:55
tobiasvl superradish: OR !interactive_rebase07:56
gitinfo superradish: Interactive rebase sounds similar to rebase but has completely different abilities. It can do this to commits: change the order, squash some of them together, remove some, add random existing commits from other branches, split them, and more... it's very powerful. Documentation is in the section "Interactive Rebase" in 'man git-rebase'.07:56
tobiasvl probably the latter if you want to just have the commit gone07:56
yeah definitely the latter07:56
shpoont joined07:57
shpoont left07:58
cbr_ joined07:58
t0th_-_ left07:58
hebz0rl joined07:58
palcu joined08:00
tjm_jimm_ left08:00
mkaesz joined08:00
jnavila joined08:01
Gizburdt left08:01
BlaXpirit left08:03
otter768 joined08:03
philipandersen left08:03
Gues480631_ joined08:03
philipandersen joined08:04
philipandersen left08:04
palcu left08:05
Sleepy63 joined08:05
jargon joined08:06
Gues480631 left08:07
otter768 left08:07
Dopagod joined08:08
Brain joined08:08
WormDr1nk joined08:09
ehmatthes left08:09
bhuvanaurora left08:10
Gizburdt joined08:10
pheaver joined08:11
samskiter left08:11
jargon left08:11
suffice left08:11
jargon joined08:12
suffice joined08:13
Gamecubic left08:13
samskiter joined08:14
jagob joined08:16
EminenceHC joined08:16
abec0 joined08:17
yzhang left08:17
bhuvanaurora joined08:18
joo-_ joined08:18
MattMaker left08:18
shpoont joined08:18
pheaver left08:19
EminenceHC left08:21
TomyWork joined08:22
cvanball joined08:23
LeMike joined08:23
congruent left08:23
craigp left08:23
troyt left08:24
TomyWork how would you share a git-svn clone with co-workers?08:24
thiago put it in a Git server08:25
no one can push to it08:25
skorgon left08:26
TomyWork i mean the entire thing08:26
mennea joined08:26
TomyWork with remotes/git-svn, revmap and all08:26
jceb joined08:26
TomyWork do i just upload it somewhere, working copy included, or is there a better way?08:26
thiago TomyWork: you can share remotes/git-svn, but not the revmap08:26
if you want to share the revmap, you're outside of Git08:27
share however you want08:27
jargon left08:27
paul424 joined08:27
sebhoss joined08:28
wxg4irc left08:28
wxg4irc joined08:29
jargon joined08:29
saurabh joined08:29
saurabhGuest3845308:30
staafl left08:30
hs366 joined08:31
Juxtapositional left08:33
GT4066 left08:35
joki left08:36
vurma joined08:36
Fandekasp joined08:39
AmR|EiSa left08:40
seschwar joined08:40
joki joined08:41
cagedwisdom joined08:41
okanck joined08:43
intellix joined08:43
moritzs joined08:43
dorkmafia joined08:45
jamesheston left08:45
joo-_ left08:47
iamjarvo joined08:47
teran left08:48
plato joined08:49
marshall left08:49
dorkmafia left08:49
The_Phoenix joined08:50
joo-_ joined08:50
Polyatomic joined08:50
petersr joined08:51
Raging_Hog left08:51
kopparam left08:52
bhuvanaurora left08:53
lb1a joined08:54
kopparam joined08:56
AmR|EiSa joined08:57
Hipska joined08:57
alorence joined08:59
skylite joined09:01
bhuvanaurora joined09:01
wakd joined09:02
jatt joined09:02
Raging_Hog joined09:02
steele joined09:02
Akagi201 joined09:03
jheg joined09:03
kukks left09:03
teran joined09:04
jheg left09:04
joo-_ left09:05
moritzs left09:05
The_Phoenix left09:06
bhuvanaurora left09:06
joo-_ joined09:07
steele left09:07
Error404NotFound left09:08
Err404NotFound joined09:08
teran left09:08
bgerber left09:08
psoo joined09:08
michael_mbp left09:08
psoo left09:08
psoo joined09:08
michael_mbp joined09:09
AmR|EiSa left09:10
samskiter left09:10
samskiter joined09:10
t0th_-_ joined09:10
strictlybsb09:12
karstensrage left09:13
thiago left09:15
t0th_-_ left09:15
harish_ joined09:15
Guest38290 joined09:15
cvanball left09:17
EminenceHC joined09:17
Error404NotFound joined09:17
DavidCruse joined09:17
dharrigan joined09:18
dharrigan left09:18
dharrigan joined09:18
DavidCruse Hello all09:18
I want to know the minimums of a good commit message as beginner09:18
jaydubya joined09:18
TomyWork thiago thanks09:18
short description\n\nlong description09:18
Err404NotFound left09:19
wxg4irc left09:19
joo-_ left09:19
grawity DavidCruse: !clean_message09:20
gitinfo DavidCruse: It helps to write clean commit messages. http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html explains how.09:20
diegoaguilar left09:20
joo-_ joined09:20
osse also note that it's much easier to write a good commit message if the commit itself is good09:20
psoo left09:21
grawity :o09:21
psoo joined09:21
TomyWork the other day, i was discussing with a coworker about whether pushing to a bare git repo (on ext4) is atomic or at least doesnt leave Git in an undefined state if the server's power goes out at the worst possible time09:21
sb left09:21
TomyWork assuming no write cache :)09:21
EminenceHC left09:21
Error404NotFound left09:21
Err404NotFound joined09:21
cbreak TomyWork: get zfs :P09:22
strictlyb joined09:22
darkbasic left09:23
jaydubya left09:23
grawity the server first writes the packfile, then writes new hashes to refs/heads/... so I guess the worst that could happen is pushing multiple branches and having it crash before all of them were updated09:23
darkbasic joined09:23
Fandekasp left09:24
TomyWork what if it crashes while the packfile is being written?09:24
wrouesnel joined09:24
grawity you'll have a stale objects/pack/.tmp_asdfghjk09:25
the repo remains unchanged otherwise09:25
TomyWork awesome09:25
so assuming the disk head doesnt crash right onto the repo, power cuts should be fine?09:26
grawity heh, optimizing for the worst09:26
Err404NotFound left09:26
pppp2 joined09:26
Arsonide joined09:27
TomyWork one thing that came up was whether the client gets an ack for its push before it's final09:28
can that happen? (again, assuming no write cache)09:28
Arsonide So, I have three files in my git that appear to be different from the origin, but I did not change these files. They popped up when I was doing some repo maintenance a while back. They aren't files I've done anything with, and every time I commit now, I have to work around them. How do I get rid of these in my unstaged area, and revert the files back to how they are on the server? I've heard the words "stash" "discard" and09:28
"reset", but I don't know what I'm looking for.09:28
dharriga1 joined09:28
dharrigan left09:29
TomyWork Arsonide do you use windows?09:30
grawity TomyWork: it sends "unpack ok" followed by whether updating each ref succeeded09:30
cbreak TomyWork: don't trust ext so far.09:30
Arsonide TomyWork: yes09:30
TomyWork Arsonide do you use crlf conversion?09:30
grawity TomyWork: not entirely sure when the first is sent – see git-receive-pack.c09:30
Arsonide uh...09:30
I don't...know09:30
TomyWork cbreak what could happen with ext that couldnt happen with zfs?09:31
valeriansaliou joined09:31
cbreak writing could fail, and write something wrong09:31
TomyWork grawity ok so it's kinda two-phase?09:31
cbreak if it's in the pack file, git would notice09:31
but if a ref contains a wrong hash, you'd only see it as dangling09:32
TomyWork cbreak err write something wrong?09:32
wouldnt that require a broken disk?09:32
grawity TomyWork: like I said previously, yes, it first receives the objects, and then points branches to the new stuff09:32
cbreak TomyWork: all disks are broken09:32
dpio left09:32
cbreak TomyWork: expected error rate for reading is something like one in 10e14 bytes09:33
or was it 1e14?09:33
TomyWork what was that again... modern flash memory stores a probabilistic approximation of your data?09:33
marcogmonteiro joined09:33
cbreak yeah. Just like spinning metal09:33
TomyWork probably09:34
cbreak modern hard disks have a scary amount of encoding and error correction to read your data09:34
they are surprisingly reliable for the density they offer... but still.09:34
errors can happen09:34
TomyWork but them, what's the chance of that hitting a ref?09:34
wrouesnel left09:34
cbreak tiny.09:34
TomyWork then*09:34
cbreak a ref is 41 bytes I think09:34
uidzer0 left09:35
TomyWork and then i'd still have the reflog, right?09:35
or i could mill through the orphans in the repo09:35
sort by latest commit date, compare to the wrong hash, pick closest, modify ref, fixed :)09:36
jb55 left09:36
grawity or you could just push again09:36
TomyWork (likely)09:36
or that, assuming that is an option09:37
jb55 joined09:37
Error404NotFound joined09:39
bgerber joined09:39
Takle left09:39
zoso joined09:39
Takle joined09:39
irqq joined09:39
dharrigan joined09:39
dharrigan left09:39
dharrigan joined09:39
dharriga1 left09:40
cbreak grawity: that'd not be fast forward :)09:40
durre left09:40
kyb3r_ left09:41
jb55 left09:41
Error404NotFound left09:43
uidzer0 joined09:43
weiyang left09:45
dharriga1 joined09:45
dharrigan left09:46
corni joined09:46
corni left09:46
corni joined09:46
luriv joined09:47
iamjarvo left09:47
gccostabr joined09:48
DaisyTheCow joined09:48
davidreis joined09:49
jcalonso joined09:49
himikof left09:49
magic_ joined09:50
magic_ left09:51
himikof joined09:51
ManikM left09:51
ManikM joined09:52
uidzer0 left09:52
dharriga1 left09:52
luriv left09:54
moritzs joined09:54
aswen joined09:55
aswen left09:55
nikita left09:55
aswen joined09:56
Arsonide Ok, so I just did "git checkout -- <file>" it appeared to work, no error or anything. The file is still (immediately afterwards) in my unstaged area as changed.09:56
The diffs appear to be identical.09:56
canton7 Arsonide, !repro09:56
gitinfo Arsonide: 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:56
Arsonide That was my terminal session.09:57
marshall joined09:57
Arsonide git checkout -- file09:57
uidzer0 joined09:57
nikita joined09:58
canton7 Arsonide, and 'git status' output both before and after?09:59
DavidCruse left09:59
dharrigan joined09:59
dharrigan left09:59
dharrigan joined09:59
kcj left10:00
luriv joined10:01
Arsonide One moment, I'll whip together something10:01
jceb left10:02
tvw joined10:02
Juxtapositional joined10:03
beautifulmind joined10:03
otter768 joined10:04
dharrigan left10:04
dharriga1 joined10:04
moritzs left10:04
nikita left10:05
Aristata joined10:05
teran joined10:05
nikita joined10:07
pikaren scary moment when you expect a merge conflict but git magically resolves it for you....10:07
martinklepsch joined10:07
creep joined10:07
cbreak wasn't a conflict then :)10:08
luriv left10:08
Solid1_afkSolid110:08
Stummi its a good idea to have a look what git resolved for you anyway ;)10:08
Arsonide canton7: Changed names to protect the innocent, but kept the paths similar in structure: http://hastebin.com/piyuvoqebo.vala10:09
corni left10:09
otter768 left10:09
canton7 Arsonide, thanks. interesting. just to make sure: you haven't removed any git status output?10:10
Arsonide, also, what's the diff for cowdef.txt? Is it a line endings change?10:10
Arsonide No I did not modify anything, just replaced names of paths and stuff.10:10
How do I check that in the CLI10:10
luriv joined10:10
canton7 git diff 'cool stuff/chickens/cows/cowdef.txt'10:10
niro joined10:11
niro left10:11
niro joined10:11
doev left10:11
Arsonide To me they appear to be identical.10:12
canton7 pastie the output10:12
t0th_-_ joined10:12
ayaz joined10:12
Arsonide What would git show if it was a line ending?10:12
I can't really paste the output for this, sorry.10:12
canton7 Arsonide, this sort of thign: http://pastie.org/974652410:13
pikaren i have to look up how git's merge algorithm work :p10:14
Arsonide It looks like that, but the format is more like this: http://pastie.org/974652610:14
canton7 ok, looks like line endings to meeeee10:14
Arsonide why would the line endings be modified if I *just* checked out the file though?10:15
canton7 pastie the contents of .gitattributes (if it exists), .git/info/attributes (if it exists), 'git config core.eol', 'git config core.autocrlf'10:15
tak30 joined10:15
canton7 let's see what we're working with10:15
pikaren left10:15
dmnd left10:16
pikaren joined10:16
t0th_-_ left10:17
Arsonide Hrm, there's a setting in git attributes to automatically normalize line endings, it's set "text=auto"10:17
canton7 please, just pastie everything I asked for10:17
moritzs joined10:17
canton7 there are a ton of different components to the line endings system10:17
cbreak would just turn it off10:18
dharriga1 left10:18
dmnd joined10:18
cbreak line ending conversion just causes trouble for no gain at all10:18
Arsonide I'll do some research then10:18
canton7 !crlf10:18
gitinfo to fix problems with line endings on different platforms, check out http://line-endings.gitrecipes.de/10:18
weasel joined10:19
plato left10:19
canton7 ok, if you're not going to tell me what settings you've got.... it's likely that the end results of the crlf settings is to normalize line endings on checkout, and you've got a file in the repo which has non-normalized line endings (i.e. it was like that when the line ending settings were changed, and was never re-normalized)10:19
so doing your checkout is normalizing the line endings in that file, and that still counts as a difference10:19
plato joined10:19
petersr left10:19
weasel I'm trying to tell my git to trust only one specific certificate.10:20
on debian wheezy (7.x), the following worked: "git -c http.sslCAinfo=/home/weasel/w clone https://www.palfrader.org/git/conf/dotfiles.git test"10:20
(where ~/w only had the end-entity cert)10:20
this no longer works on debian jessie/testing, with git 2.1 instead of 1.7 (and presumably newer curl too).10:21
jheg joined10:21
weasel any hints?10:21
(https://www.palfrader.org/volatile/2014-11-27-I2nA5eo89NQ/w has the cert if you want to test yourself)10:22
jceb joined10:22
freimatz left10:22
sinkensabe left10:22
EminenceHC joined10:22
Arsonide canton7: If that was the case then wouldn't these files appear as modified for everyone in the repo? I appear to be the only one with this problem, and I'm not the only one on Windows.10:23
plato left10:23
darkbasic left10:24
darkbasic joined10:24
canton7 Arsonide, it's happened to your because you've done a checkout on the file10:24
which has triggered the line ending normalization10:25
Arsonide It was modified before I tried that though.10:25
TheEskil left10:25
canton7 presumably you did something else to it that triggered the line ending normalization10:25
this is a known gotcha10:25
Arsonide So best option is git reset --HARD10:26
jatt` joined10:26
jatt` left10:26
jatt left10:26
canton7 the best option is to normalize all the files in your repo10:26
jatt joined10:26
canton7 https://help.github.com/articles/dealing-with-line-endings/10:26
see "Refreshing a repository after changing line endings"10:26
no-one did that ^10:26
jceb left10:27
EminenceHC left10:27
alanwill left10:28
mikecmpbll joined10:29
dharrigan joined10:32
Arsonide Trying to pop up those settings for you, but git config core.eol popped up no output, is there some way to check the setting?10:32
Solid1 left10:33
wxg4irc joined10:33
ome joined10:33
Solid1 joined10:33
Virox_Virox10:34
kopparam left10:36
kopparam joined10:37
Arsonide learns that means it's set to native.10:38
pacbard left10:39
paulweb515 left10:39
sinkensabe joined10:39
jceb joined10:39
dharrigan left10:39
canton7 yeah - that's just the default10:39
dharrigan joined10:40
dharrigan left10:40
dharrigan joined10:40
sinkensabe left10:41
Arsonide autocrlf is true already10:42
canton7 right, so that'll try and normalize on checkout10:42
Raging_Hog left10:43
encod3 joined10:43
palcu joined10:44
aswen left10:44
vtunka joined10:45
aswen joined10:45
dorkmafia joined10:45
mennea left10:45
devoldmx left10:46
mennea joined10:46
Gues480631 joined10:46
dharrigan left10:47
Marcus left10:47
dpio joined10:47
Gues480631_ left10:49
Arsonide One more time though, what could I have done to these files that makes the normalization happen for me and nobody else? I've never touched them, at least intentionally.10:50
I don't even know what they are for.10:50
dorkmafia left10:50
jaydubya joined10:50
uidzer0 left10:50
Arsonide Not trying to be stubborn, I just want to understand so I know in the future.10:50
uidzer0 joined10:51
darkbasic left10:51
moritzs left10:51
darkbasic joined10:52
kopparam left10:52
kopparam_ joined10:52
mennea left10:54
sinkensabe joined10:54
canton7 Arsonide, lots of little things can trigger normalization irrc10:57
*iirc10:57
I can't say for sure what it was10:57
rath joined10:57
Gizburdt left10:57
St_Marx_ left10:58
palcu left10:59
nikita left11:01
kopparam_ left11:01
BlaXpirit joined11:01
uidzer0 left11:02
uidzer0 joined11:03
nikita joined11:03
steele joined11:04
daito left11:05
coredumb joined11:07
coredumb Hi folks11:07
teran_ joined11:08
coredumb I want to automate a Git mirror on several servers11:08
by creating git clone --mirror xxxx11:08
steele left11:08
coredumb then i noted that if i add branches on source repo, git remote update creates it in the clone but a deleted branch will stay in the clone11:09
am i missing something or branches must be deleted manually ?11:09
oh --prune i guess11:10
pppp2 left11:10
teran left11:12
angelsl left11:12
rnsanchez joined11:13
Polyatomic left11:14
kopparam joined11:15
ecky--ptang-zoob joined11:16
t0th_-_ joined11:16
sebhoss left11:17
petersr joined11:18
hxm left11:19
petersr left11:19
darkbasic left11:20
paulweb515 joined11:20
darkbasic joined11:20
hxm joined11:21
fairuz left11:23
sinkensabe left11:23
paulweb515 left11:25
EminenceHC joined11:28
valeriansaliou left11:29
Raging_Hog joined11:32
canton7 coredumb, yep11:33
EminenceHC left11:33
canton7 there's also a config option to defaut to --prune11:33
jatt left11:33
alorence left11:36
dharrigan joined11:36
dharrigan left11:36
dharrigan joined11:36
jceb left11:38
paulweb515 joined11:38
Gizburdt joined11:38
St_Marx joined11:39
beautifulmind left11:40
martinklepsch left11:40
mkaesz left11:40
martinklepsch joined11:41
mribeirodantas joined11:42
robustusrobustus|Off11:42
Error404NotFound joined11:42
dharriga1 joined11:43
dharrigan left11:43
uidzer0 left11:44
harish_harish11:45
harish left11:45
harish joined11:46
Duikb00t left11:46
Advocation joined11:47
arup_r joined11:48
dharriga1 left11:48
uidzer0 joined11:48
dharrigan joined11:48
mennea joined11:48
marcogmonteiro left11:49
k_sze[work] left11:51
ManikM left11:51
ManikM joined11:52
freimatz joined11:53
ogzy joined11:53
ogzy i already made a commit, and followed it some commits but haven't pushed yet, and realized i wrote my passowrd to one of th efiles i commited, how can i change the commited code?11:54
kopparam left11:55
astrofog joined11:55
canton7 ogzy, any merges since that commit you want to edit?11:55
have you pushed the commit you want to edit (I know you said you haven't pushed anything after it...)11:56
ogzy canton7: no merges, just made commits11:56
canton7: no push11:56
jceb joined11:56
dharrigan left11:56
canton7 ogzy, cool! nice and easy11:57
'git rebase -i <commit before the one you want to edit>'11:57
you'll get an editor with a list of commits. change 'pick' to 'edit' on the commit you want to edit11:57
save and close11:57
rebase will drop you just *after* the commit you selected to edit11:57
ogzy canton7: -i is the commit id?11:57
canton7 so, make the change you need to that file, add it, then git commit --amend11:57
followed by git rebase --continue11:58
kopparam joined11:58
canton7 no. the commit is 'git rebase -i <commit before the one you want to edit>', e.g. 'git rebase -i abc123'11:58
s/the commit/the command/11:58
ogzy canton7: what is abc123?11:59
beautifulmind joined11:59
mellernoia joined12:01
canton7 an example commit hash, of the commit before the one you want to edit12:02
a-l-e joined12:02
canton7 tell you what, can you pastie the output of 'git log --oneline'12:02
durre joined12:03
mkaesz joined12:03
lando23 joined12:03
dharrigan joined12:03
Gizburdt left12:03
Error404NotFound left12:04
joo-_ left12:04
otter768 joined12:05
Sammy8806 left12:06
Gizburdt joined12:06
a-l-e left12:07
bhuvanaurora joined12:07
robustus|Offrobustus12:08
otter768 left12:09
ogzy canton7:12:10
bd1504 Celery handling is added.12:10
dharrigan left12:10
ogzy a28948c Unnecessary file is removed12:10
e4f7c8c Sample test for sending metrics via RabbitMq and processing them with a task queue is added12:10
addf81b Sample Kafka producer Python code is added12:10
canton7 pastebin, please12:11
don't inline in here!12:11
worc left12:11
ogzy canton7: http://dpaste.com/109TE3J12:11
canton7 cool, and which is the commit you want to edit?12:11
ogzy canton7: e4f7c8c12:11
mkaesz left12:11
bhuvanaurora left12:11
canton7 ok, so the commit is 'git rebase -i addf81b'12:12
(or 'git rebase -i e4f7c8c^', which is the same)12:12
mkaesz joined12:12
joo-_ joined12:12
moritzs joined12:12
Sammy8806 joined12:12
LBV_User joined12:13
ogzy canton7: ok i rebased12:13
changed pick to edit12:13
saved it12:13
now i edit the file i want?12:13
canton7 <canton7> rebase will drop you just *after* the commit you selected to edit12:13
<ogzy> canton7: -i is the commit id?12:13
<canton7> so, make the change you need to that file, add it, then git commit --amend12:13
<canton7> followed by git rebase --continue12:13
mennea left12:14
danmackay left12:14
ogzy canton7: ok thank you12:15
canton7 all worked? cool!12:15
mkaesz left12:16
intellix left12:16
dsdeiz joined12:16
King_Hual left12:17
Duikb00t joined12:17
ogzy canton7: yes, thank you12:19
coredumb canton7: ok thx12:19
btw is there any side effect defaulting to or running --prune each time git remote update ?12:19
canton7 can't think of any12:20
coredumb ok12:20
thx12:20
valeriansaliou joined12:21
King_Hual joined12:22
martinklepsch left12:22
johtso_ joined12:22
ap0c left12:23
LucasTT joined12:24
valeriansaliou left12:28
khamru joined12:28
khamru Hi12:29
gitinfo khamru: 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:29
canton7 khamru, googling for 'git ssh noninteractive' brings up some nice results12:29
angelsl joined12:29
sebhoss joined12:30
palcu joined12:30
khamru I have used "ssh -o StrictHostKeychecking=no `hostname`" this command to skip (yes/no) option...12:30
dharrigan joined12:30
dharrigan left12:30
dharrigan joined12:30
khamru but now it is asking to enter password:12:30
martinklepsch joined12:30
canton7 that means that ssh key authentication failed, and ssh is falling back to password auth12:31
amikiri joined12:32
dijango joined12:32
khamru How to handle skipping keychecking verification and password authentication?12:33
canton7 where are you cloning from?12:33
Esya- left12:33
khamru From my localhost12:34
canton7 does "your localhost" allow you to read git repos without providing any sort of authentication?12:34
(e.g. git:// access, or unauthenticated http)12:34
EminenceHC joined12:34
Esya joined12:35
khamru yes12:35
canton7 use that, then12:35
rather than ssh12:35
cbreak then git will not ask for passwords.12:35
git will never ask for passwords anyway, but the protocol handlers for git:// won't either12:36
khamru am using git clone <url>12:36
canton7 khamru, at the moment, you're cloning an ssh url12:36
ssh is always authenticated12:36
if your git server provides git:// or unauthenticated http access, use the appropriate git:// or http url12:36
cbreak ssh would be quite worthless if you could just disable authentication by asking nicely12:36
khamru ok. you want me to use git:// ?12:37
cbreak not like this is paypal.12:37
canton7 khamru, you said your server supports unauthenticated access12:37
if that's over git://, use git://12:37
if it's over http(s), use http(s)://12:37
khamru, you're the one who set up your server: not us. We don't know what you've set up12:37
alekks joined12:38
echo-area left12:39
EminenceHC left12:39
khamru I dont have git:// and http:// urls for the repo but i only have [email@hidden.address]12:40
Solid1 left12:40
canton7 canton7> does "your localhost" allow you to read git repos without providing any sort of authentication?12:40
<khamru> yes12:40
beautifulmind left12:40
canton7 ^ so you weren't telling the truth?12:40
khamru oh sorry no12:40
plitter joined12:40
canton7 please make sure you only give correct answers - otherwise it's simply impossible to help you12:40
look at git-daemon12:40
canton7 is out12:41
Solid1 joined12:41
St_Marx left12:41
ManikM left12:41
khamru Could you please let me know what is git-daemon12:42
valeriansaliou joined12:42
canton7 man git-daemon12:42
gitinfo the git-daemon manpage is available at http://jk.gs/git-daemon.html12:42
cbreak it's a program that provides git://12:42
canton7 http://gitolite.com/gitolite/gitolite.html, ctrl-f for git-daemon12:42
khamru I dont have access to git server. I am developer and i am just want to clone the repo...12:42
grawity you cannot clone the repo you don't have access to12:43
canton7 ok, so you lied about owning the git server, too? ack12:43
grawity much like you cannot browse a website you don't have access to12:43
canton7 khamru, ask whoever set the server up to pretty please let you have unauthenticated access12:43
King_Hual left12:43
canton7 see what they say ;)12:43
khamru :(12:43
grawity having access doesn't imply a system account – anonymous access would suffice – but it's not like `git clone` can read it over the ether12:43
King_Hual joined12:44
plitter left12:44
canton7 it'd be a pretty shit security system if it let anyone who asked nicely in, whether they actually had access or not12:44
petersr joined12:45
petersr left12:45
plitter joined12:46
grawity I think IPMI has that actually12:46
arup_r left12:46
dorkmafia joined12:46
lando23 left12:47
St_Marx joined12:47
lando23 joined12:48
marshall left12:49
marshall joined12:50
lando23 left12:50
dharrigan left12:50
ManikM joined12:50
Harzilein joined12:51
Harzilein hi12:51
dorkmafia left12:51
Harzilein i wonder if someone ever came up with a catchy name for "git, hg or fossil", seeing as dvcs is a bit too broad12:52
jast which aspects of dvcs do you want to exclude?12:52
intellix joined12:53
buffffal00 joined12:54
Harzilein jast: mostly those where the ui is focused on patch queues, but in practice it's "no easy interop with git semantics"12:54
marshall left12:55
cbreak Harzilein: like gerrit?12:55
marchelzo_ joined12:56
Guest38453 left12:56
buffal0 left12:56
NoNMaDDeN joined12:56
marchelzo_ Hi, I want to add a potentially breaking feature to my project and I don't want to change the main "branc". I'm pretty new to git, so I don't know what to do. Do I need to create a new branch?12:57
Harzilein cbreak: what i mean is that other dvcs projects usually have some unique selling point, while hg and fossil mostly are git workalikes12:57
cbreak marchelzo_: git checkout -b newbranchnamehere12:57
dharrigan joined12:57
marchelzo_ cbreak: do I have to make a new directory locally for the new branch?12:58
joo-_ left12:58
moritzs left12:58
canton7 please read about branching in !book12:58
gitinfo There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable12:58
cbreak marchelzo_: nope12:58
canton7 it's a really important topic12:58
marchelzo_ canton7: Yeah I figured that. Thanks cbreak canton7.12:58
martinklepsch left12:58
cbreak marchelzo_: your git repo will be on that branch, you can modify files, commit them, and those commits will be on that branch12:58
marchelzo_: you can switch between branches with git checkout branchnamehere12:58
samskiter_ joined12:59
marchelzo_ cbreak: sweet. sounds pretty straightforward12:59
tobiasvl checking out branches changes the actual files in the git repo directory, so you don't need to do anything12:59
marchelzo_ awesome. thanks everyone :)12:59
cbreak be aware that changes are not on a branch12:59
they are in the working directory12:59
the act of committing puts them into a branch12:59
buffal0 joined12:59
fstd left13:00
cbreak therefore, if you have changes and switch to an other branch, you'll still have the changes in the working dir13:00
fstd joined13:00
DavidCruse joined13:01
samskiter left13:02
samskiter_samskiter13:02
moritzs joined13:03
buffffal00 left13:04
NoNMaDDeN left13:04
coredumb anyone doing multi master git cluster here =13:04
?13:04
Skapadapaduu joined13:04
NoNMaDDeN joined13:05
marchelzo_ Do people usually push different branches to their remote repo or do they create a new repo for each branch?13:05
coredumb marchelzo_: branches to remote13:05
steele joined13:05
marchelzo_ oh, ok. One repo can have multiple branches?13:05
dharrigan left13:05
grawity sure, kinda the whole point of branches13:06
osse as many as you like13:06
Fandekasp joined13:06
cbreak marchelzo_: thousands13:06
marchelzo_ yeah... before this the only git commands I used were 'commit -a -m' and 'push origin master'13:06
so this is pretty game chaning13:06
coredumb push origin <your banch>13:07
cbreak git push13:07
FilipNortic joined13:07
coredumb 10 of thousands ?13:07
cbreak git push -u remote branch once to set up13:07
coredumb :D13:07
cbreak coredumb: each branch is about 41 bytes, and one inode13:07
grawity that's for recently used branches13:08
for packed-refs you don't even need many inodes13:09
andrew__ left13:09
steele left13:09
andrew__ joined13:09
cbreak I am making a worst-case calculation here13:09
osse in that case you have to include all the objects and assume it's been rebased 10 times13:10
Malsasa_ joined13:10
coredumb so i guess no one does multi master git services ?13:11
:)13:11
cbreak one master ought to be enough for everyone13:11
canton7 'master' is just a name for a branch13:11
it's no different to any other branch13:11
coredumb ^^13:11
grawity coredumb: multimaster as in?13:11
I imagine Google Code or Github would be doing something like that13:12
coredumb grawity: as in share repo files between multiple servers13:12
grawity the former is certainly hosted om Bigtable or something such13:12
Malsasa_Malsasa13:12
coredumb kinda cool having transparent failure of one server13:13
i guess i'll just failover on my mirror copies13:13
kopparam left13:13
netcarver joined13:14
rchavik left13:14
Gizburdt left13:14
cbreak my git server has a raidz2 ZFS pool backed storage.13:14
that's enough. :)13:15
coredumb how does that make it enough ?13:15
it makes it enough for failing a couple of disks13:15
liamkeily joined13:15
coredumb doesn't help in a failing sever13:15
server*13:15
Macaveli left13:16
martinklepsch joined13:16
dtrott left13:18
cbreak coredumb: for that I have ... additional repositories :)13:18
coredumb cbreak: automatic mirrors i guess ?13:18
DrSkyLizard left13:19
cbreak coredumb: nope, not important enough for that13:19
coredumb cbreak: OK :)13:20
cbreak gitolite would have a hook for that, but really, if something happens I'll just tell them to restore the vm from backup13:20
martinklepsch left13:21
zoso left13:24
EvilDMP I committed a new file I didn't want to, so I did git reset HEAD path/to/file - but git status doesn't now show it as a new file, so I presume it's still in there somehow13:24
How can I check?13:24
pacbard joined13:24
_5kg left13:25
tirengarfio joined13:27
grawity it won't show it as a new file, because it's not new anymore – you committed it13:27
and the command did nothing to undo that, really13:27
phantombeta joined13:28
grawity that `git reset` mostly deals with the index; if you want to remove the file from the next commit, you'll need `git rm --cached`.13:28
Gizburdt joined13:29
EvilDMP thank you grawity13:29
subhojit777 left13:31
andrew__ left13:32
andrew__ joined13:32
andrew__ left13:32
andrew__ joined13:33
andrew__ left13:33
dharrigan joined13:34
dharrigan left13:34
dharrigan joined13:34
andrew__ joined13:34
andrew__ left13:34
andrew__ joined13:35
andrew__ left13:35
LeMike left13:35
vurma left13:35
EminenceHC joined13:36
andrew__ joined13:36
andrew__ left13:36
andrew__ joined13:37
dangerousdave joined13:37
tjm_jimmy joined13:37
andrew__ left13:37
andrew__ joined13:37
andrew__ left13:38
andrew__ joined13:38
andrew__ left13:39
andrew__ joined13:39
arup_r joined13:39
tak30 left13:40
andrew__ left13:40
arup_r left13:40
andrew__ joined13:40
MarkyC joined13:40
EminenceHC left13:41
armyriad left13:41
danemacmillan joined13:41
marchelzo_ left13:44
plato joined13:45
andrew__ left13:45
dharrigan left13:45
Ring0` joined13:46
Consuela left13:46
tobiasvl !revert btw13:47
gitinfo That's a rather ambiguous question... options: a) make a commit that "undoes" the effects of an earlier commit [man git-revert]; b) discard uncommitted changes in the working tree [git reset --hard]; c) undo committing [git reset --soft HEAD^]; d) restore staged versions of files [git checkout -p]; e) move the current branch to a different point(possibly losing commits)[git reset --hard $COMMIT]?13:47
Ring0` Hello. What is the common practice. There are 3 branches, each dev uses one of them. When leader merged a branch1 into master. How should branch2 and branch3 incorporate those changes into their branches?13:47
(assuming they are aleady far ahead because last time they pulled master code was long time ago)13:48
petersr joined13:48
cbreak Ring0`: merge?13:48
Consuela joined13:48
AR45 joined13:49
AR45 left13:49
Ring0` cbreak: so you can just merge master->branch2 and keep working on your code?13:49
cbreak if you want.13:50
glebihan left13:50
AR45 joined13:50
marshall joined13:50
Ring0` thanks cbreak. can i instead (working on branch2) co master, pull, co branch2, commit branch2?13:51
AR45 left13:51
Ring0` what's the difference between this and merging master->branch213:52
ManikM left13:52
Manny_ joined13:52
AR45 joined13:52
AR45 Hello13:52
cbreak if you check out master and then merge, the merge commit will be on master13:52
AR45 I'm on mac13:52
cbreak also, the heads have a different order13:52
AR45 Where can I find the cli download for git13:52
I don't want the gui13:52
cbreak AR45: get xcode or the command line dev tools13:53
it contains git13:53
Ring0` AR45: or use brew13:53
cbreak or compile it from git.git13:53
AR45 oh my god..13:53
glebihan joined13:53
AR45 idk what's wrong with this computer13:53
xcode-select --install13:53
just sends back info on usage of xcode-select13:54
Ring0` cbreak: "heads have a different" folder. How does it affect me?13:54
wxg4irc left13:54
helgikrs left13:54
marshall left13:54
plato left13:55
wxg4irc joined13:55
moritzs left13:55
CEnnis91 joined13:55
cbreak Ring0`: order13:55
Ring0`: it means different paths via ^ and ~13:56
Consuela left13:56
pacbard left13:56
AR45 gives up13:56
cbreak AR45: install isn't valid.13:57
fairuz joined13:57
cbreak if you want xcode, get it via the app store or get the dmg from the developer page13:57
if you want the command line dev tools, not sure. They are supposed to automatically install themselves if you use them on a computer without tools13:58
pacbard joined13:59
sohail joined13:59
mibofra left13:59
dharrigan joined14:00
dharrigan left14:00
dharrigan joined14:00
BSaboia joined14:02
wxg4irc left14:03
Marcus___ joined14:04
dharrigan left14:04
BSaboia left14:05
jonatasnona joined14:05
dharrigan joined14:05
dharrigan left14:05
dharrigan joined14:05
affa09 left14:06
affa09 joined14:06
nnyk left14:06
otter768 joined14:06
AL13N_work if i have A-B-G-C-D-E-F .... how can i move the commit G after F to form A-B-C-D-E-F-G ?14:07
weiyang joined14:08
AL13N_work can i just rebase G to F ?14:08
Consuela joined14:08
AL13N_work or does that not work?14:08
Pyrogerg joined14:08
weiyang left14:09
_5kg joined14:09
punchagan left14:09
weiyang joined14:09
canton7 assuming A is HEAD, it's probably easiest to 'git rebase -i F^'14:09
and re-arrange the lines in the editor14:10
cbreak AL13N_work: git rebase -i A14:10
punchagan joined14:10
canton7 ^or that, if G is newest14:10
punchagan left14:10
weiyang left14:10
canton7 ahem, F is newest14:10
cbreak AL13N_work: but you won't get A-B-C-...14:10
otter768 left14:10
cbreak you'll get A-B-C'-D'-...14:10
weiyang joined14:10
weiyang left14:11
dharriga1 joined14:12
AL13N_work yes, that's fine14:12
i should've specified14:12
dharrigan left14:12
weiyang joined14:12
AL13N_work i guess it's more like A-B-G-C-D-E-F-H-I --> A-B-C'-D'-E'-F'-G-H-I14:12
i guess it's more like A-B-G-C-D-E-F-H-I --> A-B-C'-D'-E'-F'-G'-H-I14:13
sorry14:13
canton7 is A the newest?14:13
nastri joined14:13
canton7 still not sure14:13
AL13N_work no14:13
peachriot_ joined14:13
Kingsy left14:13
AL13N_work A is the parent14:13
I is the latest commit14:13
tak30 joined14:13
canton7 A-B-C'-D'-E'-F'-G'-H'-I'14:13
AL13N_work right14:13
H and I will change too14:13
oh wait14:13
will they?14:13
peachriot_ left14:13
jerius joined14:13
osse AL13N_work: yes, because their parents change14:14
cbreak AL13N_work: what ever you want14:14
AL13N_work: use -i14:14
canton7 they'll have to - their contents won't, but they'll be rewritten to point to their new parents14:14
cbreak AL13N_work: then you can reorder commits as you want with a text editor14:14
AL13N_work ah yes, indeed14:14
so rebase -i and then choose interactively each commit?14:14
wrouesnel joined14:15
canton7 rebase -i, re-arrange the lines in the editor to reflect the new order, save and quit, wait14:15
AL13N_work sounds simple enough :-)14:15
joo-_ joined14:16
NBhosting joined14:17
joo-_ left14:17
punchagan joined14:17
joo-_ joined14:17
mibofra joined14:17
punchagan left14:19
plato joined14:19
okanck left14:20
_0xAX left14:20
punchagan joined14:20
dharriga1 left14:21
LBV_User left14:21
AaronMT joined14:23
hyperboreean left14:23
Ring0` ok cbreak so again, if I'm working on branch2 and I want to "merge" master. I do: co master, pull, co branch2, rebase master, continue my work14:24
cbreak no14:24
Ring0`: you do git merge master14:25
Ring0`: if you want to rebase, then you can do rebase master14:25
ayaz left14:26
DavidCruse left14:26
Vile left14:26
Radivarig joined14:27
Sendoushi joined14:27
fstd left14:28
seschwar left14:28
zanchoPansa joined14:29
xnox joined14:29
seschwar joined14:29
xnox if i have a shallow clone (say depth 100) and I pulled 1000 new commits, how can I "garbage collect" and move the history horizon to be 100 commits again?14:29
cagedwisdom left14:30
jatt joined14:30
jerius left14:30
Gizburdt left14:30
okanck joined14:30
jonas22 joined14:30
jonas22 left14:31
amikiri left14:31
peachriot_ joined14:32
Gizburdt joined14:32
zanchoPa1sa left14:32
moritzs joined14:33
dangerousdave left14:33
cbreak xnox: you can try to enshallow it with a different --depth while fetching14:33
xnox: but why?14:33
git history is usually extremely tiny14:33
dangerousdave joined14:33
tjm_jimmy left14:34
nikita left14:34
tjm_jimmy joined14:34
dharrigan joined14:35
dharrigan left14:35
dharrigan joined14:35
nikita joined14:37
jonatasnona left14:37
govg left14:37
mennea joined14:37
adamben joined14:37
adamben left14:37
adamben joined14:37
EminenceHC joined14:38
DavidCruse joined14:38
dreiss joined14:39
tjm_jimmy left14:39
AR45 left14:40
Takle left14:41
xnox cbreak: in my case it isn't - someone commited large blob and removed it, and i'm trying to garbage collect it from disk.... (we decided not to rewrite history for now, will move to new repo /history later)14:41
Takle joined14:41
mennea left14:41
canton7 so if you didn't rewrite history... that object was never removed, and will never be gc'd14:42
arnaud___ left14:42
EminenceHC left14:42
lachesis left14:43
Noldorin joined14:43
mennea joined14:43
phantombeta_ joined14:44
phantombeta_ left14:44
mribeirodantas left14:44
polyzen joined14:45
EminenceHC joined14:46
martinklepsch joined14:47
dorkmafia joined14:47
lachesis joined14:48
lrojas joined14:49
kopparam joined14:49
marshall joined14:51
EminenceHC left14:51
LeMike joined14:51
okanck left14:51
dharrigan left14:52
dorkmafia left14:52
petersr left14:52
listochkin joined14:54
t0th_-_ left14:55
eletuchy left14:56
marshall left14:56
Pyrogerg left14:56
_W_ left14:56
moritzs left14:58
Duikb00t left14:58
jmpp_ joined14:59
jmpp left15:01
alanwill joined15:02
tang^ joined15:02
DaisyTheCow left15:02
tak30 left15:03
CheckDavid joined15:03
peachriot_ left15:03
astrofog left15:04
clauswitt left15:04
teran_ left15:04
DavidCruse left15:05
teran joined15:06
dharrigan joined15:06
teran_ joined15:06
alanwill left15:07
mdhopkins joined15:07
Gizburdt left15:08
_W_ joined15:08
MLM joined15:08
robustusrobustus|Off15:09
rob_w left15:09
t0th_-_ joined15:09
fstd joined15:10
Vile joined15:10
fstd left15:10
teran left15:10
phantombeta left15:11
NoNMaDDeN left15:13
mibofra left15:13
mibofra joined15:13
Pyrogerg joined15:14
Gizburdt joined15:14
weiyang left15:15
fstd joined15:16
dougsland left15:17
dougsland joined15:18
richardlitt joined15:18
dharrigan left15:19
Raging_Hog left15:19
basiclaser_ joined15:20
Gavrisimo joined15:21
hs366 left15:21
LeMike left15:24
LeMike joined15:25
nnyk joined15:25
joo--_ joined15:25
dharrigan joined15:26
NoNMaDDeN joined15:27
joo-_ left15:27
wrouesnel left15:30
kadoban joined15:30
mkaesz joined15:30
fishey left15:30
dharrigan left15:32
Bryzzle joined15:32
shinnya joined15:33
ruukasu left15:33
jceb left15:34
siaw joined15:36
Pyrogerg left15:37
guest_____ joined15:38
Gues480631_ joined15:38
siaw i cloned a freesource project and created my on repo on github but can’t add the url of MY repo to push too. git tells me access to the ORIGINAL repo url (which i cloned from) denied me access. how do i push the files to the repo that I CREATED?15:38
Gues480631 left15:38
siaw *opensource15:38
guest_____ Hi. I'd like to get the date of the last push for use in a script. How can i do it?15:38
canton7 siaw, define "can't add"15:39
what exactly do you do, and what happens?15:39
daedeloth joined15:39
siaw canton7: mean i can’t do git remote add origin MYREPOURL15:39
canton7 siaw, there's probably already a remote called origin15:39
so either add it under another name, or remote origin and add yours :P15:40
duckydan left15:40
canton7 'origin' is just the name of a remote - it's nothing special, and no different to any other remote name15:40
cbr_ left15:40
Radivarig left15:41
richardlitt left15:41
siaw canton7: so can i do something like this? git remote add somename MYREPOURL?15:42
cbr_ joined15:42
canton7 sure15:42
convention is that your repo is called origin, and the upstream repo is called upstream15:42
EminenceHC joined15:42
canton7 so if you want to keep the ORIGINAL repo's remote, I'd rename it to upstream, then add your repo as origin15:42
if you don't want to keep the ORIGIN repo's remote around, just remove it then add yours15:43
guest_____, you can't. pushes aren't logged15:43
ruukasu joined15:44
Gamecubic joined15:44
Gues480631_ left15:45
mribeirodantas joined15:45
guest_____ i'm thinking of the date i see in: git log -n 115:46
siaw canton7: i did but then look https://github.com/siaw23/workshops it show 7 contributers on MY repo15:46
duckydan joined15:46
siaw why am i no the only contributer15:46
?15:46
j416 guest_____: that's on the commit, it is not related to the push15:46
guest_____ oh, right15:46
j416 guest_____: a commit stores two timestamps, the time it was authored and the time it was committed.15:47
guest_____: but nothing stores when things were pushed.15:47
afaik15:47
EminenceHC left15:47
sebhoss left15:47
guest_____ ok, my bad. I want the last commit time15:48
tekkbuzz joined15:48
osse guest_____: git log --pretty=%at15:48
(for example)15:48
add -115:48
huglester_ left15:48
guest_____ cool, thanks15:49
St_Marx left15:49
osse that'll get you the date of HEAD15:49
in a hook on a server that15:49
's not necessarily correct15:50
DolpheenDream joined15:50
LBV_User joined15:50
listochkin left15:50
St_Marx joined15:50
listochkin joined15:51
cdleonard joined15:52
listochkin left15:52
Manny_ left15:52
ManikM joined15:52
marshall joined15:52
listochkin joined15:52
Pyrogerg joined15:53
creep hi peps got problems with merging. so for applying a test i created a new branch (test1). so test1 contains the files frim master. I deleted some files in test1 and did some changes which i commited. and i finished my test1. so i am ready to merge. the thing is now what happens when i merge test1 into master? what happens with the files i deleted in test and changed in test1. further more i only want to take the changes i a file but not the chang15:53
e of deleted files15:53
dharrigan joined15:53
dharrigan left15:53
dharrigan joined15:53
creep what will be the result15:54
liamkeily1 joined15:54
listochkin left15:54
osse creep: git merge --abort exists, so it's fairly harmless to try and see15:55
liamkeily left15:55
osse creep: if you delete files in one branch and modify them in another git will say it's a conflict and you'll have to fix it15:55
King_Hual` joined15:55
sybariten ok, this may be a somewhat diffuse question... but if you look at how rsync works or is used, can you do something similar to a dry-run with git? I mean, in that you will see how much data would be transfered to another server15:56
eletuchy joined15:56
sybariten without actually transferring anything15:56
marshall left15:56
Marcus___ left15:57
lumio joined15:57
Solid1Solid1_afk15:57
siaw left15:57
Seveas sybariten: not sure, but maybe git fetch --dry-run15:57
robustus|Offrobustus15:58
siaw joined15:59
King_Hual left15:59
Marcus joined15:59
kopparam left15:59
jonatasnona joined16:00
Pyrogerg left16:01
eletuchy left16:01
mennea left16:02
helgikrs joined16:02
acolson left16:02
FilipNortic left16:02
roelmonn_ left16:02
bq how do i make an earlier commit in current branch as a new branch and checkout it?16:02
osse bq: git checkout -b newbranch oldcommit16:03
Gues480631 joined16:03
jargon left16:03
uidzer0 left16:03
uidzer0 joined16:03
Silmarilion left16:04
marshall joined16:04
Marcus left16:04
martinklepsch left16:04
jcalonso_ joined16:05
dharrigan left16:05
siaw left16:05
nikita left16:06
jcalonso_ left16:06
martinklepsch joined16:06
jcalonso_ joined16:06
otter768 joined16:07
nikita joined16:08
jcalonso left16:08
Bryzzle left16:09
sybariten the other day i did a git fetch, that didnt really produce me any visible new files until i did a git reset --hard/master .... is this the normal way of working?16:10
osse fetch is read-only16:10
that is normal16:10
lindenle left16:11
osse Whether you merge or rebase or reset (or do nothing) depends on what you want to achieve16:11
otter768 left16:11
Seveas sybariten: yes, git fetch fetches objects, tags and does updates to refs/remotes/<remotename>/*. Critically, it does not touch your work tree or any other refs, such as local branches.16:11
teran_ left16:11
Milkweed joined16:12
sybariten OK16:12
Bryzzle joined16:12
sybariten i feel like i'm learning IRC from the beginning or somethign like this, revision control with git is much more complicated than i had thought16:13
jast well, think of it like this... you can make your own local commits and such, completely independently of any remote repository16:14
jamesheston joined16:14
Raging_Hog joined16:15
nnyk_ joined16:15
nnyk left16:15
jast a command that automatically combines new things arrived at the remote repository with your local changes is definitely useful, but so is a way to be able to look at both versions first. that way is 'git fetch'.16:15
smccarthy joined16:15
ehmatthes joined16:15
felipedvorak joined16:15
Pyrogerg joined16:16
felipedvorak341 joined16:17
felipedvorak left16:17
Advocation left16:18
St_Marx left16:18
felipedvorak341 left16:18
sybariten jast: hm, could you just rephrase that last one. I dont think i got the point16:18
or the "gist" of it16:18
St_Marx joined16:18
osse zing16:18
sybariten heh, wasnt even trying to be funny16:18
jast well, suppose you've committed some changes locally, and other people have pushed stuff to the remote repository, too16:18
rath left16:19
jast one way to move on from there would be a command that says "grab the remote changes and merge them with my own"... but maybe that's not always the thing you'll want to do. maybe you want to compare the two versions or something.16:19
dharrigan joined16:20
jast so, git has an intermediate step that you can take. that's fetching. fetch mirrors the remote state of things into your local repository, out of the way of where you're doing your own work16:20
Goplat joined16:20
kukks joined16:20
kukks left16:20
kukks joined16:20
jast you can see the mirrored branches, officially called remote-tracking branches, by using 'git branch -r'16:21
dsdeiz left16:21
jast whenever you 'git fetch', that's where the updates go16:21
so at this point, you have a way to compare things, look at the changes in depth, that sort of thing16:21
wookienz left16:22
jast and then the next step you can do separately, e.g. 'git merge' (create a combined version of the two sides, commit that, and record in the commit that that's what happened)... or 'git rebase' (alter your local commits so that it looks like you made them after the updates from the remote repository came in)16:22
wookienz joined16:23
jast of course, sometimes 'git fetch' isn't really necessary to do as a separate step, so that's why we have 'git pull' that does fetch+merge (or fetch+rebase, depending on options and config) in one go16:23
Gizburdt left16:23
Pyrogerg left16:24
cbr_ left16:24
ManikM left16:24
Zupoman joined16:24
jceb joined16:24
irqq left16:25
dharrigan left16:26
whomp joined16:26
skorgon joined16:28
skorgon left16:28
skorgon joined16:28
fishey joined16:29
skylite left16:29
sybariten jast: aaah... ok, thanks!16:29
mkaesz left16:29
sohail left16:29
sybariten So, for someone like me, who is the sole user of the repository (using it for dotfiles and configuration), is it safe to say that in most of the cases i will want to do git pull, rather than git fetch?16:30
jast probably, yeah16:30
sybariten cool, great16:30
kopparam joined16:30
AL13N_work i make adjustments in a branch, and when i want to git push, it keeps complaining that it's rejected16:31
lb1a left16:31
AL13N_work due to master16:31
FreezingCold left16:31
AL13N_work but i din't make any changes on master16:31
psoo left16:31
jast AL13N_work: didn't I tell you about this a day or two ago? by default push tries to update all branches, not just the one you're on right now. to change, use: git config --global push.default simple16:32
jatt` joined16:32
jagob left16:33
St_Marx left16:33
dharrigan joined16:33
dharrigan left16:33
dharrigan joined16:33
jatt` left16:34
jatt left16:34
St_Marx joined16:34
tekkbuzz left16:34
AL13N_work jast: you did, but that's not really the trouble16:34
subhojit777 joined16:34
jast oh, okay. so what is?16:34
mdhopkins left16:35
AL13N_work jast: i just don't get why it's complaining about branches that aren't up2date when there is no commits in that branch?16:35
teran joined16:35
AL13N_work jast: you know what i mean?16:35
rpgade joined16:36
jast well, you should be able to let git tell you what it thinks is different between the two:16:36
git fetch; git log origin/master..master16:36
tristanp joined16:36
teran_ joined16:37
AL13N_work hmm, ok, will try16:37
jast that gives you a list of commits that are on your local master but not on the remote master16:37
kriks left16:37
AL13N_work jast: and... if git push does all branches (i like), why does git pull don't do all branches?16:37
steele joined16:37
jast pull, when it merges, needs the working tree for combining changes in files, and since that can result in conflicts you have to fix manually, there's just too much room for error if it did that automatically for all branches, magically switching your worktree to each branch in turn16:39
delight left16:39
alekks left16:39
Brain left16:39
konsolebox joined16:39
DanMAbraham joined16:39
teran left16:39
TomyWork left16:40
mribeirodantas left16:42
alekks joined16:42
St_Marx left16:43
claz joined16:43
dharriga1 joined16:43
mribeirodantas joined16:43
dharrigan left16:43
cwillu_at_work left16:43
claz when I merge but have conflicts does git still add the unconflicting changes?16:43
St_Marx joined16:43
moritzs joined16:44
jast add to the index, yes... so that once you have fixed the conflicts, all you have to do is 'git add' those and then commit16:44
jonatasnona left16:45
claz jast: and if i want to remove all changes brought by the failed merge?16:45
would reset --hard fix it?16:45
Advocation joined16:45
tristanp left16:45
jast that aborts the merge and also removes any other uncommitted changes16:45
claz thanks16:45
jast you can use 'git merge --abort' instead16:46
that tries to cleanly remove everything the merge attempt did16:46
EminenceHC joined16:46
Pyrogerg joined16:46
Pyrogerg left16:46
Pyrogerg joined16:47
claz will remember in the future :D16:47
jast well I gotta go. have a good $timeofday, everyone16:47
dharriga1 left16:48
dorkmafia joined16:48
jagob joined16:48
devoldmx joined16:48
steele left16:48
Vile left16:48
claz how do i find out if a branch originates from another branch?16:49
dangerousdave left16:49
dangerousdave joined16:50
Bryzzle left16:50
helgikrs left16:50
saint-ron left16:51
EminenceHC left16:51
alekks left16:51
tekkbuzz joined16:52
Solid1_afkSolid116:53
nour joined16:53
liamkeily1 left16:53
tristanp joined16:54
Bryzzle joined16:55
mkaesz joined16:55
seschwar left16:55
mribeirodantas left16:55
m0viefreak joined16:56
whomp left16:56
mribeirodantas joined16:56
mribeirodantas left16:56
mribeirodantas joined16:56
rjvc_ joined16:56
dreiss left16:57
tvw left16:58
Jupelius How can I throw away couple commits but not the changes I've made16:58
So I can make a new commit which introduces all the changes16:58
j416 Jupelius: git reset HEAD~216:58
if by a couple you mean two16:58
Jupelius: you may also use "git rebase --interactive" to squash commits and reword them16:59
Jupelius I think the reset way is easier this time16:59
samskiter left17:00
jnavila left17:01
Pyrogerg left17:01
liamkeily joined17:01
konsolebox left17:01
epifanio joined17:02
tristanp left17:02
dharrigan joined17:02
numdig joined17:02
tristanp joined17:03
numdig left17:03
Sendoushi left17:05
moritzs left17:05
FreezingCold joined17:05
NBhosting left17:06
amikiri joined17:06
tristanp left17:07
jonatasnona joined17:07
rjvc_ left17:08
sohail joined17:08
j416 Jupelius: you're welcome17:08
Jupelius Thank you17:08
j416 :)17:08
adamben left17:09
LeMike left17:10
dreiss joined17:11
thiago_ joined17:11
DanMAbraham left17:12
eletuchy joined17:12
Literphor joined17:13
DolpheenDream left17:13
dharrigan left17:13
Goplat left17:13
nastri left17:14
konsolebox joined17:14
kopparam left17:14
Gizburdt joined17:15
jcalonso_ left17:15
jcalonso joined17:16
TomyLobo joined17:16
Gizburdt left17:16
Takle left17:17
eletuchy left17:17
Takle joined17:17
paul424 left17:19
rpgade left17:19
Jackneill joined17:20
Literphor left17:20
Literphor joined17:21
ome left17:21
skylite joined17:21
Literphor left17:21
aswen left17:21
dangerousdave left17:22
jottr joined17:22
jottrelementz17:22
moritzs joined17:22
lumio left17:23
MLM left17:23
mnml joined17:23
alekks joined17:23
mihaicris joined17:23
ehmatthes left17:24
jmpp joined17:24
jmpp left17:24
jmpp joined17:24
jmpp_ left17:24
Noldorin left17:25
skylamer` joined17:25
claz left17:25
mihaicris left17:25
joo--_ left17:25
skylamer` left17:26
mihaicris joined17:26
same_ol_geez joined17:27
joo-_ joined17:27
dharrigan joined17:27
dharrigan left17:27
dharrigan joined17:27
shinnya left17:28
proq joined17:28
Tuna-Fish left17:28
steele joined17:29
pheaver joined17:29
mkopriva joined17:29
jheg left17:30
dregad joined17:31
niro left17:32
madewokherd joined17:32
Sendoushi joined17:32
kukks left17:33
LeMike joined17:33
FreezingCold left17:33
mikecmpbll left17:33
WormDr1nk left17:33
moritzs left17:34
shinnya joined17:35
dharrigan left17:35
leeN joined17:35
dpio left17:35
liamkeily left17:37
sohail left17:37
robustusrobustus|Off17:38
diegoviola joined17:38
Tuna-Fish joined17:39
otter768 joined17:40
FreezingCold joined17:40
Advocation left17:40
danemacm1 joined17:41
Bryzzle left17:41
Advocation joined17:42
danemacmillan left17:43
quetz joined17:43
Akagi201 left17:44
ehmatthes joined17:44
davidreis left17:45
plitter left17:46
tekkbuzz left17:46
Bryzzle joined17:47
thiago_thiago17:47
plitter joined17:47
freenux joined17:47
dreiss left17:48
vtunka left17:48
alekks left17:48
gabeio left17:48
gabeio joined17:49
dharrigan joined17:49
dharrigan left17:49
dharrigan joined17:49
moritzs joined17:49
ChanServ set mode: +o17:49
Solid1Solid1_afk17:50
guest_____ left17:50
EminenceHC joined17:51
jcalonso_ joined17:51
intellix left17:51
jcalonso left17:53
Eugene changed the topic to: Welcome to #git, the place for git help and harvest festivals | Current stable version: 2.2.0 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | https://www.youtube.com/watch?v=OIz8f3b1KqQ17:54
Eugene set mode: -o17:54
same_ol_geez left17:54
qsuscs er17:54
same_ol_geez joined17:54
qsuscs Eugene: whatever you smoke, give me some of it.17:55
m0ltar joined17:55
qsuscs (i didn’t turn on the sound yet, as there other people here, but that’s just enough)17:55
EminenceHC left17:55
dharriga1 joined17:56
dharrigan left17:56
mennea joined17:56
steele left17:57
robustus|Offrobustus17:57
Pyrogerg joined17:57
Juxtapositional left17:58
nnyk_ left17:59
otter768 left17:59
uidzer0 left18:00
m0ltar Hey everyone. I am having a hard time figuring this out. Should be simple. But I guess I just don't know the basics too well. I need to maintain a fork of a vendor upstream forever. We will make changes to this. Whenever upstream updates, I want to pull those changes in, and then rebase all of my changes on top. So I always have a clear picture of what has changed in my fork. What is the best course for this? Thx!18:01
stamina joined18:02
uidzer0 joined18:02
Juxtapositional joined18:03
Sendoushi left18:03
osse m0ltar: assuming your branch is master and vendor is origin: git clone blabla; work; commit; work commit; git fetch; git rebase origin/master; work; commit; work commit; git fetch; git rebase origin/master; work; commit; and so on for eternity18:03
dharriga1 left18:03
m0ltar osse: so basically fetch and then rebase?18:04
osse exactly18:04
m0ltar ok i think i actually get it now! thanks!!!18:04
amikiri left18:04
m0ltar i always forget the fact that you can ref remotes like that too, i.e. being specific about what is being rebased18:04
osse m0ltar: you'll have a clearer picture of what you've done, but you have a muddier picture of *when* you did them compared to what the vendor did18:05
dregad left18:05
m0ltar is there a better way then?18:05
given that my changes will probably be minor18:05
osse git merge origin/master; work; commit; git merge origin/master18:05
it's up to you. .I'd probably go with rebase myself18:05
m0ltar the changes will be like README.pm, some config stuff and minor nonsense18:06
Literphor joined18:06
Guest38290karstensrage18:06
osse i'd rebase18:06
karstensrage left18:07
karstensrage joined18:07
m0ltar ok, thanks!18:07
osse what I said about the muddier picture is true, but you can still find out with some work if need be18:07
peachriot_ joined18:07
Literphor left18:07
Juxtapositional left18:08
jcalonso_ left18:08
freimatz left18:09
dorkmafia left18:09
ecky--ptang-zoob left18:09
sohail joined18:13
eletuchy joined18:13
Gues480631 left18:13
Gues480631 joined18:13
madewokherd left18:15
epifanio left18:15
adamw left18:16
ecky--ptang-zoob joined18:17
Solid1_afkSolid118:17
mennea_ joined18:17
eletuchy left18:17
kopparam joined18:19
mennea left18:19
diegoaguilar joined18:20
madewokherd joined18:22
buffal0 left18:22
KONIG joined18:23
kopparam left18:24
jheg joined18:25
MarkyC_ joined18:25
peachriot_ left18:25
fragamus_ joined18:25
MarkyC left18:25
MarkyC_MarkyC18:25
Pyrogerg left18:26
jb55 joined18:27
nnyk_ joined18:27
peachriot_ joined18:27
dreiss joined18:29
michelangelo joined18:32
ArSn joined18:32
Juzzika joined18:33
dorkmafia joined18:33
thiago left18:34
bhuvanaurora joined18:34
donmichelangelo left18:35
thiago joined18:36
joo-_ left18:39
m0ltar left18:39
fragamus_ left18:40
jottr joined18:40
a_le joined18:40
Advocation left18:40
J1G|Anon126 joined18:40
mikecmpbll joined18:41
jonatasnona left18:42
buffal0 joined18:42
marthinal left18:42
amikiri joined18:42
elementz left18:42
robustusrobustus|Off18:43
DonVitoCorleone joined18:44
dharrigan joined18:44
dharrigan left18:44
dharrigan joined18:44
a_le left18:45
ehmatthes left18:45
dreiss left18:45
maroloccio joined18:45
diegoaguilar left18:45
HerrK joined18:45
tekkbuzz joined18:45
subhojit777 left18:45
Sendoushi joined18:46
mennea_ left18:47
marthinal joined18:47
mennea joined18:48
stamina left18:48
pheaver left18:49
dharrigan left18:50
EminenceHC joined18:53
Takle left18:54
t0th_-__ joined18:54
Takle joined18:55
wbdecker is there some good way to share a common makefile or (cmakefile) between repositories?18:55
or do you have to have N copies of them and keep them all in sync manually18:55
like, say you want to suddenly compile all your repositories with -malign-double or something18:56
mikecmpbll left18:56
PCatinean left18:56
Literphor joined18:56
kadoban wbdecker: You could have it as a branch. I have a "skeleton" setup for each language I use, mostly and just merge it into every project I do. Sounds like not exactly the same problem you're talking about though.18:56
smccarthy left18:56
mikecmpbll joined18:56
kadoban wbdecker: You could just link to a common version, but then that won't use version control really.18:57
MarkyC left18:57
wbdecker kadoban: you mean a symbolic link?18:57
kadoban wbdecker: Yeah.18:57
thiago wbdecker: put it in a submodule that all of the other projects include18:57
wbdecker I am basically talking about a common makefile include18:57
t0th_-_ left18:57
MarkyC_ joined18:57
mahem1_ joined18:57
osse maybe there are some env vars that cmake respects18:57
thiago and then make an include() or load() or whatever it is that cmake does of that common file18:57
EminenceHC left18:57
MarkyC_MarkyC18:57
dharrigan joined18:57
dharrigan left18:57
dharrigan joined18:57
nnyk_ left18:57
wbdecker thiago: so you'd have a repository with nothing in it but the make include?18:58
mribeirodantas left18:58
luksaur left18:58
thiago wbdecker: well, you can put other common things there18:58
pasky_ and you'd have to git submodule update --init every time you clone a repo18:58
MarkyC left18:58
petersr joined18:59
pasky_ it's possible but i think you'd generally find life easier with a branch solution as kadoban suggests18:59
veebers joined18:59
dreiss joined18:59
mribeirodantas joined18:59
pasky_ it's always a tricky tradeoff though18:59
wbdecker I thought there was a git clone -r option or something for submodules18:59
mihaicris left18:59
MarkyC joined19:00
pasky_ indeed19:00
roelmonnens joined19:00
mahem1_ Hey all, kinda confused about github pull requests. What's better? A pull request (with merge commit) or to pull changes yourself and rebase? I don't see if practicle to merge pull requests from developers who commits regularly.19:00
FreezingCold left19:00
wbdecker I basically have a git alias "git klone" that is aliased to clone -r19:00
pasky_ but then there's the question of lock-step development; with a branch you can easily maintain some local tweaks if you need them (or rather when you need them), it's reviewable and in diffs between versions, etc.19:00
tvw joined19:00
thiago mahem1_: whatever is easiest for you and for whomever is merging19:01
wbdecker pasky_: what I don't understand about the branch method since wouldn't you need one branch per repository?19:01
pasky_ i personally advise against using submodules except in special circumstances (when they really refer to an external, very independent component) because life quickly gets messy and difficult otherwise in my experience19:01
thiago mahem1_: since there are two people involved, talk to the other party19:01
thiago agrees on the submodules19:01
thiago well, the independent part and on the getting messy19:02
we use it for our own stuff, but they're msotly independent19:02
pasky_ wbdecker: you can git pull <url> (or git subtree pull -P build/ <url>, whatever floats your boat)19:02
thiago it's when they depend that things get messy19:02
pasky_ indeed19:02
Sleepy63 left19:02
Sendoushi left19:02
jceb left19:03
wbdecker I don't understand the branch method--how does that help me keep a file common bw repos?19:03
thiago I made a change in module A that made 6.7f get printed as "6.66666669", which broke module B19:03
of course I couldn't change module B to expect "6.66666669" before module A got updated...19:03
but the unit test system wouldn't let A get updated if B broke19:03
pasky_ wbdecker: you have a separate repo with the makefile, just like in the case of submodule, but you merge it instead of having it as a submodule19:03
maroloccio left19:03
pasky_ hehe, ouch19:04
jottr left19:04
mahem1_ thiago: Ok, I would rather rebase locally, but then the problem is him resyncing. He has to pull from the main repo and then push -f his fork. (And, of course, push -f shoudl be avoided generally)19:04
thiago solution: change it to 6.519:04
wbdecker pasky_: I thought merges were for branches within a repo that were otherwise very similar19:04
thiago mahem1_: there's no situation where collaboration implies push -f19:05
mahem1_ thiago: Even if I change the commit hashes? (if I don't ff)19:06
thiago mahem1_: you don't change the commits that have been accepted by the upstream19:06
mahem1_: therefore, no push -f19:06
wbdecker pasky_: oh I see (googling around) you're recommending subtrees as opposed to submodules?19:06
thiago mahem1_: you may only change what hasn't been accepted yet19:06
Technocrat7 joined19:06
Takle left19:06
Takle joined19:06
kadoban wbdecker: There's nothing that requires them to be similar at all to merge.19:07
wbdecker: It just puts the stuff together. They don't even need a common history at all, or any kind of relationship.19:07
wbdecker kadoban: ok, I didn't realize that19:07
paulweb515 left19:08
Xack left19:08
jonatasnona joined19:08
wbdecker we seem to use artifactory a lot where I work. I wonder if another solution is to pull down the common makefile from artifactory19:09
Matrixiumn joined19:09
mahem1_ thiago: Confused, If I pull his downstream fork to my local machine, rebase, then push upstream to the central repo. What does he then do with his out of sync downstream fork?19:10
uidzer0 left19:10
uidzer0 joined19:10
thiago mahem1_: rebase19:10
mahem1_: or just drop19:10
arnaud___ joined19:10
basiclaser_ left19:11
groolot joined19:12
Nechradile joined19:12
fatalhalt joined19:12
mahem1_ thiago: Rebase? If his fork is on, say, github he would have to rebase local (which still leads to push -f?). But drop looks like a solution.19:13
groolot left19:13
thiago mahem1_: his repository contains the unaccepted commits19:13
Matrixiumn left19:13
thiago no one pulls from him19:13
once you've accepted the commit, he rebases, which will drop existing commits19:13
dharrigan left19:13
Matrixiumn joined19:14
irqq joined19:14
J1G|Anon126 left19:14
Pyrogerg joined19:15
jottr joined19:15
nour_ joined19:15
faylite left19:15
flowinho joined19:15
mahem1_ thiago: Ok, so when he rebases simply pushes and the unaccepted commits are no longer at HEAD nor in the new commit tree.19:16
thiago: I think I've got it now.19:16
Sleepy63 joined19:16
thiago mahem1_: he pushes with -f to his repository. That's fine.19:16
Gues480631_ joined19:16
akira left19:17
akira joined19:17
mahem1_ thiago: Ok, because nobody should be pulling from him.19:17
mennea left19:17
thiago mahem1_: correct19:18
mahem1_ thiago: Cool, thanks.19:18
thiago mahem1_: now, if he and someone else want to collaborate, it's possible, but that's up to them19:18
teran_ left19:18
Takle_ joined19:18
Gues480631 left19:18
nour left19:18
tekkbuzz left19:20
Takle left19:20
dharrigan joined19:20
mennea joined19:21
cwillu_at_work joined19:21
dialeth joined19:21
mennea left19:22
Embassy joined19:23
helgikrs joined19:23
Junior joined19:24
israelpattison left19:25
steele joined19:26
israelpattison joined19:26
tristanp joined19:26
Nechradile left19:26
dharrigan left19:26
samskiter joined19:27
moritzs left19:27
jottr left19:28
rivarun is there a global setting for context lines in unified diff format (show, commit -v, etc)19:28
mennea joined19:28
rivarun or even per command19:28
aard_ joined19:29
ap0c joined19:29
ecky--ptang-zoob left19:30
listochkin joined19:30
FreezingCold joined19:31
Literphor left19:32
Raging_Hog left19:32
akiva joined19:33
Nechradile joined19:34
Nechradile left19:34
xissburg joined19:34
unreal left19:34
Nechradile joined19:35
Nechradile left19:35
Nechradile joined19:36
Takle_ left19:36
unreal joined19:36
Gues480631_ left19:37
punchagan left19:37
buffal0 left19:38
cagedwisdom joined19:39
amikiri left19:39
paulweb515 joined19:40
Advocation joined19:40
dharrigan joined19:40
thiago rivarun: -U<n<19:40
rivarun thiago: by <n< you mean the context lines? if so, that's fine for diff, but how do i set it for commit -v for example?19:41
thiago I mean the number of lines you want in context19:41
rivarun perhaps you meant to type U<n>?19:42
thiago oh, right19:42
J1G|Anon126 joined19:42
thiago sorry, off-by-one key19:42
rivarun that's fine19:42
kukks joined19:43
amikiri joined19:43
steele left19:43
m0ltar joined19:44
aspiers left19:44
Pyrogerg left19:44
helgikrs left19:45
dharrigan left19:45
Vile joined19:46
Nechradile left19:48
aspiers joined19:49
Advocation left19:51
bq left19:53
netameta left19:54
teran joined19:56
Aristata left19:56
EminenceHC joined19:57
mennea_ joined19:59
dharrigan joined19:59
dharrigan left19:59
dharrigan joined19:59
carlosr joined20:00
shpoont left20:01
mnml left20:01
EminenceHC left20:01
punchagan joined20:01
eletuchy joined20:02
ropav joined20:02
mennea left20:02
rnsanchez left20:02
Advocation joined20:04
danmackay joined20:04
marshall left20:05
tirengarfio left20:06
eletuchy left20:06
m0ltar left20:07
angelsl left20:09
sohail left20:10
Shusshu joined20:10
Shusshu left20:10
tirengarfio joined20:11
Noldorin joined20:12
sohail joined20:12
dharriga1 joined20:12
NoNMaDDeN left20:12
livingstn joined20:12
dharrigan left20:13
dougsland left20:14
safinaskar joined20:16
tirengarfio left20:16
kadoban left20:17
dreiss left20:17
nnyk_ joined20:17
jonatasnona left20:18
peachriot_ left20:19
Lyqyd joined20:20
tirengarfio joined20:20
m0ltar joined20:20
dharriga1 left20:21
Prawnzy joined20:21
kerrick left20:21
helgikrs joined20:21
m0ltar left20:21
safinaskar left20:21
tirengarfio_ joined20:21
kerrick joined20:21
tirengarfio left20:21
tirengarfio_ left20:21
MrSavage joined20:22
MrSavage how do you git add all modified files? I tried doing git add -u20:22
however the modified files are still not added?20:22
tirengarfio joined20:23
osse show the full output of git status20:23
jonatasnona joined20:24
liamkeily joined20:24
jottr joined20:25
Gizburdt joined20:25
lilshaggy joined20:26
Bryzzle left20:26
dorkmafia left20:26
revolve left20:26
Consuela left20:27
Sendoushi joined20:27
pheaver joined20:27
dharrigan joined20:27
Gavrisimo left20:27
Gavrisimo joined20:27
martinklepsch left20:28
paul424 joined20:28
lilshaggy Hi ! I'm trying to do ssh -vT [email@hidden.address] but it's giving the error 'ssh : could not resolve hostname github.com : Name or service not known' please help20:28
mennea_ left20:28
kadoban joined20:28
Juxtapositional joined20:28
mellernoia left20:28
martinklepsch joined20:29
mennea joined20:29
osse lilshaggy: that space before : looks strange. do you have a typo somewhere?20:29
WaReZ joined20:29
osse an extra space, that is20:29
lewellyn try to ping github.com as well20:29
sq-one joined20:30
lilshaggy @osse yes there is no space yes sorry20:30
MrSavage osse: here http://sprunge.us/HObO20:30
also HOBO!!!!!!!!!!!120:30
osse MrSavage: try git add -u :/ (with the smiley)20:31
plato left20:31
sq-one left20:31
MrSavage osse: it worked20:32
why did it work?20:32
Technocrat7 left20:32
lilshaggy lewellyn , github.com is not pinging20:32
osse MrSavage: git add -u I think only adds stuff in the current dir and within it. :/ is a shortcut to refer to the top of the repo20:32
lewellyn then the problem is on your wend.20:32
end.20:32
FreezingCold left20:32
MrSavage thanks20:32
akira osse: that's the first command i've seen that seems to be reluctant to be executed20:32
osse heh20:32
hydrozen joined20:33
plato joined20:33
alekks joined20:33
osse MrSavage: that doesn't explain why the contentDisplay stuff wasn't added though. But I see you've added those before so I asumme you modified the afterwards20:33
lewellyn lilshaggy: github.com resolves and pings here. you might want to check your dns settings for sanity. but that's outside the scope of this channel.20:33
dangerousdave joined20:34
lilshaggy lewellyn ok I shall... Thanks20:34
dangerousdave left20:34
Sleepy63 left20:34
TDJACR left20:36
crystal77 left20:37
kadoban left20:37
lilshaggy left20:37
tirengarfio left20:37
Advocation left20:38
revolve joined20:39
imMute left20:39
Advocation joined20:40
imMute joined20:40
imMute left20:40
imMute joined20:40
creep hey peps, i got in master branch some very big data files, so i did ignore them with git. if i create a test branch and delete the big data file they are also gone20:40
liamkeily left20:41
plato left20:41
Consuela joined20:41
a_le joined20:41
creep how can i have the big data files in master, but in test enviroment they are gone20:42
dharrigan left20:42
creep sorry my english could be better20:42
dangerousdave joined20:43
jonatasnona left20:43
ropav left20:43
creep peps ?20:43
thiago creep: man git-annex20:45
causasui left20:45
thiago oh, no man page?20:45
creep: well, see git annex20:45
mihaicris joined20:46
jamesheston left20:46
a_le left20:46
Consuela left20:46
Consuela joined20:47
dorkmafia joined20:48
Advocation left20:48
Sleepy63 joined20:48
tang^ creep: try !binary20:49
gitinfo creep: Storing binary files in git causes repo balloon, because they do not compress/diff well. In other words, each time you change a file the repo will grow by the size of the file. See !annex for some solutions20:49
tang^ oops20:49
meant !annex20:49
gitinfo git-annex and git-media are two solutions to the !binary problem. They work by keeping the blobs outside of the repo, storing a reference to the blob in the repo instead. See http://git-annex.branchable.com/ and https://github.com/schacon/git-media20:49
creep thiago: they are data files in plain text20:51
plato joined20:51
helgikrs left20:51
creep THANKS if will gofo annex20:51
Sendoushi left20:52
Sendoushi joined20:52
Ilhami joined20:53
Ilhami hey20:53
when I use git should I always work on a different branch and then merge? would it be a good idea for each team member to work on his own branch? or should you work on one???20:54
jrvlima joined20:54
thiago Ilhami: you don't have to work on a branch. You do that if you want to20:55
J1G|Anon126 Ilhami: it's good to separate it by features or components20:55
thiago and each team member works on their own computers. Therefore, which branch they use is their problem.20:55
dharrigan joined20:55
dharrigan left20:55
dharrigan joined20:55
thiago they can use one with the same name as you. Or not. That's doesn't affect anything.20:55
Jackneill left20:56
hydrozen left20:56
tirengarfio joined20:57
Ilhami ah ok. so let's say I work on a file locally and make changes to it and he is making changes to the very same file. How do we solve that? if I commit first and push to the private repo and he does the same after, will that not result in a merge problem ?20:58
amikiri left20:58
mennea left20:58
Ilhami does he have to always pull from repo before pushing?20:58
petersr left20:58
J1G|Anon126 yes, one must always pull if there are new commits20:58
tpollard joined20:58
mennea joined20:59
Ilhami so it's a good idea to decide on the team how often and when you push to repo ?20:59
nnyk_ left20:59
Consuela left20:59
Ilhami left21:00
Ilhami joined21:00
dharrigan left21:00
LBV_User left21:00
johtso_ left21:01
EminenceHC joined21:02
eletuchy joined21:02
Ilhami I took that as a yes!21:03
tang^ always a good idea to figure out your processes early21:03
Ilhami thanks for your answers.21:04
quetz left21:04
MrSavage How do I get a list of my merge conflicts that need to be committed?21:05
ojacobson 'git status' if you're already mid-merge21:05
txomon|home joined21:05
ojacobson if you 'git add' things as you resolve them, the list will stay manageable, otherwise you end up having to inspect things with 'git diff' to remember what state they're in21:05
MrSavage ojacobson: i did my merge changes21:06
ojacobson: how do i see the list of the files that still need to be commited21:06
EminenceHC left21:06
Takle joined21:06
ojacobson repeating yourself doesn't give me any new information to help you with21:06
what happened when you tried my suggestion?21:06
J1G|Anon126 MrSavage: git status should give you that as well21:07
kukks left21:07
MrSavage ah nvm21:07
eletuchy left21:07
Takle left21:07
Takle joined21:07
freenux left21:07
Sendoushi left21:07
nnyk_ joined21:08
bhuvanaurora left21:08
bgerber left21:09
D-Boy left21:11
MrSavage left21:12
marshall joined21:12
netcarver left21:14
FabTG__ left21:14
flowinho left21:14
flowinho joined21:15
Sasazuka joined21:15
Bryzzle joined21:15
thiago left21:16
martinklepsch left21:16
Consuela joined21:17
martinklepsch joined21:17
arnaud___ left21:18
jkymmel joined21:18
lrojas left21:18
mkopriva left21:18
bgerber joined21:19
schrixlux joined21:19
FabTG joined21:20
mt left21:21
livingstn left21:21
martinklepsch left21:21
mt joined21:22
Sasazuka left21:22
shauna left21:23
TomyLobo left21:24
martinklepsch joined21:24
mennea left21:24
_5kg left21:25
Bryzzle left21:26
Sasazuka joined21:26
LeMike left21:26
dialeth left21:26
dangerousdave left21:28
Sasazuka left21:29
pandeiro joined21:29
FreezingCold joined21:30
_5kg joined21:31
jrvlima left21:33
psoo joined21:33
crystal77 joined21:34
crystal77 left21:34
roelmonnens left21:34
dorkmafia left21:35
Gizburdt left21:35
dharrigan joined21:36
dharrigan left21:36
dharrigan joined21:36
schrixlux left21:36
D-Boy joined21:38
Segfault_ left21:39
moritzs joined21:39
dharriga1 joined21:42
dharrigan left21:42
t0th_-__ left21:43
Segfault_ joined21:43
amikiri joined21:43
luriv_ joined21:43
MarkyC left21:43
t0th_-_ joined21:45
marthinal left21:46
luriv left21:46
Juzzika left21:48
Takle left21:49
dharrigan joined21:50
dharrigan left21:50
dharrigan joined21:50
dharriga1 left21:50
aspiers left21:50
Takle joined21:50
fatalhalt left21:51
Tommy[D] joined21:53
Solid1Solid1_afk21:54
diegovio1 joined21:54
veebers left21:54
Lyqyd left21:55
Gues480631 joined21:55
diegoviola left21:56
diegovio1diegoviola21:56
Gavrisimo left21:57
dharrigan left21:57
kopparam joined21:57
licnep joined21:57
polyzen left21:58
Solid1_afkSolid121:58
Ankhers joined21:58
uidzer0 left21:58
veebers joined21:59
shauna_ joined21:59
shauna_ left21:59
dorkmafia joined22:00
dsdeiz joined22:00
uidzer0 joined22:00
Prawnzy left22:00
aspiers joined22:01
WormDr1nk joined22:01
kopparam left22:02
EminenceHC joined22:02
corni joined22:02
kapott left22:03
martinklepsch left22:03
martinkl_ joined22:03
Junior left22:04
shauna joined22:04
mkaesz left22:05
liamkeily joined22:05
dsdeiz left22:06
mihaicris left22:06
aspiers left22:07
sohail left22:08
flowinho left22:09
t0th_-_ left22:11
Sasazuka joined22:11
Takle left22:12
EminenceHC left22:12
skylite left22:12
Takle joined22:12
madewokherd left22:12
steele joined22:15
steele left22:18
luksaur joined22:21
luksaur left22:21
luksaur joined22:21
tirengarfio left22:22
jamesheston joined22:22
sohail joined22:24
nnyk_ left22:26
nnyk_ joined22:26
AmR|EiSa joined22:26
nrsk left22:28
adamben joined22:28
marshall left22:28
madewokherd joined22:28
s8321414 joined22:29
irqq left22:30
alexruf joined22:31
jamesheston left22:31
dharrigan joined22:32
Takle_ joined22:32
Takle left22:32
eletuchy joined22:33
TDJACR joined22:34
punchagan left22:34
AmR|EiSa left22:34
pantsman- joined22:34
aard_ left22:35
marshall joined22:35
AmR|EiSa joined22:35
joelm joined22:35
joelm left22:35
Sasazuka left22:36
alexruf left22:37
marshall left22:37
dharrigan left22:37
Pyrogerg joined22:37
eletuchy left22:38
Sasazuka joined22:38
JohnBat26 left22:39
King_Hual` left22:39
TDJACR left22:40
TDJACR joined22:41
pheaver left22:41
arnaud___ joined22:43
TDJACR left22:43
samskiter left22:44
dharrigan joined22:44
dharrigan left22:44
dharrigan joined22:44
TDJACR joined22:44
Takle joined22:45
dregad joined22:45
Takle_ left22:45
kukks joined22:46
kukks left22:46
kukks joined22:46
ivan\ left22:46
shauna left22:46
shauna joined22:47
TDJACR left22:47
TDJACR joined22:48
BlaXpirit left22:48
daedeloth left22:49
dharrigan left22:49
nour_ left22:49
fragamus_ joined22:49
ivan\ joined22:50
TDJACR left22:50
dharrigan joined22:50
TDJACR joined22:50
TDJACR left22:50
TDJACR joined22:50
xissburg left22:51
luto I'm trying to rename a remote from22:51
'master' (yes. I know.) to 'origin'22:51
error: could not lock config file .git/config22:52
error: Could not rename config section 'remote.master' to 'remote.origin'22:52
git gives me that..22:52
samskiter joined22:52
TDJACR left22:52
luto $ git remote rename master origin << my rather obvious command22:52
Embassy left22:54
danemacm1 left22:56
fairuz left22:56
Juxtapositional left22:57
Sasazuka left22:57
dharrigan left22:57
Sasazuka joined22:57
Juxtapositional joined22:58
sohail left22:58
Pyrogerg left22:59
pantsman- left22:59
Dougie187 joined23:00
konsolebox left23:00
n-st joined23:01
Consuela left23:01
jheg left23:02
kopparam joined23:03
dorkmafia left23:03
amikiri left23:03
Juxtapositional left23:04
psoo left23:05
jzk joined23:06
dougsland joined23:07
sohail joined23:08
duderonomy joined23:08
paul424 left23:08
Saw joined23:09
kopparam left23:09
ojacobson left23:09
Zupoman left23:09
Consuela joined23:10
Sasazuka left23:10
Sasazuka joined23:11
EminenceHC joined23:11
dougsland left23:12
diegoviola left23:12
Saw hi, quick question. To backup my git repository I usually just copy over the .git directory. Lately though I've added a submodule, and it seems it's not stroed in the .git repository. Or rather, when doing 'git checkout -- .', it doesn't restore the submodule content. Any insights?23:13
a_le joined23:13
Consuela left23:16
EminenceHC left23:16
CheckDavid left23:17
crystal77 joined23:18
osse Saw: git submodule init23:19
(i think)23:19
delight joined23:19
Saw osse - just tried it, didn't help. (Tried checkout again after, inside submodule, then outside, then inside again)23:20
Solid1Solid1_afk23:20
AmR|EiSa left23:20
osse hmm, then I don't know... I'm not a submodule expert23:21
someone here is though23:21
Saw :\ i'll just wait then, thx anyway23:21
osse Saw: submodule info is stored in .gitmodules in the root of the repo23:22
but that should've been restored when you did git checkout -- .23:22
git submodule status? Is that a thing?23:23
martinkl_ left23:23
tang^ git submodule update23:23
solker joined23:24
konsolebox joined23:24
Saw osse - yeah .gitmodules was copied as well, so that was not the problem. Tried git submodule status, didn't show anything.23:25
tang^ - thank you, git submodule master :)23:25
alvaro_ joined23:25
liamkeily left23:27
Turicas left23:27
liamkeily joined23:28
St_Marx left23:29
liamkeily left23:29
Consuela joined23:30
listochkin left23:31
listochkin joined23:32
jottr left23:32
St_Marx joined23:32
dharrigan joined23:33
dharrigan left23:33
dharrigan joined23:33
nfk left23:34
Saw left23:34
J1G|Anon126 left23:34
Ankhers left23:34
diget left23:34
eletuchy joined23:34
diget joined23:35
encod3 left23:35
listochkin left23:36
JanC left23:37
jkymmel left23:37
eletuchy left23:39
dharrigan left23:39
fragamus_ left23:40
regedit joined23:40
diegoviola joined23:41
regedit how to recursively rename some folder and all its subfolders & files from uppercase to all lowercase?23:41
in a manner that git will recognize it23:41
it seems git does not pick up on upper/lower-case renames23:41
Myk267 joined23:42
osse regedit: it does if the filesystem informs it23:42
delight left23:42
osse if you need to do stuff like that I suggest a linux system23:42
regedit ye it's on mac so we have bash shell and whatnot23:42
osse macs are case-insensitive by default23:42
regedit orly?....23:43
i thought only windows23:43
osse !case_mapping23:43
gitinfo Git tries its best if you are on a filesystem which does not understand the difference between upper case and lower case, but there are many circumstances, especially when there are two files which only differ by case, that git just cannot cope. Windows and Mac users are especially likely to have such problems. Solution, move to a real filesystem or OS and investigate git-config's core.ignorecase23:43
tang^ I've run into that23:43
tvw left23:43
osse regedit: on a Mac it's optional I think.23:43
brownbathrobe joined23:44
palcu left23:44
Skapadapaduu left23:44
AaronMT left23:45
palcu joined23:45
palcu left23:45
str joined23:46
TDJACR joined23:47
aspiers joined23:47
marshall joined23:48
alekks left23:48
Consuela left23:48
brownbathrobe left23:50
corni left23:50
JanC joined23:50
teran left23:51
marshall left23:53
Takle left23:57
Takle joined23:59
sohail left23:59
t0th_-_ joined23:59
shpoont joined23:59

Logs Search ←Prev date Next date→ Channels Documentation