Skip to content

necati-arslan/favorite-cmd-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

My Favorite Git Command

git clone repository url

with this code we can pull the repository. so we dont need to use git init

git add .

we can add all changes in the repository to stage area

git commit -m 'your message'

we can save all changes like saving a game

git init

git add file name

git status

git commit -m messages

saving changes

git push - u origin origin name

show place where changes are

git commit -m messages

git push - u origin origin name

git branch

show all branch

git branch branch name

git checkout branch name

git checkout -b new-feature

git log

git branch branch name

git rebase main

we are in feature. we can pull main commits

git merge feature

we are in master. we can pull feature

git remote -v

get remote adress

git diff branch1..branch2

git branch --dell

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published