Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git move changes to new branch

git switch -c <new-branch>
Comment

git bring your changes to a new branch

git checkout -b <new-branch>
// This will leave your current branch as it is, create and checkout a new branch and keep all your changes. You can then stage changes in files to commit with:

git add <files>
//and commit to your new branch with:

git commit -m "<Brief description of this commit>"
Comment

PREVIOUS NEXT
Code Example
Shell :: linux read text file command line 
Shell :: linux delete files older than 
Shell :: bash count elements in string 
Shell :: Could not resolve HEAD to a revision 
Shell :: bash cheat sheet 
Shell :: how to install react native 
Shell :: redis delete key 
Shell :: install fleetssl 
Shell :: git remove my local changes and pull from master 
Shell :: git merge message 
Shell :: ufw add rule with comment 
Shell :: git create a new branch from current branch 
Shell :: command to list system services 
Shell :: Hello, World! 
Shell :: conda install pymodbus 
Shell :: how to uncommit the last commit in git 
Shell :: show ip addr linux 
Shell :: docker system prune 
Shell :: Command to install tailwind plugin in vue 
Shell :: bash sed with variable 
Shell :: bash get package dependencies 
Shell :: start beef kali linux 
Shell :: download composer 
Shell :: how to stop sql serve 
Shell :: sshd: no hostkeys available -- exiting. 
Shell :: grep and 
Shell :: github username 
Shell :: To see details about a wifi connection on linux 
Shell :: where is pip installed packages stored in colab 
Shell :: how to install yagmail 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =