Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git branch and checkout

# create and checkout a new branch in HEAD position
git checkout -b new_branch
Comment

git checkout branch

truelover@PEACE project % git checkout master
truelover@PEACE project % git checkout branch_name
#create branch
truelover@PEACE project % git checkout -b new_branch_name
Comment

github checkout branch

$ git fetch
$ git checkout <branch>
Comment

PREVIOUS NEXT
Code Example
Shell :: make changes to a previous commit 
Shell :: delete file on git 
Shell :: powershell t admin 
Shell :: sl in linux 
Shell :: how to view hidden files in mac terminal 
Shell :: comments in bash file 
Shell :: bash calculate sum 
Shell :: install vuex orm 
Shell :: supertest example 
Shell :: Installing Docker Engine in Linux/Ubuntu 
Shell :: xrdp choose desktop environment 
Shell :: remove folder from git repository 
Shell :: multiple ssh key 
Shell :: Git - delete specific branch 
Shell :: cant-push-to-github-because-of-large-file-which-i-already-deleted 
Shell :: bash get domain from url 
Shell :: letsencrypt wildcard certificate certbot 
Shell :: get bluetooth devices powershell 
Shell :: github how to remove changes 
Shell :: git push branch to remote 
Shell :: delete git branch 
Shell :: clone github repository mac terminal 
Shell :: open folder from terminal 
Shell :: git fetch upstream 
Shell :: video not working linux 
Shell :: raspberry pi headless 
Shell :: delete first two lines of file linux 
Shell :: Deleting all the git local branches 
Shell :: install bc command linux 
Shell :: letencrpt 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =