Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git command create new branch from current and move changes

git switch -c <branch name>
Comment

git move changes to new branch

git switch -c <new-branch>
Comment

Move you changes to your new branch from master

make your changes on master
creat new branch  my_branck and checkout the new branch
git add .
git commit 
git push
git checkout my_branch
git checkout master
to make sure your master is clear `git clewan -f`
Comment

PREVIOUS NEXT
Code Example
Shell :: installing gunicorn with anaconda 
Shell :: install typescript in gatsby 
Shell :: choco install npm 
Shell :: react testing using jest along with code coverage 
Shell :: ubuntu remove environment variable 
Shell :: How to install Apache 2 in Ubuntu? 
Shell :: bootstrap 5 react npm 
Shell :: eslint install command 
Shell :: install cairo 
Shell :: uninstall xbox game bar 
Shell :: android mobile screen share in ubunut 
Shell :: install supervisor ubuntu 20.04 
Shell :: open folder in gui from terminal linux 
Shell :: revert last push to server 
Shell :: pm2 start yarn start 
Shell :: git bash command not found in vscode 
Shell :: substring replacement 
Shell :: linux permanent alias 
Shell :: ubuntu shell touch multiple files 
Shell :: ffmpeg from frames to video 
Shell :: uncommit last commit in local 
Shell :: chmod +777 to all files in folder and subfolder 
Shell :: npm install from github branch 
Shell :: how to install pygame windows 10 
Shell :: kubectl without sudo 
Shell :: delete all local images docker 
Shell :: to see all after commit in local repository in git 
Shell :: how to switch branch 
Shell :: install plasma arch 
Shell :: linux disk usage 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =