Join our mailing list Subscribe Us

git commands i use

  1. get particular file 
    git restore -s somebranch -- file.txt

  2. git push

    git push -u origin mybranch

    git push -u origin my_branch:remote_branch

  3. Want to merge branchB into branchA

    git checkout branchA

    git merge branchB