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.
|
* Git is a tool made for (usually) us programmers to track the work we've done.
|
||||||
|
|
||||||
<!-- end_slide -->
|
<!-- end_slide -->
|
||||||
|
|
||||||
|
Sold Separately
|
||||||
=================================
|
=================================
|
||||||
|
<!-- alignment: center -->
|
||||||
|
|
||||||
Programmer socks (not) included.
|
Programmer socks (not) included.
|
||||||
|
|
||||||

|

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

|

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

|

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

|

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

|

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

|

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

|

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

|

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

|

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

|

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

|

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

|

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

|

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

|

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

|

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

|

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

|

|
||||||
|
|
||||||
> Credit: Geeks for Geeks
|
> Credit: Geeks for Geeks
|
||||||
|
|
||||||
<!-- alignment: center -->
|
|
||||||
<!-- end_slide -->
|
<!-- end_slide -->
|
||||||
|
|
||||||
Go here
|
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>
|
<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 -->
|
<!-- end_slide -->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue