Author Topic: Getting git  (Read 3073 times)

0 Members and 1 Guest are viewing this topic.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
Getting git
« on: February 16, 2018, 12:10:14 pm »
Ah skimming through
https://github.com/wfbarnes/sprezzo/blob/master/HELP.txt
(for BOTify your code)

I see I need to bring this topic from NET to ORG.

Here is the gist of that, study Pro Git first (as in try learning at the shallow end of the pool before jumping into the deep end):
https://git-scm.com/book/en/v2

I have since learned that git comes automatically for Windows users with GitHub Setup.exe

I have GitHubDesktopSetup.exe downloaded but for some reason am balking... yikes this is getting complicated!

Ha! but looks at the project link in BOTify your code thread, yikes! ^ 2

What's a (lazy) Basic Beginner to do?

Gird one's loins, I guess.
« Last Edit: February 16, 2018, 12:14:39 pm by bplus »

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
Re: Getting git
« Reply #1 on: February 19, 2018, 09:25:28 pm »
Well if git was in github setup, I couldn't find it in my system after github install. Nor did the command line commands for git work so I downloaded Git 2.16.1(4) for Windows 64.

What a slew of options to select from! I thought bash only for Linux. Mostly I followed default choices because I didn't know x from y but did choose as my editor Notepad++ over Vim.

When I got through that and did a git config --list command, all the stuff Pro Git said to put in to initialize Git was already in from Git install and git picked up the previous install of Github user name and email (for github), that was interesting.

So now I started a new folder for "Player" which will be my QB64 translation of 2014 SmallBASIC update and generalization of ELIZA program modifications. For a project already started, BRUN 2, starting version control with add and merge commands.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
Re: Getting git
« Reply #2 on: February 19, 2018, 10:02:58 pm »
Well that ride had a few bumps!

Before committing BRUN 2 project:
I started right in on adding files but apparently just like a new empty folder, you have to "git init" it.
Then you can add files,

But wait! If your files (path) names have spaces in them git doesn't get them, they have to be wrapped in these things, ".

And finally, following instructions in Pro Grit (sic ha ha), the " git commit -m 'BRUN 2 before git vc' " title did not work.
Oh dang! git gave me shlitt for every word in my tile masterpiece.

Aha! I think, wrong wrapper, try these " things again.
git commit -m "BRUN 2 before git vc"

Success :)   
« Last Edit: February 20, 2018, 01:48:59 pm by bplus »

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
Re: Getting git
« Reply #3 on: February 19, 2018, 10:48:12 pm »
Way cool!

I have Bill's amazing sprezzo from github cloned on my computer now.

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
Re: Getting git
« Reply #4 on: February 19, 2018, 11:37:42 pm »
Really? I've heard Bill's sprezzo isn't all that amazing, unless you're into micro processors.

Well,  since we're not getting over Bill, what exactly does his project do?

Pete [:)] Hoping one day the Brazilian Economy does well enough to include smilies.
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
Re: Getting git
« Reply #5 on: February 20, 2018, 12:36:22 am »
Over IRC: Math, Eliza, Poker and best of all emoticons!  It's like he is *<|:-)

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
Re: Getting git
« Reply #6 on: February 20, 2018, 12:51:29 am »
Poker? I made a poker game called Pacos Pete Poker.

Pecos Pete

Rats, I can't call you "Junior" anymore.
« Last Edit: February 20, 2018, 12:53:03 am by Pete »
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
Re: Getting git
« Reply #7 on: February 20, 2018, 08:26:17 am »
Oh! I hadn't noticed, my member (ship) is full.

I gotta say my heart is full of eagerness to get a bot like Bill's and [banned user]'s working at IRC.

It is batty being in a room full of bots!   :-))   (is not double chin, it is me LOL)

Another new command I learned last night  .gitignore

(Is) This is the first sign of the "cat" in github icon?
« Last Edit: February 20, 2018, 08:33:36 am by bplus »

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
Re: Getting git
« Reply #8 on: February 20, 2018, 03:05:14 pm »
Hey, you just gave me an idea!

Pete
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
Re: Getting git
« Reply #9 on: February 20, 2018, 03:18:56 pm »
Well you just gave me an idea too (at TJP), bots can be BOThersome!

I completely forgot about their brothers spam and robo-callers, pestering on an inhuman level.

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
Re: Getting git
« Reply #10 on: February 20, 2018, 03:23:28 pm »
I once wrote a chat script, 10+ years ago. I think I used PERL. It worked. I set it up in an alternate N54 account. It was a lot like the N54 one. I punted on the bot part, but unfortunately, a fellow forum goer thought he'd dive into it. He put a ton of work into it, but we all still hated it.

Pete
« Last Edit: February 20, 2018, 03:25:52 pm by Pete »
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
Re: Getting git
« Reply #11 on: February 24, 2018, 08:36:11 pm »
Getting wget is also a useful prospect, I think.

There's the Internet massive files grabber and potential botification of code.

I wonder, how GIT would handle a forum folder?

Thinking bigger is badder.

B = what?
« Last Edit: February 24, 2018, 08:37:45 pm by bplus »