Friday, June 28, 2019

Git Pro-Tips

How to switch a git branch ?
git checkout -b feature/kg-test

<  response : switched to the new branch feature/kg-test  >

How to check on which branch your ?
git branch
* feature/kg-test


How to pull the changes in the new branch ?

first we need to set it:

>  git branch --set-upstream-to=origin/feature/kg-test

>  git pull

<  the latest changes are available now  >

No comments:

Post a Comment