Discussion Forum: Thread 310808 |
|
|
| | Author: | cosmicray | Posted: | Oct 13, 2021 07:10 | Subject: | Is anyone fluent in Github ? | Viewed: | 155 times | Topic: | Related Software | |
|
| I need to establish / load a repository, but I keep coming up blank on how to
do this. Are there any BL peeps with skills in this area, that can walk me thru
it ? The sources are java code designed to work with BL downloads / uploads.
thanks, Nita Rae
|
|
| | | | | |
| | | | Author: | peregrinator | Posted: | Oct 13, 2021 07:29 | Subject: | Re: Is anyone fluent in Github ? | Viewed: | 45 times | Topic: | Related Software | |
|
| In Related Software, cosmicray writes:
| I need to establish / load a repository, but I keep coming up blank on how to
do this. Are there any BL peeps with skills in this area, that can walk me thru
it ? The sources are java code designed to work with BL downloads / uploads.
|
I'm assuming you already have a Github account?
The easiest way to do it is to create an empty repository on Github, then `git
clone` into an empty directory on your PC, then copy the files you want to track
into that empty directory, `git commit -m "initial upload"` and `git push` (I'm
assuming you don't need multiple branches atm).
|
|
| | | | | | | | | |
| | | | | | Author: | Andrsv | Posted: | Oct 13, 2021 07:32 | Subject: | Re: Is anyone fluent in Github ? | Viewed: | 37 times | Topic: | Related Software | |
|
| In Related Software, peregrinator writes:
| In Related Software, cosmicray writes:
| I need to establish / load a repository, but I keep coming up blank on how to
do this. Are there any BL peeps with skills in this area, that can walk me thru
it ? The sources are java code designed to work with BL downloads / uploads.
|
I'm assuming you already have a Github account?
The easiest way to do it is to create an empty repository on Github, then `git
clone` into an empty directory on your PC, then copy the files you want to track
into that empty directory, `git commit -m "initial upload"` and `git push` (I'm
assuming you don't need multiple branches atm).
|
+1
|
|
| | | | | | | | | |
| | | | | | Author: | antant7 | Posted: | Oct 13, 2021 07:40 | Subject: | Re: Is anyone fluent in Github ? | Viewed: | 34 times | Topic: | Related Software | |
|
| In Related Software, peregrinator writes:
| In Related Software, cosmicray writes:
| I need to establish / load a repository, but I keep coming up blank on how to
do this. Are there any BL peeps with skills in this area, that can walk me thru
it ? The sources are java code designed to work with BL downloads / uploads.
|
I'm assuming you already have a Github account?
The easiest way to do it is to create an empty repository on Github, then `git
clone` into an empty directory on your PC, then copy the files you want to track
into that empty directory, `git commit -m "initial upload"` and `git push` (I'm
assuming you don't need multiple branches atm).
|
Indeed the way to manage a repository on github is through a local git repository.
You can think of github as just the place to "publish" or copy your local repository.
This page (https://guides.github.com/introduction/git-handbook/) has a slightly
more extended version of peregrinator's explanation.
|
|
|
| | | | | | | | | |
| | | | | | Author: | cosmicray | Posted: | Oct 13, 2021 08:08 | Subject: | Re: Is anyone fluent in Github ? | Viewed: | 37 times | Topic: | Related Software | |
|
| In Related Software, peregrinator writes:
| In Related Software, cosmicray writes:
| I need to establish / load a repository, but I keep coming up blank on how to
do this. Are there any BL peeps with skills in this area, that can walk me thru
it ? The sources are java code designed to work with BL downloads / uploads.
|
I'm assuming you already have a Github account?
|
Yes, it has been mostly unused for a couple of years. I am trying to get it loaded.
https://github.com/bricktaxonomy/BrickManager2
| The easiest way to do it is to create an empty repository on Github, then `git
clone` into an empty directory on your PC, then copy the files you want to track
into that empty directory, `git commit -m "initial upload"` and `git push` (I'm
assuming you don't need multiple branches atm).
|
The code is currently sitting in an Eclipse workspace on my Ubuntu desktop. Both
the versions of Eclipse and Ubuntu are rather out of date, but they do support
my workflow. I occasionally make tar.gz backups of the workspace (for historical
reasons). The code is written to Java SE JDK 1.7 or maybe 1.8. I know that it
runs on Mac and Ubuntu, but never tried it on Windows.
When I do an apropos git it seems I have a number of git command line
tools, possibly installed a year or two back. Do these help ?
Nita Rae
|
|
|
| | | | | | | | | | | | | |
| | | | | | | | Author: | peregrinator | Posted: | Oct 13, 2021 08:11 | Subject: | Re: Is anyone fluent in Github ? | Viewed: | 32 times | Topic: | Related Software | |
|
| In Related Software, cosmicray writes:
| When I do an apropos git it seems I have a number of git command line
tools, possibly installed a year or two back. Do these help ?
|
Yes, those are the tools you'll use. I think if you're using Ubuntu you'll
want to use SSH when cloning rather than HTTPS. You can use HTTPS but it will
ask you for your password or key over and over again, whereas if you use SSH
you can put your credentials in a file.
|
|
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | Author: | cosmicray | Posted: | Oct 13, 2021 08:31 | Subject: | Re: Is anyone fluent in Github ? | Viewed: | 36 times | Topic: | Related Software | |
|
| In Related Software, peregrinator writes:
| In Related Software, cosmicray writes:
| When I do an apropos git it seems I have a number of git command line
tools, possibly installed a year or two back. Do these help ?
|
Yes, those are the tools you'll use. I think if you're using Ubuntu you'll
want to use SSH when cloning rather than HTTPS. You can use HTTPS but it will
ask you for your password or key over and over again, whereas if you use SSH
you can put your credentials in a file.
|
OK, I am methodically following all the instructions concerning SSH key generation,
etc.
Nita Rae
|
|
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | Author: | cosmicray | Posted: | Oct 13, 2021 08:54 | Subject: | Re: Is anyone fluent in Github ? | Viewed: | 36 times | Topic: | Related Software | |
|
| In Related Software, peregrinator writes:
| In Related Software, cosmicray writes:
| When I do an apropos git it seems I have a number of git command line
tools, possibly installed a year or two back. Do these help ?
|
Yes, those are the tools you'll use. I think if you're using Ubuntu you'll
want to use SSH when cloning rather than HTTPS. You can use HTTPS but it will
ask you for your password or key over and over again, whereas if you use SSH
you can put your credentials in a file.
|
I think it's working. I am getting this message back, which I assume is normal
...
| Hi bricktaxonomy! You've successfully authenticated, but GitHub does not provide shell access.
|
Now I need to move on to the next step.
Nita Rae
|
|
|
|
|
|