When you’re learning Git (or anything for that matter) rapid and cheap testing, feedback, and failure can expedite the learning process from hours to minutes!
When you’re learning and experimenting with Git concepts like:
This subtle distinction may not seem like a big deal now, but soon this will make all the difference.
Reading Commits
Here is the output of the branch master from my local repo:
git log --oneline --graph --decorate
Given that commits always point back, we can trace our branch from Branch Pointer master (78f107a) all the way back down to our initial commit (7bc8a7a):
The totality of the entire trail from the most recent commit master (78f107a) all the way back down to our initial commit (7bc8a7a) is one branch.
Reading Multiple Branches
Here is where knowing commits point back, not forward, is REALLY going to help us out
First we expose ALL branches from my git repo:
git log --oneline --graph --decorate --all
In this output we now can see all branches laid out at once.
Reading the dev Branch
Here are a couple of things to remember when reading the commit history from command ‘git log’:
The previous commit(s) is denoted by following back to the previous asterisk(s), not necessarily the commit beneath it.
The vertical and diagonal bars actually do a great job of guiding us to the previous commit(s).
Here I’m going to show you how to easily connect to your Raspberry Pi over the network from your Windows 10 machine.[1]
This is going to be accomplished with the Remote Desktop Protocol (RDP).
This will allow you to quickly and conveniently access the Raspberry Pi’s graphical desktop without having to disconnect and move any of your cables (USB, HDMI, etc.) around.
A real pain in the butt!
Then you can easily experiment and test all of the open source software that the Raspberry Pi platform has to offer:
Here are a few quick examples:
1.) LibreOffice
Opensource Alternative to Microsoft Office
2.) Programming In Python For Beginners
Any Linux platform is going to come with amazing programming IDEs for dozens of popular programming languages: C, C++, Ruby, Python, Perl, you name it!
Raspberry Pi has one in particular for Python beginners.
Thonny Python IDE (to name just one of dozens)
3.) Raspberry Pi Documentation
If you want to go down the Raspberry Pi and/or Debian rabbit hole, you can access all of their References, Guides, and Help files:
Raspberry Pi OS Commands
To get this RDP solution implemented, we will need to:
Install the latest Raspberry Pi OS updates (as a Best Practice)
Install the open source version of RDP onto your Raspberry Pi: Xrdp
sudo apt-get update #update list of available updates
sudo apt-get upgrade #actually installs latest software versions
sudo apt-get install xrdp #installs XRDP onto Raspberry Pi
“RDP” to your Raspberry Pi
From your Windows 10 machine, type mstsc into your search bar and select Remote Desktop Connection
Enter your Raspberry Pi’s IP Address and click Connect
Click Yes if you see the following warning:
Enter the username and password of a valid Raspberry Pi account.
The one you use to Putty with should work.
Then you will be presented with the Raspberry Pi’s graphical desktop: