Discussion Forum: Thread 310808

 Author: cosmicray View Messages Posted By cosmicray
 Posted: Oct 13, 2021 07:10
 Subject: Is anyone fluent in Github ?
 Viewed: 155 times
 Topic: Related Software
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

cosmicray (3492)

Location:  USA, Florida
Member Since Contact Type Status Collage
Oct 1, 2000 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
View Collage Pic
Store: Cosmic Toys
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 View Messages Posted By peregrinator
 Posted: Oct 13, 2021 07:29
 Subject: Re: Is anyone fluent in Github ?
 Viewed: 45 times
 Topic: Related Software
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

peregrinator (776)

Location:  USA, New Jersey
Member Since Contact Type Status
Jan 21, 2003 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Faber Family Bricks
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 View Messages Posted By Andrsv
 Posted: Oct 13, 2021 07:32
 Subject: Re: Is anyone fluent in Github ?
 Viewed: 37 times
 Topic: Related Software
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Andrsv (2874)

Location:  Norway, Rogaland
Member Since Contact Type Status
Jun 23, 2016 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: AVBRICKS AS
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 View Messages Posted By antant7
 Posted: Oct 13, 2021 07:40
 Subject: Re: Is anyone fluent in Github ?
 Viewed: 34 times
 Topic: Related Software
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

antant7 (639)

Location:  Netherlands, Utrecht
Member Since Contact Type Status
Nov 2, 2019 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Save-A-Brick
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 View Messages Posted By cosmicray
 Posted: Oct 13, 2021 08:08
 Subject: Re: Is anyone fluent in Github ?
 Viewed: 37 times
 Topic: Related Software
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

cosmicray (3492)

Location:  USA, Florida
Member Since Contact Type Status Collage
Oct 1, 2000 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
View Collage Pic
Store: Cosmic Toys
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 View Messages Posted By peregrinator
 Posted: Oct 13, 2021 08:11
 Subject: Re: Is anyone fluent in Github ?
 Viewed: 32 times
 Topic: Related Software
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

peregrinator (776)

Location:  USA, New Jersey
Member Since Contact Type Status
Jan 21, 2003 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Faber Family Bricks
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 View Messages Posted By cosmicray
 Posted: Oct 13, 2021 08:31
 Subject: Re: Is anyone fluent in Github ?
 Viewed: 36 times
 Topic: Related Software
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

cosmicray (3492)

Location:  USA, Florida
Member Since Contact Type Status Collage
Oct 1, 2000 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
View Collage Pic
Store: Cosmic Toys
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 View Messages Posted By cosmicray
 Posted: Oct 13, 2021 08:54
 Subject: Re: Is anyone fluent in Github ?
 Viewed: 36 times
 Topic: Related Software
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

cosmicray (3492)

Location:  USA, Florida
Member Since Contact Type Status Collage
Oct 1, 2000 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
View Collage Pic
Store: Cosmic Toys
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