Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

push a new branch

git push -u origin <branch-name>
Comment

git push in a new branch

git checkout -b <branch>
git add .
git commit -m "comment"
git push -u origin <branch>
Comment

how to push current code to new branch git

git checkout -b my_new_branch
git commit
Comment

how to push newly created branch in git bash

git checkout -b my_new_branch
git commit
Comment

PREVIOUS NEXT
Code Example
Shell :: install brave browser in ubuntu 
Shell :: brave install in linux 
Shell :: terminal get size of file 
Shell :: how to push force git 
Shell :: dar permiso de ejecucion linux 
Shell :: bash store contents of file in array 
Shell :: install amplify cli on mac 
Shell :: how to create bootable usb on manjaro 
Shell :: conda install regex 
Shell :: git go to previous branch 
Shell :: how to activate virtual environment in ubuntu 20.04 
Shell :: change commit message 
Shell :: install specific version of node 
Shell :: linux run command in background and redirect output to file 
Shell :: install nano in docker container 
Shell :: install kivy 
Shell :: github no changes added to commit 
Shell :: delete non empty directory cmd 
Shell :: git reset head to commit remote 
Shell :: windows check installed fonts 
Shell :: kali tools 
Shell :: installing k3d 
Shell :: macos install ruby 
Shell :: install cuda driver in ubuntu 
Shell :: bash check if string starts with substring 
Shell :: main git commands 
Shell :: Steps to deploy your flutter project with surge 
Shell :: installing sdk manager on ubuntu 
Shell :: how to start ssh agent service windows powershell 
Shell :: INSTALL VMwareTools on terminal ap=get 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =