How To install git hub on your Ubuntu
Goto terminal and type sudo apt-get install gitConfiguring GitHub
After installation typegit config --global user.name "github_user_name"
press Enter
then type
git config --global user.email "github_your_email_Id"
press Enter
Create a local repository
Create a local repository and open with terminalAdd a file
In your terminal after configuring type the codegit add filename with file type
If you want add all files in your git hub add . or add *
How commit with GitHub
After add a file type git commit -m "Type your some message"Create a repository on GitHub
After type git remote add origin your_repository url
Pushing Files in GitHub
After typegit push -u origin master
Check Remote
In terminal type git remote -v
No comments:
Post a Comment