Create Your GitHub Repository and Commit your files Windows
X

Congrats, You are Subscribed to Receive Updates.

Create Your GitHub Repository and Commit your files from Windows.


Create Your GitHub Repository and Commit your files from Windows.   Here I am going to submit my one of  A WordPress Plugin work to GitHub. Lets start from the beginning. Before getting into the task prepare your system for the things to work with Github.

Download GitHub for Windows.  Download the software and install it on your Windows Machine.

Than move to Github webiste and login there with your registered Username or Email. Than press create new repository. The  screen looks like this.

kv-create-repo

Than move to your PC now,  We created a Repository on the Github page. We need to create a local directory to get all the files and operations to carried out there.  so goto  C:/users/your-username/ and Right Click and Select  ” Git Bash” as like the following image.

git-bash-init

and you  will get a Github command prompt there. We are going to create Repository files using command-line and update it to the Github repository.

Now, you need to create local folder to copy your work files and update it to the repository. Just follow the comments like the Screenshot.

git-bash-initial

Now we need to create the readme file first with the following comment.

$ git touch README

and 

$ git add README

Now goto your local Repository Directory and open ” README” file and write your Readme Note There. And save it , than move to your Git Bash  and write the following comment and it will be updated to the GitHub repository.

$ git commit -m 'first commit'

and
                                          (username) / (repo_foldername).
$ git remote add origin https://github.com/kvvaradha/kv-plugin-hider.git

and push your local repos files to Github Repository.

$ git push origin master

Now, just copy all your works from your working directroy to Local Repo directory.

and do the following thing for every files.

$ git add kv_plugin_files.php

the same line for every file you want to upload to the respository.  And than commit the changes and

$ git commit -m 'first commit'

and finally ,

$ git push origin master

Thats it, Now, go to your Github Repository and check all your files, It will be there.

commenter

About Varadharaj V

The founder of Kvcodes, Varadharaj V is an ERP Analyst and a Web developer specializing in WordPress(WP), WP Theme development, WP Plugin development, Frontaccounting(FA), Sales, Purchases, Inventory, Ledgers, Payroll & HRM, CRM, FA Core Customization, OpenCart Theme Development, PHP, HTML, CSS, jQuery, Bootstrap development and content SEO.

Comment Below

Your email address will not be published. Required fields are marked *

*

Current ye@r *

Menu

Sidebar

Subscribe E-mail Updates

Congrats, You are Subscribed to Receive Updates.

Advertisement

Category Posts