IRCloggy #git 2016-05-04

Logs Search ←Prev date Next date→ Channels Documentation

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

2016-05-04

dreiss left00:00
jaguarmagenta joined00:00
mwhooker joined00:02
armin left00:02
s00pcan joined00:03
ryoshu joined00:04
dmto left00:04
ryoshu I have pushed -f bad commit to github, can I recover the original remote branch?00:04
dadada left00:04
dadada joined00:04
jaguarmagenta left00:05
kilo_bravo left00:05
dadadaGuest7009400:05
bgamari left00:05
arooni left00:05
dmto joined00:06
Gitzilla joined00:06
osse git reflog remote/branch00:06
arooni joined00:06
osse Assuming it was fetched.00:06
ahr3n left00:07
ryoshu it worked, thanks!00:08
clumpyy joined00:08
dodobrain joined00:10
flaguy48 joined00:10
dmto left00:11
dreiss joined00:11
hahuang65 left00:12
Gsham joined00:13
aandrew left00:13
githogori left00:14
hahuang65 joined00:14
IWishIKnew left00:15
rkazak joined00:15
bgamari joined00:17
sdothum left00:17
bronson left00:17
ReenignE left00:21
pwnawannab[NE] left00:23
ReenignE joined00:23
ReenignE left00:23
ReenignE joined00:23
mischat joined00:24
mar77i_ joined00:25
mar77i left00:26
sgen left00:26
imachuchu left00:28
fracting left00:29
olpery joined00:29
olperyGuest1483900:30
kus joined00:30
kus left00:30
tomog999_ joined00:30
kus joined00:32
tomog999 left00:32
printline joined00:32
kalz left00:35
sbeller_ KellerFuchs: yeah a post-commit hook in the child repos sounds sane to me00:36
desbest left00:36
ahr3n joined00:36
tristanp_ left00:37
printline left00:37
KellerFuchs sbeller_: M'kay. That would be slightly annoying (it pollutes the history a lot), but I guess that's it00:37
tristanp joined00:37
blur3d joined00:37
fahadash joined00:38
sbeller_ KellerFuchs: if you don't mind a rewritten history, you could also script that it amends to the last commit (in case that is one of the submodule updates only, maybe)00:38
go1111111 left00:39
KellerFuchs Yes, I was considering that00:39
I'm starting to suspect I might use evil hackery instead :>00:40
ahr3n_ joined00:40
fracting joined00:41
ToBeCloud left00:43
bronson joined00:43
ahr3n left00:44
adron joined00:45
fscala left00:46
rominronin joined00:46
raven-au left00:46
Mixologic_ joined00:47
mofai left00:47
raven-au joined00:48
fscala joined00:49
Mixologic left00:49
adron left00:50
oncall-pokemon joined00:50
johnny56_ left00:50
rominronin left00:51
go1111111 joined00:52
johnny56_ joined00:53
jagob left00:53
sgambino left00:53
andyhoang joined00:54
dreiss left00:57
rkazak left00:57
githogori joined00:57
aax left00:58
durham left00:58
SpeakerToMeat left01:00
a_thakur joined01:00
EvilPeng1 left01:00
githogori left01:02
bronson left01:02
githogori joined01:03
SwiftMatt joined01:03
bollullera left01:04
stantonk left01:06
ahr3n_ left01:07
ochorocho__ joined01:07
tvon joined01:11
ril joined01:14
akitada joined01:15
githogori left01:16
pneuma joined01:17
githogori joined01:17
jbitdrop left01:18
thiago left01:20
danhuynh______ joined01:22
Gsham left01:24
Gsham joined01:26
bronson joined01:26
githogori left01:27
sagerdearia joined01:28
keyan left01:28
mablae__ joined01:30
dermoth__ left01:30
stantonk joined01:30
dermoth__ joined01:30
nettoweb joined01:31
rkazak joined01:31
bronson left01:31
Guest70094 left01:32
mablae_ left01:33
Tanger joined01:33
printline joined01:33
pks left01:33
dm7freek_dm7freek01:33
mwhooker left01:33
danhuynh_______ joined01:34
nettoweb left01:34
pks joined01:35
stantonk left01:35
nettoweb joined01:35
mwhooker joined01:35
raininja left01:35
anohigisavay left01:35
githogori joined01:36
nettoweb left01:36
nettoweb joined01:37
nettoweb left01:37
danhuynh______ left01:37
printline left01:38
pneuma left01:38
rkazak left01:39
whitby left01:40
ril left01:41
raven-au left01:45
a_thakur left01:45
a_thakur joined01:46
bitkiller left01:46
adron joined01:46
rkazak joined01:46
ril joined01:47
ojdo left01:47
akushner left01:49
joki left01:49
cdg left01:50
cdg joined01:51
michelangelo joined01:51
mellernoia left01:52
ensyde joined01:53
a_thakur left01:54
ojdo joined01:54
SwiftMatt left01:54
rkazak left01:55
donmichelangelo left01:55
cdg left01:55
joki joined01:55
gaen joined01:56
adron left01:56
durham joined01:56
raven-au joined01:58
Saylen joined01:59
radsy joined01:59
dermoth__ left02:00
gaen left02:00
dermoth__ joined02:00
Sasazuka left02:01
mofai joined02:01
jaguarmagenta joined02:01
mischat left02:02
diegoaguilar joined02:04
fracting left02:06
jaguarmagenta left02:06
nettoweb joined02:09
mwhooker left02:10
d4rklit3 left02:11
xcesariox joined02:11
Noldorin left02:11
mwhooker joined02:13
ril left02:14
dreiss joined02:16
govg joined02:17
nettoweb left02:17
nitin joined02:18
pmort joined02:18
raven-au left02:21
nitin left02:22
ceaucari left02:22
ceaucari joined02:23
tmcmahon joined02:24
dreiss left02:26
Goplat joined02:27
Gsham left02:29
stantonk joined02:30
eletuchy_ joined02:30
dreiss joined02:31
ajf- left02:31
mwhooker left02:31
ajf- joined02:32
eletuchy left02:33
ajf- left02:33
stantonk left02:35
durham left02:38
durham joined02:40
fahadash left02:42
Gsham joined02:42
staticshock left02:42
hexagoxel left02:43
hexagoxel joined02:45
stantonk joined02:45
digidog left02:46
rominronin joined02:47
mattp_ left02:49
pmort left02:50
eletuchy joined02:50
mattp_ joined02:51
chachasmooth left02:52
adron joined02:52
chachasmooth joined02:52
durham left02:52
a3Dman left02:52
rominronin left02:52
pmort joined02:53
a3Dman_ joined02:54
pneuma joined02:54
eletuchy_ left02:54
adron left02:56
gaen joined02:57
arooni left02:58
tmcmahon left02:59
nettoweb joined03:00
tinanoo left03:00
gaen left03:01
cova joined03:01
printline joined03:02
NeverDieBasedGodDonald2003:02
cova left03:03
ahr3n joined03:03
BasedGodDonald20BasedGodDonald03:03
pmort left03:04
fossify joined03:05
aavrug joined03:06
nettoweb left03:07
printline left03:09
stonerfish joined03:10
pneuma left03:11
arescorpio joined03:13
inflames left03:14
BasedGodDonaldNeverDie03:14
inflames joined03:14
inflames left03:14
inflames joined03:15
aidalgol left03:15
durham joined03:15
dreiss left03:17
aidalgol joined03:19
adron joined03:19
mehola joined03:21
b1tchcakes joined03:22
aavrug left03:23
gaurav_ joined03:23
aavrug joined03:23
aavrug left03:23
gaurav_ left03:23
gaurav_ joined03:23
aavrug joined03:23
gaurav_ left03:23
aavrug left03:23
aavrug joined03:23
cite_ joined03:23
aavrug left03:24
adron left03:25
yqt left03:25
anuvrat joined03:25
aavrug joined03:27
musca joined03:27
bronson joined03:28
arooni joined03:28
marko__ joined03:30
noser left03:30
rkazak joined03:32
sangy left03:33
bronson left03:33
durham left03:35
anuvrat left03:35
rchavik joined03:35
marlun left03:35
rchavik left03:35
rchavik joined03:35
marlun joined03:35
marlun left03:35
marlun joined03:35
robogoat left03:36
anuvrat joined03:36
hwoarang joined03:36
themill joined03:36
r_rios joined03:37
r_rios left03:37
r_rios joined03:37
Mateon1 left03:38
d4rklit3 joined03:40
Mateon1 joined03:40
Mateon1Guest9536103:40
staticshock joined03:41
stantonk left03:41
dreiss joined03:42
stantonk joined03:42
ahr3n_ joined03:43
Gsham left03:44
stantonk left03:44
muthu joined03:46
ahr3n left03:47
NimeshNeema joined03:47
johnwhitton left03:48
johnwhitton joined03:49
drewo left03:50
jfelchner joined03:51
fossify left03:51
Guest95361 left03:51
Guest95361 joined03:51
Guest95361Mateon103:52
xcesariox left03:52
kus left03:52
kus joined03:53
fedexo joined03:54
radsy left03:55
ensyde left03:55
thiago joined03:57
pmort joined03:58
lindenle left03:59
italoacasas left04:01
nnyk_ joined04:01
jaguarmagenta joined04:02
SwiftMatt joined04:02
printline joined04:04
jaguarmagenta left04:07
printline left04:09
robotroll joined04:10
SwiftMatt left04:10
shinnya joined04:11
rscata joined04:11
shinnya left04:18
nnyk_ left04:19
durham joined04:19
nnyk_ joined04:20
fedexo left04:20
adron_ joined04:20
rkazak left04:21
adron_ left04:25
robotroll left04:25
a_thakur joined04:27
Orbitrix left04:28
Orbitrix joined04:31
Orbitrix left04:31
fedexo joined04:31
Orbitrix joined04:31
armin joined04:32
pelegreno joined04:32
jfelchner left04:37
pelegreno left04:40
clemf left04:40
pelegreno joined04:42
sarbs left04:42
stantonk joined04:45
OnBrokenWings joined04:45
nnyk_ left04:46
pelegreno left04:48
rominronin joined04:48
clemf joined04:48
clemf left04:49
stantonk left04:49
pelegreno joined04:50
rominronin left04:53
arooni left04:54
audio joined04:55
subhojit777 joined04:55
Gamecubic left04:55
audio i am in a new (git checkout -b mynewbranch) branch with unstaged changes from another branch (oldbranch) that is not master. my problem is that this new branch contains code from the oldbranch. I dont want the code from oldbranch. How can I move these unstaged changes (but not the changes from oldbranch) into a new branch?04:57
durham left04:58
clemf joined04:58
fscala left04:59
Cabanossi left04:59
a_thakur left05:00
circ-user-iSXQf joined05:00
fscala joined05:00
Cabanossi joined05:01
nnyk_ joined05:01
prsn left05:03
bronson joined05:04
nardev joined05:04
printline joined05:05
durham joined05:06
sauvin joined05:06
ahr3n_ left05:07
aidalgol left05:08
bronson left05:08
iooner left05:08
r_rios left05:09
r_rios joined05:09
r_rios left05:09
r_rios joined05:09
iooner joined05:09
printline left05:10
pmort left05:10
shadwick joined05:10
audiogooby05:11
shadwick Hello. Does anyone know about how to read the "latest state" of a repo during an update hook as if the commit "had been applied"?05:12
I'd like to check the contents of a specific file to ensure that I can reject a push if I don't like the contents of said file.05:12
eletuchy left05:15
pantsman- joined05:17
adron joined05:21
a_thakur joined05:22
Seveas shadwick: the update hook gets the name of the new head and its old and new object id's as parameters. You can use that to find the blob you're after05:22
dopesong joined05:25
adron left05:27
duderonomy joined05:28
shadwick Seveas: But I'm looking to see the state of everything in the repo as if the update were applied, not just the diff of the update. Is this still what you mean?05:28
raven-au joined05:29
jaguarmagenta joined05:29
emPi joined05:30
pmort joined05:31
nevyn shadwick: I think you'd need to make a temp checkout then examine the file then destroy it?05:33
tyreld left05:34
durham left05:34
d0nn1e left05:35
durham joined05:35
alexsystemf__ left05:36
bazz left05:36
testild joined05:36
alexsystemf__ joined05:37
bazz joined05:38
shadwick nevyn: That's sounding more likely. Checkout the $GIT_DIR, then apply the update diff to that checkout. Then examine the working tree05:38
ThomasLocke joined05:39
testild left05:40
Seveas shadwick: yes it is, and no you don't need a checkout. Remember: a commit is not a patch but a full snapshot of your files.05:42
so if you want to see the content of a file at a particular commit, something like git show commit_sha1_here:path/to/file will work05:42
rchavik left05:43
larrybolt joined05:44
arescorpio left05:44
eletuchy joined05:47
nevyn ooh right.05:47
ceaucari left05:49
[pabu] joined05:49
Prawnzy joined05:49
rominronin joined05:49
shadwick Seveas: Thanks! That's perfect05:50
eletuchy left05:51
rgrinberg left05:54
rominronin left05:54
__xor left05:55
pmort left05:55
nidr0x left05:56
jaafar left05:56
_xor joined05:56
mehola_ joined05:56
stantonk joined05:57
johnwhitton left05:58
diogenese left05:58
adron joined05:59
nadim joined05:59
mehola left05:59
JCaesar left05:59
mar77i_mar77i06:00
dermoth__ left06:00
nevyn in my travels today in teaching a new colegue who claimed to know git but couldn't rebase I found this useful: http://pcottle.github.io/learnGitBranching/06:00
Smirnov joined06:00
Smirnov left06:00
Smirnov joined06:00
adron left06:00
nevyn it's a webgame for learning git with a visual of the DAG beside it.06:00
dermoth__ joined06:00
adron joined06:01
durham left06:01
PCatinean joined06:01
stantonk left06:02
nnyk_ left06:02
_nadim left06:02
OnBrokenWings left06:03
printline joined06:06
leprechau left06:07
b1tchcakes left06:08
stonerfish left06:08
nidr0x joined06:08
LucaTM joined06:09
d0nn1e joined06:09
printline left06:11
diogenese joined06:11
rominronin joined06:14
boombatower joined06:15
raijin joined06:15
shadwick left06:16
Liudvikas joined06:16
rkazak joined06:17
cbreak nevyn: very limited06:17
a_thakur left06:18
cbreak real git with !lol and co, or sourcetree, or what ever GUI, seems more powerful and more true to reality :)06:18
gitinfo A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all06:18
weox joined06:18
lamppid joined06:18
OnBrokenWings joined06:20
Tylak left06:21
a_thakur joined06:21
EvilPeng1 joined06:21
_xor Stupid question: Which git command(s) would I look into if I want to pull files from another branch but NOT have it show in the history (i.e. merge)?06:22
NimeshNeema left06:22
_xor cherry-pick?06:22
I'm basically building several starter templates. The master branch just has some basic files that are common to all branches. Then I have branch A which has some initial work. Then I'm going to create branch B off of master and want to pull most (if not all) files from branch A in to use as a starting point for modifications.06:23
However, branch B doesn't have any real direct relation to A (semantically), so I don't want it to show B as branching off of A.06:24
nardev left06:24
bgamari left06:25
_xor Oh wait, I guess I can just use git checkout, lol.06:25
Pulp left06:26
EvilPeng1 left06:27
leehambley joined06:27
pelegreno left06:27
aidalgol joined06:30
pelegreno joined06:30
rchavik joined06:31
dodobrain left06:31
soerenb left06:32
Guest14839 left06:32
soerenb joined06:32
jaguarmagenta left06:35
Alienpruts joined06:36
govg left06:38
harish_ joined06:38
tvw joined06:38
cbreak _xor: yes, if you just want the state. I'd be weary of giving up history lightly though06:38
especially if you want to keep the other branch06:38
_xor: if B is a separate thing, why is it in the same repository?06:39
madewokherd left06:39
cbreak if there's a good reason, consider git checkout --orphan B to create it, instead of branching off of an existing one06:39
DWestCoast joined06:40
Saylen left06:41
nardev joined06:41
Raging_Hog joined06:41
nardev left06:41
adron left06:42
soerenb left06:42
aidalgol left06:42
OnBrokenWings left06:43
exprosic joined06:44
exprosic left06:44
govg joined06:45
theskillwithin left06:45
runlevl4 left06:46
rinwa__ left06:47
dan2k3k4 joined06:47
runlevl4 joined06:47
Sceorem joined06:48
kadoban left06:48
zeroed joined06:50
przemoc left06:53
cagmz left06:55
leprechau joined06:57
dopesong_ joined07:00
przemoc joined07:00
PryMar56 left07:01
dopesong left07:02
johnwhitton joined07:03
hahuang61 joined07:03
hahuang65 left07:03
b1tchcakes joined07:04
Ardethian\\work left07:04
Ardethian\\work joined07:04
Phanes joined07:04
Phanes left07:04
Phanes joined07:04
encod3 joined07:05
Ardethian\\work left07:05
Phanes left07:05
bronson joined07:05
Ardethian\work joined07:05
dopesong_ left07:08
gooby left07:10
bronson left07:10
jceb joined07:11
soerenb joined07:11
JCaesar joined07:11
clemf left07:12
cyan__ joined07:14
a_thakur left07:15
hahuang65 joined07:17
hahuang61 left07:19
a_thakur joined07:21
josuebrunel joined07:24
tchan left07:24
fees joined07:25
johnwhitton left07:26
Balliad joined07:26
isxek joined07:27
dopesong joined07:28
twem2 joined07:29
zeroed left07:29
zeroed joined07:29
Prawnzy left07:31
thiago left07:32
printline joined07:32
dopesong left07:32
kulyzu joined07:33
kuly-zu joined07:33
kuly-zu left07:33
kulyzu left07:33
eletuchy joined07:35
printline left07:37
udm joined07:37
Gonzo89 joined07:39
p4trix joined07:39
ahmedelgabri joined07:39
dreiss left07:40
quenode joined07:40
eletuchy left07:40
postsneakernet joined07:41
hahuang65 left07:41
p4trick joined07:41
Fijit joined07:43
Anupkumar joined07:44
infra-red joined07:44
infra-red left07:44
nnyk_ joined07:45
chll joined07:47
rkazak left07:48
anu1_ joined07:51
anu1 left07:54
hahuang65 joined07:55
dreiss joined07:56
anth0ny left07:56
saedelaere joined07:58
afuentes joined08:00
subhojit777 left08:02
garethdaine joined08:04
d4rklit3 left08:04
_xor cbreak: I considered orphaning branches, but having a common branch across all projects would/could be useful.08:05
al-damiri joined08:05
clmsy joined08:05
cbreak sounds stupid to me :)08:06
if they are unrelated, you don't need a common branch08:06
_xor cbreak: It's more about having a merge from another branch that's not really related. The branches themselves all relate to the same project.08:06
cbreak if they are related, then they are related08:06
_xor Well, for instance, there are a couple of files that are common across all branches. Aside from that though, most other stuff is going to be different.08:06
I might however make changes to those common files.08:07
I'd like to be able to fast-forward the changes easily.08:07
zeroed left08:07
cbreak _xor: sounds like you abuse branches08:08
xcesariox joined08:09
cbreak how about doing it properly? :)08:09
zeroed joined08:09
zeroed left08:09
zeroed joined08:09
cbreak i.e. a separate dependency repo, integrated via submodules, or subtree merging08:09
nnyk_ left08:09
_xor Why would that be better?08:10
cbreak _xor: you can merge08:10
_xor Yes, and you can with branches too.08:11
cbreak branches with common history belong to the same project08:11
troulouliou_div2 joined08:11
freimatz joined08:11
leeN joined08:11
saedelaere left08:11
_pix joined08:12
FuzzySockets left08:12
DWestCoast left08:12
_xor These do have a common history, they are related and have a chance to share files in the future. Some initial files are shared as is. I'm just trying to keep the history neat so that looking at the DAG someone can say, "Oh, ok this branch is meant for this functionality and has pulled from this other branch because it's already there."08:12
That type of stuff.08:12
dopesong joined08:12
_xor I just don't necessarily want to have the initial copies to show up as merges, as they'll be changed quite a bit. I could create them from scratch, but it's just a bit easier to copy from another branch.08:13
luzy joined08:13
nnyk_ joined08:14
dopesong left08:15
SwiftMatt joined08:15
dopesong joined08:15
dodobrain joined08:16
dodobrain left08:18
doener joined08:18
dodobrain joined08:19
raininja joined08:21
raijin left08:21
dreiss left08:22
marcogmonteiro joined08:23
bongjovi joined08:23
fedexo left08:26
jonno11 left08:26
chll left08:27
garethdaine left08:28
Sound joined08:29
eletuchy joined08:29
danhuynh_______ left08:30
nnyk_ left08:31
ahmed_elgabri joined08:31
govg left08:32
mikiones left08:34
ahmedelgabri left08:34
eletuchy left08:34
_28_ria joined08:35
jaguarmagenta joined08:35
kurkale6ka joined08:37
subhojit777 joined08:37
fees left08:38
fees joined08:39
adron joined08:39
staticshock left08:40
jaguarmagenta left08:40
garethdaine joined08:41
nnyk_ joined08:41
evanvarvell joined08:42
a_thakur left08:44
adron left08:44
freimatz left08:45
a_thakur joined08:45
Goplat left08:46
luzy left08:47
rnat_ joined08:47
rnat_ left08:48
luzy joined08:48
r00twrh left08:48
rnat joined08:48
r00twrh joined08:48
danhuynh______ joined08:49
chll joined08:51
a_thakur left08:53
johnny56 joined08:54
bgamari joined08:55
yn5___ joined08:55
johnny56_ left08:56
bket left08:58
acetakwas joined09:00
p4trick left09:01
p4trix left09:01
Sound left09:01
a3Dman_ left09:02
a_thakur joined09:02
a3Dman joined09:03
nettoweb joined09:07
bronson joined09:07
bket joined09:09
mehola_ left09:11
bulliby joined09:11
bronson left09:12
xcesariox left09:12
atrigent joined09:13
Tanger left09:13
b1tchcak_ joined09:15
garethdaine left09:16
bgamari left09:17
b1tchcakes left09:18
b_jonas Hi. When I give a command like 'git show somecommit somefile' to show the changes in that comment to a particular path in diff format, how do I give the filename as relative to the top of the repository, as opposed to relative to my working directory?09:18
apprentice joined09:19
anth0ny joined09:20
ewet joined09:22
akushner joined09:23
eletuchy joined09:23
mischat joined09:24
a_thakur left09:25
quenode left09:27
bouncy_ joined09:27
josuebrunel left09:27
HelloShittyHelloAtMega09:28
bouncy_ left09:28
eletuchy left09:28
a_thakur joined09:28
bgamari joined09:28
bouncy_ joined09:28
vigilancer joined09:29
vigilancer left09:29
govg joined09:30
achadwick joined09:30
daftano joined09:30
bouncy_ left09:31
br0kenman joined09:31
bgamari left09:31
bouncy_ joined09:31
bgamari joined09:32
cyphase left09:33
ewet left09:34
leeN left09:34
daftano left09:35
cyphase joined09:38
mrkat left09:39
mrkat joined09:40
sgambino joined09:40
bouncy_ left09:41
bouncy_ joined09:41
ewet joined09:43
bouncy_ left09:43
bouncy_ joined09:43
boudiccas left09:45
Waskeend left09:46
Juri_Agarin b_jonas: you could probably use git --work-tree=<your_repo_root> diff somecommit -- somefile09:46
And as explained in "man git", you can also set GIT_WORK_TREE environment variable to achieve the same.09:47
gitinfo the git manpage is available at http://jk.gs/git.html09:47
aidalgol joined09:47
mikiones joined09:47
printline joined09:47
tuxlu_ joined09:48
Waskeend joined09:48
mikiones left09:48
mikiones joined09:49
bouncy_ left09:49
dopesong left09:50
Bvan joined09:50
Juri_Agarin If you use that often, a shell or a git-alias might be helpful.09:51
tuxlu_ left09:51
MattMaker left09:52
printline left09:52
garethdaine joined09:52
gitinfo set mode: +v09:52
Bvan Hi, someone saw this error before: The fingerprint of this host is not registered by putty09:52
King_Hual joined09:53
King_Hual left09:53
King_Hual joined09:53
boudiccas joined09:55
star_prone joined09:55
DrIranian joined09:55
Liudvikas left09:56
DrIranian left09:56
Bvan left09:56
acetakwas left09:57
sgambino left09:57
atrigent b_jonas: it looks like git-show is delegating those paths to git diff-tree09:57
acetakwas joined09:57
atrigent the documentation for that command says: If provided, the results are limited to a subset of files matching one of these prefix strings. i.e., file matches /^<pattern1>|<pattern2>|.../ Note that this parameter does not provide any wildcard or regexp features.09:57
but that doesn't actually seem to be true...09:58
it definitely does take your cwd into account09:58
stantonk joined09:59
jungsubk joined09:59
Darcidride joined10:00
DarcidrideGuest6012910:00
stantonk left10:04
dsdeiz joined10:04
Gloomy joined10:05
sgambino joined10:06
MattMaker joined10:07
ferr joined10:10
mehola joined10:11
a_thakur left10:11
jungsubk left10:13
a_thakur joined10:13
tchan joined10:15
quenode joined10:16
mehola left10:16
dopesong joined10:16
aidalgol left10:16
aidalgol joined10:17
eletuchy joined10:17
star_prone left10:18
EY joined10:19
SwiftMatt left10:19
piling left10:19
piling joined10:20
b_jonas Juri_Agarin: ouch. in that case, how do I ask git the path to the repository root?10:21
atrigent: thanks for checking.10:21
tvw left10:22
EY left10:22
EY joined10:22
zero85 left10:22
scribe joined10:22
EY left10:23
EY joined10:23
eletuchy left10:23
zero85 joined10:23
dan2k3k4 left10:24
adron joined10:25
zero85 left10:25
eletuchy joined10:26
zero85 joined10:27
dan2k3k4 joined10:27
sdothum joined10:28
Impaloo left10:29
Impaloo joined10:29
adron left10:30
aax joined10:30
zero85 left10:30
andyhoang left10:30
xelxebar joined10:31
Impaloo left10:31
settermjd joined10:32
Impaloo joined10:32
zero85 joined10:32
Impaloo left10:33
Impaloo joined10:33
apprentice left10:34
zero85 left10:35
jaguarmagenta joined10:36
zero85 joined10:38
Sonderblade joined10:40
jaguarmagenta left10:41
mdw joined10:41
zero85 left10:41
danhuynh______ left10:42
Seveas b_jonas: git rev-parse --git-dir (or --show-toplevel)10:42
Sendoushi joined10:44
zero85 joined10:44
neanderslob left10:44
b_jonas Seveas: thanks10:46
xcesariox joined10:47
mar77i_ joined10:47
b_jonas Seveas: the latter (git rev-parse --show-toplevel) seems to work10:47
so if this comes up more often, I can build a shell alias that runs a git in the top level directory10:47
mar77i_mar7710:47
zero85 left10:48
mar77i left10:49
zero85 joined10:50
daftano joined10:52
zero85 left10:54
osse alias topgit='git -C "$(git rev-parse --show-toplevel)"'10:54
b_jonas: you can also prefix paths with :/10:55
zero85 joined10:56
mar77mar77i10:57
cagedwisdom left10:57
bgamari left10:58
atrigent osse: is that documented anywhere?10:59
boombatower left10:59
Sceorem left11:00
osse atrigent: man gitglossary11:00
gitinfo atrigent: the gitglossary manpage is available at http://jk.gs/gitglossary.html11:00
osse see pathspec11:00
zero85 left11:00
rominronin left11:03
zero85 joined11:03
codepilot joined11:04
zeroed left11:04
rominronin joined11:04
atrigent I see, thanks11:05
not very discoverable, unfortunately11:05
bgamari joined11:05
codepilot hello... I have a question: my git project has two submodules. If I say git submodules, it gives me only one, but in the file .gitmodules are two submodules. If I do 'git submodule init' it only initializes the one given with 'git submodules' but not the other one. What is wrong here? I get such problems recently....11:06
zeroed joined11:06
settermjd left11:06
jast it's also in man gitrevisions btw11:06
gitinfo the gitrevisions manpage is available at http://jk.gs/gitrevisions.html11:06
atrigent jast: where?11:07
sgambino left11:07
atrigent I see some things in there that are similar, but not actually relevant afaict11:07
zero85 left11:07
atrigent plus, it wouldn't make sense for it to be in gitrevisions, since it's not a way of specifying a revision11:08
zero85 joined11:09
bronson joined11:09
jast it lists a number of related things, and they're actually for object lookup, not revisions specifically11:10
aidalgol left11:10
jast the same text is included in a number of other manpages, too11:10
mdw left11:11
jast anyway, disregard, it does not mention pathspecs. I was thinking about something different.11:11
bahar left11:12
zero85 left11:13
daftano left11:14
zero85 joined11:14
bronson left11:14
b_jonas osse: oh, let me try that11:14
fsvehla joined11:14
osse atrigent: Definitely agree.11:15
daftano joined11:15
b_jonas osse: thank you, prefixing the path with ":/" works11:17
(git syntax is confusing)11:17
zeroed left11:17
zero85 left11:18
johnmilton joined11:18
johnnyfive left11:18
printline joined11:18
deadnull_ joined11:19
zero85 joined11:20
acetakwas left11:21
shiriru joined11:22
osse b_jonas: It's part of a larger set of syntax to specify paths11:23
Without context it doesn't make much sense11:23
zero85 left11:24
zeroed joined11:24
zeroed left11:24
zeroed joined11:24
mase-tech joined11:25
daftano left11:25
zero85 joined11:26
rnsanchez joined11:26
adron joined11:27
mohabaks joined11:29
jbitdrop joined11:30
b_jonas osse: yes, and I think I read about the part where after a revision, I can write ":foo" to give a path relative to the repository top or ":./foo" for a path relative to the wd, but not ":/foo" because that's syntax for something else,11:30
zero85 left11:30
ceaucari joined11:30
Gloomy left11:30
b_jonas osse: but I didn't know that I can give a path this way11:31
algae left11:31
b_jonas osse: so I think ":/foo" does something completely different as a path and as an object argument11:31
very confusing11:31
zero85 joined11:32
b_jonas Now where did my MERGE_HEAD disappear? I thought I did a merge11:32
adron left11:32
b_jonas I think the git checkout cleared it11:33
TomyLobo joined11:33
printline left11:33
sgambino joined11:33
dopesong left11:34
averell joined11:34
atrigent b_jonas: yeah, the things described in gitrevisions are for referring to whole blobs, while pathspecs are more generally when a command lets you specify paths for some purpose11:35
zero85 left11:36
atrigent pathspecs are described in man gitglossary, as was said earlier11:36
gitinfo the gitglossary manpage is available at http://jk.gs/gitglossary.html11:36
nilsi_ joined11:36
pwnawannab[NE] joined11:37
dopesong joined11:38
nardev joined11:41
venmx joined11:42
nowhere_man left11:42
shiriru left11:44
b_jonas MERGE_HEAD is a reference to a commit I'm merging from. But the commit message when such a merge is in progress gives the name of the branch I'm merging from, since I gave a branch name to git merge. The information of what branch name I used, is that stored only in the MERGE_MSG file?11:44
nowhere_man joined11:45
deadnull__deadnull11:45
Qwez joined11:45
Qwez left11:46
digidog joined11:47
ceaucari left11:47
digidog left11:47
digidog joined11:48
codepilot hello... I have a question: my git project has two submodules. If I say git submodules, it gives me only one, but in the file .gitmodules are two submodules. If I do 'git submodule init' it only initializes the one given with 'git submodules' but not the other one. What is wrong here? I get such problems recently....11:48
AnnabelSchmidt joined11:50
jimi_ joined11:51
Rish joined11:52
Gloomy joined11:52
ceaucari joined11:52
CussBot left11:52
CussBot joined11:53
docnvk joined11:53
bitkiller joined11:56
codepilot left11:56
Sceorem joined11:56
josuebrunel joined11:58
nilsi joined11:58
sgambino left11:58
fstd left11:59
_deadnulldeadnull_11:59
nilsi_ left12:00
prsn joined12:00
fstd joined12:00
jab416171 joined12:00
cbreak codepilot: git ls-tree -R12:00
each commit entry is a registered submodule12:01
crose joined12:03
dopesong left12:03
prsn left12:04
fahadash joined12:05
dopesong joined12:05
synthroid joined12:05
EY left12:06
wviana left12:07
wviana joined12:07
EY joined12:08
mdw joined12:09
Junior left12:09
jaguarmagenta joined12:10
nilsi_ joined12:10
eletuchy left12:10
nilsi left12:10
Gloomy left12:10
eletuchy joined12:11
mohabaks left12:11
soc42 joined12:11
ceaucari left12:13
jaguarmagenta left12:15
eletuchy left12:15
Sendoushi left12:16
subhojit777 left12:16
docnvkzz_docnvk12:17
subhojit777 joined12:17
subhojit777 left12:18
Sendoushi joined12:18
star_prone joined12:19
ceaucari joined12:19
ghostal_ left12:20
rwb joined12:21
Junior joined12:21
star_prone left12:24
deadnul__ joined12:24
encod3 left12:25
Junior left12:25
Junior joined12:25
encod3 joined12:26
noser joined12:26
deadnull_ left12:27
adron joined12:29
qtax^w joined12:32
NeverDie left12:34
qtax^^w left12:34
netj left12:35
aavrug left12:35
netj joined12:35
adron left12:36
puff Good morning.12:36
osse Vieeeetnaaaaam!!!12:38
aviraldg_ joined12:44
eletuchy joined12:44
jceb left12:45
rgrinberg joined12:45
LucaTM left12:46
tach_ joined12:46
LucaTM joined12:47
Impaloo left12:47
Impaloo joined12:48
eletuchy left12:49
LucaTM left12:49
titankiller joined12:49
Achylles_ joined12:49
LucaTM joined12:50
ksinkar joined12:51
LucaTM left12:52
LucaTM joined12:53
boudiccas left12:53
italoacasas joined12:53
ksinkar I am trying to remove the history of my git repo. Basically I want to have a specific commit (node of my git tree) to become the initial commit (the root of my git tree). How can I make that possible?12:53
zz_docnvkdocnvk12:53
ksinkar When I say git tree, I mean the commit history tree.12:54
arahael ksinkar: modify that commit to have no parents. and rewrite all your histoey in the process.12:54
jimi_ left12:55
arahael ksinkar: git filter-branch12:55
LucaTM left12:55
algae joined12:55
LucaTM joined12:56
notebox joined12:56
jimi_ joined12:56
LucaTM left12:57
sgambino joined12:58
cdg joined12:58
cdg left12:58
LucaTM joined12:58
settermjd joined12:58
cdg joined12:59
LucaTM left12:59
UrsoBranco joined12:59
daftano joined12:59
rnat left12:59
rscata left13:00
settermjd left13:00
jimi_sanchez joined13:00
jimi_ left13:00
settermjd joined13:00
bsanford_ left13:01
settermjd left13:02
oepit joined13:03
ksinkar arahael: If I have understood you correctly I should use a --commit-filter and be done with it. Let me try it and get back to you.13:03
oepit left13:04
garethdaine left13:04
arahael ksinkar: i'm not familiar with the specifics.13:04
ksinkar: as i've never done it.13:04
jceb joined13:05
Ananya left13:05
Gsham joined13:05
deavid left13:06
deavid joined13:07
jimi_sanchez left13:08
ksinkar arahael: have you ever used git-filter-branch?13:08
jimi joined13:08
Ananya joined13:08
Achylles joined13:09
Achylles_ left13:09
arahael ksinkar: yes, but not for that reason. i used it to graft a branch.13:09
stasmakarov joined13:10
bronson joined13:10
rnsanchez_ joined13:11
WayToDoor joined13:11
rnsanchez left13:13
bsanford_ joined13:13
xbob joined13:14
jimi left13:14
jimi joined13:14
clmsy left13:14
bronson left13:15
Achylles_ joined13:16
jimi left13:16
jimi joined13:17
Dougie187 left13:17
bollullera joined13:17
bollullera left13:18
bollullera joined13:18
sfr^ joined13:20
fscala left13:20
GT4066 joined13:21
mdw left13:21
tlaxkit joined13:21
ksinkar arahael: I am doing almost the same. I simply taking a node and grafting it to the root bypassing and deleting the middle ones. For some reason I keep getting this message "WARNING: Ref 'refs/heads/master' is unchanged" and no history is deleted.13:21
fscala joined13:22
jaafar joined13:22
zeroed left13:23
TomyLobo left13:23
a_thakur left13:24
Achylles_ left13:24
garethdaine joined13:24
TomyLobo joined13:26
jimi left13:27
DolphinDream joined13:28
tinanoo joined13:28
jimi_ joined13:29
zeroed joined13:29
ZenWalker joined13:29
mizu_no_oto joined13:29
Achylles left13:30
WayToDoor left13:30
Achylles joined13:30
tvon left13:30
wviana left13:30
Rish left13:30
wviana joined13:31
marscher joined13:32
Achylles left13:32
adron joined13:32
BigWillie joined13:33
diegoviola joined13:33
daftano left13:34
Zean joined13:35
acetakwas joined13:36
bouncy_ joined13:36
adron left13:37
steveearl joined13:37
jimi_ left13:38
eletuchy joined13:38
fwdit joined13:38
Impaloo27 joined13:40
jimi_ joined13:40
acetakwas left13:41
eletuchy left13:42
prsn joined13:42
Mez left13:43
titankiller left13:44
Spacew00t joined13:45
Gsham left13:45
mizu_no_oto left13:46
Dougie187 joined13:47
AaronMT joined13:48
jimi_sanchez joined13:49
abyx joined13:49
jimi_ left13:50
bouncy_ left13:50
sfr^ left13:51
holodoc left13:51
fmcgeough joined13:51
BlaXpirit left13:53
ahmed_elgabri left13:54
chachasmooth left13:54
NeverDie joined13:55
acetakwas joined13:55
bsanford_ left13:55
dodobrain left13:56
exarch joined13:56
abyx left13:57
phaleth joined13:57
ahmed_elgabri joined13:58
ash_workz joined13:58
m0nkmaster joined13:58
Impaloo27 left14:00
stantonk joined14:00
annoymouse joined14:01
chachasmooth joined14:03
BlaXpirit joined14:03
kfpratt joined14:03
stantonk left14:05
bouncy left14:06
bouncy joined14:07
danhuynh______ joined14:07
lindenle joined14:08
subhojit777 joined14:09
ksinkar left14:09
bouncy left14:09
bouncy joined14:10
abyx joined14:11
dhollinger joined14:12
Spacew00_ joined14:12
patarr joined14:12
mehola joined14:12
lindenle left14:13
ewet left14:13
xcesariox left14:14
circ-user-iSXQf left14:14
Gsham joined14:15
nofacade joined14:15
Spacew00t left14:15
M-mistake left14:15
CubiK joined14:16
digidog left14:16
M-mistake joined14:17
mehola left14:17
digidog joined14:17
jason237 left14:18
jason237 joined14:18
vincentor joined14:18
holodoc joined14:19
nchambers left14:21
M-mistake left14:21
fahadash left14:22
jimi joined14:22
M-mistake joined14:22
jimi_sanchez left14:22
madewokherd joined14:23
ahmed_elgabri left14:24
weox left14:24
fwdit left14:25
perlpilot_ joined14:25
raininja left14:26
bronson joined14:26
LucaTM joined14:27
perlpilot left14:27
perlpilot joined14:27
nnyk_ left14:27
notebox left14:30
BigWillie left14:30
bouncy left14:30
daftano joined14:31
aaxxaa14:31
boingy1 joined14:31
EY left14:31
EY joined14:32
ahmed_elgabri joined14:32
algun left14:32
eletuchy joined14:32
boingy1 left14:32
boingy1 joined14:33
Guest75702 joined14:33
jimi left14:35
jimi joined14:35
jimijimi_14:35
eletuchy left14:37
raijin joined14:37
Guest75702 left14:38
ifsp joined14:39
Gamecubic joined14:39
jwest joined14:40
boingy1 left14:40
vincentor left14:41
boingy joined14:41
crose left14:43
perlpilot left14:43
gitinfo set mode: +v14:43
perlpilot_perlpilot14:43
perlpilot_ joined14:44
kpease joined14:44
livingstn joined14:45
stantonk joined14:45
CubiK left14:46
CubiK joined14:47
bronson left14:47
aviraldg_ left14:48
mattfoo left14:49
sagerdearia left14:50
efco joined14:51
rgrinberg left14:51
CubiK left14:51
hobodave joined14:51
notebox joined14:52
johnwhitton joined14:52
Anupkumar left14:53
armin_ joined14:54
mattfoo joined14:54
boontdustie joined14:55
armin left14:55
CheckDavid joined14:57
johnnyfive joined14:57
blur3d left14:58
kilo_bravo joined14:58
m0nkmaster left14:59
jeffreylevesque joined14:59
gitinfo set mode: +v15:00
gitinfo set mode: +v15:00
akushner left15:00
steveearl anyone ever loose some data through "git checkout ."?15:00
*lost15:00
stantonk_ joined15:01
zero85 joined15:01
Impaloo62 joined15:01
cyan__ left15:02
josuebrunel left15:02
infra-red joined15:02
josuebrunel joined15:03
perlpilot steveearl: I'm sure there are many people who have done so :)15:03
stantonk left15:04
perlpilot steveearl: if you follow-up question is "how do get the data back?" I may have some bad news for you.15:04
daftano left15:04
zero85 left15:04
nettoweb left15:05
rominronin left15:05
troulouliou_div2 left15:06
bulliby left15:06
crose joined15:06
dmto joined15:06
zero85 joined15:06
steveearl luckily I'm not in that position, I'm just wondering why checkout file is so quiet about deleting content?15:07
infra-red left15:08
zean79 joined15:08
zero85 left15:08
dopesong_ joined15:09
dopesong_ left15:09
zean79 left15:09
troulouliou_div2 joined15:10
perlpilot steveearl: I dunno, but I would guess it's because it's "git checkout"'s job to over write things and if you didn't want that to happen, you wouldn't have been using it15:10
daftano joined15:11
chrisgeorge joined15:11
acetakwas left15:11
Sceorem left15:12
dopesong left15:12
zero85 joined15:12
bango2 joined15:13
zean79 joined15:13
zero85 left15:13
Gsham left15:13
zean79 left15:14
Alienpruts left15:14
Pulp joined15:15
zero85 joined15:15
ThomasLocke left15:16
zero85 left15:16
acetakwas joined15:16
Guest80967 left15:16
Guest80967 joined15:16
zero85 joined15:17
PCatinean left15:17
zero85 left15:17
staticshock joined15:18
zero85 joined15:18
zero85 left15:19
akushner joined15:20
yn5___ left15:21
zero85 joined15:21
slavka` joined15:21
zero85 left15:22
zero85 joined15:22
zean43 joined15:23
slavka` hey all, i did a merge which resulted in some conflicts, then staged and unstaged files with conflicts, just wondering now is there a way to see which files have conflicts?15:23
leeN joined15:23
zero85 left15:23
steveearl slavka are you using git in the command line?15:23
synthroid left15:23
slavka` both source tree and command line15:24
zero85 joined15:24
slavka` i did the merge using source tree...15:24
but now i cant see conflicts anywhere15:24
boontdustie left15:24
dreiss joined15:25
slavka` i havent resolved them so i know they are there15:25
:/15:25
steveearl did you apply the stash?15:25
slavka` no branch merge15:25
chitopunk joined15:25
EY left15:25
steveearl ah sorry I misread...15:25
Gonzo89 left15:25
slavka` all good15:25
zero85 left15:25
mohabaks joined15:26
boudiccas joined15:26
EY joined15:26
slavka` there anything i can do?15:27
thiago_ joined15:27
Balliad left15:27
daftano left15:27
jceb left15:28
zero85 joined15:28
steveearl its strange to be honest if git doesnt show you modified files there should be no conflicts.15:28
are you still merging?15:28
erichf joined15:28
slavka` no, it shows me modified files15:28
thiago_thiago15:28
Phasee joined15:28
zean43 left15:28
slavka` but i dont know which ones have conflicts15:28
muthu left15:29
steveearl if you type git status what do you see?15:29
rgrinberg joined15:29
zero85 left15:29
tcsc is there a way to unstage all changes but leave the commit intact? (my reason for doing this is pretty lame, but basically my editor seems to have an easier time navigating between uncommitted changes/hunks, but there's some metadata added to the commit message by a git plugin that's used for the code review system we use where i work, so I don't want to15:30
just reset --soft)15:30
steveearl i recreated what you did stage and unstage during a merge and it still shows me my the modified file15:30
slavka` i see a message saying all conflicts fixed... but you still merging...15:30
whole bunch of not staged files15:30
the thing is ... i havent fixed those conflicts... so im confused15:30
Eugene !repro15:30
gitinfo [!transcript] Please paste (using https://gist.github.com/ or https://vomitb.in/ ) a transcript ( https://gist.github.com/2415442 ) of your terminal session so we can see exactly what you see15:30
zero85 joined15:30
steveearl "and below you see changes not staged for commit"?15:30
David_ joined15:31
slavka` yep15:31
tcsc err, i don't mean unstage. i mean move stuff from the most commit to into the staging area15:31
br0kenman left15:31
zero85 left15:31
slavka` steveearl: whole bunch of unstaged and untracked files...15:32
Eugene tcsc - `git checkout -- file` will checkout file as it exists at HEAD to the work-tree and to the staging area. Is that what you want?15:32
lindenle joined15:32
steveearl @slavka and there should be files markes as modified?15:32
tyreld joined15:32
slavka` yep there are15:32
tcsc Eugene: no, i'm basically looking for a way to do `git reset --soft HEAD^` without actually losing the commit15:32
zero85 joined15:33
steveearl @slavka' are those not the files you are looking for?15:33
zero85 left15:33
slavka` ok, so some of those files have conflicts in them15:33
but i dont know which ones15:33
Eugene tcsc - you want to be able tocome back to HEAD later? You can make a temp-branch or write down the SHA15:33
zero85 joined15:33
zean43 joined15:33
zean43 left15:34
MatthewAllan93 left15:34
Sendoushi left15:34
xbob left15:34
Tylak joined15:34
dopesong joined15:34
zero85 left15:35
nofacade left15:35
steveearl @slavka` unfortunately I dont believe its possible unless you go into each file and look for the <<HEAD >>master markings15:35
slavka` dam, that sux...15:35
steveearl @slavka` i would just "git merge --abort" and start fresh15:35
slavka` ahh ok you can do that cool... ill try15:35
de-vri-es left15:35
steveearl good luck15:35
steveearl left15:36
zeroed left15:36
tcsc Eugene: hm, i think maybe i'm not explaining the situation well. I made a commit, pushed it up for code review, and got told 'fix X, Y, Z'. usually I just do this manually using git commit --amend, git rebase -i, etc. this time it's enough small changes (mostly code style stuff, like ensure spaces around all the operators), that I'd really like to be sure I15:36
go over all the changes in the commit. the easiest way for me to do this in my editor is to navigate between uncommitted changes15:36
zero85 joined15:36
de-vri-es joined15:36
tcsc Eugene: the catch is that i'd really like to not loose the SHA15:36
otherwise reset --soft would be ideal15:36
zero85 left15:37
nettoweb joined15:37
Gsham joined15:37
zean43 joined15:37
MatthewAllan93 joined15:37
Eugene Make a temp branch(`git branch saveme`), reset like you want to, and then you can reset back to saveme or whatever you want15:37
tcsc hmmm15:38
okay15:38
dmto left15:38
zero85 joined15:38
Eugene You could also just view the SHA in the !reflog. Git tries /really/ hard not to lose things for you.15:38
gitinfo The git reflog (`git log -g`) records the SHAs of your HEADs for 2+ weeks. `git checkout -b myrestore OLDSHA` and `git reset --hard OLDSHA` will relink to that state via a new and current branch respectively, see http://sethrobertson.github.com/GitFixUm/ for full details. WARNING: reset --hard will trash any uncommitted changes! Visualize with: gitk --all --date-order `git log -g --pretty=%H`15:38
tcsc yeah, the reflog is something i'm aware of, but don't actually know how to use15:38
Zean left15:38
_ikke_ It's just a list where each change to HEAD and branches is recorded in15:39
git reflog and git log -g15:39
Zean joined15:39
zero85 left15:39
Gsham left15:39
dopesong left15:39
alt^255 joined15:40
mizu_no_oto joined15:40
alt^255 Hi. How can I "pull" a single file out of a branch? Alternatively, how can I 'git checkout' only a sub-directory of a branch?15:40
_ikke_ alt^255: Do you want these files / directories in your working tree?15:41
alt^255 sorry I just realised I can simply do 'git checkout branch file'15:41
_ikke_ yeah, was about to suggest that15:41
Eugene That is exactly what we were going to recommend, with the !dashes15:41
gitinfo Use a double-dash(--) to separate refs or arguments from file paths. This is especially useful when dealing with ambiguous names. Ex: `git checkout origin -- master` will check out the file "master" from branch "origin"15:41
zero85 joined15:42
alt^255 odd how the solution comes to mind like .5 seconds after asking. Every. Single. Time.15:42
_ikke_ Rubber ducking15:42
alt^255 needs a rubber duck15:42
alt^255 aye15:42
_ikke_ :-)15:42
We have no problem to be your rubber duck :P15:42
alt^255 heh thanks15:42
zero85 left15:42
Eugene quacks15:42
zero85 joined15:43
Zean left15:43
rchavik left15:44
brandonw left15:44
dopesong joined15:44
zero85 left15:45
brandonw joined15:46
duderonomy left15:46
zero85 joined15:47
PryMar56 joined15:47
bronson joined15:48
zero85 left15:48
thiago left15:48
deadnul__ left15:48
zero85 joined15:49
kpease left15:49
zero85 left15:50
stantonk_ left15:50
BenderRodriguez left15:50
ochorocho__ left15:51
anu0 joined15:51
duderonomy joined15:51
zero85 joined15:51
PCatinean joined15:52
bruce_lee joined15:52
bruce_lee left15:52
bruce_lee joined15:52
stantonk joined15:52
zero85 left15:52
mizu_no_oto left15:53
bronson left15:53
zero85 joined15:54
synthroid joined15:54
dmto joined15:54
Gsham joined15:54
anu1_ left15:54
soc42 left15:54
bsanford joined15:54
Noldorin joined15:54
elastix joined15:55
slavka` left15:55
Gsham left15:55
zero85 left15:55
nothingmuch joined15:55
fsvehla left15:55
Raging_Hog left15:56
slavka` joined15:56
zero85 joined15:56
The_Phoenix joined15:56
The_Phoenix left15:56
xaa left15:57
bobdel joined15:57
The_Phoenix joined15:57
zero85 left15:57
The_Phoenix left15:58
stantonk left15:58
bobdel left15:59
raijin left15:59
stantonk joined15:59
Lunatrius` joined15:59
mohabaks left15:59
Lunatrius left15:59
adron joined15:59
The_Phoenix joined16:00
Lunatrius`Lunatrius16:00
Guest60129 left16:00
The_Phoenix left16:00
Zean joined16:00
Guest80967 left16:00
Guest80967 joined16:01
star_prone joined16:01
acetakwas left16:02
stantonk left16:02
stantonk joined16:02
Zean_ joined16:02
The_Phoenix joined16:02
acetakwas joined16:02
Zean left16:02
madewokherd left16:04
ahmed_elgabri left16:04
adron left16:04
kpease joined16:05
star_prone left16:05
nothingmuch i want a command I that splits commits by file/hunk, to use in a rebase todo file. I'm thinking first commit --allow-empty -C $orig_commit and then git commit --fixup to allow autosquashing. not sure how to approach per hunk splitting (maybe --edit with a perl script in place of the editor?). thoughts/advice would be much appreciated16:05
kpease left16:06
Impaloo left16:07
Vaelatern joined16:08
adron joined16:08
Zean joined16:09
Zean_ left16:10
prsn_ joined16:10
unbalancedparen joined16:10
Zean left16:11
kpease joined16:11
Zean joined16:11
prsn left16:12
_pix left16:12
mehola joined16:14
Gsham joined16:14
ochorocho__ joined16:14
Zean left16:15
Zean joined16:15
gitinfo set mode: +v16:16
BenderRodriguez joined16:16
prsn joined16:17
circ-user-fe9O3 joined16:18
nothingmuch i want a command I that splits commits by file/hunk, to use in a rebase todo file. I'm thinking first commit --allow-empty -C $orig_commit and then git commit --fixup to allow autosquashing. not sure how to approach per hunk splitting (maybe --edit with a perl script in place of the editor?). thoughts/advice would be much appreciated16:18
mehola left16:18
slavka` left16:18
felher joined16:19
andyhoang joined16:19
Zean left16:19
Zean_ joined16:19
nydel07 left16:20
prsn_ left16:20
milki i see a double post of lots of text16:21
eletuchy joined16:21
Zean joined16:21
alt^255 anything that contains the word "maybe" and "perl script" should be avoided.16:21
nothingmuch milki: sorry i thought I was unvoiced16:21
alt^255 *words16:21
nothingmuch alt^255: thanks for your help =P16:21
milki lol16:21
>.>16:21
alt^255 heh :) sorry, long day16:21
tlaxkit left16:21
achadwick left16:22
bollullera left16:22
milki nothingmuch: so i can understand splitting the commits, what do you mean for use in a todo?16:22
OH16:23
the command actions in the todo huh16:23
i havent worked with those16:23
Zean__ joined16:23
nothingmuch milki: yep16:23
milki they are quite scary to me16:23
Gsham left16:23
daftano joined16:23
milki i would probably use expect actually >.>16:23
since i dont know how to deal with the hunk part16:23
dan2k3k4 left16:23
milki i wonder if -p mode has a non-interactive mode16:24
nothingmuch milki: i find it extremely useful for running tests, but i hven't abused it like that yet =)16:24
Zean_ left16:24
nothingmuch milki: not that I could find in the docs16:24
durham joined16:24
Zean_ joined16:25
milki splitting by file is easy enough to do with any script16:25
not so sure about hunks -.-16:25
Zean__ left16:25
nothingmuch i think i'll swerve it for now. if I get to that level i might as well do it manually16:25
Zean left16:25
spudowiar joined16:26
mofai left16:26
milki but if you can do it manually, you can also script it16:26
spudowiar Anyone know how to import the history of a single file into a repo?16:26
milki spudowiar: merge it?16:26
spudowiar I've pulled a totally unrelated repo into a branch16:26
I just want one file (and all the history)16:26
How do I do that?16:26
milki ah, you first want to extract the file and its history then with filter-branch16:26
nothingmuch milki: it's an ROI question, how much time will i save over say the next year if I spend the time automating it16:26
milki after that, you can merge it16:26
Noldorin left16:26
eletuchy left16:26
spudowiar milki: ok, thanks16:26
milki nothingmuch: ah, i consider funness more usually16:26
>.>16:26
Zean_ left16:26
Zean joined16:26
spudowiar milki: wondered if there was an easy way16:27
*easier16:27
but there probably isn't16:27
thanks anyway16:27
nothingmuch milki: ETOOMANYPROJECTS ;-)16:27
milki i wouldnt mine learning how to manage hunks with a script16:27
d16:27
spudowiar I really love Git's interactive merging16:27
nothingmuch milki: i suspect it'll be easier to dump a diff out of git, and edit that16:27
spudowiar *adding16:27
alt^255 left16:28
spudowiar All my friends at school are emailing files, modifying files to patch them, etc.16:28
and I'm just there with Git :P16:28
CalimeroTeknik joined16:28
Gsham joined16:28
milki :P16:28
CalimeroTeknik hello, can I make git not take .gitignore files into account?16:28
Zean left16:28
annoymouse left16:29
daftano left16:29
milki CalimeroTeknik: in what accounts?16:29
kurkale6ka left16:29
spudowiar Is there a way to do an invert git rm?16:29
nothingmuch CalimeroTeknik: git add -f works around it, not sure if that's what you mean16:30
spudowiar e.g. remove all but16:30
CalimeroTeknik milki, if you want the juicy details, I'm just using a throwaway repo in ~ that follows everything, including repos in ~/foo and such16:30
ferr1 joined16:30
CalimeroTeknik if at some point it stops working I'll be able to figure out what went wrong more easily16:31
stantonk left16:31
italoacasas left16:31
CalimeroTeknik of course subrepos have gitignore files…16:31
kadoban joined16:31
milki ah, abusing repos -.-16:31
CalimeroTeknik so add -f it is, thanks nothingmuch :)16:31
yeah, but I'm throwing it away regularly, so it's no big deal16:31
stantonk joined16:32
sgambino left16:32
spudowiar I wonder if I can use git-subtree on files16:32
robbyoconnor left16:32
spudowiar Nope, I can't :(16:32
kaiza joined16:34
algun joined16:34
mikiones left16:35
xcesariox joined16:36
Noldorin joined16:36
encod3 left16:36
madewokherd joined16:37
thiago joined16:38
spudowiar milki: git filter-branch --index-filter 'git ls-files | grep -Fvx perl/buffers.pl | git update-index --force-remove --stdin'16:38
milki: perfect16:38
milki spudowiar++16:38
spudowiar hehe16:38
milki filter-branch usage without quesiton. so good16:38
most people get confused by it16:38
spudowiar it took a while to work out a solution with index-filter16:39
milki i would put it in advanced git usage16:39
spudowiar easiest would be tree-filter but that's slow16:39
it's really easy though16:39
ochorocho__1 joined16:39
ochorocho__ left16:39
jasondockers joined16:40
Guest80967 left16:40
jasondockersGuest8647916:40
dreiss left16:41
spudowiar hmm... wondering if there's a way to do it with subtrees though16:42
I want a simple way to keep pulling changes in16:42
lamppid left16:43
eletuchy joined16:43
Impaloo62 left16:43
milki no, those sub tools are always for entire repos16:43
Impaloo joined16:44
milki spudowiar: maybe you are mistreating the file itself?16:44
spudowiar: maybe it *should* be in a different repo?16:44
ochorocho__1 left16:44
spudowiar milki: basically, I want to fork certain WeeChat scripts16:44
milki: I want to include the full history however16:44
David_ left16:46
staticshock left16:47
SteffanW joined16:48
MistahKurtz left16:48
digidog left16:49
jagob joined16:50
diegoaguilar left16:51
elastix left16:53
Gsham left16:54
josuebrunel left16:54
sarbs joined16:55
MrWoohoo left16:55
marscher left16:55
hobodave left16:57
durham__ joined16:57
milki well, as long as you have the remote tracking branch, you have the file history16:57
durham left16:59
UTAN_dev left16:59
chll left16:59
chrisgeorge_ joined17:00
chrisgeorge_ left17:00
acetakwas left17:01
staticshock joined17:02
chrisgeorge left17:03
pothepanda joined17:03
UTAN_dev joined17:03
The_Phoenix left17:05
ejb joined17:05
danhuynh______ left17:05
sgambino joined17:06
raijin joined17:06
mischat left17:07
citizen-stig left17:07
geet joined17:07
geet left17:07
nwf joined17:08
d4rklit3 joined17:10
acetakwas joined17:12
nettoweb left17:13
nettoweb joined17:13
Puffball left17:14
diegoaguilar joined17:14
Puffball joined17:14
bongjovi left17:16
ahmed_elgabri joined17:16
vF3hNGxc47h8 joined17:17
Guest55 joined17:18
isxek left17:20
Gsham joined17:22
EvilPeng1 joined17:22
hahuang61 joined17:22
hahuang65 left17:24
rgrinberg left17:24
dreiss joined17:27
spudowiar left17:28
Sasazuka joined17:28
EvilPenguin joined17:30
EvilPeng1 left17:31
fscala left17:32
notebox left17:32
jjasinski joined17:32
xcesariox left17:33
AnnabelSchmidt left17:33
raijin left17:33
fscala joined17:35
Gsham left17:36
vagner joined17:36
netj left17:37
Thorn__ joined17:37
netj joined17:37
infra-red joined17:38
nwf left17:38
vagner left17:38
vagner joined17:39
nwf joined17:40
Thorn left17:41
hobodave joined17:41
eletuchy left17:42
eletuchy joined17:42
weox joined17:43
fsvehla joined17:44
acetakwas left17:45
vagner left17:45
eletuchy left17:46
Orbitrix left17:47
diegoaguilar left17:47
mariuscc left17:48
rivarun left17:48
fsvehla left17:51
infra-red left17:51
akushner left17:51
nilsi_ left17:51
Orbitrix joined17:52
fsvehla joined17:52
marcogmonteiro left17:53
vagner joined17:54
rgrinberg joined17:55
elastix joined17:55
ferr left17:55
deadnull_ joined17:55
daftano joined17:56
josuebrunel joined17:56
rnsanchez_rnsanchez17:56
UTAN_dev left17:56
netj left17:57
italoacasas joined17:58
rivarun joined17:58
josuebrunel left18:00
deadnull_ left18:00
netj joined18:01
PCatinean left18:03
PCatinean_ joined18:03
circ-user-fe9O3 left18:03
zero85 joined18:05
EricPoe joined18:06
ferr1 left18:07
stantonk left18:08
vagner left18:09
stantonk joined18:09
vagner joined18:10
mikiones joined18:11
Gsham joined18:11
Gsham left18:11
durham__ left18:13
ORiON-- joined18:13
nofacade joined18:14
fsvehla left18:14
mehola joined18:15
jimi_ left18:15
vagner left18:16
xbob joined18:16
eletuchy joined18:17
boombatower joined18:17
xaa joined18:18
durham joined18:18
durham left18:19
mehola left18:19
staticshock left18:19
Anupkumar joined18:19
durham joined18:19
govg left18:19
Anupkumar left18:19
Anupkumar joined18:20
Anupkumar left18:20
nwkj86 joined18:21
eletuchy left18:21
subhojit777 left18:25
synthroid left18:25
pandeiro joined18:26
khmarbaise joined18:27
hahuang61 left18:28
MatthewAllan93 left18:28
MatthewAllan93 joined18:28
daftano left18:28
circ-user-fe9O3 joined18:29
gamer_ joined18:29
SwiftMatt joined18:30
perlpilot left18:30
citizen-stig joined18:31
synthroid joined18:32
elastix left18:32
jfelchner joined18:32
ToBeCloud joined18:32
gitinfo set mode: +v18:32
Lycaonian left18:33
mwhooker joined18:33
perlpilot joined18:34
mwhooker left18:34
ahmed_elgabri left18:35
oich joined18:36
dsdeiz left18:37
Aerosonic left18:37
daftano joined18:41
ahmed_elgabri joined18:43
mwhooker joined18:44
xbob_ joined18:44
xbob left18:45
robotroll joined18:46
circ-user-fe9O3 left18:48
cdg left18:50
hahuang65 joined18:51
grawity left18:52
grawity joined18:53
xbob_ left18:53
dsdeiz joined18:53
dsdeiz left18:53
dsdeiz joined18:53
troulouliou_div2 left18:54
docnvk left18:54
docnvk joined18:55
synthroi_ joined18:56
xbob joined18:56
stantonk left18:58
circ-user-fe9O3 joined18:59
PCatinean_ left18:59
b1tchcak_ left18:59
synthroid left18:59
digidog joined19:00
stantonk joined19:02
stantonk left19:02
stantonk joined19:02
staticshock joined19:02
b1tchcakes joined19:04
Phasee left19:06
zarathushtra so i made a merge from A to B and realized that some code in B were overwritten because i didnt treat the conflicts correctly. now i made a revert of that merge and I want to merge it again but fixing those conflicts... what do I need to do? because if I revert the revert, the unwanted changes would still be there19:07
efco left19:07
multi_io left19:08
nevodka joined19:09
griffindy joined19:09
DWestCoast joined19:10
robotroll left19:10
adron left19:10
dhollinger left19:10
eletuchy joined19:11
multi_io joined19:13
yqt joined19:13
sarbs left19:13
lpapp joined19:13
sarbs joined19:14
lpapp hi, why on the holy earth would I get this for git rebase --continue right after git add and git commit? https://paste.kde.org/ptk1melcn/7azsma/raw19:14
docnvk you can always do a hard reset19:14
lpapp I had to resolve a merge conflict manually....19:14
elastix joined19:14
flaguy48 left19:14
m0viefreak joined19:14
xbob left19:14
lpapp I just literally followed the instructions after the holy grail git pull --rebase....19:14
it also says this for git status: rebase in progress; onto 81e032a19:15
You are currently rebasing branch 'master' on '81e032a'.19:15
(all conflicts fixed: run "git rebase --continue")19:15
I DID RESOLVE THE CONFLICT19:15
xbob joined19:15
griffindy left19:15
osse you probably want git rebase --skip19:15
not sure why that message keeps appearing19:15
selckin think you're not supposed to commit just add them19:15
then continue to commit19:15
lpapp so what to do, git reset --soft HEAD~1 then?19:15
and git rebase --continue?19:15
eletuchy left19:15
jmpp left19:15
selckin git reset HEAD^19:15
yeah should work19:15
osse no, just git rebase --skip19:15
lpapp osse: I lost my commits that way....19:16
osse assuming you're happy with the conflict resolution that doesn't matter, since the commit doesn't no anything19:16
anymore19:16
stantonk left19:17
lpapp well, I mind it as I lost all the commits19:17
I have one merge commit now... all the history for my development has just gone19:17
selckin !reflog19:17
gitinfo The git reflog (`git log -g`) records the SHAs of your HEADs for 2+ weeks. `git checkout -b myrestore OLDSHA` and `git reset --hard OLDSHA` will relink to that state via a new and current branch respectively, see http://sethrobertson.github.com/GitFixUm/ for full details. WARNING: reset --hard will trash any uncommitted changes! Visualize with: gitk --all --date-order `git log -g --pretty=%H`19:17
lpapp I would not like to continue it like this; I would much rather keep the development history through the commit messages.19:17
osse then do git reset --hard HEAD@{1} and start over19:17
boudiccas left19:17
lpapp so I need a git pull --rebase and some magic that just does work19:17
keeps the history, etc.19:17
osse: git reset --hard HEAD@{1} left me where I am.19:18
i.e. verbatim19:18
lpapp hopes for a better day when git can actually handle merges properly19:18
osse HEAD@{2}then. use git reflog to find the commit you were on before the pull19:18
lpapp there are always cases when it just does not get it19:18
osse if you want merges then you shouldn't have used --rebase :p19:20
Bowel left19:20
flaguy48 joined19:21
osse anyway, the reason git says "no changes" is because the conflict was resolved in such a way that the commit to be applies doesn't have any changes anymore19:21
lpapp huh?19:21
osse which is why it's suggested to skip it19:21
lpapp if I cannot push because my local is behind, I definitely need git pull --rebase, I thought?19:21
osse 'git pull' would work too19:21
lpapp in order to be able to push19:21
and of course, there are cases when more than one dev worked on the same stuff19:21
so git add as it commended19:21
I used git commit (my mistake)19:21
but apparently skip did not get it right.19:21
it suggested*19:22
I really hope for a day when manually merging stuff becomes easy19:22
because in principle, it is really simple19:22
it is not a really complex workflow19:22
by the way, git could make it clearer that if I commit, use skip19:24
to me git add does not make any sense on its own without a commit as a git user for several years19:24
but apparently doing the commit *is* the wrong thing.19:24
yes, I am stupid, so some hint from git would be useful :)19:24
osse yes because the commit would be empty19:24
lpapp but if it is just me, then fine, no worries...19:24
osse "empty" meaning "introduce no changes"19:24
lpapp sure19:24
also, I really do not know how, but I just got two merge commits!19:25
for the same thing :)19:25
my coworkers will smiley (ideally) at me tomorrow.19:25
smile*19:25
nilsi joined19:25
xbob left19:26
abyx left19:26
xbob joined19:27
lpapp osse: selckin thanks19:27
apotry joined19:27
nevodka left19:27
mostlybadfly joined19:28
docnvk this is dangerous water because it's almost a religious war: rebase vs merge. But, I find that life is so much simpler when rebase is categorically banned19:29
osse !rebase_vs_merge19:29
ril joined19:29
osse !rebase_v_merge19:29
oh well19:30
adron joined19:30
selckin banning rebase is stupid, tracking when someone updates from the remote is just garbage noise19:30
clemf joined19:30
bnb joined19:31
nilsi left19:31
bnb Hello. I was just wondering how I can use subtrees to pull one folder of my repo into another branch?19:31
ojacobson you … can't actually ban rebase, because it's undetectable as such. The closest you can get is banning both branch deletes and force pushes.19:31
_ikke_ rebase vs merge is a false dichotomy19:31
ojacobson I'll leave you to figure out the problems that causes.19:31
lpapp left19:32
_ikke_ He's gone19:32
boudiccas joined19:32
ojacobson whups, sorry. I have /part messages muted :)19:32
daftano left19:32
docnvk I didn't actually mean ban it. I mean that it's strongly discouraged by collaborators19:32
but it's a matter or preference19:32
Silox| joined19:32
_ikke_ It's a tool19:33
And as with any tool, one can use it, or one cannot use it19:33
docnvk I didn't mean to open a can of worms here. I use it too19:33
riets joined19:33
codebam joined19:33
docnvk it makes thing clean, and it's nice to squash things sometimes19:34
bnb Would anyone be able to suggest how I can subtree off one directory in my file tree to be pulled into another branch?19:34
Or any other method to pull just one folder (build/) into another branch?19:34
_ikke_ bnb: I have never used subtrees myself19:34
Guest86479 left19:35
Guest86479 joined19:35
bnb _ikke_: any other idea as to how I could pull a single directory (Its contents) into another branch?19:35
stantonk joined19:35
_ikke_ What is your goal with that (the answer might influence the sollution)19:36
xbob left19:38
bnb Using a static site generator to make a site, files go into `build/`, want to pipe `build/` to a branch to be published.19:39
jmpp joined19:39
mizu_no_oto joined19:40
Orbitrix left19:41
_ikke_ Does seem to me like a simple filesystem operation?19:42
abyx joined19:42
jmpp left19:43
xbob joined19:44
bnb How would I go about that across branches?19:44
ferr joined19:44
mar77i_ joined19:45
stantonk left19:45
stantonk joined19:45
_ikke_ bnb: checkout the target branch, then git checkout <srcbranch> -- path/to/build/dir19:45
daftano joined19:46
Orbitrix joined19:46
mar77i left19:47
StuartMI joined19:48
stantonk left19:50
Phasee joined19:50
bronson joined19:50
stantonk joined19:50
jmpp joined19:54
bronson left19:55
infra-red joined19:56
infra-red left19:56
clemf left19:56
clemf joined19:56
scribe left19:57
AaronMT left19:59
xbob left19:59
bnb _ikke_: Looks like that pulls the entire master branch into the path/to/build/dir20:01
I want one directory from the master branch (srcbranch) into the target branch.20:02
SteffanW left20:03
_ikke_ bnb: git checkout master -- build would only get a dir called build into your worktree20:03
xbob joined20:03
bnb Hmm. Okay.20:04
bootsieboo joined20:04
bnb Looks like build/ got deleted, so it was pulling the whole branch?20:05
_ikke_ No, it doesn't20:05
staticshock left20:06
bnb Hmm20:06
That's weird.20:06
circ-user-fe9O3 left20:06
toogley joined20:09
circ-user-fe9O3 joined20:10
abyx left20:10
noser left20:10
afuentes left20:10
toogley given the commit hash, can i find out somehow solely the commit message? i need to use that in a script, so i would like to avoid manipulating the data provided by git log --oneline.20:10
synthroid joined20:11
osse toogley: git log -1 --format=%B20:11
erichf left20:11
toogley osse: exactly what i need, thanks.20:11
osse there's an extra blank line there, but if you use $() that disappears on it's ownn20:12
you can also separate the "title" and the "body" with a custom marker20:12
mizu_no_oto left20:12
bnb I don't want my `node_modules/` directory to be uploaded to GitHub, but I don't want it to stay in every branch.20:12
Balliad joined20:13
synthroi_ left20:13
bnb Is there a way to make that happen in .gitignore?20:13
_ikke_ no20:13
A file is either tracked in git, or it isn't20:13
Nothing in between20:13
(I deliberately say file, because git does not track directories)20:13
bnb Damn. Because when I run `mv ./branch/* ./` it moves it into my `node_modules/`.20:14
mehola joined20:15
mar77i_mar77i20:16
bootsieboo left20:16
Rayq joined20:16
staticshock joined20:18
Rayq left20:19
mehola left20:20
EricPoe left20:20
xbob left20:20
aidalgol joined20:20
armin_armin20:21
abyx joined20:21
Synthead joined20:22
staticshock left20:23
xbob joined20:23
yqt left20:23
TyrfingMjolnir joined20:26
TyrfingMjolnir How can I clone a given commit?20:26
star_prone joined20:26
jeffreylevesque left20:26
cdg joined20:27
mwhooker left20:27
TyrfingMjolnir I would like to clone this commit: https://github.com/antonym/netboot.xyz/commit/ed95e792a6823d61c9f76bf13e7d18475af3107320:27
rwb left20:27
TyrfingMjolnir But the full netboot.xyz at that stage20:27
_ikke_ TyrfingMjolnir: clone in what sense?20:27
EvilPenguin left20:27
ojacobson you'd have to clone a branch that contains the commit, if you want the full git history leading up to that commit + submodules etc20:27
TyrfingMjolnir git clone yes, that20:28
ojacobson if you just want the work tree and don't need the actual metadata, check if github supports git-archive20:28
TyrfingMjolnir How would I do that?20:28
_ikke_ it doesn;t20:28
ojacobson by design, you cannot clone or fetch an arbitrary commit20:28
Puffball left20:28
ojacobson you can fetch named things, and you'll get their full history when you do20:28
TyrfingMjolnir I would like to clone netboot.xyz as pr Jan 1120:29
_ikke_ https://github.com/antonym/netboot.xyz/archive/d95e792a6823d61c9f76bf13e7d18475af31073.zip20:29
Is there a problem just cloning the entire repository?20:30
daftano left20:30
TyrfingMjolnir Some features have been removed20:30
_ikke_ You can checkout that specific feature20:30
commit20:30
stantonk_ joined20:31
yqt joined20:31
phaleth left20:31
jfelchner left20:31
Puffball joined20:32
Celelibi joined20:32
mizu_no_oto joined20:32
arooni joined20:32
nisabek joined20:33
TyrfingMjolnir What I really would like to have is this: https://github.com/antonym/netboot.xyz/blob/ed95e792a6823d61c9f76bf13e7d18475af31073/src/windows.ipxe20:33
Fully functional in it's natural habitat20:33
ToBeCloud left20:33
TyrfingMjolnir Of course I would have to modify this to work on prem20:34
scribe joined20:34
stantonk left20:35
crose left20:35
pantsman- left20:35
FuzzySockets joined20:36
staticshock joined20:36
jfelchner joined20:36
daftano joined20:37
diegovioladviola20:37
algae left20:37
xbob left20:37
xbob joined20:37
mwhooker joined20:40
jfelchner_ joined20:41
voice_of_me joined20:41
arooni left20:42
mizu_no_oto left20:43
jfelchner left20:44
circ-user-fe9O3 left20:44
ochorocho__ joined20:45
xbob left20:46
xbob joined20:47
bennyZ joined20:48
Guest86479 left20:48
ochorocho__ left20:49
radsy joined20:49
raijin joined20:50
synthroid left20:51
sdothum left20:52
crose joined20:53
nnyk_ joined20:53
nnyk_ left20:53
nnyk_ joined20:53
Zean joined20:55
ahr3n joined20:55
xbob left20:55
bollullera joined20:55
sdothum joined20:56
EvilPenguin joined20:56
pneuma joined20:56
xbob joined20:57
tgunr left20:58
bennyZ left20:59
bnb left21:01
tgunr joined21:01
neanderslob joined21:01
qsx (fyi, i just lost the game)21:02
Eugene kicked qsx (You are the weakest link. Good-bye!)21:03
qsx joined21:03
Eugene changed the topic to: Welcome to #git, the place for git help and clown ransom | Current stable version: 2.8.2 | First visit? Read: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | Submit a PR or Fred Funny-Shoes gets it! https://madeitwor.se/git-jokes21:04
Eugene set mode: -o21:04
ejb left21:04
clemf left21:06
livingstn left21:06
DWestCoast left21:06
clemf joined21:06
xbob left21:06
eletuchy joined21:08
xbob joined21:09
cydrobolt_ joined21:10
cyphase left21:10
hobodave left21:11
Lomex joined21:11
CheckDavid left21:12
icedp joined21:12
nilsi joined21:14
shiriru joined21:14
ahmed_elgabri left21:14
AaronMT joined21:14
dsdeiz left21:16
cydrobolt_ left21:17
cydrobolt joined21:17
cydrobolt left21:17
cydrobolt joined21:17
nilsi left21:18
xbob_ joined21:18
xbob left21:19
shiriru left21:19
relipse2 joined21:22
Winter_ joined21:22
relipse2 what does this mean: git checkout master && git merge dev Switched to branch 'master' Your branch is up-to-date with 'origin/master'.Updating 9ef42b0..8edcd77 error: unable to create file public_html/help_sponsor_form.php (Permission denie d)21:22
axk4545 joined21:22
crose left21:23
axk4545 any idea how what is going on with https://paste.fedoraproject.org/362716/46239695/21:23
*what is21:23
fmcgeough left21:23
qsx Eugene: pfft.21:23
stantonk_ left21:24
pantsman- joined21:24
WayToDoor joined21:24
cyphase joined21:25
kadoban relipse2: It means you shouldn't be using git for deployment.21:26
Balliad left21:26
jbitdrop left21:26
mdw joined21:26
kadoban relipse2: It's a filesystem permissions error, you have a file that git isn't allowed to write that you've told it to write.21:27
Eugene I got tired of banning that guy21:27
He's been trying to deploy for 2 years now21:27
digidog left21:27
cagedwisdom joined21:27
xbob_ left21:28
ash_workz left21:28
UncleCJ joined21:29
xbob joined21:29
Thorn__ left21:29
Thorn joined21:31
mwhooker left21:32
Seveas axk4545: you're pushing to an http host that doesn't like the size of your push. Fix your webserver config (if you're in the position to do so) or do smaller pushes.21:33
stantonk joined21:33
axk4545 Seveas: thanks.21:33
mischat joined21:33
stantonk left21:35
tach_ left21:35
mdw left21:35
EvilPenguin left21:36
stantonk joined21:37
xbob left21:38
nardev left21:39
Fijit left21:39
mellernoia joined21:41
EvilPenguin joined21:41
stantonk left21:41
xbob joined21:44
Zean left21:45
italoacasas left21:45
bango2 left21:45
TyrfingMjolnir left21:46
dodobrain joined21:47
UncleCJ left21:47
Silox| left21:47
crunchers left21:47
YP-QMUL-W joined21:47
xbob left21:48
diegoaguilar joined21:48
raijin left21:49
eletuchy left21:50
leehambley left21:50
UrsoBranco left21:50
eletuchy joined21:50
jfelchner_jfelchner21:50
Dougie187 left21:51
madewokherd left21:52
freekevi-freekevin21:53
nardev joined21:54
nofacade left21:55
eletuchy left21:55
raijin joined21:55
mar77i left21:56
clemf left21:59
mischat left22:00
tvon joined22:00
mar77i joined22:01
WaReZ joined22:02
rxo_ joined22:02
rxo_ left22:02
nadim left22:02
xlegoman joined22:02
albertk9 joined22:03
mwhooker joined22:04
mase-tech left22:04
oncall-pokemon left22:05
vF3hNGxc47h8 left22:06
albel727 left22:06
ril left22:07
axk4545 left22:07
albertk9 left22:07
nnyk joined22:08
nnyk_ left22:08
Ardethian\\work joined22:09
relipse2 left22:09
troulouliou_div2 joined22:09
acetakwas joined22:10
YP-QMUL-W left22:10
stantonk joined22:11
Ardethian\work left22:11
Nugget joined22:12
Nugget left22:12
Ardethian\work joined22:12
italoacasas joined22:12
Ardethian\\work left22:13
YP-QMUL-W joined22:13
italoacasas left22:13
italoacasas joined22:14
Nugget joined22:14
Nugget left22:15
Nugget joined22:15
stantonk left22:15
YP-QMUL-W left22:15
ejb joined22:16
mehola joined22:16
madewokherd joined22:16
nnyk left22:17
elastix left22:17
Nugget left22:17
Nugget joined22:17
Nugget left22:18
troulouliou_div2 left22:18
noser joined22:18
d0nn1e left22:18
albel727 joined22:18
johnmilton left22:18
Nugget joined22:19
d0nn1e joined22:19
ahr3n left22:20
stantonk joined22:20
mehola left22:21
clemf joined22:21
riets left22:21
sgambino left22:22
adron left22:22
apotry left22:22
acetakwas left22:22
eletuchy joined22:24
adron joined22:25
emPi left22:26
mwhooker left22:26
eszeikial joined22:27
shades joined22:29
shades hello22:29
eletuchy left22:29
shades git remote show origin shows my fetch and push urls22:29
due to problems our project pivoted and we ended up changing the project title, on the main, and I done so on my fork to reflect this22:30
i'd like to change my fetch/push urls for remote22:30
can someone help me with this?22:30
kadoban git remote set-url origin whatever you can find the details in man git remote22:31
gitinfo the git-remote manpage is available at http://jk.gs/git-remote.html22:31
Phasee left22:32
ochorocho__ joined22:32
shades awesome that worked i think22:33
i'll find out if it actually works when i push nexxt time22:33
abyx left22:33
mwhooker joined22:33
kadoban :)22:33
ahr3n joined22:34
Bruce_ joined22:34
acetakwas joined22:35
LucaTM left22:36
hahuang65 left22:37
arooni joined22:37
toogley left22:37
hahuang65 joined22:37
acetakwas What exactly is the point of `git fetch origin master`22:37
Then `get merge origin/master`22:38
If I do `git pull origin master`, and there are conflicts, I'll be informed.22:38
Then I'd resolve the conflicts.22:38
With `git mergetool`22:39
Winter_ left22:39
acetakwas I'd use the same `git mergetool` if there are conflicts with the first approach. So what's the point?22:39
avar What's the point of what? Of having the "pull" command?22:39
robbyoconnor joined22:41
nchambers joined22:42
SwiftMatt left22:43
mofai joined22:45
diego1 joined22:45
acetakwas avar:: I know the difference22:46
diego1 left22:46
diego1 joined22:46
robbyoconnor left22:46
clemf left22:46
WaReZ left22:46
acetakwas I just want to know why `git fetch` over `git pull` when you can easily resolve conflicts both ways.22:46
clemf joined22:46
bremner acetakwas: in the first way, you can inspect the differences before deciding to merge; perhaps decide to rebase instead22:47
avar I'm just trying to understand the question, are you asking why git provides "fetch" at all when the common case is to use "pull"?22:47
a3Dman left22:47
preaction what if i don't want to merge? what if i want to verify the changes, rebase, and then squash?22:47
Zean joined22:47
avar In that case, like bremner says, because "pull" is a more involved worktree operation, "fetch" just gets remote refs22:47
there's a lot of reasons to get remote refs and do nothing right away to your work tree22:48
ahr3n left22:48
dopesong left22:48
dviola left22:48
bremner git fetch can deal with more than one remote branch at a time, also22:49
exarch left22:50
a3Dman joined22:50
acetakwas avar:: Okay22:51
bremner:: Okay. Thanks. I'll need to learn how "rebase" works to fully grasp your answer.22:52
jagob left22:52
bronson joined22:52
star_prone left22:52
bremner well, rebase is just an example. In general one shouldn't blindly merge in changes from other repos.22:53
nettoweb left22:53
acetakwas bremner:: Yeah, well when they are "other" repose from "other" people.22:54
s/repose/repos22:55
clemf left22:55
nettoweb joined22:55
bremner yes, well you asked why a command existed. Not whether you should use it.22:55
clemf joined22:55
bremner pull exists for the simple case; it's just that simple case is not as common as people think.22:56
choki joined22:56
jagob joined22:56
cagedwisdom left22:56
adron left22:57
bronson left22:57
preaction left22:58
AceLewis left22:59
Chunk2 left22:59
ahr3n joined23:00
SwiftMatt joined23:00
Prawnzy joined23:00
Spacew00_ left23:01
nwf left23:01
nilsi joined23:02
AaronMT left23:03
NightStrike joined23:04
nwf joined23:04
nwkj86 left23:05
udm left23:05
NightStrike I made a local branch that I'd like to rebase against its parent. How do I do that?23:05
YP-QMUL-W joined23:06
realz__ joined23:06
NightStrike When I look at the output of git status, it is confusing. It says "On branch x" followed by "Your branch is up to date with origin/x". But I created it from branch y.23:06
realz left23:07
nilsi left23:07
NightStrike I was on y, I did git checkout -b x, and now I'm on x. But the origin is itself, not y.23:07
YP-QMUL-W left23:07
udm joined23:07
diego1dviola23:08
Chunk2 joined23:09
kpease left23:09
rkazak joined23:11
SwiftMatt left23:15
udm left23:15
cagedwisdom joined23:16
chitopunk left23:16
Exagone313 Hi, to edit gitolite config, I use the URL git@localhost:gitolite-admin. I changed the port of SSH to 23 (I use sslh on port 22), what URL do I use for this port? I tried git@localhost:23:gitolite-admin but it does not work...23:16
SwiftMatt joined23:17
dviola left23:17
Exagone313 Even with git@localhost:23/gitolite-admin, it keeps trying to push to :2223:18
garethdaine left23:19
rgrinberg left23:20
Xe_8ade2af05f2623:20
_8ade2af05f26Xe23:20
Exagone313 Ok, found it, I needed ssh://git@localhost:23/gitolite-admin23:20
fees left23:22
mofai left23:22
Lomex left23:24
RGriffin joined23:25
Lomex joined23:25
SwiftMatt left23:26
nwf left23:26
mwhooker left23:28
nwf joined23:28
stantonk left23:31
Lomex left23:31
adron joined23:31
afuentes joined23:32
cdg left23:33
cdg joined23:34
mattfoo left23:34
ferr left23:34
amdi_ joined23:35
amdi_ left23:36
rkazak left23:36
robbyoconnor joined23:36
dmto left23:36
amdi_ joined23:37
mwhooker joined23:37
King_Hual left23:37
UncleCJ joined23:37
amdi_ left23:38
amdi_ joined23:38
amdi_ left23:38
xaa left23:38
cdg left23:39
dodobrain left23:39
dodobrain joined23:39
dodobrain left23:39
dodobrain joined23:39
dodobrain hi all23:39
how do i check if a tag is an annotated tag or lightweight tag?23:40
mattfoo joined23:40
clemf left23:40
UncleCJ left23:40
rgrinberg joined23:41
mellernoia left23:41
Aerosonic joined23:42
gravitron joined23:42
jagob left23:43
gravitron left23:43
gravitron joined23:43
clemf joined23:44
mellernoia joined23:44
githogori left23:44
gnoel joined23:44
cagedwisdom left23:45
cagedwisdom joined23:46
clemf left23:46
clemf joined23:47
voice_of_me left23:48
preaction joined23:49
fscala left23:49
clemf left23:50
nettoweb left23:51
anu1 joined23:51
fscala joined23:52
anu0 left23:55
adron left23:57
krsr joined23:58
kilo_bravo left23:58
fstd left23:59
flash joined23:59

Logs Search ←Prev date Next date→ Channels Documentation