GIT
#git #github #versioncontrol #sourcecodemanagement #versionmanagement #scm #git-scm
Last updated
Was this helpful?
#git #github #versioncontrol #sourcecodemanagement #versionmanagement #scm #git-scm
Last updated
Was this helpful?
Homepage & App Download Link:
SCM: Source Code Management
M
Modified
U
Untracked
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
code .
Opens default code editor app
dir
Shows directory & file list
mk temp
Creates a new directory named "Temp"
Runs Windows and Linux codes inside Git on one screen.
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.
Master
Branch 1
Branch 2
For testıng or other purposes, you may need a copy of the current project.
A complete list of all commands can be found at