Saturday, 9 September 2017

How to use git in windows

1. Download GIT package for windows .Click Here
2. Once downloaded install the package as given below :

3. Once installation is complete, you can open git by using Git cmd, Powershell or Command Prompt.

4. Now we have to Clone our Git Repo from git bucket, github, gitlab etc. I have my repo in github so lets see how to clone it from github.

5. Login to your github account, you will see the clone url to clone the git repo. It would be something like :<Username>/<Repository Name>.git

6 Once you got the URL.Open git cmd or powershell, and give the command as shown below :

git clone<Username>/<Repository Name>.git

7. Now you can see that Git Folder got created on the specified directory. so we are done, now simply put you scripts and push them to the Central git repository.

8. Some useful git commands :

git status
git add
git pull
git commit
git push
git remote
git log

Any queries comment below. Happie Learning!

No comments:

Post a Comment

Hyperlinks are not allowed in comments, Spam/advertising comments will NEVER BE TOLERATED and will be deleted immediately!

Thanks for visiting our website,Bookmark us for more updates.

Contact us


Email *

Message *