Closed raehik closed 9 years ago
how do u use git
I'm doing it on my terminal on fedora
I have git installed according to saleem
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.
I guess but i cant wait till then
the thing on cloud9 is not refreshing properly either
its showing the old one
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.
because im trying to edit jayi from my terminal
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.
but its good practice
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.
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:
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
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.
Hold on, short tutorial coming, just taking me some time to write
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:
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
).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"
.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 pull
ing and possibly manual merging, which means removing lines you don't want.
git s
and cm
are aliases for commands I use (incredibly) often. They translate to git status
and git commit -m
respectively.
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
i have git installed btw
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'
oh wow that worked thanks
how did u make that gif i wanna make one ! :P
of my terminal that looks much worse than yours !
yours is a zshell i think
Yeah, I use zsh. You can find all my config files for everything I use at raehik/dotfiles.
saleem said ur dot files silently destroy ur computer ! i have no clue what to do with the dot files any way !! :D
Gif was made with an old script which calls some programs I had to build manually, I think ttyrec
and ttygif
.
And my dotfiles don't "silently destroy" anything! They just overwrite any previous files you had with the same names :)
this is meant to be an issue thing but it has turned into like a chat site !
whoops, yeah. Collaboration is kinda a learning process for me too, so who cares :D
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
That sounds like a good idea. I'll make one now.
Hold on, this was never actually answered! See original question (kinda waiting for Saleem's reply).
Oh right sorry
why plz? :(
no really, why? We espec. don't need the Distribution / packaging
section.
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?