Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Repository #1

Open
evansuva opened this issue Sep 3, 2014 · 0 comments
Open

Data Repository #1

evansuva opened this issue Sep 3, 2014 · 0 comments

Comments

@evansuva
Copy link
Member

evansuva commented Sep 3, 2014

Hi all, @showandtellinar/everyone

It seems that its not possible to create a private repo in the showandtellinar organization without paying a rather exorbitant amount to github, so I've created a private repo as https://github.com/evansuva/tellinardata instead and added everyone to this. We can use this to share things with the class in a way that will not be directly visible to the whole world, but please do not put anything sensitive there which you would be disturbed about if it leaks beyond the class.

To get started:

  1. clone this repository:
    > git clone https://[evansuva@]github.com/evansuva/tellinardata.git
    (instead of [evansuva@], you can probably leave this blank, but if you have multiple github accounts, it should be the one that you used for the class which I've added to have access to this private repo).

This will create a local clone of the repo in your a tellinardata/ subdirectory of your current working directly.

  1. enter the directory we'll use for GPS location data:
    > cd tellinardata/location
    if you do ls here, you'll see the data that has been contributed so far.
  2. if you want to add your own location data, copy it into this directory
  3. add your changes to the local repository:
    > git add --all
    will add all changes, or you can explicitly list the files you added/changed: e.g.,
    > git add evans-08-04-2014.kml

To see changes ready to commit do:
>git status

  1. Commit the changes:
    > git commit -m "Added my data!"
    This commits the changes to your local repository, but does not yet make them visible to others.
  2. Send your changes to the main repository:
    > git push
    You should see something like
Counting objects: 5, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 42.75 KiB | 0 bytes/s, done.
Total 4 (delta 0), reused 0 (delta 0)
To https://evansuva@github.com/evansuva/tellinardata.git
   9e026aa..eab2862  master -> master

Now your changes have been propagated to the main repository.

  1. To update your repo to see changes done by others:
    > git pull

These commands should be enough for sharing our data files now. There are lots of good documents about using git, including http://www.git-scm.com/book/en/Getting-Started

Best,

--- Dave

PS. I'm posting this as an issue with @everyone in it since it seems like the best way to email everyone. If anyone knows a more natural way to do this, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant