Git 101 — Introduction to Git for Newbies

Preamble

Git? Is that another name for GitHub?

Getting Started with Git

git config --global user.name “Your Name Comes Here”
git config --global user.email you@yourdomain.example.com
cd <path-to-project-folder>
git init
fatal: Not a git repository
git add changed_file_1 folder1/changed_file_2
git add .
Sample .gitignore file
git commit -m "short descriptive message"
git commit -m "change login page background color"

--

--

--

Accidental Software Architect ∞ Developer of Developers

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Say Hi to Prefect Discourse — a New Forum for Data Engineers

Timing Computer Logon Durations

Math in Unity - Calculate the way to the closest enemy

Create your own Inverse Dynamics in Unity

Primary key Vs Foreign Key in SQL

How to Configure Docker Container as Build Slave for Jenkins?

Cloud Formation — Helper Scripts

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Arerosuoghene Wisdom

Arerosuoghene Wisdom

Accidental Software Architect ∞ Developer of Developers

More from Medium

How To Prepare Awesome GitHub “README.md” Automatically?

Fundamentals of Git

Photo of a macbook laptop on a white table, with code written on the screen

Git all you need.

Batch coding: The best scripting for starters