Monday, June 5, 2017

Setting up fresh github repo

Setting up fresh github repo:

1. first visit github and create a user.

2. visit the url  like<test_user>

3. goto "repositories tab" - click on "new"

4. give a name "my_new_repository"

5. Now you should be able to access this link:<test_user>/<my_new_repository>

Now, open terminal and follow the *sample* workflow to freshly initialize your github repo:

echo "# simple_testing" >>

git init

git add

git commit -m "first commit"

git remote add origin<user name>/simple_testing.git

git push -u origin master

Here, simple_testing is the "repo" name created.

No comments:

Post a Comment