GIT 101 - Programming for the Web
jlavelle.uk
GIT 101, Demystifying GIT - An Introduction to GIT Version Control
Part 2 The basic GIT commands. From starting a project to committing a file.
Advertisement: Earn up to $30 per 1000 clicks : https://linkvertise.net/ac/18643 (*)
We installed GIT in one of the earlier videos: https://youtu.be/MV9JE81Un00 now we'll look at using it. If you haven't installed Dropbox, please do so ( https://db.tt/x45vSLt3 ) as we'll be storing our projects in Dropbox.
Thanks for watching and please don't forget to "Like" and "Subscribe".
COMMANDS & LINKS:
Create a local Repo : git init (in the root of the project directory) Check the Status : git status Add all un-staged files: git add . Add one un-staged file : git add filename Un-stage a file : get reset -- filename Commit staged files : git commit -m "commit message" checking the log : git log
Here be dragons: If you mistakenly deleted the file or used "git rm filename" you can revert with "git checkout -- filename"
==========================
LINKS:
DropBox 2GB Free Storage : https://db.tt/x45vSLt3 () OneDrive 5GB Free Storage: https://onedrive.live.com?invref=1e6be62e96d0ad01&invscr=90 () Affordable Web Hosting : https://rapidtechhosting.com/clients/aff.php?aff=43 (*) Internet development : http://jlavelle.uk Visual Accounts : https://visualaccounts.co.uk Facebook : https://www.facebook.com/jlavelle.uk/
If you found the video useful, become a Patron: https://www.patreon.com/jlavelle
NOTES:
I tend to make the videos "on the fly", there's no script and everything is done from memory with just a few notes to jog the "old, grey cells". I do apologise for the umms, ahhs, erms, and pregnant pauses in the video - men tend not to be quite as good at multi-tasking :D .
I will, when possible, copy and paste commands to make the videos a little quicker and so as to not waste your time (my typing has always been quite slow).
BIO:
John has been working with computers for longer than he cares to remember. John trained as a Systems Analyst/Programmer, has also worked as a Systems Administrator on Windows Servers and Workstations and has been dabbling with Linux since the mid 1990s.
Along the way John has learnt and used COBOL, C, C++, Visual Basic, Delphi, PHP (HTML, CSS, JavaScript etc.), SQL, various Scripting languages and some proprietary database languages. John wrote his first website in early 1996 using Windows Notepad (no IDEs were available then) and, later, started using HotDog before moving to Dreamweaver then to NetBeans and Atom.
John, now, is freelance and develops software solely for the internet. John uses both Windows and Linux daily and develops web software in both environments using PHP, HTML, CSS (Sass & Less), SQL, JavaScript and various frameworks as the project dictates.
(*) = Affiliate Link. I will receive either free storage space or a small commission from these links. ... https://www.youtube.com/watch?v=jbdYCx47Nn8
89295266 Bytes