slides: enhance content layout and improve visual alignment
This commit is contained in:
parent
66b821ed13
commit
b8703bf5b2
1 changed files with 34 additions and 42 deletions
|
@ -21,17 +21,20 @@ Git
|
|||
* Git is a tool made for (usually) us programmers to track the work we've done.
|
||||
|
||||
<!-- end_slide -->
|
||||
|
||||
Sold Separately
|
||||
=================================
|
||||
<!-- alignment: center -->
|
||||
|
||||
Programmer socks (not) included.
|
||||
|
||||

|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
|
||||
Why Git
|
||||
=================================
|
||||
<!-- alignment: center -->
|
||||
|
||||
<!-- incremental_lists: true -->
|
||||
|
||||
|
@ -52,6 +55,7 @@ Why Git
|
|||
Code Storage
|
||||
=================================
|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- incremental_lists: true -->
|
||||
|
||||
* This place is called a Repository.
|
||||
|
@ -62,20 +66,20 @@ Code Storage
|
|||
* Why not use SVN?
|
||||
* The answer is simple.
|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
|
||||
No.
|
||||
=================================
|
||||
|
||||
<!-- alignment: center -->
|
||||

|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
|
||||
WHY don't we use SVN
|
||||
=================================
|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- incremental_lists: true -->
|
||||
|
||||
* An actual answer is that Git is Distributed, and SVN in centralized.
|
||||
|
@ -87,166 +91,154 @@ WHY don't we use SVN
|
|||
* Back to git.
|
||||
* Let's start with the basics.
|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
|
||||
Live demonstration time
|
||||
=================================
|
||||
<!-- font_size: 5 -->
|
||||
<!-- alignment: center -->
|
||||
|
||||
* Please get your laptops out
|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
|
||||
How to download Git & Git LFS
|
||||
=================================
|
||||
|
||||
<!-- alignment: center -->
|
||||
|
||||
## Download
|
||||
<<https://git-scm.com/downloads>>
|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
<!-- alignment: center -->
|
||||
|
||||

|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
<!-- alignment: center -->
|
||||
|
||||

|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
<!-- alignment: center -->
|
||||
|
||||

|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
|
||||
<!-- alignment: center -->
|
||||
|
||||

|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
<!-- alignment: center -->
|
||||
|
||||

|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
<!-- alignment: center -->
|
||||
|
||||

|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
|
||||
<!-- alignment: center -->
|
||||
|
||||
<https://forgejo.skynet.ie/Skynet/deploy_user>
|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
|
||||
Don't do these types of commit messages
|
||||
=================================
|
||||
<!-- alignment: center -->
|
||||
|
||||

|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
<!-- alignment: center -->
|
||||
|
||||

|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
|
||||

|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
<!-- alignment: center -->
|
||||
|
||||

|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
<!-- alignment: center -->
|
||||
|
||||
LFS Install
|
||||
=================================
|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
|
||||
LFS Install
|
||||
=================================
|
||||
<https://git-lfs.com/>
|
||||
|
||||
````bash
|
||||
git lfs install
|
||||
````
|
||||
|
||||
<!-- alignment: center -->
|
||||
Same deal as before, just download and install.
|
||||
It'll ask to be ran as Administrator, say yes.
|
||||
<!-- end_slide -->
|
||||
|
||||
Setup SSH key (see Readme.md)
|
||||
=================================
|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
|
||||

|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
<!-- alignment: center -->
|
||||
|
||||

|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
<!-- alignment: center -->
|
||||
|
||||

|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
<!-- alignment: center -->
|
||||
|
||||

|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
<!-- alignment: center -->
|
||||
|
||||
````bash
|
||||
```bash
|
||||
git init
|
||||
git remote add origin <repo_url>
|
||||
git pull origin <branch_name>
|
||||
git add <file_name>
|
||||
git commit -m "<commit_message>"
|
||||
git push origin <branch_name>
|
||||
````
|
||||
```
|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
<!-- alignment: center -->
|
||||
|
||||
``https://<username>.users.skynet.ie/``
|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
|
||||
TroubleShooting
|
||||
=================================
|
||||
|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
|
||||
If you see this:
|
||||
=================================
|
||||
<!-- alignment: center -->
|
||||
|
||||

|
||||
|
||||
> Credit: Geeks for Geeks
|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
|
||||
Go here
|
||||
=================================
|
||||
<!-- alignment: center -->
|
||||
|
||||
<https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent>
|
||||
|
||||
<!-- alignment: center -->
|
||||
<!-- end_slide -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue