Thursday, February 17, 2022

GIT

 

https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup


GIT LEARNING:

cd repofolder

git checkout - to checkout current branch

git checkout -b feature/test1 - create a local copy of staging branch

git commit -a -m "message"

git checkout staging --- pointing back to staging

$ git branch -d hotfix -  delete the new branch


No comments:

Post a Comment