Hello World! Nisha Here. Welcome to my daily log page as I re-embark my Fab Journey as Instructor.
LEARNING | UNLEARNING | RELEARNING
HELLO World, opening Git after quite some time means I have to learn and re-learn a lot of concepts again to catch up with the pace of Fab Academy instruction. Starting with GIT! Here are some of the things I did to get started with Git in my Windos OS Laptop.
Refresh up some Html coding basics and learning on the go...
Refresh my memory using tutorials from Alto Fablab Youtube videos page. (Day 02 and Day 03 videos seem useful for command line, git and gitlab basics)
Practice while watching video and creating this page.
A lot of git bash practicing was done to understand it more. So to give an overview, git is a version control system created by linux kernel. Important not for MacOS users, Install HomeBrew Package manager before installing Git. Some commands I refreshed my memory on were as below
pwd : tells you where you are
ls : you can list files in it
ls -a : shows you if there is a git repository
cd -git : you can move in to the git repository
cd - change directory to the file you want to be in
nano README - opens up in this interface where you can edit the file
clear: clear the screen using
ls -l : Shows files in directory as list with other parameters
cd . : shows same directory
cd .. : shows the directory before
it's importatn to do git config of your global name and email
git config --global user.name "Your Name"
git config --global user.email Your email ID
Git status : to get a status on an changes been made
To do Git Add : git add File Name
To give message to the git commit: git commit -m "your message"
To get a log/ idea on all the git additions/ commits made: git log
You then get message with commit details, author and date
Git diff : shows the changes being added by your side to the doc
touch filename : if file doesn't exists creates it