Ceci est une ancienne révision du document !
After choosing a web server from our previous CnC, the next thing you may need is a Github account. I know some are going batty wanting your personal information and credit card numbers (looking at you Gitlab!!!), but we do not play that game. We will put this out in a recipe for you to follow. We will just touch on the basics, and if you play with what we have shown you, you will be a lot more comfortable with git.
1. Go to github.com and click on sign up. 2. Go to proton.me and create an email just for this. 3. Use the free proton account to sign up at github. 4. Do not click the enterprise button. 5. Fill in the details, choose student, and finally click “Continue for free”. 6. I don’t care if the Pope himself blesses the website, never give your real details anywhere.
The process will complete and you will end up on a dashboard, like so (below):
While this may look daunting, it is not. The green “create repository” buttons are there to help you create a codepage for you. Now it does not have to be CODE!! You can store your napalm recipes here. Just choose a name that means something if you come back to it in a year. While hailzoltan, may be a funny name for a repository, dudewheresmycarquotes may be better, but it is up to you in the end.
I named mine FCMtut1, and was greeted by this window (below). Man, you can see UI design is not the focus in Github! Since we are n00bs, and have never used Git before, we definitely do not want to mess things up by clicking something we are unfamiliar with… right?
You may also have received an email pointing you here: https://docs.github.com/en/get-started/quickstart/set-up-git?email_source=welcome - but unless you know, it is all gibberish.
Though we HAVEN’T done this before, the best place to start is in that blue box… “creating a new file”
Each project you create is going to need a name, it can be as simple as quotes.txt. It can be a code project, myhomepage.html, whatever, go ahead and experiment (below).
Once you are done faffing around, you may have noticed a big green “commit changes…” button to the right. Think of this as the save button. For someone who has never seen this before, it may seem scary or retarded, but like anything, you will get used to it.
Then this pops up:
Honestly, if you use git for poems or whatever, you don’t need to add anything in here, but this becomes important when you share your repository with other people. They have no idea what you did, and this is one way to tell them. This could also be important in the future for you too, you may see the commit message saying “changed the cache size” or even refer to a ticket logged by a user asking for a feature. It’s like a label on a bottle of wine, I mean all red wines look alike and you cannot tell a Shiraz apart from a Merlot by looking at it.
Click “Commit changes” and instead of just saving the file like other editors, you will be thrown back to what looks like an index (shown above).
If you hover over the name or commit message, you will see that it is clickable, and clicking the name will bring you right back to the editor.
This is all fine and dandy for your crochet patterns, but we are going to be making things on our Ubuntu machines and we want it to go to Github, without having to either copy paste and log into the website or click upload file. We want things streamlined!!
Open up your terminal and type:
sudo apt install git
Voila! You now have git.
Now if you have never used git before, you will probably use it at some stage. Here is an example. I want to change my icons on Ubuntu and I’m going to be lazier than usual. Please follow along to see how easy it actually is. We will use it in this series, so don’t skip over it.
Your destination is: https://github.com/vinceliuice/WhiteSur-icon-theme
On this page I want you to expand the “code” button and click the copy button next to the address like that shown below.
In the terminal type:
git clone <paste the link here>
like shown top right.
Hit Enter and wait for it to complete. What happened is that you just got all Vince’s files (this is what happens when you make your repository “public”). You can now cd into the directory that it just created for you, and run the install.sh executable. (Don’t worry, it is safe, I checked and you can too!). If you have the Gnome-tweaks tool installed, you can change your icon theme to WhiteSur. This is only one way of using git, but it goes both ways, with git you can upload as well as download. It makes working on a project easy for multiple users at once. I will not go into explaining the nitty-gritty of git, unless someone wants me to? In that case, you know the drill, misc@fullcirclemagazine.org, or reach out to me on Telegram.
Cool, now knowing what git is may be a little demystified for other n00bs, like I was when I first picked up a copy of FCM back in the day. Also I now have a cool new icon set – check it out! :)