Skip to content

Latest commit

 

History

History
86 lines (44 loc) · 1.09 KB

File metadata and controls

86 lines (44 loc) · 1.09 KB

Git

How to install git on windows 10

1.insatll git form the website: https://git-scm.com/downloads

2. Open git bash and add these command :

> git config --global user.name "abc"

> git config --global user.email "abc@domain.com"

> git config --list

> git config user.name

3.Check the current directory

> pwd

4. list directory

> ls

5.Create a folder in your desire directory . I install it on my user directory:

	/c/Users/Kamrul

6.Create a folder in this directory i named it gitrepo

> mkdir gitrepo

7.Go to the gitrepo directory

> cd gitrepo

8. Initialize the gitrepo

> git init

9.Clone Repository

> git clone https://github.com/kaamrul/Git.git

> git add .

> git status

> git pull origin master

> git status

10.Pull to Remote Server

> git status

> git add .

> git status

> git commit -m "update"

> git pull origin master

> git push 

> git status

11.Push to Remote Server

> git status

> git add .

> git status

> git commit -m "update"

> git pull origin master

> git push 

> git status