readingschool-cs-club / JayI

A simple AI that talks to you and learns from you as you talk to it.
4 stars 1 forks source link

Do we need such a huge .gitignore? #2

Closed raehik closed 9 years ago

raehik commented 9 years ago

Just took a look at the .gitignore we've got, and it seems pretty big. My guess is that not all of those lines need to be present, at least not for now. I'm guessing Saleem made a template one and used it here or something: do you think we can cut it down a bit?

ghost commented 9 years ago

how do u use git

ghost commented 9 years ago

I'm doing it on my terminal on fedora

ghost commented 9 years ago

I have git installed according to saleem

ed-bristow commented 9 years ago

I think Ben said he was going to do a thing on it next Monday.

Sent from my iPad

On 2 Mar 2015, at 20:23, Shreyas Pandit notifications@github.com wrote:

I have git installed according to saleem

— Reply to this email directly or view it on GitHub.

ghost commented 9 years ago

I guess but i cant wait till then

ghost commented 9 years ago

the thing on cloud9 is not refreshing properly either

ghost commented 9 years ago

its showing the old one

ed-bristow commented 9 years ago

Why can't you wait?

On 2 Mar 2015, at 20:26, Shreyas Pandit notifications@github.com wrote:

its showing the old one

— Reply to this email directly or view it on GitHub.

ghost commented 9 years ago

because im trying to edit jayi from my terminal

ed-bristow commented 9 years ago

Edit it from GitHub then. You don't have to use the terminal!

On 2 Mar 2015, at 20:27, Shreyas Pandit notifications@github.com wrote:

because im trying to edit jayi from my terminal

— Reply to this email directly or view it on GitHub.

ghost commented 9 years ago

but its good practice

ed-bristow commented 9 years ago

You can't practise something you don't know.

On 2 Mar 2015, at 20:30, Shreyas Pandit notifications@github.com wrote:

but its good practice

— Reply to this email directly or view it on GitHub.

raehik commented 9 years ago

Yeah, I'll go over ways to use Git & GitHub and how I use it next Monday. It'll take me a while to get stuff together. Meanwhile, this is a decent representation of my Git workflow: git-workflow.tty.gif

ghost commented 9 years ago

thanks ben i don't get some bits of it like the git s and cm but i'll try and figure it out. I'm guessing ur thing updates the file

ed-bristow commented 9 years ago

I think I've done a bit of something in a terminal on Linux to start a minecraft server and edit Python documents on an iMac.

On 2 Mar 2015, at 20:32, Ben Orchard notifications@github.com wrote:

Yeah, I'll go over ways to use Git & GitHub and how I use it next Monday. It'll take me a while to get stuff together. Meanwhile, this is a decent representation of my Git workflow:

— Reply to this email directly or view it on GitHub.

raehik commented 9 years ago

Hold on, short tutorial coming, just taking me some time to write

raehik commented 9 years ago

Haha, that gif was fun to do. I'm gonna use a bunch of gifs to explain CLI things since they're fun to make and use.

In a few sentences, this is what you need to do:

  1. Make changes to files. (I assume you know how to do this, can be in/out of terminal)
  2. git add [file...] e.g. git add README.md JayI.py -- this stages the files which sort of 'preps' them for committing. It means you can edit lots and lots of files and only commit a few (the ones that you git add).
  3. git commit -- this'll first ask you for a commit message if you don't specify -m "msg" as well. It'll open in your default editor. I usually just do git commit -m "bla bla bla".
  4. git push -- push whatever commits you just made to the remote repo, which is this place on GitHub.

Note that if you get errors about merging, you'll have to do some git pulling and possibly manual merging, which means removing lines you don't want.

raehik commented 9 years ago

git s and cm are aliases for commands I use (incredibly) often. They translate to git status and git commit -m respectively.

ghost commented 9 years ago

oh that makes sense thanks but the final problem i have is that how do i find my github stuff on my comp if im using fedora or the commands wont do anything

ghost commented 9 years ago

i have git installed btw

raehik commented 9 years ago

You have to git clone the repo to get a copy on your local machine. Check the front repo page, it has a box for 'HTTPS clone URL'. So you need to run:

git clone 'https://github.com/readingschool-cs-club/JayI.git'
ghost commented 9 years ago

oh wow that worked thanks

ghost commented 9 years ago

how did u make that gif i wanna make one ! :P

ghost commented 9 years ago

of my terminal that looks much worse than yours !

ghost commented 9 years ago

yours is a zshell i think

raehik commented 9 years ago

Yeah, I use zsh. You can find all my config files for everything I use at raehik/dotfiles.

ghost commented 9 years ago

saleem said ur dot files silently destroy ur computer ! i have no clue what to do with the dot files any way !! :D

raehik commented 9 years ago

Gif was made with an old script which calls some programs I had to build manually, I think ttyrec and ttygif.

raehik commented 9 years ago

And my dotfiles don't "silently destroy" anything! They just overwrite any previous files you had with the same names :)

ghost commented 9 years ago

this is meant to be an issue thing but it has turned into like a chat site !

raehik commented 9 years ago

whoops, yeah. Collaboration is kinda a learning process for me too, so who cares :D

ghost commented 9 years ago

anyways its good we should make an issue called general where we can just post any problems we have or we can just use this one

raehik commented 9 years ago

That sounds like a good idea. I'll make one now.

raehik commented 9 years ago

Hold on, this was never actually answered! See original question (kinda waiting for Saleem's reply).

ghost commented 9 years ago

Oh right sorry

raehik commented 9 years ago

why plz? :(

raehik commented 9 years ago

no really, why? We espec. don't need the Distribution / packaging section.