« first day (1315 days earlier)      last day (4002 days later) » 

22:00
No, it's not working
You are using github right?
Permission Denied
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Hm, on github, make sure you grab the https repo URL
hasher is trying to do it all just from git, I suppose?
@hasherr Also keep in mind that Git still is an awesome tool even if you only use it locally.
22:02
You are using a command line tool right?
I use Git Bash. Every GUI I have used on top of git has messed with my repo's
I am learning the Bash now
Okay, I grabbed the https instead of the ssh and it asked for my username and password, but it didn't push my files
@DeanKnight I actually found the provided GUI to be confusing.
it says
No refs in common and none specified; doing nothing;
Perhaps you should specify a branch such as 'master'.
Everything up to date
did you cd to the proper directory?
yeah
22:05
It should have your directory name and (master) right next to it
I use gitHub for most of the times, then open up gitshell and do commend line thingins if I have to. I am still too afraid to transition to complete commend lines.
Yes, Dean
Hmm, weird
I assume you are trying to take an existing codebase and bring it under version control into a private or public github repo
everyone vote my questions up cuz i'm cute
Am I right?
22:07
@erebel55 No.
Yes.
@erebel55 pic first as proof.
If by codebase you mean my project on my computer
22:08
my avatar is my pic silly
@erebel55 Seems legit.
too legit to quite
*quit
yeah, my bad. By codebase I meant units of code that did one singular task, so basically a project or solution. Okay, I will type of some easy to follow instructions for making a repo, cloning it, and putting things in intially. Just to make sure something in setup went wrong.
just to make sure nothing in setup went wrong8
*
i just want to be able to downvote questions, but my 100rep question got moved to dumb ux
Do I need to generate an SSH key?
22:10
*answer
I have always used https
what did you ask to get 100 rep. Tell me the secret.
Never had a need to make it SSH
Okay, so why is it questioning my access rights
Because if you own the repo on github, it wants your github account info to verify the repo is yours
and to verify who you are
22:11
I verified it...
It is like logging into your email, but anytime you want to push, it will ask for username / pass.
@BlueBug I meant answer lol
@DeanKnight I get it.
that must be hack of an answer. Alas, I can only dream of giving such an answer.
"Perhaps you should specify a branch such as 'master'"
What does that mean
22:13
I feel like it doesnt understand what you want to push...
Try this
Do a
git status
copy and paste it here
You can't copy paste
'nothing to commit, working directory clean'
see there is your problem
@BlueBug it wasn't even accepted :P
did you do git add --all?
Yeah
22:14
Is this repo public? I could help verify that the repo is proper by pushing a txt file or something
what? the question poster did not accept 100 upvoted answer? He must had a thick skin. If it was me I would have accepted even if I didn't understand. "uh... I don't understand but I can feel all these peer pressure"
Add me as a collaborator, dak8361
I will try pushing something to the repo
I don't know what that means.
Or rather, how do I add you?
If I can push we know its just your end user config stuff thats shot.
oh, one sec
22:16
oh no lol it was only upvoted 10 times
in github click on the repo
then on the right, find settings
oh I forgot. 100 rep != 100 upvote.
On the left, there will be a collaborators tab
Got you.
Type my username dak8361 and click add
link me the repo
I dont see it showing up immediately.
Oh boom
I see the problem
When you made the repo, you didnt have github initialize it
???\
What does that mean?
So, the repo itself hasnt been built
one sec
Ok, so
start from scratch. Clone that repository to your desktop or whatever.
git clone github.com/hasherr/Traveler
then use the following commands to initialize the repo...
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/hasherr/Traveler.git
git push -u origin master
it should be:
git remote add origin github.com/hasherr/Traveler.git
just so that is clear..
what's Traveler
Apparently, it is his project
of some sort
22:25
fatal: could not read from remote repository
Fuck.
hm, well one sec. Creating a brand new repo would probably be more efficient.
I was thinking the same thing
I'll just make a test repo to practice wit
Try this..
Create new repo
check public
ARHGHGHG POWER WENT OFF
check "Initialize with README
"
22:26
MY COMPUTER! I HAVE ONLY 1 HOUR LIFE LEFT I AM GONA DIE! MOTO SNOWSTORM!
The intialize part will do your first commit for you
At that point, you should be good repo-wise
Okay, so am I creating the repo through the bash or through the site?
Oh, through the site
someone please help me, I can't live without internet.
what is hasher's problem
@BlueBug You need a better ups
22:28
@DeanKnight Alright, repo created
what is better ups I googled it all I can see is some workout machine.
Oh you're on laptop
Did you make sure to init with readme?
Yes.
22:29
Awesome. Now, use the https link, and clone to your desktop
this will involve git bash
git clone <url>
Okay, done
Make sure you are in your desktop or something
it will create a folder itself
same name as the repo name
Yay, it worked
22:30
dat looks... sweet, but too much for college student who lives in an apt :(
@BlueBug motorstorm arctic edge was one of the nicest PSP games
So now let's say I make a file. How do I commit this file?
git commit -m ???
You create the file. Make sure it is in your local folder
that matches the repo
@hasherr just use SourceTree or Git Gui?
No, I need to learn how to use Git properly
22:31
trust me, you're better of using SourceTree now and reading about git command line in your spare time
no, you just think you're a hardcore shit if you use the command line
if your repo folder name is Traveler and its on your desktop. Make sure you cd to there.

Do a:
git add <filename>
or.. do
Alex, quiet now
dat looks like sweet physics racing game, but I don't own PSP :(
git add --all?
git add .
22:31
lol okay man, I'm just saying
or git add --all
You say a lot of things.
you use git properly when it saves your business money
not when you write down some commands
LOL
Alex, have you ever used git gui before?
And you have no idea what you are talking about
22:32
Last time I tried using a couple of GUI's it really messed things up. Im curious to know if there is a good gui out there for it though.
I hate programmers who are too used to clicking on things
@DeanKnight I use SourceTree
Anyways, Hash. After you add it to your stage. You do
git commit -m "commit msg" to commit it to your local git repository
@Lasse lol another purist
and then from there you can git push to your remote repo (the github repo)
22:33
How do I push it?
git push
Permission denied :P
I only use git's command line when I have to force push to remotes because I have no idea how to do it in SourceTree LOL
even hunger did not push me outside to get food, but now no internet, I am motivated to go venture into the snowstorm and find some cafe with wifi and power.
since you cloned the repo.. you should only need to do git push, and put in your username / password
22:34
but other than that, sorry, pushing a button is easier
hm, is there any chance you are incorrectly typing in your git credentials? Because I dont see how it can be so messed up now
see, SourceTree would have complained at login
Add me as a collab to that repo as well. I couldnt push to the other one because it was flawed. Maybe i can push to this one.
@AlexM. It definitely can be easier.
I have had GUI's destroy my repo before. But that was a year or so ago
Probably have come along since then
Never tried sourcetree
UIs have always caused problems for me
I wonder if I'd be hated if I wrote a Vim plugin to accept some voice commands for stuff, to complement typing
actually, someone did it already
22:37
They only work when I do nothing with my project except for commit and push
@DeanKnight you can't really go wrong with Atlassian
@DeanKnight It say s'failed to push some refs to 'https://github.com/hasherr/test-repo.git'
try:
git pull origin master
Permission denied
What.
weird dude
22:39
lul okay, I'll go back to my stuff
let me know when you decide to pay a visit to 2014
@AlexM. Thanks I will take a look at it
I dont think a GUI would fix your issue, because I think it is a configuration problem
Must be on your end
@DeanKnight do that, and let me know what you think of it
I use it at work and home on everything, would never change
@hasherr try restarting git bash
sometimes when you config user properties, you need to restart for it to load them up
I'm going to just restart the whole process
Okay, now how do I pull the project from Github again?
git remote add origin https://github.com/hasherr/Traveler.git
Like that?
this reminds me, the first time I learned to use Git
22:43
Because that doesn't work, it gives me a fatal.
no, you need to clone it
and I say "learned"
that's right, thanks
was when I tried to push things to Arx Libertatis' repo and had to be tutored by one of the team members
Yeah Alex, the first time I "learned" git it took a week
Literally just days on days
22:44
I went through this whirlwind of commands I had to type in
to figure dumb shit out
and didn't understand shit
I wish he had just pointed me to Git GUI (the default)
and some online tut
Command line offers more flexibility
lol
which part of that flexibility are you using now?
Your mom
22:45
It actually does. I think the biggest benefit though from CLI version is truly understand how things are happening
right now you're praising Git for a feature that's not useful for you
understanding*
and one you're likely not going to use for some time
It's important to learn how things work
Instead of just looking at some copy-paste clipboard of buttons
You know though, trying out the GitGui may be a good way to troubleshoot
See if it works
22:46
I try to immerse myself in different techs allt he time.
it's important to have your projects under version control and minimize the effects bugs and changes make
If it doesnt, you definitely know it is an account config issue
I try new IDEs and VCS and all these different things and you do nothing but ridicule me for it because I'm not exactly like you.
@hasherr I know the importance of knowing how git acts internally
and I agree with it
what I don't agree with is your drive
right now you're doing learning for the sake of learning
@AlexM. Okay, cool. Go talk about it somewhere else.
22:47
and you're also hypocritical
@AlexM. Is that a bad thing?
shots fired
why should I talk about it somewhere else?
if you don't like to hear what I say, cover your ears
truth hurts kid
Because no one is listening to you.
except for you, because you know
you're replying
22:48
Dean is helping me and you're just the white noise that keeps distracting me.
troublesome
Boys, boys, boys. There is something to be said for learning for the sake of learning, and learning efficiently on the job.
you have the means to stop me but instead you're trying to talk me out of it
perhaps you know what I say is true and inconvenient
@DeanKnight Where were we?
and want to shut me up personally?
that won't happen
22:49
There's an ignore button
always remember: it's not the editor that makes the programmer
no matter what hardcore shit you're forcing yourself to learn
you'll remain inefficient
@DeanKnight So I made a new file in the repo and then committed it
NOw, is there anything else I need to do before I push?
@DeanKnight learning for the sake of learning can be beneficial from some POVs and detrimental for others
let me drop a quote
agreed man.
found it! I think it's a very nice quote
> “Learn thoroughly what you learn;
let your conduct be worthy of what is learnt.”
Verse 391 from Thirukural, Collection of 1330 noble couplets
Thiruvalluvar, poet and philosopher, 31 B.C.
learning for the sake of learning rarely gets you to that 2nd part
knowledge you just know and don't use is knowledge wasted
22:55
The thing is, you cannot predict when you will use it. So if its on your own time, I dont see the problem with it
Shouldn't you learn what you need to know, when you need to know it?
On company time? No, it isnt useful at that point
sure, and what hasherr is learning now isn't even remotely useless
however, the reason he learns it is pointless
What do you think he is learning now?
his aim is not to learn how to do VC properly, his aim is to "learn how to use Git the hard way"
22:56
Perhaps. Never know though, may save him time at some point. I converted the place I work at to git all because I randomly took time to learn it in my off time, a year or so before
within a month they had their central server crash, and git made it very easy to restore. So I mean, money was saved there
Was it intentional? Not really. But it proved to be useful
You don't even know why I'm learning it
I'm just connecting the dots
You're speculating.
days ago you were like "OKAY LINK ME TO VIM. I'M GOING TO LEARN THIS."
You're connecting imaginary dots.
22:58
... why?
Because I wanted to learn it. Have I given up?
@AlexM. I am one of those guys who learn by doing, not by reading some philosopher's writings. Which is why I installed Arch Linux as my first desktop linux, I am forced to learn it, because I wanted to learn it. As a hobby.
^ I cant speak for the past. Have not been in chat for a while haha
@hasherr "I wanted to learn it" <--- seems like learning for the sake of learning to me
@Lasse I think this has merit as well. I only got into computers as a hobby. Its that "learning for the sake of learning" that got me into software dev
22:58
What the hell is wrong with learning for the sake of learning
@Lasse okay, cool
Learning for the sake of learning is not bad thing at all
So I dont think its completely baseless. As well as I dont think it is a pillar to learn on as a way of doing things
its just part of the process
I'm not saying it's bad, I'm saying it's just not exactly... optimal
I learned how to program because I wanted to program, not because I needed to program
22:59
Optimal? For a 16 year old with a little too much time about optimal?
the time spent to learn things that you're not going to use is time wasted after all
You think I care about what is optimal?

« first day (1315 days earlier)      last day (4002 days later) »