Wednesday, July 27, 2016

Git Hub Command In Uploading file
---------------------------------------------------------

1.Git initialization in local repository
$git init

2.Checking status
$git status

3. Up files to staged( it points index of that files ,just address )
$git add <files>

#For Initial
4.Creating remote repository
$git remote add origin address
( remote name-----> origin and address------> https://github.com/yourgithubname/repositoryname.git )

#For Initial
5.Downloading files from Git Hub
$git pull

#For Initial
6.Configuring email to upload files for your local machine
$git config --global user.email "yourgithubemail@gmail.com"

#For Initial
7.Configuring name to upload files for your machine
$git config --global user.name "yourgithubname"

8.Confirm uploading files
$git commit -m "Your Messages"

9.Uploading to git hub repository
$git push -u origin master

It's done.Good Luck!!!

No comments:

Post a Comment