Wednesday, March 22, 2023

Useful git command

 git remote  -v  (find he git origin link)

git branch branch-name    (create new branch)

git branch -a (list all branch)

git switch "branch-name"  (switch to another branch)

git merge "branch-name"  (merging branch )


git push --set-upstream origin "branch-name"  update new branch in remote

git log --oneline --all --graph  (list changes in files)



No comments:

Post a Comment