Today I study GitHub.
We can make a lot of work easier by using GitHub.
1st we are create new acount in github.
Then I will start new project
Then create new repository
Then we are to Terminal and type some code.
1) <git --version>
{check git version}
2) <git config --global user.email useremailid>
{connect to email}
3) <git init>
{Initialized empty git repository}
4) <git status>
{check the file}
5) <git add filename>
{file add}
6)<git commit -m "writecommit">
{write short comment}
7) <git remote add origin>
8)<git remote -v>
{cheack remote}
9) <git push -u orign master>
{push the file}
10) <git remote rm origin>
{remove the origin master}
No comments:
Post a Comment