GIT

#git #github #versioncontrol #sourcecodemanagement #versionmanagement #scm #git-scm

Overview

Homepage & App Download Link: https://git-scm.com/downloads

SCM: Source Code Management

Git Attributes

Attribute
Description

M

Modified

U

Untracked

Git Codes

Code
Decription

git add

Add file or folder to GIT

git add .

Add multiple files or folders to GIT

git amend

git checkout

Switch between master and branches

git clone

Pull whole project

git commit

Take a snapshot

git commit -m "comment..."

Take a snapshot with comment

git diff

Shows differences

git init

First initialization

git merge

Merge Master & Branch...

git pull

Pull changes from project

git push

Send changes to project

git revert

Undo commit

git rm

Remove files or folders

gir status

View changes

A complete list of all commands can be found at https://git-scm.com/docs/git#_git_commands

Terminal Codes

Code
Action

code .

Opens default code editor app

dir

Shows directory & file list

mk temp

Creates a new directory named "Temp"

Linus Torvalds

Commit

Pull

Push

SnapShot

GitBash

Runs Windows and Linux codes inside Git on one screen.

.gitignore

Some files do not need to sync with GIT. This list of files or file extensions can be described in ia .gitignore file. So that GIT will know and will not sync.

The content of gitignore file depends on the programming language, project needs, and privacy level. You may find via google such examples.

Sources

Branch

  • Master

    • Branch 1

    • Branch 2

For testıng or other purposes, you may need a copy of the current project.

Sources

Videos

Articles / Documents

See also

Last updated