Skip to content

Commit 52ab11b

Browse files
Introduction to Git
1 parent c3de05a commit 52ab11b

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Basic Git commands
2+
3+
- git status
4+
- git add
5+
- git commit
6+
- git log
7+
- git help
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Exercise - Try out Git
2+
3+
- git --version
4+
- git version 2.7.4
5+
- git config --global user.name "<USER_NAME>"
6+
- git config --global user.email "<USER_EMAIL>"
7+
- git config --list
8+
- user.name=User Name
9+
- user.email=[email protected]
10+
- mkdir Cats
11+
- cd Cats
12+
- git init --initial-branch=main
13+
- git init -b main
14+
- git init
15+
- git checkout -b main
16+
- Initialized empty Git repository in /home/<user>/Cats/.git/
17+
- nothing to commit (create/copy files and use "git add" to track)
18+
- ls -a
19+
- git --help

Introduction to Git/Introduction.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Introduction
2+
3+
Git is a distributed version control system (VCS) designed to manage and track changes in source code during software development. Developed by Linus Torvalds in 2005, Git has become the standard for version control due to its efficiency, flexibility, and robustness.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# What is version control?
2+
3+
A version control system (VCS) is a program or set of programs that tracks changes to a collection of files. One goal of a VCS is to easily recall earlier versions of individual files or of the entire project. Another goal is to allow several team members to work on a project, even on the same files, at the same time without affecting each other's work.

0 commit comments

Comments
 (0)