how install hub
$ cd hub
$ git checkout -b topic
Switched to a new branch 'topic'
$ echo “Hey” >test2.txt
$ git add .
$ git commit -m ‘Adding test 2’
[master cbb6fde5805a] Adding test 2
1 file changed, 1 insertion(+)
create mode 100644 test2.txt
how install hub
$ cd hub
$ git checkout -b topic
Switched to a new branch 'topic'
$ echo “Hey” >test2.txt
$ git add .
$ git commit -m ‘Adding test 2’
[master cbb6fde5805a] Adding test 2
1 file changed, 1 insertion(+)
create mode 100644 test2.txt
how install hub
$ git commit -m 'Adding a test file'
[master (root-commit) 07035c94e038] Adding a test file
1 file changed, 1 insertion(+)
create mode 100644 test.txt
$ git status
On branch master
nothing to commit, working tree clean
how install hub
$ brew install hub
how install hub
$ git remote -v
origin [email protected]:SudeshnaSur/Test.git (fetch)
origin [email protected]:SudeshnaSur/Test.git (push)
how install hub
$ git status
On branch master
No commits yet
Untracked files:
test.txt
nothing added to commit but untracked files present
$ git add .
how install hub
$ hub fork –remote-name origin
how install hub
$ hub create
Updating origin
https://github.com/SudeshnaSur/Test
how install hub
$ hub --version
git version 2.25.0
hub version 2.14.1
how install hub
$ hub clone github/hub
Cloning into 'hub'...
remote: Enumerating objects: 26, done.
remote: Counting objects: 100% (26/26), done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 19712 (delta 7), reused 13 (delta 4), pack-reused 19686
Receiving objects: 100% (19712/19712), 6.76 MiB | 7.25 MiB/s, done.
Resolving deltas: 100% (12912/12912), done.
how install hub
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us