Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Git

git checkout B1  //Switch to a branch ==> B1
git reset --soft HEAD~1  // get the changes commited to B1 back in the Local system staging area
//EDIT as you need//
git add , 
git commit -m "new changes upon chnages"
git push origin B1
add a new git commit (edited)
Source by github.com #
 
PREVIOUS NEXT
Tagged: #Git
ADD COMMENT
Topic
Name
6+8 =