IRCloggy #git 2014-11-19

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

offby1 sure loves him some "fixup"00:02
ende___ left00:02
akushner left00:03
toothe if I want to commit an entire directory's worth of changes, the first step would be 'git add .' correct?00:03
ende___ joined00:03
offby1 yep00:03
King_Hual` left00:03
toothe hm.., that complains.00:03
offby1 So do I.00:04
ncthom91 left00:04
toothe says I need to do maybe git --all or --ignore-removal.00:04
offby1 ♭♩ ♯♪ "I can't complain, but sometimes I still do" -- Joe Walsh ♫ ♬00:04
never heard of those :-|00:04
!transcript00:04
gitinfo [!repro] 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%.00:04
tokik joined00:05
galaris joined00:05
pmallya left00:06
fairuz1 left00:06
alanwill joined00:06
CheckDavid left00:07
decompiled left00:07
ncthom91 joined00:07
thierryp joined00:09
mmitchell joined00:10
toothe I really like git now....00:10
krixxkraxx joined00:10
galaris left00:14
mribeirodantas joined00:14
thierryp left00:14
mmitchell left00:15
bracero left00:15
bracero joined00:16
bracero left00:16
okanck left00:16
corni left00:18
checkItOut joined00:19
m0viefreak left00:19
maestrojed left00:20
milli` left00:20
mikecmpbll joined00:21
milli` joined00:21
thierryp joined00:21
WaReZ left00:21
aspiers left00:23
solker joined00:24
ciampix left00:25
thierryp left00:26
hexagoxel_ joined00:26
wagle left00:26
checkit left00:26
og_wolf joined00:27
Bilge kadoban: it's clearer which revision the submodule is pointing at00:28
jb55_ joined00:28
milli` left00:28
hexagoxel left00:29
solker left00:29
netcarver left00:30
thiago left00:31
jb55 left00:32
pheaver left00:33
thiago joined00:35
Raverix left00:35
Raverix joined00:36
philipandersen left00:38
asfdfdfd_ joined00:39
longneckbeard joined00:39
mikecmpbll left00:40
CheckDavid joined00:40
thiago left00:41
russt left00:42
checkItOut left00:42
tyreld left00:42
darkbasic_ joined00:43
darkbasic left00:43
liamkeily left00:44
endiruna left00:44
ClarusCogitatio left00:45
wagle joined00:46
s8321414 left00:47
blackmesa left00:47
gargola joined00:47
J1G|Anon126 joined00:48
chrisshattuck left00:49
J1G|Anon126Anon12600:49
mtscout6 joined00:49
darkbasic joined00:49
ClarusCogitatio joined00:50
_Atom_ joined00:50
toothe left00:50
darkbasic_ left00:51
Anon126J1G|Anon12600:51
m0ltar joined00:51
jdavjdav_gone00:51
acharlieh left00:52
jdav_gone left00:52
mtscout6 left00:52
ClarusCogitatio left00:54
ncthom91_ joined00:55
Lyqyd joined00:55
ncthom91 left00:55
og_wolf left00:55
mr_chris joined00:56
rchavik joined00:56
mikecmpbll joined00:56
mr_chris What's the proper way to loop through branches in a bash script?00:57
mizu_no_oto left00:57
mikecmpbll left00:57
gregsmith left00:57
meanderer left00:57
zumba_addict joined00:57
Cassiel joined00:58
baweaver left00:58
danemacmillan left00:59
_Atom_ left00:59
ManikM left01:01
ManikM joined01:01
bracero joined01:04
Skapadapaduu left01:04
sumanto joined01:04
ende___ left01:04
harish left01:04
sumanto left01:05
mattcen mr_chris: I'm not sure if there's a *proper* way. I have some pretty robust ways to do it01:05
mattcen goes hunting01:05
bracero left01:05
thiago joined01:06
msmith_ joined01:06
bracero joined01:06
bracero left01:06
mr_chris mattcen, Thanks. The goal is to loop through all branches and update a single file on them all.01:06
bracero_ joined01:06
tokik left01:06
mr_chris Somehow "for remove it `git branch -r`" just feels wrong.01:07
*for remote01:07
J1G|Anon126 left01:07
mattcen That's because it is :)01:07
sohail joined01:07
Anon126 joined01:07
pheaver joined01:07
mr_chris At least my instincts are good.01:08
Anon126J1G|Anon12601:08
hexagoxel_ left01:08
_Atom_ joined01:08
mattcen Something like the following, which is untested:01:09
while read -r branch; do git checkout "${branch##*/}"; sed -i 's/broken/fixed/' dodgyfile.txt; git add dodgyfile.txt; git commit -m "Fix broken thing"; done <(git branch -r | sed 's/^..//; s/ ->.*//; /HEAD/d')01:09
Let me know which parts, if any, you don't understand01:09
jb55 joined01:09
mr_chris OK. Checking it out.01:09
longneckbeard left01:09
buffal0 left01:09
jerius joined01:09
jerius left01:10
Mark_ left01:10
mribeirodantas left01:10
mribeirodantas joined01:11
thiago left01:11
mmitchell joined01:11
jb55_ left01:11
NBhosting left01:12
dreiss left01:14
mr_chris mattcen, Makes sense. I only have one question about how the checkout there works. Just need a second to poke it some more before I ask.01:14
r0bby_ joined01:14
imachuchu left01:14
robustus left01:14
robbyoconnor left01:14
mattcen mr_chris: keep in mind that if it looks wrong, it *could* be because it is; as I said, I didn't test it.01:14
ome joined01:14
_Atom_ left01:15
mizu_no_oto joined01:15
mattcen Oh, you mean the "${branch##*/}" bit?01:15
a_le left01:15
robustus joined01:16
mr_chris Yes.01:16
mmitchell left01:16
aidalgol left01:16
edk left01:17
edk joined01:17
mr_chris done < <(git branch -r | sed 's/^..//; s/ ->.*//; /HEAD/d')01:17
rather than01:17
done <(git branch -r | sed 's/^..//; s/ ->.*//; /HEAD/d')01:17
shinnya left01:17
daito joined01:18
mr_chris Ah, your doing string replacement.01:18
Stripping off everything before the slash01:18
That is better than what I was doing. Thanks mattcen.01:19
mattcen mr_chris: Ah, good catch on the missing <01:19
mr_chris So http://dpaste.com/0H5PGNH01:20
At it's most basic.01:20
Ankhers joined01:20
aidalgol joined01:20
mr_chris *its01:21
thierryp joined01:21
palcu joined01:21
mr_chris That begins to work but then I get "Your local changes to the following files would be overwritten by checkout" a few branches in. I guess that's another issue entirely.01:21
booboy left01:23
mattcen Huh. Odd.01:23
baweaver joined01:23
henditan joined01:23
mr_chris I'm so pissed at the devs I support right now. No remote branch management whatsoever. We have over a thousand.01:24
desposo left01:24
mr_chris One for every ticket they've worked on since we've started using git.01:24
solker joined01:25
thierryp left01:25
mattcen mr_chris: Yuck. I have a clone of our repo that has a copy of all our branches (ever?), but the production version gets pruned semi-regularly01:25
mr_chris Ours gets pruned semi-never. I'm aiming to change that.01:26
mattcen Good luck!01:26
palcu left01:26
ajustrun joined01:27
ColdKeyboard left01:27
pheaver left01:27
mr_chris Thanks again.01:27
mattcen No problem01:27
mr_chris: for reference, #bash could also probably have helped with this problem; that would help ensure good bash code :)01:28
mr_chris Ah. Good call.01:28
btree joined01:29
mellernoia left01:29
solker left01:29
Nechradile joined01:30
fairuz joined01:30
reaverb joined01:30
lindenle left01:31
btree left01:32
Xiti left01:32
mribeirodantas left01:33
SjB_ left01:33
BSaboia_ joined01:33
Ajarm left01:33
SjB_ joined01:34
Ajarm joined01:34
muthukumar left01:35
Xiti joined01:35
markgrady joined01:35
meanderer joined01:35
a_le joined01:36
SjB_ left01:36
ascarter left01:36
Ajarm left01:36
SjB_ joined01:37
lpmulligan joined01:37
LucasKA_ left01:37
sgen left01:39
EminenceHC left01:39
Takle left01:39
lpmulligan left01:40
n-st left01:40
jb55 left01:41
SjB_ left01:43
tier joined01:43
alanwill left01:43
SjB_ joined01:44
Nechradile left01:44
mkopriva left01:45
asfdfdfd_ left01:45
jb55 joined01:48
SjB_ left01:49
tmcmahon joined01:49
r0bby_ left01:50
sgen joined01:51
fds4345 joined01:52
dialeth joined01:53
alanwill joined01:53
jason237 joined01:53
ncthom91_ left01:53
crelix joined01:55
hahuang61 left01:55
crelix left01:56
SjB_ joined01:56
rchavik left01:56
LucasKA_ joined01:56
tmcmahon left01:57
fds4345 I hear you can have custom tree objects in GIT? How would it distinguish between a tree that references objects on the filesystem and a tree that doesnt?01:59
Ankhers left01:59
SjB_ left01:59
n-st joined01:59
jongleberry left02:00
kpease left02:00
SjB_ joined02:00
SLY1986 left02:00
kballou left02:00
crelix joined02:00
EminenceHC joined02:01
msmith_ left02:01
SjB_ left02:01
SjB_ joined02:01
d3ngar left02:02
baweaver left02:02
tgunr joined02:02
uidzer0 left02:02
wjiang joined02:03
SumDude left02:03
Nijikokun left02:03
in_deep_thought left02:05
ajustrun left02:05
Nijikokun joined02:06
scriptThis joined02:06
muthukumar joined02:07
jb55 left02:08
EmmEight left02:08
jb55 joined02:08
EminenceHC left02:10
SjB_ left02:10
SjB_ joined02:10
MattMaker left02:12
anaran left02:12
blubberbop left02:12
markgrady left02:12
blubberbop joined02:13
jb55 left02:13
reyha joined02:14
GoldenAngle joined02:14
tranzfuse joined02:17
fustirge left02:19
zacts left02:20
thierryp joined02:21
palcu joined02:22
styly left02:23
n-st_ joined02:24
n-st_ left02:25
n-st_ joined02:25
mehem_ left02:25
solker joined02:26
thierryp left02:26
Sasazuka left02:27
mmitchell joined02:27
palcu left02:27
n-st left02:28
thiago joined02:28
thiago left02:30
nnyk_ joined02:30
arup_r joined02:30
solker left02:30
arup_r left02:31
joelm left02:31
watabou joined02:31
mmitchell left02:31
sohail left02:31
lindenle joined02:32
thiago joined02:33
ajustrun joined02:34
BSaboia_ left02:36
lindenle left02:37
m0ltar left02:38
Takle joined02:40
Mark_ joined02:41
mmitchell joined02:42
smccarthy joined02:43
fds4345 left02:44
gabedain joined02:44
robustus left02:44
gabedain left02:44
Takle left02:44
robustus|Off joined02:46
robustus|Offrobustus02:46
sohail joined02:47
ajustrun left02:47
Mercury_Mercury02:50
tier left02:50
Goplat joined02:51
daito left02:51
Noldorin left02:51
dreiss joined02:51
ajustrun joined02:52
mr_chris left02:53
adamben left02:54
mr_chris joined02:54
LucasKA_ left02:55
ajustrun left02:55
LucasKA_ joined02:55
daito joined02:55
GoldenAngle left02:56
mr_chris mattcen, Found one problem with your script.02:56
"${branch##*/}" assumes that no one put a / in the branch name.02:56
I've worked around it. Just FYI.02:56
mattcen mr_chris: Ah. Yes. Yes it does.02:56
mr_chris left02:56
Ankhers joined02:56
arup_r joined02:58
uidzer0 joined02:58
arup_r left02:59
LucasKA_ left03:01
ManikM left03:01
ManikM joined03:01
johtso_ left03:01
harish_ joined03:02
milli` joined03:02
Raverix left03:02
Raverix joined03:03
mr_chris joined03:03
bambams__bambams03:03
bambamsGuest4519803:04
__main__ left03:04
Guest45198bambams__03:05
amstan left03:05
weiyang joined03:06
LucasKA_ joined03:06
darkbasic left03:07
darkbasic joined03:07
mattcen mr_chris: How did you work around it? Just switch to "${branch#remotes/origin/}" or similar?03:09
Or just git read of the second hash so it only strips a single path component; probably the most correct way to do it03:10
magic_ joined03:10
mr_chris mattcen, The ugly fast way because I want to go home.03:11
checkoutBranch=$(echo $branch | sed "s/^origin\///")03:11
mattcen Ah. So the equivalent of "${branch#origin/}" :-)03:11
But going home is a good excuse!03:11
mr_chris Ah...03:11
johnny2600 joined03:11
mr_chris That would be much faster.03:11
Thanks.03:11
mattcen np03:11
dreiss left03:11
a_le left03:12
mattcen Parameter expansions are really handy, when you can understand their cryptic syntax!03:12
mizu_no_oto left03:13
luriv left03:14
__main__ joined03:15
mr_chris mattcen, They are. It's 10:14 PM here. Was just too tired to study into that further.03:15
mattcen mr_chris: Ouch, yeah, definitely a good time to be going home :). It's still 14:15 here, so my brain is in rather better condition than I think yours is :)03:16
mr_chris I just really don't want to deal with this in the morning.03:16
mattcen Best to get it done while it's fresh, huh?03:17
Ankhers left03:17
mr_chris I'll never get any work done tomorrow otherwise. We have a vagrantFile and, as I stated earlier, terrible branch management. The devs are changing branches, updating an old version, and then bitching at me when vagrant stops working.03:19
paulweb515 left03:19
mr_chris So I'm bandaiding it for tomorrow by updating that file in all branches.03:19
Until I figure out something better.03:19
sgen left03:20
nkouevda joined03:20
LeMike joined03:20
thierryp joined03:21
mattcen mr_chris: I don't envy you.03:22
palcu joined03:23
zivester joined03:24
crelix left03:25
arnaud left03:25
crelix joined03:26
thierryp left03:26
solker joined03:26
a_le joined03:27
boombatower left03:27
mmitchell left03:27
rchavik joined03:28
palcu left03:28
solker left03:31
CodeTroth joined03:31
enitiz left03:32
mizu_no_oto joined03:32
enitiz joined03:33
henditan left03:36
awkwardusername left03:36
henditan joined03:37
bracero_ left03:38
chrisshattuck joined03:39
Vasistha joined03:39
LucasKA_ left03:39
msonntag left03:39
AuvPrincessAuv03:40
Vasistha I am trying to push to a github branch here: https://github.com/demerson3/fpGUI/tree/agg-bitbuf ... I am using the command, ``git push github tree/agg-bitbuf'' and getting an error, src refspec tree/agg-bitbuf does not match any.03:40
skorgon joined03:41
skorgon left03:41
skorgon joined03:41
msonntag joined03:41
dreiss joined03:45
FreezingCold left03:45
J1G|Anon126 Vasistha: You don't need the "tree" part in your command. That is only for Github03:46
``git push github agg-bitbuf'' should do it03:47
mizu_no_oto left03:49
fatalhalt joined03:49
Vasistha J1G|Anon126: I also tried that, but got the same error03:50
CodeTroth left03:51
hahuang61 joined03:51
mizu_no_oto joined03:51
J1G|Anon126 what is the output of ``git remote -v''?03:52
neunon left03:52
Vasistha J1G|Anon126: http://paste.debian.net/132441/03:54
tranzfuse left03:54
neunon joined03:55
J1G|Anon126 hm...03:56
It is the same error: "src refspec agg-bitbuf does not match any..."?03:56
Is that right?03:57
adam12 left03:57
eagles0513875_ left03:58
Vasistha J1G|Anon126: yes.03:59
sorry, didn't see your message without the highlight03:59
FreezingCold joined04:00
adam- joined04:00
J1G|Anon126 Sorry, Vasistha04:00
ncd|leeN joined04:00
EminenceHC joined04:01
MattMaker joined04:01
arnaud joined04:01
Vasistha J1G|Anon126: oh! got it figured out. I had a note somewhere about how to do this. The local branch name is different, so I needed to specify both the local branch and the remote branch with a colon between them04:01
hahuang61 left04:01
J1G|Anon126 Vasistha: Ah, there we are!04:01
MattMaker left04:01
zivester left04:01
enitiz left04:01
nb_bez___ left04:02
kcj joined04:02
enitiz joined04:02
akiva joined04:03
variable left04:04
leeN left04:04
AR45 joined04:04
subhojit777 joined04:05
AR45 Say I wanted to set up my own private git server... how would I go about doing so?04:05
sohail left04:07
muthukumar left04:07
daito left04:08
EminenceHC left04:09
Dougie187 left04:10
nephyrin joined04:10
J1G|Anon126 left04:11
alanwill left04:13
dhilipsiva joined04:14
dhilipsiva left04:15
nnyk_ left04:16
maestrojed joined04:17
Drool joined04:18
Droolio left04:19
punchagan joined04:20
thierryp joined04:21
Consuela left04:22
learner1 left04:23
learner1 joined04:23
kyb3r_ joined04:24
reyha left04:24
Takle joined04:25
bbloom left04:25
thierryp left04:26
aidalgol left04:27
CheckDavid left04:27
Kulrak joined04:27
Kulrak left04:27
Kulrak joined04:27
solker joined04:27
mmitchell joined04:27
solker left04:29
solker joined04:29
Takle left04:29
teran left04:31
ome left04:31
causasui left04:32
bbloom joined04:32
causasui joined04:32
akiva left04:33
mmitchell left04:33
solker left04:33
akiva joined04:33
mizu_no_oto left04:34
johnflux left04:34
thumpba joined04:35
thumpba left04:35
thumpba joined04:36
tokik joined04:39
ojacobson left04:42
eagles0513875 joined04:43
Lyqyd left04:43
NoNMaDDeN joined04:44
styly joined04:45
mennea joined04:45
Lyqyd joined04:46
variable joined04:46
smccarthy left04:47
NaStYdoG left04:49
NaStYdoG joined04:49
meanderer left04:50
alexh_ joined04:52
hahuang61 joined04:54
kriks joined04:56
saurabh joined04:57
saurabhGuest925304:57
tinanoo left04:57
akiva left04:58
ErKa joined04:59
tinanoo joined04:59
kukks left04:59
faylite joined05:00
crelix left05:00
ManikM left05:01
ManikM joined05:01
r0bby_ joined05:01
daito joined05:02
akiva joined05:02
Pyrogerg left05:03
tranzfuse joined05:05
iamjarvo joined05:06
booboy joined05:08
tranzfuse left05:10
z8z joined05:10
chrisshattuck left05:11
palcu joined05:12
thumpba left05:12
Xethron joined05:12
fatalhalt left05:13
jceb joined05:14
jstimm joined05:15
jstimm left05:15
mennea_ joined05:15
mennea left05:16
smw left05:16
diegoviola left05:16
EminenceHC joined05:16
palcu left05:17
TDJACR left05:19
jceb_ joined05:20
thierryp joined05:21
EminenceHC left05:21
n-st_ left05:22
Lyqyd left05:22
irqq joined05:23
johnny2600 left05:25
Lyqyd joined05:25
thierryp left05:25
jceb_ left05:27
Xethron left05:27
jceb_ joined05:28
TDJACR joined05:28
solker joined05:30
Xethron joined05:31
Xethron left05:31
Xethron joined05:31
teran joined05:32
nephyrin left05:32
Milk_weed left05:32
nephyrin joined05:33
ManikM left05:34
solker left05:34
nephyrin left05:34
jceb_ left05:35
jceb left05:35
nkouevda left05:35
nephyrin joined05:35
Eugene AR45 - that depends upon your needs. ssh:// access only, or a web GUI is the big question05:35
nkouevda joined05:35
weiyang left05:35
AR45 both05:36
gui preferably05:36
Eugene !host_gui, with !gitblit being my personal preference.05:36
gitinfo There are several options for self-hosting git repositories with a web GUI: !gitblit !gitlab !gitorious !rhode_code and !gerrit. Keep in mind that these all take far more work than a (non-GUI) !gitolite install.05:36
Gitblit is an open-source, multiplatform Git server written in Java, available both as a standalone and as a WAR file to be ran in other Java web servers. Though it's very easy to set up, it offers many features such as a neat web UI, sophisticated authentication options including LDAP, Groovy script support, a GUI-based management tool and upcoming, WIP features such as "tickets" (similar to pull requests).05:36
Eugene For non-GUI, !gitolite is the go-to05:36
gitinfo Gitolite is a tool to host git repos on a server. It features fine-grained access control, custom hooks, and can be installed without root. Download: https://github.com/sitaramc/gitolite Docs: http://gitolite.com/gitolite/05:36
nkouevda left05:36
teran left05:36
durre joined05:39
ManikM joined05:40
smithbone joined05:40
smithbone_ left05:40
arup_r joined05:42
marthinal joined05:42
settermjd joined05:45
durre left05:45
bq joined05:45
devoldmx joined05:46
Tommy[D]_ joined05:49
mennea_ left05:49
weiyang joined05:49
AR45 left05:50
bq left05:51
irqq left05:52
lindenle joined05:52
Tommy[D] left05:52
irqq joined05:53
reaverb left05:53
wjiang left05:54
Consuela joined05:55
ErKa left05:56
MACscr left05:56
lindenle left05:57
muthukumar joined05:57
irqq left05:58
milki ya05:59
BlaXpirit joined06:00
skoop left06:01
jceb joined06:01
EminenceHC joined06:01
UmbraMalison left06:02
z8z left06:02
skoop joined06:03
arup_r left06:03
weiyang left06:03
Polyatomic joined06:05
UmbraMalison joined06:05
arup_r joined06:06
thumpba joined06:07
thierryp joined06:07
tgunr left06:08
harish_ left06:08
EminenceHC left06:09
watabou left06:09
eletuchy left06:09
NoNMaDDeN left06:09
NoNMaDDeN joined06:10
skoop left06:10
skoop joined06:14
Takle joined06:14
lacrymology joined06:14
muthukumar left06:14
lacrymology how bad of an idea is to make my ~ a repository with .gitignore: * so I can version my dotfiles?06:15
eletuchy joined06:15
lacrymology it sounds terribly bad06:15
milki it is06:15
lacrymology: !dotfiles06:15
gitinfo lacrymology: There are various issues associated with keeping dot-files in git (permissions, avoiding having a .git in ~/ or /). One attempt to manage this is http://dotfiles.github.com/06:15
mmitchell joined06:17
weiyang joined06:17
EminenceHC joined06:18
The_Phoenix joined06:18
listochkin left06:18
hagabaka left06:18
Takle left06:19
giusef joined06:19
hagabaka joined06:21
lindenle joined06:21
kermit left06:21
mmitchell left06:22
kermit joined06:22
EminenceHC left06:23
Raging_Hog joined06:25
Eugene !vcsh is also of interest06:25
gitinfo https://github.com/RichiH/vcsh - Version Control System for $HOME - multiple Git repositories in $HOME -- abusing fake bare Git repositories for fun and profit06:25
DonRichie left06:25
The_Phoenix How do I organize projects on GIT/GitHub? I'm trying to organize my college projects. I also have some additional projects I did. How do I go about doing Me/College/Class1/Project1, Me/Project2, Me/College/Class2/Project3 and so on? I want only contents of Project1, Project2, Project3,... to be repos.06:26
HedgeMage The_Phoenix: there's a github channel if that's what you're asking.06:27
DonRichie joined06:27
thumpba left06:28
r0bby_robbyoconnor06:28
robbyoconnor left06:28
crumpler left06:29
knownasilya left06:29
gargola left06:30
solker joined06:31
giusef left06:31
iamjarvo left06:31
teran joined06:33
boombatower joined06:33
boombatower left06:33
boombatower joined06:33
polyzen left06:34
Gamecubic left06:35
solker left06:35
pantsman- joined06:35
sinequanon joined06:37
teran left06:38
angelsl joined06:38
The_Phoenix1 joined06:38
The_Phoenix left06:39
smithbone left06:39
dreiss left06:39
smithbone joined06:39
Silmarilion joined06:40
jmverges joined06:40
Novitsh_ joined06:41
NoNMaDDeN left06:42
pppp2 joined06:43
markgrady joined06:45
jargon joined06:46
ThomasLocke joined06:46
ScioMin joined06:46
dhilipsiva joined06:48
skorgon left06:50
jameshendrix joined06:50
Macaveli joined06:51
jceb left06:51
pantsman- left06:52
dhilipsiva left06:54
nnyk_ joined06:56
Xethron left06:57
PCatinean joined06:58
lindenle left06:58
TheErik left06:59
krixxkraxx left06:59
Xethron joined07:00
mmitchell joined07:00
palcu joined07:00
ManikM left07:01
ManikM joined07:01
Bass10_ left07:01
ciampix joined07:02
settermjd left07:02
alexh_ left07:02
NoNMaDDeN joined07:02
settermjd joined07:03
palcu left07:05
mmitchell left07:06
mennea joined07:07
jagob joined07:09
mennea_ joined07:12
settermjd left07:12
zoso joined07:12
FilipNortic joined07:13
Consuela left07:13
nrsk joined07:14
francisfish left07:15
Consuela joined07:15
mennea left07:15
The_Phoenix1 left07:15
Lyqyd left07:16
The_Phoenix joined07:17
ScioMin left07:17
LeMike left07:17
pppp2 left07:17
roelmonnens joined07:18
Svetlana left07:18
clauswitt joined07:18
acolson joined07:19
awkwardusername joined07:20
freimatz joined07:20
bgerber left07:20
barduck joined07:20
darkbasic left07:23
EminenceHC joined07:23
darkbasic joined07:23
jmverges left07:23
The_Phoenix left07:24
a_le left07:24
a_le joined07:25
bgerber joined07:25
dreiss joined07:26
maestrojed left07:26
Xano joined07:27
EminenceHC left07:27
kadoban left07:29
Cassiel left07:31
solker joined07:31
Gizburdt joined07:34
settermjd joined07:34
solker left07:36
dsdeiz_ joined07:38
dsdeiz left07:39
pppp2 joined07:41
jceb_ joined07:41
styly_ joined07:42
cbr_ joined07:42
Xethron left07:43
carlosr left07:43
otter768 left07:44
CheckDavid joined07:44
HelperW joined07:44
styly left07:44
HelperW left07:45
The_Phoenix joined07:45
seschwar joined07:45
maestrojed joined07:46
mlechner joined07:47
Brain joined07:48
jnavila joined07:50
Goplat left07:51
Xethron joined07:51
Xethron left07:51
Xethron joined07:51
CEnnis91 left07:52
The_Phoenix left07:52
hohum left07:53
LeMike joined07:54
Niharika joined07:56
rickardo1 joined07:57
rickardo1 left07:57
King_Hual joined07:57
nikita left07:57
hebz0rl joined07:57
Xethron left07:57
fairuz left07:58
Duikb00t joined07:59
vurma joined07:59
nikita joined07:59
palcu joined08:00
palcu left08:00
hohum joined08:00
Xethron joined08:00
markgrady left08:01
EminenceHC joined08:01
scriptThis left08:02
mmitchell joined08:02
settermjd left08:02
Zifre_ left08:02
scriptThis joined08:03
mtakkman joined08:03
cjwilburn left08:03
lb1a joined08:03
teran joined08:04
nikita left08:04
mmitchell left08:07
mibofra left08:07
nikita joined08:07
regedit joined08:07
manuel_ joined08:07
teran left08:08
bq joined08:08
akiva left08:08
blubberbop left08:08
arnaud left08:09
awkwardusername left08:09
EminenceHC left08:10
eletuchy_ joined08:10
nnyk_ left08:12
nnyk_ joined08:12
eletuchy left08:13
Xethron left08:13
bq left08:14
eagles0513875 left08:14
eagles0513875 joined08:14
eagles0513875 left08:14
eagles0513875 joined08:14
eletuchy_ left08:15
Xethron joined08:16
DaisyTheCow joined08:16
mibofra joined08:16
Xano left08:16
DaisyTheCow left08:16
ManikM left08:19
nikita left08:19
nnyk joined08:21
nikita joined08:22
sinequanon left08:23
nnyk_ left08:23
okanck joined08:23
gua_ould joined08:24
ManikM joined08:24
ManikM left08:24
GGflags joined08:26
skoop left08:27
skoop joined08:27
psoo joined08:28
gfixler joined08:29
virtualsue joined08:29
cjwilburn joined08:32
EminenceHC joined08:32
solker joined08:32
joki left08:32
TomyWork joined08:32
Xethron left08:32
JohnBat26 joined08:33
nikita left08:34
joo-_ joined08:34
nikita joined08:36
solker left08:36
EminenceHC left08:37
eletuchy joined08:38
joki joined08:39
thiago left08:39
fairuz joined08:39
maestrojed left08:40
henditan left08:41
Takle joined08:42
henditan joined08:42
cjwilburn left08:44
nikita left08:45
alorence joined08:46
arup_r left08:47
nikita joined08:47
creep joined08:48
creep Hi peps... I don't get what is the idea behind branching and merging08:49
Cassiel joined08:49
Kartagis left08:49
osse creep: being able to work in different things at the same time, or several people work in parallel08:50
if none if that applies to you the nyou don't need to worry about it08:50
kyb3r_ left08:51
theForce joined08:51
theForce hi folks08:51
ayaz joined08:51
theForce i have a branch B, based off branch A, with lots of new files. how can i see only the changes for files that exist in A and B, but not the new files in B? git diff A B shows me both...08:52
osse theForce: git diff A...B08:53
AliRezaTaleghani joined08:53
osse oooh08:53
theForce: git diff --diff-filter=M A B08:53
Xano joined08:53
theForce osse: cool thx :-)08:56
NoNMaDDeN left08:56
palcu joined08:57
imolorhe joined08:57
osse theForce: if A advances independently you might want A...B also08:57
creep osse: thanks for repling :), ok that is what I already heard in tuts so far, but take this as an example08:57
hgl joined08:58
creep i have a master branch with file x08:58
TheBrayn joined08:58
TheBrayn hi08:58
creep then I want to add some new thing to this file, and because of that I create a new branch called brach x08:59
so we keep on working an file x in diffrent branches, as resault we have 2 diffrent file x09:00
as we want to merge the 2 diffrent file x what happens09:00
hahuang61 left09:01
pppp2 left09:01
dreiss left09:01
osse git will try to merge them. if it cannot then it will let you know. if you have edited seperated parts of the file so that your changes don't overlap then git will be able to do it just fine09:01
enitiz left09:01
NoNMaDDeN joined09:01
MartialLaw joined09:02
veebers left09:02
MartialLaw im pushing a project to git and when a collaberator opens it it updates files09:02
creep so before merge i need to discuss the code09:03
ldlework joined09:03
ldlework When I build git from source, I find that /usr/local/libexec/git-core takes up 700 mb!09:04
Is there anyway to build git with a reduced footprint?09:04
nikita left09:04
osse ldlework: it doesn't09:04
bremner ldlework: probably you need to strip your binaries09:04
XaT left09:04
osse ldlework: there are many many hard links.09:04
groolot joined09:05
bremner ldlework: mine is only 15M09:05
ldlework bremner: what does that mean09:05
each binary for me is 6.4M09:05
CustosL1men joined09:05
osse ldlework: it's all the same binary09:05
ldlework osse: doing ls -lah doesn't show them as links09:06
dimm joined09:06
osse ldlework: they are hard links09:06
dimm hello, All!09:06
bremner ldlework: what does "du -sh /usr/local/libexec/git-core" tell you?09:06
osse ldlework: does it say '111' next to many of them?09:06
ldlework 730M09:06
osse ldlework: and their sizes are *identical* ?09:06
bremner ldlework: huh. That must be a non-GNU du09:06
nikita joined09:06
ldlework I wonder if it is because I'm inside of a Docker container on btrfs or something..?09:06
du (GNU coreutils) 8.1309:07
osse if it doesn't support hard links then yes I suppose09:07
bremner the main git binary is only 1.6M for me09:08
dimm have some trouble. commit-1 - place files to repo.... commit-2 delete files... now trying to re-create local repo 'git clone <url>' and then 'git reset --hard <commit's hash>'. Now i can see files in local repository, but how can i place files to remote repo to HEAD branch?09:08
osse bremner: yeah it's about 6 unstripped09:08
nfk joined09:08
TheBrayn I have accidentally added a commit (5 commits ago) to a branch which should really belong to another branch09:08
how can I move one commit to another branch?09:08
osse ldlework: if I run du -l I also get several 1000 MB09:08
ehh 10009:08
BtbN You can't without modifying history and breaking the repo for everyone else09:09
TheBrayn ok09:09
osse ldlework: can you show the output of ls -l of the dir ?09:09
BtbN If you haven't pushed it yet, feel free to just rebase it09:09
osse creep: not really. if the merge didn't go well, and you cannot fix it yourself, then yes you must discuss09:09
bremner BtbN: TheBrayn: you can cherry-pick it without disruption, it's deleting it from the original branch that messes up history09:09
BtbN Best you can do if you already pushed it is reverting it09:10
joo-_ left09:11
Nijikokun left09:12
joo-_ joined09:14
Vile left09:14
alorence left09:15
arup_r joined09:15
barduck left09:15
tinanoo left09:15
tokik left09:16
blackmesa joined09:16
XaT joined09:16
mlechner left09:17
dimm solved as: git reset --hard <hash>09:17
copy files to back folder09:17
git pull <---- this return to current version (empty repo)09:18
copy files from backup to local repo09:18
git add *.*09:18
forgottenleaf joined09:18
dimm git commit -a -m "test commit"09:18
Drakevr left09:18
Drakevr joined09:18
dimm git push09:19
forgottenleaf left09:19
dimm guyz, plase say is this wrong way?09:19
darkbasic_ joined09:19
martinklepsch joined09:19
ldlework So, doing export NO_INSTALL_HARDLINKS brought my disk usge down to 60M09:20
darkbasic left09:20
mtakkman left09:20
ldlework But its 1:30AM, no time to wonder why09:20
thanks09:20
regedit left09:20
marcogmonteiro joined09:21
MACscr joined09:22
MACscr left09:22
lidaaa left09:22
MACscr joined09:23
MACscr left09:23
shanee_ joined09:23
MACscr joined09:23
shanee_ Hello. I'm trying to revert a commit and then when this causes a conflict I'd like to just keep the file as it was before and I'll just edit a line in myself (easier than doing the 100+ conflicts). Is there an way to do this?09:24
osse shanee_: git checkout <old commit> -- <file>09:24
mikecmpbll joined09:24
endiruna joined09:25
shanee_ osse, yes. That works. :)09:26
Thanks. That was pretty simple really.09:26
mlechner joined09:27
teran joined09:28
str left09:28
henditan left09:28
anaran joined09:28
henditan joined09:29
irqq joined09:29
groolot left09:29
creep osse: thanks ones more, I did the git school five minutes ago with the octocats :D so, they branch a master in which they delete file... when they merge branch a and master ... master becomes branch a09:30
can u say that ?09:30
liamkeily joined09:30
osse shanee_: note that it effectily reverts everything done to that file since <old commit>09:31
darkbasic_ left09:32
osse creep: that will happen if branch a is "ahead" of master.09:32
creep: ie. if it's all just one line09:32
s8321414 joined09:32
solker joined09:33
TheBrayn bremner: since we are using stash with pull requests I could just create another branch and cherry pick everything I needed from the old one09:33
creep osse: ok nice ... let us think about in master and branch a are diffrent commit done, what happens then ? :)09:34
EminenceHC joined09:34
darkbasic joined09:34
creep osse: omg, I think git is a great way to get order in my chaos :D09:34
osse creep: you will get a merge commit09:35
henditan left09:35
henditan joined09:36
Sceorem joined09:36
liamkeily left09:37
solker left09:37
francisfish joined09:37
liamkeily joined09:37
liamkeily left09:37
endiruna left09:38
drizztbsd joined09:38
arup_r left09:39
EminenceHC left09:39
User458764 joined09:39
lpax joined09:40
francisfish left09:40
User458764 Hi, for a weeks git doesn;t work correctly for example when I do 'git -v' I have a blank line, why goes wrong?09:40
b100s left09:40
shanee_ osse, yes. That's actually what I want. Thank you for the help. :)09:40
osse User458764: how does it go wrong?09:41
lb1a git -v is not a command09:41
arup_r joined09:42
alexO joined09:42
User458764 osse oh git -v doesn't exists but I hope it returns me an error and I have no errors the problem happens too when I do a git push I wait and then nothing09:42
but all others commands seems to work09:42
henditan left09:43
osse what does 'echo lol >&2' print ?09:43
User458764 osse nothing09:43
arup_r left09:44
henditan joined09:44
osse User458764: then you have somehow silenced stderr09:44
User458764: exec 2>/dev/tty and try again09:44
corni joined09:44
corni left09:44
corni joined09:44
arup_r joined09:44
otter768 joined09:44
User458764 osse the worse is sometimes like here I try to enter a command and then enter and the enter key does not work09:45
ok I understand I think it is related to my shell which is 'fish'09:45
booboy left09:45
CheckDavid left09:47
endiruna joined09:48
beautifulmind joined09:48
User458764 osse damn it, I put this script in my 'fish' config and read the line 'Now I not receive any error messages from terminal' and did not pay attention but now I understand I understand what does it means ;)09:48
https://gist.github.com/eggegg/607715309:48
sara-zahrani joined09:49
otter768 left09:49
davidreis joined09:49
dialeth_ joined09:49
dialeth left09:49
sara-zahrani left09:51
DaisyTheCow joined09:51
XaT left09:51
mmitchell joined09:51
AliRezaTaleghani left09:51
weiyang left09:51
netcarver joined09:52
Niharika left09:53
GT joined09:53
AliRezaTaleghani joined09:54
hgl left09:54
ecky--ptang-zoob joined09:54
hgl joined09:54
mmitchell left09:55
israelpattison left09:57
joo-_ left09:57
joo-_ joined09:58
Duikb00t left09:58
NoNMaDDeN left09:58
NoNMaDDeN joined09:58
Solid1 joined09:58
hgl left09:59
Xethron joined09:59
Xethron left09:59
Xethron joined09:59
lindenle joined09:59
virtualsue left09:59
Duikb00t joined10:00
EminenceHC joined10:01
kcj left10:01
corni left10:01
jcalonso joined10:01
lindenle left10:04
vtunka joined10:04
LeMike left10:05
GT left10:05
achadwick joined10:06
NoNMaDDeN left10:06
alorence joined10:08
sh4rm4 joined10:08
Sleepy63 left10:09
Errorical joined10:09
sh4rm4 is there a way to check in a symbolic link as a file ? (to kinda emulate a subproject)10:09
EminenceHC left10:09
the_drow joined10:09
RaceCondition joined10:10
BtbN no10:10
GT joined10:10
creep osse: hey one more question from me. I like the way that people write good code and share them with others. But what about theres effort ? Take this. Somebody have a very very good idea and a bad person could simply clone the code am make some improvements10:10
the_drow How do I create a new branch from the current branch that contains all commits since this branch was created except one?10:11
tobiasvl creep: what makes the person bad?10:11
creep so the day comes he get creadit for the "stolen" code10:11
and what about the origin ?10:11
tobiasvl what license does the "stolen" code have?10:11
jnavila_ joined10:11
jnavila left10:12
tobiasvl it's not stealing if it has a copyleft license10:12
creep It is open source code10:12
tobiasvl or is open source/free software10:12
well then it's not stealing10:12
bremner well, some licenses insist on giving credit10:12
jast if you publish your code in a prominent place, it's easy to see later on who was first :)10:12
BtbN "Open Source" can mean a lot.10:12
creep but he could use it for a own produkt10:12
BtbN If it's GPL, forking and enhancing is absolutely intended and encouraged10:12
creep lets take git and github10:12
osse creep: the bad person has three choices 3) Contribute his changes back to the original repository. in that case he only gets credit for what he has done IF it gets accepted 2) Fork the whole prject and convince others to use his fork 3) Hack the original hoster of the project (effectively impossble)10:12
creep github is making millions based on git10:13
Raverix left10:13
BtbN Yes, so?10:13
MoSal joined10:14
Raverix joined10:14
creep so if i invented git I want some of the githubs cake10:14
bremner but you didn't10:14
creep yes10:14
osse creep: then you should licence it differently10:14
tobiasvl then you wouldn't have given git such a permissible license10:14
creep so why doing a great tool like git10:14
Cope left10:14
tobiasvl the creators of git have allowed github to do exactly what they do10:14
it's allowed10:14
it's not stealing10:14
MoSal Is there a way to view cached and non-cached changes with git diff?10:14
creep someone creat a produkt upon this base10:14
BtbN They didn't explicitly allow it to github10:14
osse MoSal: git diff and git diff --cached10:14
BtbN It's just the GPL10:14
MoSal osse: I meant at the same time?10:15
neary joined10:15
osse MoSal: git diff HEAD10:15
creep Don't get me wrong .. I love the people working on free code10:15
MoSal osse: thanks.10:16
Raverix left10:17
Raverix joined10:17
galaris joined10:17
creep Hey I got a good example of history ^10:17
BtbN Millions and millions of people use Linux, even in proprietary devices and software solutions.10:17
creep there is Steve jobs, bill gates and linus torvald10:17
osse and theo de raadt10:18
Gizburdt left10:18
BtbN github is one of the primary reasons git got as popular as it is now. They are contributing a lot back by that alone.10:18
bremner and bob the builder10:18
creep linus is open source and very poor compare to the others10:19
listochkin joined10:19
creep bill gates is the thief and the richest10:19
bremner creep: why do _you_ care? linus doesn't seem to. Also, what does this have to do with git?10:19
BtbN Because money. Everything else doesn't matter.10:20
If someone isn't maximizing his profit, he must be crazy.10:20
bremner creep: this discussion is not going to go anywhere useful. How about we stick to tecnical stuff here, and you go to #fsf if you want to debate the sanity of free software?10:20
creep BtbN: sadly but true, so you agree10:21
ok10:21
BtbN No, i don't. I think your way of thinking is toxic.10:21
seschwar left10:21
Sleepy63 joined10:21
MoSal left10:21
cjwilburn joined10:22
seschwar joined10:22
zanchoPansa left10:22
osse BtbN: toxic? not poisonous?10:23
or venomous?10:23
creep I think it is a serious discussion10:23
bremner not for long.10:23
ChanServ set mode: +o10:24
dimm left10:24
listochkin left10:24
boombatower left10:25
scorphus joined10:26
scorphus left10:26
scorphus joined10:26
Gizburdt joined10:27
govg left10:27
cjwilburn left10:27
israelpattison joined10:27
hgl joined10:27
osse imagines bremner flexing is irc muscles in the mirror10:27
RaceCondition left10:27
hglGuest7633110:28
bremner grunts10:28
cxz left10:28
fr33domlover left10:29
mennea_ left10:31
canton7 reading the backlog, that's a weird argument. "Let's say I decided to write some code, and make it available for free. I willingly released it under a license which allows other people to make money from it. Now someone else is making money from it. This upsets me"10:31
bremner please don't feed the (possibly accidental) troll10:31
canton7 my bad - I assumed you'd kicked him already from the opness10:32
bremner nah. I got distracted by my reflection in the mirror10:32
canton7 :P10:33
I wonder if I can deop someone who has every right to be an pop...10:33
ChanServ set mode: -o10:34
canton7 :D10:34
solker joined10:34
ChanServ set mode: +o10:34
canton7 *be an op10:34
daito left10:35
RaceCondition joined10:35
Gizburdt left10:36
uku joined10:38
martinklepsch left10:38
solker left10:38
EminenceHC joined10:38
martinklepsch joined10:39
uku is it possible to download the commit objects manually somehow using some lower level commands? say I get the hash of the remote repo using ls-remote and want to download only that commit object?10:40
asfdfdfd joined10:40
ChanServ set mode: -o10:40
bremner uku: iirc, you can only fetch refs.10:41
imolorhe left10:41
Gizburdt joined10:42
jast correct... to avoid people being able to download objects that have been removed from the history, etc.10:42
creep bremner: i am new to technical things. because i am interessed. i don't get why u call me troll. i think that discussion legal, but i also respect the opposit. so if u want me to talk only about git i do so. but i wanted to hear some "informatic experts" oppinion. so sorry for that :)10:43
EminenceHC left10:43
creep So as git i did a branch and wanted to merge :)10:44
uku what about just the tree objects from HEAD?10:45
basically I'm looking for something similar to svn ls10:45
without the wasteful git clone10:45
canton7 look at man git clone --depth and man git ls-remote10:46
gitinfo the git-clone manpage is available at http://jk.gs/git-clone.html10:46
the git-ls-remote manpage is available at http://jk.gs/git-ls-remote.html10:46
Malsasa joined10:46
uku i know about both of them10:46
D-Boy left10:46
canton7 so, in what way does 'git clone --depth 1' not solve your problem?10:46
ah, you just want the tree, not the actual objects?10:47
fairuz1 joined10:47
uku yes, just the directory structure10:47
virtualsue joined10:47
jast there's git archive with --remote for fetching trees from the server (including the files), but it needs to be enabled on the server10:47
uku i want to know if the tree contains a certain file for example10:47
darkbasic_ joined10:47
jast what you want is usually only available via web interfaces10:47
St_Marx left10:48
darkbasic left10:48
uku canton7, another problem is that I would like to have change log, depth 1 give only the last commit message10:48
jast canton7: sure you can deop people, but if done for the wrong reasons it could earn you an extended vacation outside #git :}10:49
uku it is unfortunate that git does not provide log and ls command for remote use10:49
davividal joined10:49
fairuz left10:50
learner1 left10:50
canton7 sure - I'm nice, honest :)10:50
uku but I guess starting with the HEAD wouldn't work in either case, because it would not include references to children, only to parents10:50
learner1 joined10:50
uku so using that it would be not possible to traverse the commits10:51
be*10:51
jast well, if you've got a branch checked out, there are no descendants of HEAD on that branch :)10:51
there are only ancestors10:51
ohcibi has anyone managed to configure gpg-agent on os x to be used with git? such that one does not has to enter the password for every single commit?10:53
St_Marx joined10:53
uku but in principle something that downloaded the trees but not the blobs themselves would be really nice10:53
it should be possible in principle as per the git specification, I think10:54
NoNMaDDeN joined10:54
david24365 joined10:55
RaceCondition left10:56
seg_fault joined10:57
fr33domlover joined10:57
mennea joined10:57
ecky--ptang-zoob left10:59
ecky--ptang-zoob joined10:59
rickardo1 joined11:00
rickardo1 Should the stash be deleted after git stash apply Stash{id} ?11:00
canton7 you'd have to disable a lot of repository integrity stuff...11:00
rickardo1, no. that's the difference between apply and pop11:00
rickardo1 canton7: ok, ty11:01
francisfish joined11:01
mellernoia joined11:01
cjwilburn joined11:03
D-Boy joined11:03
neary left11:03
groolot joined11:04
clauswitt left11:04
david24365 left11:05
Xethron left11:05
palcu left11:05
palcu joined11:06
mennea left11:06
Xethron joined11:06
Xano left11:07
nrsk left11:07
ManikM joined11:07
hexagoxel joined11:08
arnaud__ joined11:10
Polyatomic left11:10
palcu left11:10
jameshendrix left11:12
harish_ joined11:13
mellernoia left11:14
arnaud__ left11:14
Errorical left11:15
basiclaser_ joined11:15
Errorical joined11:16
Errorical left11:16
Errorical joined11:16
mtakkman joined11:16
NightMonkey left11:16
cjwilburn left11:17
doev joined11:17
Gizburdt left11:17
teran left11:18
freimatz left11:18
mtakkman left11:19
deciph3r left11:19
The_Phoenix joined11:19
blackmesa left11:20
johnflux joined11:20
johnflux left11:20
johnflux joined11:20
deciph3r joined11:20
groolot left11:22
paulweb515 joined11:22
fairuz1 left11:23
petersr joined11:23
deciph3r left11:24
NightMonkey joined11:24
petersr left11:25
tvw joined11:25
clauswitt joined11:26
rickardo1 left11:26
deciph3r joined11:26
paulweb515 left11:27
shebbi joined11:30
shebbi hi, is the routine to backup straight after a commit?11:30
using backup software11:30
Trudko joined11:31
shebbi as i know you shouldnt use git for backup11:31
Raverix left11:32
Raverix joined11:32
Lekensteyn joined11:32
seg_fault left11:33
fr33domlover left11:33
henditan left11:33
Lekensteyn Heya, is it possible to do an out-of-tree build of git? make -F /path/to/git/Makefile complains about a file it cannot find11:33
Takle left11:33
solker joined11:34
Gizburdt joined11:35
teran joined11:36
Malsasa left11:36
blackmesa joined11:36
chiemseesurfer left11:37
chiemseesurfer joined11:38
solker left11:39
RaceCondition joined11:40
teran left11:40
CustosL1men left11:40
RaceCondition left11:40
arup_r left11:41
paulweb515 joined11:42
dEPy joined11:42
Duikb00t left11:42
roelmonn_ joined11:43
Sceorem left11:43
mennea joined11:44
darkbasic joined11:44
M-ou-se left11:45
roelmonnens left11:45
darkbasic_ left11:45
otter768 joined11:45
arup_r joined11:49
otter768 left11:50
boushi joined11:51
EminenceHC joined11:52
a_le left11:52
palcu joined11:52
Jupelius How can I fast-forward a branch to same state as master without getting any messages to the commit log?11:53
RichardJ left11:53
moritz Jupelius: why would you want to do that?11:53
endiruna left11:54
moritz Jupelius: it's possible, but would make further merges more awkward (and it wouldn't be a fast-forward in the git sense)11:54
(for example with git merge --squash master, which would install just one commit)11:54
Jupelius I just want my local branch to be up-to-date11:54
freimatz joined11:55
osse Jupelius: fast-forwarding doesn't create any extra messages11:55
moritz Jupelius: then do a simple merge, and ignore the commits11:55
gv left11:55
fr33domlover joined11:55
niro joined11:55
moritz Jupelius: and a for a proper (not fast-forward) merge, git log --first-parent won't show the commits from master11:56
Vivekananda_y510 left11:56
roelmonnens joined11:57
Jupelius Or should I rebase if I want to publish this branch afterwards (and merge it to the master) without any additional commits11:57
EminenceHC left11:57
Errorical left11:57
osse rebase is probably what you want11:58
roelmonn_ left11:58
M-ou-se joined11:59
gv joined12:00
paul424 joined12:00
EminenceHC joined12:01
fr33domlover left12:01
Macaveli left12:02
weyer left12:03
Errorical joined12:04
blackmesa left12:06
adamben joined12:09
adamben left12:09
adamben joined12:09
EminenceHC left12:10
RaceCondition joined12:11
Guest76331hgl12:12
martinklepsch left12:12
hgl left12:12
hgl joined12:12
Macaveli joined12:12
NosBit joined12:13
NosBit left12:13
NosBit joined12:13
m0ltar joined12:13
heftig left12:14
Gitzilla left12:14
endiruna joined12:14
Macaveli left12:15
DrSkyLizard joined12:16
str joined12:16
teran joined12:17
dsdeiz_ left12:17
Macaveli joined12:18
m0viefreak joined12:18
jottr joined12:18
Duikb00t joined12:19
ap0c left12:19
heroux left12:19
mizu_no_oto joined12:20
heroux joined12:20
weyer joined12:20
shebbi hi, is the routine to backup straight after a commit?12:22
Lekensteyn shebbi: pushing the changes to a remote repository? Not necessarily12:23
ecky--ptang-zoob left12:23
Takle joined12:24
ecky--ptang-zoob joined12:24
hgl left12:24
drocsid left12:24
RaceCondition left12:24
Guest9253 left12:24
a_le joined12:25
Duikb00t left12:25
Takle left12:25
destiny joined12:26
destiny left12:26
creep left12:27
mtakkman joined12:29
alexO left12:29
booboy joined12:30
ecky--ptang-zoob left12:30
netj left12:31
ecky--ptang-zoob joined12:31
netj joined12:31
drocsid joined12:31
Sceorem joined12:32
linduxed left12:33
RaceCondition joined12:34
m0ltar left12:34
heftig joined12:35
solker joined12:35
Takle joined12:35
cjwilburn joined12:35
ecky--ptang-zoob left12:36
linduxed joined12:36
Viata joined12:37
rjc left12:37
livingstn joined12:38
jonatasnona joined12:38
SHLV joined12:39
magic_ left12:39
solker left12:39
rjc joined12:41
Viata left12:42
eletuchy left12:43
eletuchy joined12:43
scottpgallagher joined12:46
fairuz joined12:47
eletuchy left12:48
johtso_ joined12:48
rob_w__ joined12:49
beautifulmind left12:49
beautifulmind joined12:49
andrew__ joined12:50
andrew__ left12:51
andrew__ joined12:51
andrew__ left12:51
cjwilburn left12:51
netj left12:51
NoNMaDDeN left12:51
netj joined12:51
andrew__ joined12:51
andrew__ left12:52
andrew__ joined12:52
andrew__ left12:52
andrew__ joined12:53
andrew__ left12:53
andrew__ joined12:53
andrew__ left12:54
ayaz left12:54
shebbi Lekensteyn: not pushing. just commiting changes on a dev machine.12:54
andrew__ joined12:54
andrew__ left12:54
RaceCondition left12:55
andrew__ joined12:55
andrew__ left12:55
andrew__ joined12:56
andrew__ left12:56
hje841 joined12:56
andrew__ joined12:56
bracero joined12:57
nrsk joined12:57
mtakkman left12:58
hje841 I want to create a pull-requestion with 'git request-pull <start> https://github.com/my_own_github/project/ master'. What should I call <start>? I don't recall naming anything there12:58
Gizburdt left12:59
Gizburdt joined13:00
Sceorem left13:00
tobiasvl git request-pull is not the same as a github pull request13:00
EminenceHC joined13:00
tobiasvl if that's what you mean13:00
hje841: man git request-pull13:00
gitinfo hje841: the git-request-pull manpage is available at http://jk.gs/git-request-pull.html13:00
bracero left13:01
netj left13:01
netj joined13:01
Takle left13:02
hje841 tobiasvl, I see. I have been reading that manpage, and it suggests a v1.0 or something. but I didn't specify it when I dit 'git clone..'13:02
tobiasvl hmm?13:03
chrisgeo joined13:03
iamjarvo joined13:03
EminenceHC left13:05
subhojit777 left13:06
ManikM left13:06
hje841 now I'm confused. I did the 'git push', shouldn't I create a pull request from my local terminal to make my github page able to get my latest changes?13:06
ManikM joined13:06
blubberbop joined13:06
tobiasvl hje841: no idea what you're asking. where did you push? to github? did you push to a fork? if so, you create a pull request on the web interface of github.com13:07
Takle joined13:08
jcalonso left13:08
andrew__ left13:09
hje841 tobiasvl, I pushed from my local copy to github. and I believe I pushed to the master. I have no forks on this project. but I see it in the webinterface now, thanks13:10
tobiasvl ok, cool13:10
I think #github might be better for questions like this btw13:11
m0ltar joined13:11
bremner thinks so too, but has never actually seen a question answered on github.13:11
Error404NotFound joined13:11
tobiasvl oh it's pretty active13:11
bremner ok, I must just be unlucky13:11
groolot joined13:12
mtakkman joined13:12
liamkeily joined13:12
tobiasvl well, I see you're not there now, but there's been lots of activity today13:12
styly_ left13:12
aspiers joined13:13
hje841 ahh.. thanks. I didn't think of that channel. :)13:13
hcc23 joined13:14
styly joined13:14
Takle left13:14
styly_ joined13:14
styly left13:14
styly_ left13:14
styly joined13:15
hje841 apparently if you push to the master branch, you can't create a pull request. I guess I just learned something about git(hub) today...13:16
osse I'ev created pul lrequests from one master to another before13:17
sburgess joined13:18
sburgess_ joined13:18
hje841 I just push'ed my changes from my local master to the master on github, and the 'create pull request' button is not active13:18
scottpgallagher left13:18
tobiasvl hje841: but you also said "I have no forks on this project"13:18
is your project a fork?13:18
scottpgallagher joined13:18
osse hje841: pull requests are from one repo to another. if it's all the same repo then it doesn't have any meaning13:18
tobiasvl if not, there's no repo to request a pull in13:18
scampbell joined13:19
martinklepsch joined13:19
palcu left13:19
blubberbop left13:19
hje841 tobiasvl, my project is not a fork. I'm just keeping a mirror on github13:19
beautifulmind left13:19
tobiasvl then you can't make any pull requests13:19
sohail joined13:20
tobiasvl a pull request is a request to the upstream, asking to pull from a fork13:20
anaran left13:22
booboy_ joined13:22
lsiv568 joined13:22
zumba_addict left13:23
zumba_addict joined13:23
palcu joined13:23
doev left13:23
petersr joined13:24
hje841 I see. so in case I want to make changes to a project - not my own - I fork it, commit locally, and then create a pull request when I'm done?13:24
tobiasvl yes13:24
EminenceHC joined13:24
tobiasvl https://help.github.com/articles/using-pull-requests/13:24
Takle joined13:25
Segfault_ joined13:25
hje841 got it, thanks :)13:25
nikita left13:25
neary joined13:25
numdig joined13:26
mennea left13:27
nikita joined13:27
zumba_addict left13:27
The_Phoenix left13:28
palcu left13:28
mmitchell joined13:28
booboy left13:29
NoNMaDDeN joined13:29
EminenceHC left13:29
hje841 left13:29
dsdeiz joined13:31
checkItOut joined13:31
sohail left13:31
mmitchell left13:33
booboy_ left13:33
palcu joined13:33
roelmonn_ joined13:33
booboy joined13:33
koderok joined13:34
roelmonnens left13:34
shebbi left13:34
palcu_ joined13:35
lseb left13:36
solker joined13:36
sohail joined13:36
palcu left13:37
d10n-work joined13:38
pigeon left13:39
galaris left13:40
pigeon joined13:40
solker left13:41
aspiers left13:42
danemacmillan joined13:44
otter768 joined13:46
denete joined13:47
checkItOut left13:47
mellernoia joined13:47
mtakkman left13:48
cjwilburn joined13:48
mennea joined13:49
lseb joined13:49
DrSkyLizard left13:50
otter768 left13:51
smccarthy joined13:51
jottr Hi all.13:51
liamkeily left13:51
jottr I am in a repository that uses git flow workflow. Let's say I am on feature/foo and would like to sync with changes that have been commited to develop, and then go on working on feature/foo. What is the "correct" way of achieving this? A simple merge from develop to feature/foo? A rebase? I don't want to merge my changes of my branch to develop since that branch is not feature complete yet.13:53
s8321414 left13:54
grawity merging from develop should be fine, I think13:54
s8321414 joined13:55
The_Phoenix joined13:55
tobiasvl fast-forward merge from develop13:55
jottr k thx13:56
tobiasvl jottr: http://git-scm.com/book/en/v2/Git-Branching-Rebasing13:56
bracero joined13:57
St_Marx left13:59
listochkin joined13:59
meanderer joined14:00
cjwilburn left14:00
markelite left14:00
thumpba joined14:00
nikita left14:00
EminenceHC joined14:01
tristanp joined14:01
virtualsue left14:01
bracero left14:02
nikita joined14:03
listochkin left14:03
cjwilburn joined14:03
liamkeily joined14:04
netj left14:04
netj joined14:05
Neozonz joined14:05
Neozonz left14:05
Neozonz joined14:05
sarri left14:05
wieshka left14:05
sarri joined14:07
chrisshattuck joined14:08
lpax left14:09
DrSkyLizard joined14:09
drizztbsdtimothy14:09
EminenceHC left14:09
aspiers joined14:09
tranzfuse joined14:10
nurey joined14:10
cjwilburn left14:11
tier joined14:12
Gizburdt left14:12
kurkale6ka joined14:12
Neozonz left14:12
Neozonz joined14:12
Neozonz left14:12
Neozonz joined14:12
chrisshattuck left14:13
irqq_ joined14:13
eletuchy joined14:13
marklite joined14:14
Raverix left14:14
StefanLehmann left14:16
irqq left14:17
irqq_irqq14:17
nurey left14:17
eletuchy left14:18
arup_r left14:19
mizu_no_oto left14:20
joo-_ left14:21
zivester joined14:21
listochkin joined14:22
bahar left14:22
bahar joined14:22
seg_fault joined14:23
s8321414 left14:24
jerematic_work joined14:24
dsdeiz left14:24
msmith joined14:24
devoldmx3 joined14:24
msmith left14:24
msmith joined14:25
HelperW joined14:25
iamjarvo left14:25
neary left14:26
neary joined14:26
Stummi_Stummi14:26
devoldmx left14:27
booboy left14:27
EminenceHC joined14:29
buffal0 joined14:30
tesaf joined14:30
thierryp left14:31
cannonball joined14:32
Milk_weed joined14:33
EminenceHC left14:34
endiruna1 joined14:34
subhojit777 joined14:34
endiruna left14:35
virtualsue joined14:35
weyer left14:35
Milk_weed left14:36
solker joined14:37
weyer joined14:37
thumpba left14:37
akiva joined14:37
iamjarvo joined14:38
ghostlines joined14:38
bambams__bambams14:38
bambams left14:39
bambams joined14:39
faylite left14:39
IrishPrime joined14:39
Raging_Hog left14:39
paul424 left14:40
zoso left14:40
solker left14:41
tinanoo joined14:42
thierryp joined14:42
LeMike joined14:43
anaran joined14:43
pushbell7-home left14:43
cjwilburn joined14:43
anaran left14:44
devoldmx3 left14:44
mizu_no_oto joined14:44
lpax joined14:44
mtscout6 joined14:45
jerius joined14:45
Gizburdt joined14:46
NoNMaDDeN left14:46
mewm joined14:46
tgunr joined14:48
Dougie187 joined14:49
darkbasic left14:50
dreiss joined14:50
darkbasic joined14:50
jerius left14:51
ruukasuu joined14:51
anaran joined14:53
joo-_ joined14:53
jerius joined14:53
Takle left14:53
cvanball joined14:54
EminenceHC joined14:55
ruukasuu left14:55
ruukasu left14:55
rchavik left14:56
ruukasu joined14:56
barduck joined14:57
mizu_no_oto left14:58
bracero joined14:58
enitiz joined14:58
diegoaguilar left14:59
lindenle joined14:59
forgottenleaf joined14:59
EminenceHC left15:00
nickpresta joined15:00
cjwilburn left15:00
Aune joined15:01
forgottenleaf left15:01
plasticboy joined15:01
m0viefreak left15:01
Takle joined15:01
skorgon joined15:02
skorgon left15:02
skorgon joined15:02
nikita left15:02
clauswitt left15:02
RaceCondition joined15:02
enitiz left15:03
bracero left15:03
NoNMaDDeN joined15:03
thedodd joined15:03
cjwilburn joined15:03
lindenle left15:04
buffal0 left15:04
zumba_addict joined15:04
nikita joined15:04
buffal0 joined15:04
scriptThis left15:05
mmitchell joined15:05
netcarver left15:05
ManikM left15:06
ManikM joined15:06
JohnBat26 left15:06
listochkin left15:07
sburgess_ left15:08
listochkin joined15:08
Errorical left15:08
sburgess left15:08
tristanp left15:08
SHLV left15:09
tristanp joined15:09
tang^ joined15:10
AaronMT joined15:11
polyzen joined15:11
GT left15:11
creep joined15:11
palcu_ left15:11
BlaXpirit-UA joined15:12
maestrojed joined15:12
cjwilburn left15:12
boushi left15:12
lsiv568 left15:13
zivester left15:13
jonatasnona left15:14
enitiz joined15:15
BlaXpirit left15:15
renegade8164 joined15:16
kadoban joined15:16
buffal0 left15:16
belac joined15:16
buffal0 joined15:16
palcu joined15:17
rob_w__ left15:18
DrSkyLizard left15:18
s00pcan left15:18
dreiss left15:19
luriv joined15:19
CustosLimen joined15:20
belac hello, can someone help me understand my "This branch is 3 commits ahead, 1 commit behind master"? the commits ahead is expected. but i cannot figure out what commit is behind.15:20
skylite joined15:20
leen^| joined15:20
nickpresta left15:20
ncd|leeN left15:20
s00pcan joined15:21
canton7 belac, !lol15:21
gitinfo belac: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all15:21
cbr_ left15:21
lindenle joined15:21
zumba_addict left15:21
CKyle joined15:21
Macaveli left15:21
zumba_addict joined15:22
cbr_ joined15:22
Macaveli joined15:22
thumpba joined15:22
cjwilburn joined15:23
zumba_ad_ joined15:23
belac canton7 can you (or the bot) pretend like i barely know how to use git and explain?15:23
zumba_addict left15:23
canton7 run the command the bot gave you15:23
(or run 'gitk --all' if you've got gitk - installed by default with git bash)15:23
that'll give you a graph of all of your branches15:23
osse belac: git log <the other branch> and the first commit you'll see is that one15:23
sburgess_ joined15:23
sburgess joined15:23
groolot left15:23
callmeDarwin joined15:23
jagob left15:24
denete left15:24
listochkin left15:24
upene joined15:25
Consuela left15:25
thumpba left15:25
upene1 joined15:26
upene left15:26
quitte joined15:26
lpax left15:26
acharlieh joined15:26
msmith_ joined15:26
Macaveli left15:27
marscher joined15:27
belac canton7: thx for gitk... that's fancy15:27
git log shows the same commit as the latest commit in both branches15:27
or the same operation i guess15:28
i merged a hotfix branch into master and then into development15:28
zumba_ad_ left15:28
zumba_addict joined15:28
akiva left15:29
timothy left15:29
quitte Hi. I don't quite understand how I'm supposed to use branches. https://github.com/quitte/openwrt/commits/sunxi-mtd This looks like I was upstream and I pulled from openwrt. But that's backwards, isn't it? How can I track openwrt and keep my own changes at the top of the commits?15:29
msmith left15:30
quitte If I were to create a new branch in sync with upstream I could cherry pick from mine. But then in the end I'll have a lot of outdated branches15:31
jiskiras joined15:32
styly_ joined15:33
zumba_addict left15:33
zumba_addict joined15:33
zumba_addict left15:33
zumba_addict joined15:34
styly left15:34
Takle left15:34
lb1a quitte, track is easy, just add the remote repo and fetch regularly. keep your stuff compatible = merge the upstream branch regularly. keep your commits on top of the upstream branch, rebase your stuff regularly on top of the upstream branch15:34
joo-_ left15:34
Takle joined15:34
zumba_addict left15:34
zumba_addict joined15:35
Takle left15:35
enitiz left15:36
pmallya joined15:37
quitte lb1a: oh. merge ist different than I thought. I shouldn't have made assumptions. I didn't merge in 2 months. Any idea how I can rebase all my changes now?15:37
solker joined15:37
Trudko left15:38
shinnya joined15:38
zumba_addict left15:39
lpax joined15:39
lb1a quitte, without knowing your current status, i'd say "git rebase upstream/master"15:39
zumba_addict joined15:39
joo-_ joined15:40
lb1a quitte, if you need more info give me more info about your status :D15:40
sohail left15:40
francisfish left15:41
akiva joined15:41
palcu left15:41
jagob joined15:42
solker left15:42
anaran left15:43
zumba_addict left15:43
listochkin joined15:43
zumba_addict joined15:44
anaran joined15:44
scampbell left15:44
Takle joined15:44
Sleepy63 left15:44
crose joined15:44
buffal0 left15:44
buffal0 joined15:45
the_drow left15:45
HelperW left15:45
quitte lb1a: I just tried rebase openwrt/master. this looks good. but i solved a conflict with checkout --theirs. now of course it tells me something about there not being any changes15:46
zumba_ad_ joined15:46
zumba_addict left15:46
quitte which is fine since there is another change that i stashed that will ultimately make more sense15:47
uku left15:47
quitte but i'm a little worried to just use rebase --skip. How can I tell what exactly it is going to ski?15:47
jottr left15:47
otter768 joined15:47
cjwilburn left15:47
jottr joined15:48
booboy joined15:49
mizu_no_oto joined15:50
SumDude joined15:51
a_le left15:52
otter768 left15:52
Zupoman joined15:52
joelm joined15:52
darkbasic left15:52
cjwilburn joined15:52
zumba_addict joined15:53
steele joined15:53
kirin` joined15:53
zumba_ad_ left15:53
nikita left15:54
msmith_ left15:54
darkbasic joined15:54
AR45 joined15:54
msmith_ joined15:54
thedodd left15:55
nikita joined15:56
numdig left15:56
TomyWork left15:57
Sleepy63 joined15:57
blackmesa joined15:57
zumba_addict left15:57
acolson left15:59
Solid1Solid1_afk15:59
bracero joined15:59
a_le joined15:59
acharlieh left15:59
Silmarilion left16:00
roelmonn_ left16:00
twoface88 joined16:00
FilipNortic left16:00
bracero left16:01
bracero_ joined16:01
EminenceHC joined16:01
Milkweed joined16:01
mennea left16:01
akiva left16:02
EminenceHC left16:02
EminenceHC joined16:02
Kicer86 joined16:02
Sasazuka joined16:02
twoface88 left16:02
eletuchy joined16:02
twoface88 joined16:03
lb1a quitte, as you can see from man git rebase the skip option will skip the current patch it's rebasing16:03
gitinfo quitte: the git-rebase manpage is available at http://jk.gs/git-rebase.html16:03
lb1a quitte, think of rebase as an automated series of "git cherry-pick" and it will just skip one of those (in cases of conflicts the patch that causes the conflict)16:04
cjwilburn left16:04
lsiv568 joined16:04
quitte lb1a: thanks. I already went ahead. it seems to have mostly worked okay. except for the commit named my first rebase. no idea what happened there. but I think I'll revert that anyways16:04
lb1a quitte, if you want more control over what rebase does, try experimenting with the interactive version of rebase (git rebase -i)16:04
twoface88 left16:05
lb1a quitte, the good thing about rebase, if you commited everything before starting a rebase ( which is pretty likely since rebase will complain about a dirty workdir) you can always go back in case something goes wrong ;)16:05
bracero_ left16:05
quitte I think at that point I should have used rebase --continue instead of commit16:05
lb1a yes after solving a conflict a --continue would be the right way16:06
quitte lb1a: what about the data on github. did i rewrite history?16:06
JSharpe left16:06
twoface88 joined16:06
JSharpe joined16:07
eletuchy left16:07
lb1a quitte, if you rebased stuff, which was already public (e.g. on github) and you push the rebased stuff again, you'll have to force that and yes, that would be rewriting history16:07
osfe left16:07
quitte i did not have to force anything to get it in the current state16:07
belac canton7: can you tell me what i'm looking for in gitk to tell me what commit i have in master but not in development branch?16:07
mewm left16:07
canton7 belac, sure, pastie the output of 'git log --graph --oneline --decorate --all' (which shows the same thing), and I'll point out what's what16:08
DrSkyLizard joined16:08
acharlieh joined16:08
cjwilburn joined16:10
a_le left16:10
RaceCondition left16:10
a_le joined16:10
Liulantao joined16:11
creep left16:11
belac canton7: thanks http://pastie.org/private/ddf9iz9esr0ot7gi27qbxa16:11
osse belac: don't worry. I'll let you know if I see that canton7 is lying to you16:11
mlechner left16:11
forgottenleaf joined16:12
belac osse: thx. the delay in posting was bc i had to remember how the internet works16:12
jargon left16:13
Liulantao left16:13
Gizburdt left16:15
NoNMaDDeN left16:15
canton7 ok. development's at 603ddc4, and master's at c71c30e. You can see they share a common ancestor of e98207c. Therefore master has a single merge commit which development does not have (c71c30e), and development has a single merge commit which master does not have (603ddc4). 603ddc4 merges in 99d1cb0 and c869a2d, both of which are therefore referenced by development but not by master16:15
NoNMaDDeN joined16:15
buffffal00 joined16:15
akiva joined16:16
canton7 master's merge commit (c71c30e) only merges together e98207c and bb9c2a5, both of which are referenced by development16:16
ThomasLocke left16:16
Vinnie_win left16:16
buffal0 left16:16
renegade8164 left16:16
forgottenleaf left16:16
anaran left16:17
philipandersen joined16:17
ayaka joined16:17
anaran joined16:17
Vinnie_win joined16:17
Alex_____ joined16:18
ayaka I have a problem with rebase -i using edit, from the manual, I know I know I could split big commit into small one, but how to do that16:18
maestrojed left16:18
ecky--ptang-zoob joined16:18
Alex_____ left16:19
belac canton7: thx. still trying to process what you're saying (i'm slow, sorry). was this caused because i merged a branch into master first and then merged the same branch into development. was the correct thing to do to merge the branch into master and then merge master into development?16:19
Alex_____ joined16:20
osse ayaka: mark the commit you want to split for editing. when you get there, git reset HEAD~; then make as many commits as you want, then git rebase --continue16:20
koderok left16:20
mtakkman joined16:20
imkmf joined16:21
Alex_____ left16:21
Alex_____ joined16:21
ayaka osse, thank you16:21
yosito joined16:22
Alex_____ left16:22
anaran left16:23
DrSkyLizard left16:24
anaran joined16:24
cbr_ left16:24
adamben left16:25
EminenceHC left16:25
anaran left16:25
vurma left16:26
cjwilburn left16:26
anaran joined16:26
anaran left16:27
lb1a left16:27
anaran joined16:28
kermit left16:29
Brain left16:29
crose left16:30
kermit joined16:31
skorgon left16:31
upene1 left16:31
gua_ould left16:31
bracero joined16:31
crose joined16:32
zumba_addict joined16:32
aspiers left16:32
Sasazuka left16:34
thierryp left16:34
The_Phoenix left16:35
ayaka left16:35
mmitchell left16:35
callmeDarwin left16:35
mmitchell joined16:35
Gamecubic joined16:36
zanchoPansa joined16:37
callmeDarwin joined16:37
seg_fault left16:37
MTecknology joined16:37
tier_ joined16:37
duplex joined16:37
pheaver joined16:38
MTecknology In hooks/post-receive, is it possible to figure out which branch was changed?16:38
solker joined16:38
shinnya left16:38
grawity `man githooks`: it gets the list of all changed refs as stdin.16:39
gitinfo the githooks manpage is available at http://jk.gs/githooks.html16:39
bracero left16:39
Rixius joined16:40
jceb_ left16:40
tier left16:41
MTecknology grawity: thanks :D16:41
imkmf left16:41
alorence left16:42
solker left16:43
mwoodson anyone know how to tell when a commit was merged into a branch?16:43
cjwilburn joined16:44
Xethron left16:44
shinnya joined16:45
govg joined16:47
KevinMGranger Unless there was a merge commit created, it's not really feasible to figure that out16:47
gfixler left16:47
listochkin left16:48
nurey joined16:48
blackmesa left16:49
cjwilburn left16:49
nioncode left16:49
jonatasnona joined16:50
listochkin joined16:50
cjwilburn joined16:51
nioncode joined16:52
LeMike left16:53
blackmesa joined16:54
smw joined16:54
thiago_ joined16:55
EminenceHC joined16:55
shinnya left16:56
yosito left16:56
m0ltar left16:56
callmeDarwin left16:57
ghostlines left16:57
thiago__ joined16:58
thiago__thiago16:58
Error404NotFound left16:58
RaceCondition joined16:58
Macaveli joined16:59
mtakkman left17:00
Noldorin joined17:00
Gamecubic left17:00
thierryp joined17:00
KnightsOfNi joined17:01
osfe joined17:01
Sleepy63 left17:01
blackmesa left17:01
Takle left17:01
thiago_ left17:01
jnavila_ left17:01
shinnya joined17:02
Neozonz left17:02
Neozonz joined17:02
kpease joined17:03
ecky--ptang-zoob left17:04
Takle joined17:05
ajustrun joined17:05
ManikM left17:06
ManikM joined17:06
tyreld joined17:07
tanath joined17:07
daito joined17:07
Macaveli left17:07
martinklepsch left17:08
mennea joined17:08
Gamecubic joined17:08
pmallya left17:08
mennea left17:09
CheckDavid joined17:09
hebz0rl left17:10
learner1 left17:10
mennea joined17:11
ciampix left17:11
Sasazuka joined17:11
m0ltar joined17:11
daito left17:11
DevAntoine joined17:12
DevAntoine hi17:12
mennea left17:12
DevAntoine I've donne a commit -amend, which is not pushed, and I'd like to undo this amend, is it possible?17:12
canton7 look at the reflog17:13
pmallya_ joined17:13
mennea joined17:14
Noldorin left17:15
DevAntoine canton7: first time I use reflog, here is what matters to me:17:15
a68ff10 HEAD@{0}: commit (amend): Added invalid inputs coloration17:15
I want to revert that17:15
canton7 and the entry before that?17:15
mkjackson joined17:15
mkjackson hey folks, so I was wondering... is the index file little more than the tree file that will be associated with the next commit?17:16
canton7 it is a bit more, yeah17:16
think about merge conflicts17:16
joeyDB left17:16
canton7 and it's got a ton of caching to easily determine files which have changed17:16
DevAntoine canton7: the entry before that is a271929 HEAD@{1}: commit: Added invalid inputs coloration which I wanna keep17:16
jceb joined17:17
mkjackson OK, so there's some more functionality there but if I explained it to folks as such it's essentially that17:17
canton7 that's the commit you want to go back to?17:17
kriks left17:17
canton7 mkjackson, it's a superset of that, yeah17:17
mkjackson canton7: thanks!17:17
tvw left17:17
canton7 DevAntoine, that's the commit you want to go back to?17:17
mkjackson also, how does git know what changes are in a directory so quick? is there an underlying process running?17:18
eletuchy joined17:18
canton7 honestly, I don't know. there's no background process, but I think some smart caching of things like inode numbers, filetimes, hashes, etc, happens17:18
mkjackson makes sense17:18
DevAntoine canton7: yep17:18
Aune left17:18
govg left17:18
canton7 DevAntoine, reset --hard to that commit, then17:18
marscher left17:19
DevAntoine canton7: even if my amend hasn't been pushed?17:19
someplace git is coded well, in a decent language :)17:19
Aune joined17:19
canton7 DevAntoine, only if your ament hasn't been pushed17:19
*amend17:19
mkjackson and finally, does git (3 way/common) merge get tripped up by whitespace changes? in other words, would git merge just as well if tabs were converted to spaces as well?17:19
KnightsOfNi left17:19
imkmf joined17:19
imkmf left17:20
lacrymology left17:20
mkjackson I've inadvertently become the git evangelist at my new job and it's amazing how technical people become when questioning the validity of a tech they don't even understand how to use17:20
LucasKA_ joined17:20
Noldorin joined17:20
mkjackson IE I don't know how branches are useful but let me give you an edge-case (white-space stuff) to pour over17:21
Takle left17:21
DevAntoine canton7: thanks17:21
desposo joined17:21
tbxyz joined17:22
canton7 mkjackson, there are languages where whitespaces are significant. If both sides of the merge change whitespace in different ways, you'll get a conflict by default17:22
eletuchy left17:22
ajustrun left17:22
canton7 (there are merge options to control this: see man git merge)17:22
gitinfo the git-merge manpage is available at http://jk.gs/git-merge.html17:22
mkjackson canton7: gotcha, so defer to ignore-white-space option in merge17:23
joeyDB joined17:23
mkjackson and generally encourage teams to get a standard and stick to it17:23
canton7 I mean, if you're changing whitespace lots all over the place, you've got other problems17:23
mkjackson (so done trying to see people argue about that kind of stuff in this day and age)17:23
lsiv568 left17:24
imachuchu joined17:24
mkjackson tell me about it, it's just minutia that is prevalent when parties want to drag their feet but want to look smart while doing so17:24
:-/17:24
imkmf_ joined17:25
joeyDB_ joined17:25
mbildner joined17:25
mkjackson "it's not like I don't think it's a good fit and a great tech, I just think we need to talk out all the issues first"17:25
:-P17:25
joeyDB left17:25
mkjackson thanks again for all the assistance17:25
arnaud__ joined17:25
mennea_ joined17:25
DevAntoine left17:25
mennea_ left17:27
kukks joined17:27
kukks left17:27
kukks joined17:27
mennea left17:27
arnaud__ left17:27
mennea joined17:27
Pyrogerg joined17:28
MartialLaw left17:29
ajustrun joined17:30
mennea left17:30
mkjackson left17:30
jottr_ joined17:31
nour joined17:31
jottr left17:31
freimatz left17:32
hegge left17:32
strk joined17:33
cjwilburn left17:34
solker joined17:34
sohail joined17:34
mikecmpbll left17:34
thiago left17:34
kriks joined17:34
osfe left17:35
liamkeily left17:35
blubberbop joined17:35
thedodd joined17:36
RaceCondition left17:36
a_le left17:37
wrouesnel left17:37
mihaicris joined17:38
ascarter joined17:39
iamjarvo left17:39
in_deep_thought joined17:39
palcu joined17:40
Vivekananda_y510 joined17:41
ecky--ptang-zoob joined17:41
ajustrun left17:42
hahuang61 joined17:42
Errorical joined17:42
cjwilburn joined17:44
Neozonz left17:44
Neozonz joined17:44
Neozonz left17:44
Neozonz joined17:44
ajustrun joined17:45
RichardJ joined17:46
checkit joined17:46
achadwick left17:47
Novitsh_ left17:47
otter768 joined17:48
EvilPenguin joined17:48
cjwilburn left17:49
ajustrun left17:50
alanwill joined17:50
learner joined17:50
mizu_no_oto left17:50
virtualsue left17:50
msmith__ joined17:52
psoo left17:52
tranzfus_ joined17:52
jiskiras left17:53
otter768 left17:53
pmallya_ left17:54
pmallya joined17:54
kurkale6ka left17:55
jottr_ left17:55
msmith_ left17:55
paulweb5151 joined17:56
Junior joined17:56
jottr_ joined17:56
tranzfuse left17:56
ajustrun joined17:56
paulweb515 left17:57
lpax left17:58
Bruno_ joined17:58
ecky--ptang-zoob left17:58
a_le joined17:59
mizu_no_oto joined17:59
thedodd left17:59
seschwar left17:59
BSaboia left17:59
MattMaker joined18:00
mmitchel_ joined18:00
mmitchell left18:00
axl_ joined18:01
iamjarvo joined18:01
iamjarvo left18:02
linduxed is there some way to have the commit message editors that pop up during git-rebase ALWAYS have --verbose?18:02
iamjarvo joined18:02
linduxed i want a diff in the editor at all time18:02
*times18:02
joeyDB_ left18:02
iamjarvo left18:02
joeyDB_ joined18:03
iamjarvo joined18:03
osfe joined18:03
cjwilburn joined18:04
knownasilya joined18:05
avar No, this is a feature you'd need to implement18:05
NBhosting joined18:07
msmith__ left18:07
msmith_ joined18:08
looper joined18:08
tristanp left18:08
okanck left18:09
LeMike joined18:10
lsiv568 joined18:10
Vampire0 joined18:11
tristanp joined18:11
abec0 left18:12
niro left18:12
denete joined18:12
dp joined18:12
tharkun left18:13
tharkun joined18:14
luksaur left18:14
AR45 left18:15
thiago_ joined18:15
vtunka left18:16
weyer left18:16
iamjarvo left18:16
ManikM left18:16
tranzfuse joined18:17
petersr left18:18
luksaur joined18:18
irqq left18:19
weyer joined18:19
cjwilburn left18:19
__TheDodd__ joined18:20
tranzfus_ left18:20
iamjarvo joined18:22
mmitchel_ left18:23
jacksparrow007 joined18:23
weyer left18:24
styly joined18:24
moritz would simply have a second terminal open with a git diff --staged18:24
cjwilburn joined18:24
otter768 joined18:25
pcypher joined18:25
akiva left18:25
belac left18:25
teran left18:26
Aune left18:26
styly_ left18:26
michelangelo joined18:27
ecky--ptang-zoob joined18:27
jiskiras joined18:27
strk left18:28
mmitchell joined18:28
maestrojed joined18:29
cjwilburn left18:29
User458764 left18:30
donmichelangelo left18:30
vdv joined18:31
strk joined18:31
strk can git-svn clone with a depth ?18:31
vdv left18:31
strk I'd like some history but don't need the full one18:31
__TheDodd__ left18:34
subhojit777 left18:34
osfe left18:35
jonatasnona left18:36
nour left18:39
vurma joined18:39
KnightsOfNi joined18:40
lsiv568 left18:40
weyer joined18:41
nnyk left18:41
KnightsOfNi left18:41
dialeth_ left18:41
cjwilburn joined18:41
atmosx joined18:41
arnaud__ joined18:41
denete left18:41
baweaver joined18:43
carlosr joined18:43
ecky--ptang-zoob left18:43
Sasazuka left18:43
Oebele joined18:43
cvanball left18:43
lsiv568 joined18:44
GGflags left18:45
arnaud__ left18:46
cjwilburn left18:46
mbildner left18:46
pcypher left18:47
vlad003 left18:47
Seveas strk: no18:47
sybariten oh hai18:49
can someone point me in the right direction for a better DL link than the first link here? http://markashleybell.com/portable-git-windows-setting-home-environment-variable.html18:49
nurey left18:50
sybariten which is rather dead18:50
ecky--ptang-zoob joined18:50
Seveas sybariten: msysgit is now 'git for windows' and it lives at http://msysgit.github.io/18:52
Pyrogerg left18:52
ecky--ptang-zoob left18:52
neary left18:52
Jonuz joined18:52
sybariten Seveas: yeah but i got an exe in my lap immediately without any questions.... thats not what i was looking for18:52
thiago_thiago18:53
scriptThis joined18:54
scriptThis left18:54
Nijikokun joined18:54
scriptThis joined18:55
pcypher joined18:55
Sasazuka joined18:55
davidreis left18:56
jiskiras left18:56
cjwilburn joined18:56
denete joined18:56
jiskiras joined18:56
obozhdi joined18:57
dreiss joined18:57
obozhdi left18:57
ecky--ptang-zoob joined18:57
obozhdi joined18:57
jiskiras_ joined18:58
jiskiras left18:58
obozhdi left18:59
obozhdi joined18:59
obozhdi left19:00
Gamecubic left19:00
obozhdi joined19:01
cjwilburn left19:01
kpease_ joined19:01
basiclaser_ left19:01
Seveas sybariten: I've never used 'portable git', but that article is 4 years old. Maybe the 'portable' part got merged with git for windows proper and is now an install option?19:02
jiskiras_ left19:02
obozhdi left19:02
Gamecubic joined19:02
pheaver left19:02
angelsl left19:03
osfe joined19:03
chrisshattuck joined19:03
EvilPenguin left19:03
kpease left19:04
thedodd joined19:05
dEPy left19:05
sybariten Seveas: i think i gfound it ... :) https://github.com/msysgit/msysgit/releases some of the .7z files there will be fine19:05
pmallya left19:06
eletuchy joined19:07
NoNMaDDeN left19:07
Shusshu joined19:07
xlinkz0 joined19:07
Ngt joined19:07
jonatasnona joined19:08
NoNMaDDeN joined19:08
Seveas sybariten: ah, so that's where they hide them these days :)19:08
jiskiras joined19:09
Shusshu left19:09
sybariten yep19:09
martinklepsch joined19:09
sybariten now, however i am at complete loss19:09
e66 joined19:09
nephyrin left19:10
sybariten or, thats not the expression, but i am a bit perplexed as to what to do. I started out with git in the hope of actually only using it as a versioning system for program configurations.19:10
nephyrin joined19:10
solker left19:11
eletuchy left19:11
sybariten and i am as unsure about the terminology as the technology. I run a private server, and i know that i have managed to perform a successful ... init, and commit, i suppose, i did that from work, of a small folder19:11
lsiv568 left19:11
lsiv568 joined19:12
jason237 left19:12
sybariten now that i want to "check out" the same folder at home, whats the command that i want to use? git doesnt, from this fresh install, know about my private server ofcourse19:12
darkbasic left19:12
enitiz joined19:13
darkbasic joined19:13
Seveas if you did an init and commit, you won't have created a bare repository. Which means that you can clone this repository (git clone), but pushing new commits into it is not advisable.19:13
jb55 joined19:13
pmallya_ joined19:13
veebers joined19:13
Seveas sybariten: I would advise you to reed the first few chapters of 'pro git' to get a hang of the basics19:14
sybariten ok will do19:14
PerlJam sybariten: and read them too ;)19:14
Seveas PerlJam :P19:14
sybariten i have access to lynda.com too btw, which seems promising (educational site which prolly has some git courses)19:15
Seveas What does perl jam taste like? onions?19:15
PerlJam garlic! :)19:15
solker joined19:15
Seveas heh19:16
good for keeping support vampires out :)19:16
pheaver joined19:16
sybariten you say i "wont have created a bare repository".... could you just elaborate on this? (i have a rough copy of my bash history from when i did that, btw, so i can see what i did). What other ways could i have done this?19:16
mbildner joined19:16
veebers left19:16
corni joined19:16
israelpattison left19:16
Seveas sybariten: what you have done may be enough, depends on whether you need to push from your desktop to the server or not19:17
sybariten i would need to push (can i say upload?) from both places yeah, thats the whole idea for my setup.19:18
jumamni joined19:19
sybariten well, not really adding a lot of new files after a while, but something like my "putty" settings, or .emacs, will change/improve both at work and at home. And i want to have one ultimate version19:19
Seveas you can say upload, but it's best to stick with standard git terminology :)19:19
martinklepsch left19:19
sybariten heh, i suppose19:19
Seveas then create a bare repository next to the one you created, and push from the non-bare into the bare one19:20
martinklepsch joined19:20
Seveas that way the bare one becomes the central one, and you can clone it in as many places as you want and push/pull from all these places19:20
sybariten whoa19:21
now this obviously requires new ways of thinking19:21
Seveas read the pro git book (it's a free e-book), it'll become clear :)19:21
sybariten ok19:21
israelpattison joined19:21
tbxyz left19:21
tristanp left19:22
baweaver left19:23
Gavrisimo joined19:23
ajustrun left19:24
Macaveli joined19:24
ajustrun joined19:25
basiclaser_ joined19:25
settermjd joined19:25
aspiers joined19:26
virtualsue joined19:26
aidalgol joined19:27
hegge joined19:27
nrsk left19:28
WaReZ joined19:30
thierryp left19:30
govg joined19:31
dp left19:35
pheaver left19:35
ghostlines joined19:35
osfe left19:35
hexagoxel left19:35
in_deep_thought left19:36
bracero joined19:36
ehynds joined19:36
cjwilburn joined19:37
jonatasnona left19:38
Viata joined19:38
e66 left19:38
sohail left19:39
akiva joined19:40
akiva left19:40
m0ltar left19:40
akiva joined19:40
akiva left19:40
scriptThis left19:40
congruent joined19:41
akiva joined19:41
kpease_kpease19:41
luksaur left19:42
scottpgallagher left19:42
ascarter left19:42
thiago_ joined19:42
KnightsOfNi joined19:42
congruent I've made my homepage into a repo.. I work on my machine at home and then push the changes to my server. Only, at home I include a meta-refresh so that I can watch my site change as I write. Is there a way to strip this out whenever I push to my server?19:42
in_deep_thought joined19:43
_ikke_ congruent: No, you'd have to rewrite your commits19:43
ecky--ptang-zoob left19:43
kpeasekpease_19:43
_ikke_ Use a runtime flag to decide whether to meta-refresh, and use a not-comitted config file to set that flag19:44
congruent _ikke_: 'runtime flag'? (I will read things)19:44
_ikke_: I was looking at githooks.19:45
jonatasnona joined19:45
_ikke_ Don't treat this as a git problem, it's not19:45
denete left19:45
thiago left19:46
congruent _ikke_: talkin to me? *confused*19:46
pheaver joined19:47
baweaver joined19:47
cjwilburn left19:47
_ikke_ congruent: this is inherently a deployment problem, and git is not built to be a deploy tool. Just add some sort of setting that tells you what environment it is (prod, test, dev). The file containing this setting should not be added tot git.19:48
congruent _ikke_: But that creates a security problem.19:48
_ikke_ congruent: Then you can change this file for each environment19:48
tobiasvl has nobody said !deploy yet19:48
gitinfo Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html19:48
solker left19:48
tobiasvl jumamni is a query spammer btw19:48
ChanServ set mode: +o19:48
_ikke_ kicked jumamni (Stop spamming!)19:49
sohail joined19:49
jumamni joined19:49
_ikke_ set mode: -o19:49
geomyidae_ joined19:49
congruent ahh, so this, what I want, is a "deployment" system :)19:49
cjwilburn joined19:49
_ikke_ congruent: Yeah, a deployment system helps deploying code to a specific environment19:49
cvanball joined19:49
congruent _ikke_: When you say "just" add, what are you saying specifically?19:50
_ikke_ congruent: I don't know what kind of project it is, but you should be able to add a settings file or something like that19:50
geomyidae_ left19:50
geomyidae_ joined19:50
_ikke_ A configuration file19:50
congruent _ikke_: Excuse, to be read by what?19:51
kpease_kpease19:51
baweaver left19:52
_ikke_ congruent: What kind of project are you talking about?19:52
congruent _ikke_: My personal webpage.19:52
_ikke_ Is it just html?19:53
Vasistha left19:53
m8 joined19:53
congruent _ikke_: Right now, yes. Future, PHP, js.19:54
imkmf_ left19:54
crose left19:54
Macaveli left19:54
cjwilburn left19:54
congruent _ikke_: pm you my url?19:54
_ikke_ sure, but doesn't really matter19:54
jonatasnona left19:55
mribeirodantas joined19:56
mibofra left19:56
mibofra joined19:56
luriv left19:57
cjwilburn joined19:58
bbloom left19:58
SumDude left19:58
thedodd left19:58
imkmf joined19:58
mizu_no_oto left19:59
bbloom joined19:59
liamkeily joined19:59
crose joined19:59
tristanp joined20:00
thiago_ left20:01
_ikke_ If it's just static html, that makes it a bit harder. You could use javascript and look at the domain for example to determine whether to refresh or not20:01
thiago joined20:01
kpease left20:01
thierryp joined20:02
cjwilburn left20:02
osfe joined20:03
congruent _ikke_: That feels like leaving the door open. But I could do a little crypto.. I could store the hash of the URL.20:03
CKyle left20:03
LucasKA joined20:03
Gavrisimooo joined20:04
ascarter joined20:04
_ikke_ Why? Does it matter if anyone could spoof the domain and cause your website to autorefresh?20:04
LucasKA_ left20:04
congruent _ikke_: Yea, that's a just add water DoS20:05
SumDude joined20:05
EminenceHC left20:05
enitiz left20:05
_ikke_ There are lots easier and better ways to dos you20:05
Unless you can force anyone else to autorefresh20:05
EvilPenguin joined20:06
thierryp left20:06
Gavrisimo left20:06
_ikke_ Which would require your to spoof their dns20:07
KnightsOfNi left20:08
vurma left20:08
atmosx left20:08
KnightsOfNi joined20:08
thierryp joined20:09
thedodd joined20:09
mihaicris left20:10
learner left20:10
Viata left20:13
kcm1700_ joined20:13
baweaver joined20:13
mizu_no_oto joined20:13
monty left20:13
Ngt hi! When you clone a local bare repository, do you necessarily get another bare repo or can you get one with a working directory?20:13
_ikke_ Ngt: The latter. Unless you tell git create a bare repository (clone --bare), it will create a non-bare one20:14
baweaver left20:14
punchaga` joined20:14
punchaga` left20:14
Sasazuka left20:15
baweaver joined20:15
Sasazuka joined20:15
kcm1700 left20:15
jiskiras left20:16
monty joined20:16
jiskiras joined20:16
Ngt That's what I thought too. When I clone my remote bare repo on my local machine using ssh, I get a clone with a working tree. But when I connect on my server and try to clone this same bare repo I get an empty folder containing only a .git folder.20:17
MTecknology left20:17
_ikke_ Ngt: If it contains a .git folder, it's not a bare repository20:17
kcm1700_ left20:17
punchagan left20:17
tobiasvl _ikke_: uh... isn't that the other way around?20:18
a bare repo _only_ contains .git?20:18
kcm1700 joined20:18
_ikke_ No, a bare repository *is* the .git directory20:18
tobiasvl ah. yes.20:18
LucasKA left20:19
thafreak joined20:19
enitiz joined20:19
thafreak say I want to preserve a git repo, archive it if you will20:19
Ngt _ikke_: yeah but if that's the case I should get all the other files along side the .git or that's not the case20:19
markmarkmark thafreak: man git archive20:20
gitinfo thafreak: the git-archive manpage is available at http://jk.gs/git-archive.html20:20
_ikke_ Ngt: Do you get any message when cloning the repository?20:20
markmarkmark: That doesn't archive a repository20:20
Eugene thafreak - do you mean a !backup or a copy of the tree in a given state?20:20
gitinfo thafreak: 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/#backups20:20
thafreak i saw that, but it doesn't sound like it preserves history20:20
_ikke_ nope20:20
thafreak: Just tar the repository directory20:21
thafreak so, I'm looking for the equivalent of svn's dump20:21
_ikke_ thafreak: There is no need, you already have the complete repo20:21
thafreak some sort of format that I could restore later in the future if needed20:21
Eugene `git clone` will give you a new repo with the entirety of the history20:21
canton7 sounds like someone's record broke20:21
thafreak so just tar up a cloned repo?20:21
ChanServ set mode: +o20:21
_ikke_ thafreak: sure20:22
Eugene set mode: +b20:22
Eugene kicked jumamni (Spam spam spam spam)20:22
_ikke_ Hmm, forgot to ban it20:22
thafreak is there any guarantee that future versions will be able to read it?20:22
s3a joined20:22
_ikke_ thafreak: git is very conservative regarding repo format20:22
thafreak what about bundles?20:22
Eugene thafreak - if git ever does change its repo format again(unlikely) you can 100% expect an upgrade path to be available20:22
_ikke_ bundles are packfiles20:22
Eugene Just take a tarball of a !bare repo and you're golden.20:23
gitinfo an explanation of bare and non-bare repositories (and why pushing to a non-bare one causes problems) can be found here: http://bare-vs-nonbare.gitrecipes.de/20:23
WaReZ left20:23
irqq joined20:23
Eugene changed the topic to: Welcome to #git, the place for git help and missing commands | Current stable version: 2.1.3 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | Knock knock. Who's there? Git. Git-who? Sorry, 'who' is not a git command - did you mean 'show'?20:23
Eugene kicked Eugene (Excess silliness)20:23
thafreak alright, thanks for the info...I wanted to hear it from experts before I archived some of these old repos20:23
LucasKA joined20:23
Eugene joined20:23
_ikke_ Eugene: lol?20:23
kriks left20:24
jiskiras left20:24
s3a I'm so confused about how to deal with branches. I get in theory that branches are used for working on code that is incomplete/unstable prior to merging the changes in a certain non-master branch into master, but someone created a master branch and I don't know how to pull it and NOT merge it to master. Could someone please help me?20:24
jiskiras joined20:24
Eugene s3a - you want to do `git fetch`, not `git pull`. !pull20:24
gitinfo s3a: pull=fetch+merge (or with flags/config also fetch+rebase). It is thus *not* the opposite of push in any sense. A good article that explains the difference between fetch and pull: http://longair.net/blog/2009/04/16/git-fetch-and-merge/20:24
s3a someone created a non-master branch*(20:24
Rastus_Vernon joined20:24
Oebele left20:24
Ngt _ikke_: I run git clone -v /path/to/repo.git/ test-deploy . The only thing I get as a message is :20:24
"Cloning into 'test-deploy'...20:24
done."20:24
The test-deploy folder is created but it has only a .git folder in it.20:24
_ikke_ s3a: Note that master is in no-way special20:25
Eugene Ngt - are you cloning an empty repo?20:25
s3a Eugene, that helps. so is it git fetch url_i_usually_pull?20:25
_ikke_, in other words it's the default name that can be changed?20:25
tier_ left20:25
_ikke_ s3a: correct20:25
Eugene s3a - `git fetch <remote-name>`; see `git remote`; it's usually 'origin'. You can also just do `git fetch` if there's only one named remote.20:25
tier joined20:26
MarkyC joined20:26
s3a _ikke_, alright. thanks for confirming, but i tend to prefer using defaults at least at first.20:26
Ngt Eugene: Nope, it is the repo I use every day to work on and when I clone it from my local machine I get a clone with a working tree and all the files.20:26
nnyk joined20:26
Eugene s3a - when you fetch, it brings down all changes to other branches, and stores them under "remote branches"(see `git branch -vva`, there'll be a few named origin/). You can visuallize what's going on with branching & merging with a command like !lol20:26
gitinfo s3a: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all20:26
s3a Eugene, wait, that's information overload for me20:28
the branch is called20:28
RoughDraft20:28
Eugene s3a - that means you're learning ;-)20:28
congruent left20:28
s3a lol, i like to learn one thing at a time tho20:28
what's remote name?20:28
_ikke_ s3a: A remote is a shortcut to a url20:28
Seveas something that looks remotely like a name :)20:29
strk left20:29
Eugene It's the name of the "remote" that's been defined. If you ran `git clone <someurl>`, then git stores a shortcut to <someurl> as 'origin', the default remote name.20:29
This way you don't need to type it out every time you want to fetch / push20:29
ascarter_ joined20:29
s3a o u mean the url?20:29
i just used the history command to copy paste it20:29
WaReZ joined20:29
_ikke_ You don't need to do that20:29
Eugene We're saying that the url is saved for you, as "origin"20:30
Ngt it is pretty much like an alias IIRC20:30
s3a ok so instead of git pull the_url, i can just say git pull origin?20:30
Ngt yes20:30
s3a fatal: 'origin' does not appear to be a git repository20:30
duplex left20:30
s3a for git pull origin20:31
ajustrun left20:31
s3a o wait20:31
i need to do git fetch the_url first?20:31
duplex joined20:31
paulweb5151 left20:31
ajustrun joined20:31
_ikke_ no20:32
in_deep_thought left20:32
Vivekananda_y510 left20:32
s3a o :(20:32
_ikke_ s3a: type in: git remote show20:32
s3a no output (other than a new line)20:32
_ikke_ ok20:32
git remote add origin <url>20:32
(you can choose any other name for origin)20:32
s3a o i c20:32
ascarter left20:32
s3a so if i did git remote add <url> then it would default to origin?20:32
_ikke_ You have to provide a name20:33
osfe left20:33
n-st joined20:33
_ikke_ origin is created default when you clone, but same as with master, in no way special20:33
s3a o so it's a convention and not a default?20:33
dusted joined20:33
kpease joined20:33
listochkin left20:33
s3a wait what's the difference between clone and pull20:33
congruent joined20:33
Eugene clone gets EVERYTHING and makes a new repo.20:34
fetch brings down updates from a remote/URL20:34
heroux left20:34
Eugene pull does a fetch, then merges the branch that you named.20:34
s3a so what's an example of something fetch would omit?20:34
Eugene Usually you want to use fetch, then examine(via log), then merge. A lot of guides recommend just doing pull20:34
jason237 joined20:34
Eugene It's taking a photocopy vs reshuffling the papers together, sight-unseen20:35
sh4rm4 left20:35
ghostlines left20:35
Eugene You want to look at it before you merge it in to what you've been doing20:35
ascarter_ left20:35
_ikke_ s3a: you clone a repository only once20:35
heroux joined20:36
dusted I have a bare repo which I need to bring to the same state as another bare repo (which is on github), if I do git remote show origin, I see only the branches that were on the remote at the time I cloned it, doing fetch does not change this.. But if I do a new clone, the branches are there.. Any way to avoid downloading everything every time I need to update it?20:36
_ikke_ s3a: when you don't have the repository yet20:36
garo left20:36
Rinma joined20:36
s3a _ikke_, so would init followed by git pull do the same thing as clone?20:37
enitiz left20:37
Eugene dusted - you want to sync a given bare repo with another one?20:38
_ikke_ s3a: roughly this: git init; git remote add origin <url>; git fetch origin; git checkout -b master origin/master20:38
dusted Eugene, yes20:38
I've done several searched, and experimented with several methods, but so far I've had little luck20:38
joo-_ left20:38
Eugene dusted - `git fetch <remote> +refs/heads/*:refs/heads/*` will pull down ALL branches and make them th exact same20:38
dusted that one I have not tried yet20:39
Eugene (and possibly toss out anything that was "ahead" on the local bare repo)20:39
s3a _ikke_, alright. and20:39
git pull <my shortcut> says20:39
Ngt If git clone was bothered by user permissions would it yield some messages? I mean if someone already had a problem with permissions when using git clone, did he get errors messages printed?20:39
s3a _ikke_, http://pastebin.com/v431dpsG20:39
Eugene dusted - do you want to maintain this mirror on an ongoing basis, too?20:40
russt joined20:40
_ikke_ s3a: git pull is fetch + merge. Because you did not specify a branch, git does not know what branch to merge.20:40
dusted Eugene, excellent, that did the trick! I don't need to, as when we have finished testing the internal setup, we're going to make the github one read-only, but I am still interested in hearing how it would be done20:41
s3a o and i don't want any merging so20:41
weyer left20:41
LucasKA left20:41
Rinma A friendly hello to everyone :) I have a little problem and hope some of you know a solution. I have a private gitlab server and now i want to push my project to gitlab and some of the folders should push only once and they shouldn't be tracked in the index because they change localy by every person but should never change on the server because i need this folders clean for the build server.20:41
Eugene dusted - man git-config; remote.<branch>.fetch, you would set it to the +refs/ value above20:41
gitinfo dusted: the git-config manpage is available at http://jk.gs/git-config.html20:41
s3a _ikke_, git fetch <my shortcut> will download both branches?20:41
_ikke_ s3a: Yes, it will fetch all branches20:41
MattMaker left20:41
Eugene dusted - basically what you're saying is "take all branches(or heads) on the remote, and force the local side to be the same thing"20:41
YoungFrog left20:42
ghostlines joined20:42
Eugene dusted - the /normal/ fetchspec(what this is called) uses refs/remotes/<remote-name>/* namespace, with the idea being that you'll have multiple remotes. That isn't the case here, so voodoo is required.20:42
dusted Eugene, exactly what I need, thank you! And sorry for asking such trivial question, somehow my google-fu has failed me20:43
Eugene dusted - if you want a lot more info, man git-fetch and there's a section on it20:43
gitinfo dusted: the git-fetch manpage is available at http://jk.gs/git-fetch.html20:43
Eugene No problemo at all20:43
hexagoxel joined20:43
Ngt Rinma: Isn't it a job for .gitignore?20:43
davividal left20:44
LucasKA joined20:44
jiskiras left20:44
diegoviola joined20:45
jiskiras joined20:45
s3a _ikke_, so, sorry if i'm repeating myself, git pull makes all non-master branches be merged into the master branch, right?20:46
Rinma i have a gitignore file but when i use it before i can not add the files and when i add them they will not ignore any longer20:46
CustosLimen left20:46
jiskiras left20:46
pmallya_ left20:47
_ikke_ s3a: no20:47
s3a _ikke_, so what does it do involving merging?20:48
_ikke_ s3a: it fetches all branches, but merges only one branch into the current branch20:48
Ngt Rinma: You have a folder in your application architecture that you want to be commited for everyone but to remain empty? Is it what you want to do?20:48
s3a _ikke_, how does it know which branch to merge into the current branch?20:48
_ikke_ s3a: Each branch can have an upstream branch configured20:49
That's what git uses20:49
solker joined20:49
cvanball left20:49
Gizburdt joined20:50
_ikke_ git branch --set-upstream-to origin/master master; for example sets the upstream branch for master to origin/master20:50
s3a _ikke_, what is an upstream branch?20:50
Ngt I don't understand. I'm connected on my server. If I go to my /home and create a bare repo then clone it, add a file to this clone, push it onto the bare and then clone again that bare, the second clone get the file I added in the first clone. However when I try to clone my existing bare which is somewhere else on the server I only get a clone containing .git folder.20:51
ascarter joined20:51
Ngt I thought it could be permissions problems, I tried running the command with sudo. It didn't change anything.20:51
sh4rm4 joined20:52
LucasKA left20:52
jiskiras joined20:52
eletuchy joined20:52
jiskiras left20:52
_ikke_ s3a: It's the mapping between a remote branch and a local branch20:52
bremner Ngt: what do you get if you run "git ls-files" in the "existing bare repo"20:53
solker left20:53
Solid1_afkSolid120:54
Rinma -.- do you know that when you writing an answer to a question and suddenly you are thinking that you are the dumbest person in the whole world.... this happens me to often... gitignore is the right answer and i only have to use it right... but thanks for the help :D20:54
s3a _ikke_, before i get my mind back into what we're talking about, could you tell me how to undo the changes i did to the code (no changes in git) in the rough draft?20:54
sh4rm4 left20:54
s3a git checkout doesn't work anumore20:54
jottr joined20:54
_ikke_ s3a: did you git add those files?20:54
jiskiras joined20:55
s3a _ikke_, i assume they are already git added bcuz i fetch the RoughDraft branch which is the branch i'm talking about from the github server20:55
jiskiras left20:55
s3a fetched*20:55
martinklepsch left20:55
_ikke_ s3a: what does git status say?20:55
glebihan left20:56
Ngt Rinma: First time I was able to help someone on this channel. I'm happy it was the answer! Don't worry it happens to all of us (at least me).20:56
s3a _ikke_, wait something weird happened. git status said some stuff then i ran it again shortly after and it says nothing20:56
enitiz joined20:56
s3a o nvm20:56
it says stuff20:56
i'll paste it. 2 secs20:56
MattMaker joined20:57
jottr_ left20:57
eletuchy left20:57
jiskiras joined20:57
jiskiras left20:57
listochkin joined20:57
s3a don't worry about the eclipse "nonsense" being tracked.: http://pastebin.com/9sswJwCp20:58
_ikke_,20:58
Ngt bremner: "git ls-files" returns nothing. I guess it should show something if it was full, right?20:58
akiva left20:58
lsiv568 left20:58
jiskiras joined20:58
s3a Ngt, git ls-files should tell u which files are being tracked/are git added20:58
glebihan joined20:58
bremner Ngt: right. maybe try "git log"20:58
sh4rm4 joined20:59
thafreak left20:59
_ikke_ And which file you try to restore?20:59
DesktopUserInterface ?20:59
s3a _ikke_, every single one in the RoughDraft branch20:59
i just ran "git checkout" without the quotes20:59
baweaver left20:59
s3a it works if i do git git checkout <one file at a time>21:00
_ikke_,21:00
_ikke_ yes21:00
s3a yes what?21:00
_ikke_ that's how it suppose to work21:00
Ngt oh my god ... I'm so stupid. When you clone your repo does it clone only master or all the branches?21:00
_ikke_ git checkout without any arguments does nothing21:00
Ngt: all branches21:00
s3a _ikke_, wait so do i remember incorrectly that git checkout undid everything?21:00
CEnnis91 joined21:01
s3a (that is without specifying a file)21:01
PCatinean left21:01
_ikke_ s3a: "git checkout ." (with the dot)21:01
acharlieh left21:02
s3a _ikke_, that undoes everything "only" in the current branch or all branches?21:02
cvanball joined21:03
_ikke_ s3a: Only in your work tree21:03
ehynds left21:03
Gizburdt left21:03
s3a work tree means current branch or subbranch of that branch? (am i saying nonsense?)21:03
osfe joined21:03
s3a _ikke_,21:03
_ikke_ s3a: The files you are working on21:03
m0ltar joined21:03
_ikke_ All the files that you are currently seeing in your repository21:04
s3a so, for example, if i edit a file, don't commit, switch branch, edit a file, don't commit, then do git checkout ., everything from all branches will be undone?21:04
_ikke_,21:04
_ikke_ yes21:04
because uncomitted changes don't belong to any branch21:04
ghostlines left21:05
cworth left21:05
Ngt _ikke_: The fact is that I have several branches on my bare repo. Master is empty but dev is not. However when I clone the bare repo and I do a git branch it only shows *master.21:05
kai3x5 left21:05
kai3x5 joined21:05
gitinfo set mode: +v21:06
_ikke_ Ngt: try git branch -r21:06
s3a _ikke_, that makes sense. :)21:06
baweaver joined21:06
lidaaa joined21:07
jiskiras left21:07
ghostlines joined21:07
jiskiras joined21:07
govg left21:07
ghostlines left21:07
jiskiras left21:07
sfr^ left21:07
sfr^ joined21:07
touya joined21:07
cworth joined21:07
ghostlines joined21:08
s3a _ikke_, ok, about what we were saying earlier21:08
with git pull21:08
what is merged to current directory again?21:08
baweaver left21:08
s3a it involved "upstream branch" stuff i think21:08
Rinma left21:09
jiskiras joined21:09
EminenceHC joined21:10
acharlieh joined21:10
Ngt _ikke_: Yeah that was it. Thank you. I thought that when do "git branch" it shows all the branch.21:10
s3a o, i could just go into a branch using git checkout RoughDraft and then do git merge master and that would merge master into RoughtDraft, right?21:10
_ikke_,21:10
Ngt bremner: thank you for your answer.21:10
_ikke_ s3a: correct, but that's master how it's in it's current state21:10
buffal0 joined21:11
bremner Ngt: welcome21:11
s3a _ikke_, ur emphasis is meaning what? uncommited changes are excluded?21:11
touya hello, people.. i have a rather meta-like question, no specific problem21:11
what's the reason behind the idea that git status doesn't give any information whether your commits are pushed or not? i assume it's because status only looks at the local tree by design21:11
it's rather awkward to check that though, either by doing "git diff --stat <remote>" or "git checkout --dry-run"21:11
mbildner left21:12
StefanLehmann joined21:13
cworth left21:13
s3a touya, i'm not good with git but there is a way to make linux have shortcuts for long commands21:14
buffffal00 left21:14
touya well, yes i am aware of that21:14
i was just wondering in general21:14
_ikke_ s3a: Yes, but also changes you have fetched21:14
s3a touya, o, i'm useless for the rest. sorry :(21:14
Ngt Alright it is getting pretty late here (France), so I'm heading out. Have a good day/evening and see you next time ;)21:15
Ngt left21:15
Sasazuka left21:16
Junior left21:16
weyer joined21:16
jds left21:16
jacksparrow007 left21:16
enitiz left21:16
thierryp left21:17
cworth joined21:17
s3a _ikke_, you mean changes i have yet to fetch?21:17
ghostlines left21:17
jceb left21:18
aspiers left21:18
Sasazuka joined21:18
govg joined21:19
baweaver joined21:20
Brain joined21:21
weyer left21:21
boughry joined21:21
solker joined21:22
KnightsOfNi left21:22
lsiv568 joined21:22
mkoskar joined21:23
s3a _ikke_, ok, i lost track of the time, and i'm going to be late somewhere. thank you for your help, you helped a lot. c u later21:24
cvanball left21:24
s3a left21:24
boughry Hi. I have a question about git rebase. I’m having trouble getting it to work the way I expect. In a nutshell, I have a tracked branch A, to which I apply a series of commits B through Z. I do a force update on A (call it A’), and want to rebase B..Z on top of A. However, after the force update on A, the A’ hash no longer corresponds to the A hash, which means that the new branch can’t properly do a rebase of B..Z ontop of Aâ21:24
Is there a way to inform git that A and A’ are the same for the purposes of the rebase?21:24
cjwilburn joined21:24
bambanx joined21:24
bambanx for ignore this folder what of all is correct : /.sass-cache/ , .sass-cache/ , /.sass-cache/* ..21:25
boughry bambanx: In a general sense, when i’m not sure which wildcard is correct, I add it to .gitcorrect and then use `git gui` to see if I got the desired effect.21:25
bambanx dont like gui21:26
boughry Your choise.21:26
Use git diff instead.21:26
govg left21:26
boughry git gui makes it a whole lot easier to see this kind of stuff, IMHO, but that’s an individual choice.21:26
LeMike left21:27
boughry For your particular question, I can’t tell you that the latter two *won’t* work, but the first works fine for me.21:27
settermjd left21:27
IrishPrime left21:27
liamkeily left21:28
bambanx i downloaded smartgit21:28
not used yet21:28
chrisgeo left21:29
enitiz joined21:29
boughry Never used it. I like git gui because it’s accessible from the command line and works on all OS platforms.21:30
lsiv568 left21:30
settermjd joined21:31
buffffal00 joined21:32
settermjd left21:33
buffffal00 left21:33
ap0c joined21:33
osfe left21:35
ScioMin joined21:35
buffal0 left21:35
jb55 left21:35
digitalextremist joined21:35
kballou joined21:35
anaran left21:35
Vivekananda_y510 joined21:35
tvw joined21:36
kukks left21:37
govg joined21:37
mlechner joined21:38
jb55 joined21:39
mlechner left21:40
adamben joined21:40
netj left21:40
kpease left21:41
digitalextremist left21:41
uber left21:41
netj joined21:41
dabockster joined21:42
Takle joined21:42
MarkyC left21:42
CKyle joined21:42
ghostlines joined21:43
ghostlines left21:43
cyphase joined21:43
cyphase left21:43
uber joined21:44
uber left21:44
uber joined21:44
uber left21:44
uber joined21:45
uber left21:45
uber joined21:45
uber left21:45
uber joined21:46
uber left21:46
xnrandnsfw21:46
uber joined21:46
uber left21:46
cyphase joined21:46
cyphase left21:46
cyphase joined21:46
devoldmx joined21:47
in_deep_thought joined21:47
uber joined21:47
uber left21:47
bambanx i added /.sass-cache/ in gitignore , when i run this git status --ignored dont show me nothing looks like is not working21:47
Gizburdt joined21:47
nnyk left21:48
uber joined21:48
uber left21:48
btree joined21:48
Nugget `tig` is a nice alternative to a gui viewer21:48
baweaver left21:48
uber joined21:48
NosBit bambanx: what git status shows you?21:48
Nugget https://github.com/jonas/tig21:48
cvanball joined21:49
lsiv568 joined21:49
NosBit bambanx: maybe /.sass-cache/ is tracked? git wont ignore tracked files21:49
bambanx NosBit, http://pastebin.com/y6VxUwiH21:50
brucelee joined21:50
brucelee my branch and 'origin/master' have diverged' and have 18 and 120 different commits each, respectively.21:50
it says use 'git pull' to merge the remote branch into yours21:50
how do i reverse the changes if i git pull and it wrecks my branch21:51
bambanx NosBit, looks like is tracking it folder?21:51
brucelee is there 1 command where i can just 'undo' the git pull21:51
NosBit no21:51
thierryp joined21:51
_ikke_ brucelee: git reset --hard HEAD^`21:51
brucelee: git reset --hard HEAD^121:51
bambanx NosBit, is ignoring it?21:51
NosBit no it doesnt21:51
how your gitignore looks like?21:51
Errorical left21:52
paul424 joined21:52
Gizburdt left21:52
bambanx the only stuff on my ignore is /.sass-cache/21:52
Gizburdt joined21:52
ghostlines joined21:53
NosBit it should work21:53
bambanx what do you mean21:54
Kicer86 left21:54
sburgess_ left21:54
sburgess left21:54
bambanx u said is not ignoring it21:54
fekz joined21:54
NosBit yeah weird...21:54
dm7freek joined21:55
bambanx i ran git log and it show me: fatal:bad default revision 'HEAD'21:56
thierryp left21:56
Pyrogerg joined21:56
Gizburdt left21:57
dm7freek I have a set of scripts I use to control the configuration of my machines. There is a template script and a script for each machine (built using the template). Whenever I update the template, I want the same code in the machine-specific scripts to be updated. Describe the best way to do this w git please.21:57
Bonus: make it so that i can pull only the relevant machine-specific script to a given host.21:58
tesaf left21:59
dm7freek I'm guessing a branch for each script and a branch for the template then every template update has to be merged with all the other branches or something like that?21:59
liamkeily joined21:59
pcypher_ joined22:00
dabockster left22:00
tier left22:01
basiclaser_ left22:01
martinklepsch joined22:02
osfe joined22:03
bambanx how i can remove a repository in the same folder22:03
pcypher left22:04
ghostlines left22:04
m0ltar left22:06
Dougie187 left22:06
bambanx NosBit, i think i added all files before create ignore file lol22:06
listochkin left22:06
fekz eh, I did a git diff and now I'm stuck seeing the differences. How do I get out?22:06
soerenb q22:07
ctrl+c22:07
NosBit bambanx: do "git reset"22:07
MLM joined22:07
dannixon left22:07
soerenb though the correct answer depends on the pager you use22:07
ajustrunajustrun|away22:07
fekz That should be in the documentation, lol22:07
soerenb well, git calls an external pager22:08
dm7freek fekz: it's in the pager's docs22:08
fekz I'm using Git Bash for windows22:08
wouldn't hurt to put a pro tip in the documentation22:08
eletuchy joined22:08
listochkin joined22:08
soerenb not git's problem if you don't know what pager you use and how to use it22:09
bambanx NosBit, looks like now is working ok ignoring .sass-cache http://pastebin.com/DpSqM6X322:09
denete joined22:09
denete left22:09
denete joined22:10
jemendja joined22:10
jemendja hi22:10
buffal0 joined22:10
note joined22:10
LucasKA joined22:10
lsiv568 left22:11
m0ltar joined22:11
dm7freek anyone have any ideas about mah Q?22:11
sohail left22:12
fairuz1 joined22:12
barduck left22:12
bambanx thanks men NosBit22:12
fairuz1 left22:12
fairuz1 joined22:13
mizu_no_oto left22:13
eletuchy left22:13
EvilDMP left22:13
jemendja left22:14
fairuz left22:15
m8 left22:17
s8321414 joined22:17
zumba_addict left22:18
fairuz1 left22:18
zumba_addict joined22:18
mizu_no_oto joined22:18
Dreadnaught joined22:19
Dreadnaught left22:19
Dreadnaught joined22:19
irqq left22:19
tristanp left22:19
brucelee anyone know how to deal with "error: unable to delete 'mybranch': remote ref does not exist22:20
FunkyAss joined22:20
brucelee my goal is to push 'mybranch' to git22:20
NosBit what u do?22:21
thierryp joined22:21
kukks joined22:21
kukks left22:21
kukks joined22:21
soerenb add '-u' to the push command to create the branch on the remote22:21
Neozonz left22:21
NosBit he is probably doign "git push origin :mybranch"22:21
Neozonz joined22:22
Neozonz left22:22
Neozonz joined22:22
NosBit am i right?22:22
thierryp_ joined22:22
brtekb joined22:22
zumba_addict left22:23
kushal3 joined22:23
adamben left22:23
noten0te22:23
adamben joined22:23
blackmesa joined22:24
NosBit brucelee22:24
pcypher_ left22:25
dsdeiz joined22:25
thierryp left22:26
crose left22:26
boughry left22:26
thierryp_ left22:27
eletuchy joined22:27
brtekb left22:27
netj left22:27
netj joined22:28
Neozonz left22:28
rasto left22:28
rasto joined22:28
Rhonda left22:28
FunkyAss left22:31
ascarter left22:31
fairuz1 joined22:31
jiskiras left22:32
touyaakira22:34
paulweb515 joined22:35
osfe left22:35
Rhonda joined22:35
jason237 left22:36
faylite joined22:37
mytec joined22:37
mizu_no_oto left22:37
asturel joined22:38
livingstn left22:38
asturel hi, if i havent pushed yet, is there a way to change my email in commits?22:39
kadoban asturel: filter-branch has an option for that I believe22:39
spookley joined22:39
Rhonda I usually did it with rebase -i and commit --amend --author="..."22:39
safinaskar joined22:40
jiskiras joined22:40
kadoban Wouldn't that require manually doing it for every commit?22:40
NosBit well if the guy has like 1 commit best option is git commit -amend22:41
eletuchy left22:41
asturel its only 4-522:41
but i cant amend only the last commit, can i other?22:41
tubaman joined22:41
d10n-work left22:41
pcypher joined22:42
asturel there's no dry-run in filter brnch?22:42
kadoban Don't think so22:43
bremner asturel: use git commit --amend instead22:45
ciurkut joined22:47
Rhonda If it's only 4-5, the "for every commit" shouldn't be issue bothering you. :)22:47
brucelee NosBit: sorry was afk22:47
NosBit: but yeah22:47
NosBit: thats what i was doing, but i also did it without the ":", i did git push origin mybranch as well22:47
same thing22:47
asturel git filter-branch --env-filter '[ "$GIT_COMMITTER_EMAIL" = "xy" ] && GIT_COMMITTER_EMAIL="yx"' HEAD22:48
what i'm doing wrong?22:48
NosBit brucelee: "git push origin mybranch" should work the ":" before mybranch means delete remote22:48
asturel Rhonda but can i ammend a commit which isnt the latest?22:48
teran joined22:49
asturel i have to rebase first (?)22:49
brucelee NosBit: it says "your branch and origin/master" have diverged, and have 8 and 1 different commit each, respectively22:49
i have to do a git pull before i can do anything right?22:49
yah i did a git pull --rebase, so now it says "your branch is ahead of 'origin/master' by 8 commits22:51
BSaboia joined22:51
kermit left22:51
brucelee then i just did a git push origin mybranch22:51
and it didnt work, same error message22:51
^ NosBit22:51
thedodd left22:51
osse brucelee: "mybranch"? Is that different from master?22:52
_Atom_ joined22:52
osse brucelee: if you're explicit and write "git push origin mybranch" then git will try to push to the "mybranch" branch on the other side22:52
_Atom_ left22:52
brucelee 'mybranch' doesnt exist on github22:53
i branched off master, and created 'mybranch', and now im trying to create a new branch on github22:53
then my peers will peer review it or what not, and then merge it with master on github22:53
asturel oh nice, rebase ++ amend worked like a charm22:53
brucelee but im stuck on the step where i push 'mybranch' to github22:54
osse brucelee: hmm, what's the error again? I just joined the convo22:54
btree left22:54
brucelee it says error: src refspec mybranch does not match any.22:55
cvanball left22:55
bdavenport left22:55
brucelee then error: failed to push some refs to 'git@github.com:<my>/<repo.git>'22:55
nour joined22:55
Gavrisimooo left22:56
BlaXpirit-UA left22:56
osse brucelee: so "mybranch" doesn't even exist locally?22:56
bdavenport joined22:57
nfk left22:59
safinaskar left22:59
jerius left22:59
synfinatic left23:00
netj left23:00
synfinatic joined23:00
netj joined23:00
safinaskar joined23:00
brucelee osse: mybranch doesnt exist locally actually23:01
locally its called 'localbranch'23:01
osse brucelee: git push origin localbranch:mybranch23:01
brucelee but when i put it on github, i want the branch to be called 'mybranch'23:01
ahh23:01
osse: thanks!23:01
let me try that23:01
Rhonda asturel: That's why I mentioned rebase -i in the first place indeed.23:02
asturel i wasnt familiar with rebase :/23:02
Pyrogerg left23:02
denete left23:02
osse brucelee: git push remote source:destination23:02
brucelee: git push remote foo is shorthand for git push remote foo:foo23:02
geomyidae_ left23:02
joeyDB_ what's a good git program that helps with resolving conflicts?23:02
brucelee osse: thanks!23:02
osse: youre awesome :D23:03
osse indeed I am23:03
Pyrogerg joined23:03
Vile joined23:03
Solid1Solid1_afk23:03
asturel btw, tags like a 'milestone' ? so it just 'mark' a commit with a tag?23:04
ciurkut left23:05
jacksparrow007 joined23:05
osse yup23:05
obozhdi joined23:05
osse you can use tags for anything you want, but the most common use case is to mark which commit corresponds to a releaesed version of something23:06
eg. you have the tags v1.0 v1.1 and so on23:06
asturel yeah my plan is that23:06
just never used tags before :D23:06
obozhdi left23:06
tranzfuse left23:07
kukks left23:07
danemacmillan left23:08
obozhdi joined23:08
brucelee osse: i was doing git rebase, and i thought git rebase --skip would resolve my conflicts23:08
so i basically skipped everything23:08
kevinb left23:08
brucelee how do i revert back to a previous state before all the git rebase --skips23:08
?23:08
osse git rebase --abort23:09
brucelee i already completed the entire git rebase process though23:09
and then i thought everything was fine, then i did a git pull23:09
after that, looking at my code, the file doesnt even exist :/23:09
so now i realize i foobarred everything23:09
obozhdi left23:09
kadoban brucelee: Check the reflog and do a hard reset to whatever state you want to go back to23:09
jacksparrow007 left23:09
asturel btw, can i rebase a commit which is before a merge ?23:10
rebase + amend23:10
osse brucelee: if those are the *exact* steps you did then git reset --hard branchname@{2} should fix it up23:10
brucelee: git reflog branchname to confirm23:10
lidaaa left23:10
pcypher left23:10
asturel like if i do a git pull and it merge with my branch, can i still amend my commit if i didnt push?23:10
or thats not recommended23:11
zumba_addict joined23:12
acharlieh left23:12
kukks joined23:13
sjmikem are egit questions verboten in here? Asked in #eclipse and got no answer23:13
kushal2 joined23:14
Pyrogerg left23:14
WaReZ left23:14
tchan left23:14
kadoban sjmikem: Nobody seems to be much sticklers for what's off topic here, but then again questions about other tools rarely get answers that I've seen.23:15
kevinb joined23:16
sjmikem Basically I'm trying to figure out why "show annotations" is working in one project, but not another project...23:16
Zupoman left23:16
brandonw left23:17
Dreadnaught left23:17
baweaver joined23:17
kushal3 left23:17
ams_ joined23:20
mtscout6 left23:20
brandonw joined23:21
ams_ If I add a subtree (`git remote add st user@host/repo.git`, `git subtree add --prefix st master --squash) to myproject is it possible for me to checkout another branch from the original repo?23:21
fairuz1 left23:21
thierryp joined23:21
veebers joined23:21
Vivekananda_y510 left23:22
m0viefreak joined23:23
aidalgol left23:23
ManikM joined23:23
sh4rm4 left23:25
devoldmx left23:25
Radivarig joined23:25
Dreadnaught joined23:25
Dreadnaught left23:25
Dreadnaught joined23:25
ams_ /msg gitinfo .voice23:26
gitinfo set mode: +v23:26
kermit joined23:26
thierryp left23:26
SumDude_ joined23:27
rezrov joined23:27
jiskiras left23:28
mr_chris left23:29
AaronMT left23:30
SumDude left23:30
zumba_addict left23:30
zumba_addict joined23:31
tchan joined23:31
gitinfo set mode: +v23:33
m0ltar left23:36
bracero left23:37
ManikM left23:37
Nijikoku_ joined23:38
Nijikoku_ left23:38
lidaaa joined23:39
Nijikoku_ joined23:39
zumba_ad_ joined23:39
Nijikokun left23:39
Nijikokun joined23:40
enitiz left23:40
zumba_addict left23:40
bracero_ joined23:40
msmith_ left23:41
steele left23:42
atmosx joined23:42
Nijikoku_ left23:43
fatalhalt joined23:44
solker left23:46
Nijikokun left23:46
eletuchy joined23:47
faylite left23:47
faylite joined23:48
virtualsue left23:48
tokik joined23:50
hcc23 left23:51
dialeth_ joined23:52
eletuchy left23:52
solker joined23:54
buffal0 left23:54
Gitzilla joined23:55
styly left23:55
buffal0 joined23:55
baweaver left23:56
zumba_ad_ left23:56
zumba_addict joined23:57
SparkTheFerret left23:57
Raverix joined23:58
Raverix Hello, I've got a weird scenario, I just inherited a project, no source control.23:58
laurentide joined23:58
Raverix I've initialized a new git repository on production, and committed all the files to it.23:58
styly joined23:58
jgardella joined23:58
tang^ left23:59
Raverix I now need to set up a repo on stage... and somehow figure out how to map all the files (which should hopefully be in sync?) to the repo on production.23:59
knownasilya left23:59
Raverix I'm considering, pulling the repo to a separate folder, and copying the .git folder to the existing files.23:59
styly left23:59
Raverix And allowing git status to let me know the state of the stage server.23:59

Logs Search ←Prev date Next date→ Channels Documentation