Guide to use Git Repository



$ git config --global user.name "Sam Smith"

$ git config --global user.email


$ git remote add origin https://github.com/USERNAME/REPOSITORY_NAME.git

$ git pull origin master 


$ git checkout -b "testbranch-1" { to Change New Branch }


$ git add MySuperProject/


$ git status


$ git commit -m "commit message"


$ git push -u origin testbranch-1


$ git fetch // to fetch latest branch

Comments

Popular posts from this blog

Salesforce DX Learning

What is Getter and Setter Method in VF page