Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how install hub

$ brew install hub
Comment

how install hub

$ hub --version
git version 2.25.0
hub version 2.14.1
Comment

how install hub

$ cd Documents
$ mkdir Test; cd Test/
$ git init
Initialized empty Git repository in /Users/SudeshnaSur/Test/.git/
Comment

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 .
Comment

how install hub

git config --global user.email "email@example.com"
git config --global user.name "Your Name"
Comment

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
Comment

how install hub

$ hub create
Updating origin
https://github.com/SudeshnaSur/Test
Comment

how install hub

$ git remote -v
origin  git@github.com:SudeshnaSur/Test.git (fetch)
origin  git@github.com:SudeshnaSur/Test.git (push)
Comment

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.
Comment

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
Comment

how install hub

$ hub fork –remote-name origin
Comment

PREVIOUS NEXT
Code Example
Shell :: python rasterstats install 
Shell :: how to kali pentest guide line command how to hack with kali humm my friendsss is all back in google make a signe 
Shell :: Install keyring and preliminary packages For OMV on Debian 
Shell :: Edit remote files in new tab of Vim session 
Shell :: how to install olderr ersion of python 3.x 
Shell :: apache enable directory listing macbook pro 
Shell :: debug for windows powershell 
Shell :: push local file to remote forcefully 
Shell :: phone backup in linux system using wifi 
Shell :: get logs of local git branches 
Shell :: wrong domain calling on same hosting ubuntu server 
Shell :: add bash as defult on arch 
Shell :: keep services up no matter what 
Shell :: full stack roadmap github 
Shell :: phpstorm remove file from vcs 
Shell :: Non-base32 digit found 
Shell :: Brave Beta on Fedora 28+, CentOS/RHEL 8+ 
Shell :: maingit-branch--m-main-<BRANCH-git-fetch-origin-git-branch--u-origin/<BRANCH-<BRANCH-git-remote-set-head-origin--a 
Shell :: sed excape all special charators 
Shell :: melpa .tar not found emacs 
Shell :: save terminal history to file 
Shell :: nmap -sY command use 
Shell :: How to redirect docker-compose command stdout stderr from docker container to file 
Shell :: powershell invert 
Shell :: git config --global user.email "you@example.com" 
Shell :: add user to wheel groub 
Shell :: reuse an old git branch name after merge 
Shell :: To install latest version of something with pip in python 
Shell :: umount device is busy 
Shell :: how to install gitlab on mac os 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =